1 2000-10-24 Ulrich Drepper <drepper@redhat.com>
3 * malloc/obstack.c (_obstack_newchunk): Correctly align first returned
5 * malloc/tst-obstack.c: New file.
6 Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
8 Complete revamp of the reference counter handling.
9 * include/link.h (struct link_map): Add l_idx field.
10 * elf/dl-close.c: Handle decrementing of reference counters more
11 correctly. If necessary decrement reference counters of dependencies
13 * elf/dl-lookup.c (add_dependency): Only increment reference counter
14 of the object itself and not also its dependencies.
15 * elf/dl-open.c: Increment reference counters here.
16 * elf/dl-deps.c: Remove reference counter handling here.
17 * elf/dl-load.c: Likewise.
18 * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.
20 * elf/loadtest.c: Print loaded objects at the beginning.
22 2000-10-24 Andreas Jaeger <aj@suse.de>
24 * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
26 2000-10-23 Ulrich Drepper <drepper@redhat.com>
28 * include/link.h (struct link_map): New bit field l_faked.
29 * elf/dl-deps.c: Use l_faked field in struct link_map instead of
30 the magic l_opencount==0.
31 * elf/dl-load.c: Likewise.
32 * elf/dl-version.c: Likewise.
33 * elf/rtld.c: Likewise.
35 * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
37 2000-10-23 Jim Meyering <meyering@ascend.com>
39 Allow this code to be used outside of glibc.
40 * sysdeps/generic/memrchr.c: Undef __memrchr, too.
41 [!weak_alias]: Define __memrchr to memrchr.
42 Guard weak_alias use with `#ifdef weak_alias'.
44 2000-10-23 Ulrich Drepper <drepper@redhat.com>
46 * elf/unload.c: Generate more debugging output.
48 * elf/neededtest.c: Make it more complicated.
49 * elf/neededtest2.c: New file.
50 * elf/Makefile: Add rules to build and run neededtest2.
52 * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
56 * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
57 global scope if we can determine it.
59 2000-10-23 Andreas Schwab <schwab@suse.de>
61 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
62 (RLIMIT_NLIMITS): Sync with kernel definition.
63 (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
65 2000-10-23 Andreas Schwab <schwab@suse.de>
67 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
69 2000-10-23 Ulrich Drepper <drepper@redhat.com>
71 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
73 2000-10-22 Bruno Haible <haible@clisp.cons.org>
75 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
76 for 0x8BF8, 0xA27E..0xA2A7.
77 * iconvdata/BIG5HKSCS.irreversible: New file.
79 2000-10-23 Jakub Jelinek <jakub@redhat.com>
81 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
82 * timezone/zic.c (main): Likewise.
84 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
86 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
89 2000-10-23 Andreas Jaeger <aj@suse.de>
91 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
93 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
94 Patch by Ralf Baechle <ralf@gnu.org>.
96 2000-10-21 Ulrich Drepper <drepper@redhat.com>
98 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
99 verification in open_verify.
100 (open_verify): New function. Called instead of open. Ignores valid
101 files for other architectures.
102 (open_path): Call open_verify instead of open.
103 (_dl_map_object): Likewise.
104 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
106 * io/pwd.c (main): The output was missing a newline.
108 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
109 expects it. Patch by Colin Watson <riva.ucam.org>.
110 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
112 * elf/dl-open.c (add_to_global): New function. Split out from
114 (dl_open_worker): Call add_to_global not only for new objects, also for
115 previously loaded objects when (mode & RTLD_GLOBAL) and the object
116 was not yet in the global scope.
117 * elf/Makefile: Add rules to build and run lateglobal.
118 * elf/lateglobal.c: New file.
119 * elf/ltglobmod1.c: New file.
120 * elf/ltglobmod2.c: New file.
122 2000-10-20 Ulrich Drepper <drepper@redhat.com>
124 * include/link.h (struct link_map): Add l_soname_added bitfield.
125 * elf/dl-load.c (_dl_map_object): Remember when we added the
126 SONAME to the l_libname list and don't try it again.
128 * elf/dl-close.c: Decrement opencount for all dependencies which can
129 be removed even if the object is not yet unloaded.
130 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
131 the list decrement opencount of all dependencies.
132 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
133 and all dependencies.
134 (_dl_map_object): Likewise.
135 * elf/dl-lookup.c (add_dependency): Likewise.
137 * elf/loadtest.c: Add debug when with more output.
139 * elf/Makefile: Add rules to build and run unload2.
140 * elf/unload2.c: New file.
141 * elf/unload2mod.c: New file.
142 * elf/unload2dep.c: New file.
144 * intl/libintl.h (ngettext macro): Add missing parameter.
145 (dngettext macro): Likewise.
147 2000-10-19 H.J. Lu <hjl@gnu.org>
149 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
150 neededobj2.c and neededobj3.c.
151 (tests): Add neededtest.
152 (modules-names): Add neededobj1, neededobj2 and neededobj3.
153 ($(objpfx)neededobj1.so): New target.
154 ($(objpfx)neededobj2.so): Likewise.
155 ($(objpfx)neededobj3.so): Likewise.
156 ($(objpfx)neededtest): Likewise.
157 ($(objpfx)neededtest.out): Likewise.
158 * elf/neededtest.c: New. Based on the bug report from
159 Allen Bauer <kylix_rd@hotmail.com>.
160 * elf/neededobj1.c: Likewise.
161 * elf/neededobj2.c: Likewise.
162 * elf/neededobj3.c: Likewise.
164 2000-10-20 Ulrich Drepper <drepper@redhat.com>
166 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
167 to elf_machine_matches_host.
168 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
169 is now pointer to ELF header.
170 * sysdeps/arm/dl-machine.h: Likewise.
171 * sysdeps/generic/dl-machine.h: Likewise.
172 * sysdeps/hppa/dl-machine.h: Likewise.
173 * sysdeps/i386/dl-machine.h: Likewise.
174 * sysdeps/ia64/dl-machine.h: Likewise.
175 * sysdeps/m68k/dl-machine.h: Likewise.
176 * sysdeps/mips/dl-machine.h: Likewise.
177 * sysdeps/mips/mips64/dl-machine.h: Likewise.
178 * sysdeps/powerpc/dl-machine.h: Likewise.
179 * sysdeps/s390/dl-machine.h: Likewise.
180 * sysdeps/sh/dl-machine.h: Likewise.
181 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
182 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
183 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
185 2000-10-20 Jakub Jelinek <jakub@redhat.com>
187 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
188 check instead of #ifdef __alpha__.
189 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
190 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
193 2000-10-20 Ulrich Drepper <drepper@redhat.com>
195 * posix/wordexp-tst.sh (testout): Place output file in build
196 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
198 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
200 2000-10-19 Ulrich Drepper <drepper@redhat.com>
202 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
203 Correctly handle numeric group member information.
204 Patch by tomasw@cs.huji.ac.il.
206 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
207 Complete test for strtol overflow.
209 2000-10-19 Jakub Jelinek <jakub@redhat.com>
211 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
212 semun as 4th argument to semctl syscall, not address of it.
214 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
216 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
218 2000-10-17 Andreas Schwab <schwab@suse.de>
220 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
221 * include/string.h: Declare them here.
223 2000-10-18 Ralf Baechle <ralf@gnu.org>
225 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
227 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
229 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
230 of the unordered comparison functions that use the GCC builtins.
232 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
233 (__process_machine_rela): Print the address of an overflowing
236 2000-10-18 Ulrich Drepper <drepper@redhat.com>
238 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
240 (freeit): Remove unnecessary test.
242 2000-10-18 Andreas Jaeger <aj@suse.de>
244 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
245 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
246 (elf_machine_runtime_link_map): Likewise.
247 (elf_machine_runtime_setup): Likewise.
248 Handle dynamic linker's local got entries.
249 Patches by Ralf Baechle <ralf@gnu.org>.
251 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
253 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
254 the frame pointer. Allocate stack space for $a0 for
255 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
258 2000-10-17 Ulrich Drepper <drepper@redhat.com>
260 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
263 2000-10-17 Andreas Schwab <schwab@suse.de>
265 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
268 2000-10-17 Jakub Jelinek <jakub@redhat.com>
270 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
271 Add missing backslash.
273 2000-10-16 Ulrich Drepper <drepper@redhat.com>
275 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
277 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
279 2000-10-16 Jakub Jelinek <jakub@redhat.com>
281 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
283 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
284 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
286 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
287 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
288 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
289 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
290 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
291 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
292 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
293 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
294 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
295 y1_test, yn_test): Add L suffixes also to parameters.
296 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
297 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
298 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
300 2000-10-16 Ulrich Drepper <drepper@redhat.com>
302 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
303 ialloc.c, and scheck.c.
304 * malloc/obstack.c: Always include <libintl.h> for glibc.
305 * posix/getopt.c: Likewise.
306 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
308 2000-10-15 Pete Wyckoff <pw@osc.edu>
310 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
312 2000-10-15 Pete Wyckoff <pw@osc.edu>
314 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
315 * iconvdata/tst-table.sh: Likewise.
317 2000-10-15 Ulrich Drepper <drepper@redhat.com>
319 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
320 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
322 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
323 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
325 2000-10-13 Andreas Schwab <schwab@suse.de>
327 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
329 2000-10-15 Ulrich Drepper <drepper@redhat.com>
331 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
332 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
333 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
334 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
335 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
337 2000-10-14 Ulrich Drepper <drepper@redhat.com>
339 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
340 (hypot_test): Likewise.
342 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
343 string correctly. Handle padding correctly.
345 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
347 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
348 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
350 2000-10-12 Alan Modra <alan@linuxcare.com.au>
352 * FAQ.in: Add --start-group and --end-group.
354 2000-10-12 Alan Modra <alan@linuxcare.com.au>
356 * malloc/memusage.c: Conditionalize stack usage calculation on
359 2000-10-12 Alan Modra <alan@linuxcare.com.au>
361 * config.h.in: Add ASM_LINE_SEP.
362 * configure.in: Add test for comment and line separators.
363 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
364 placate some hppa assemblers.
365 * sysdeps/hppa/sysdep.h: Likewise.
366 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
367 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
369 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
371 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
373 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
374 non-threaded platforms.
376 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
378 * configure.in: Add definitions for hppa.
379 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
380 for IPLT and EPLT relocations.
381 * shlib-versions: Version symbol definitions for hppa-linux.
382 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
385 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
387 * sysdeps/hppa/Makefile: New file.
388 * sysdeps/hppa/Versions: New file.
390 * sysdeps/hppa/setjmp.S: New file.
391 * sysdeps/hppa/__longjmp.S: New file.
392 * sysdeps/hppa/bits/setjmp.h: New file.
393 * sysdeps/hppa/frame.h: New file.
395 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
396 * sysdeps/hppa/sub_n.s: Likewise.
397 * sysdeps/hppa/lshift.s: Likewise.
398 * sysdeps/hppa/rshift.s: Likewise.
399 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
400 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
401 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
402 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
403 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
405 * sysdeps/hppa/dl-machine.h: New file.
406 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
407 identical to the IA-64 one).
408 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
409 * sysdeps/hppa/dl-symaddr.c: Likewise.
411 * sysdeps/hppa/elf/initfini.c: New file.
412 * sysdeps/hppa/elf/start.S: New file.
414 * sysdeps/hppa/fpu/bits/fenv.h: New file.
415 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
416 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
417 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
418 * sysdeps/hppa/fpu/fegetenv.c: New file.
419 * sysdeps/hppa/fpu/fegetexcept.c: New file.
420 * sysdeps/hppa/fpu/fegetround.c: New file.
421 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
422 * sysdeps/hppa/fpu/fesetenv.c: New file.
423 * sysdeps/hppa/fpu/fesetround.c: New file.
424 * sysdeps/hppa/fpu/feupdateenv.c: New file.
425 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
426 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
427 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
428 * sysdeps/hppa/fpu/ftestexcept.c: New file.
430 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
431 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
432 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
433 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
434 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
437 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
438 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
439 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
440 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
441 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
442 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
443 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
444 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
445 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
446 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
447 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
448 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
449 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
450 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
451 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
452 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
453 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
454 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
455 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
457 2000-10-12 Alan Modra <alan@linuxcare.com.au>
459 * sysdeps/hppa/hppa1.1/Implies: New file.
460 * sysdeps/hppa/memusage.h: New file.
462 2000-10-28 Jes Sorensen <jes@linuxcare.com>
464 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
465 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
466 _outl. Reported by Bill Nottingham.
468 2000-04-06 Andreas Schwab <schwab@suse.de>
470 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
471 restore register r8 for functions that return a structure.
473 2000-10-12 Jakub Jelinek <jakub@redhat.com>
475 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
476 M_SQRT_PIl): Increase precision.
477 (cbrt_test): If cbrt is not implemented, don't test it.
478 Add L suffix to double constants in results which differ from their
479 L suffixed counterparts.
480 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
482 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
484 2000-10-11 Jakub Jelinek <jakub@redhat.com>
486 * inet/rexec.c (rexec_af): Convert rport to host order before
487 passing it to snprintf.
489 2000-10-14 Ulrich Drepper <drepper@redhat.com>
491 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
492 uintXX_t since this is what <sys/types.h> defines and we include
493 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
495 * intl/localealias.c (read_alias_file): Update string pointers
496 in map[] if realloc() changed the values.
497 Patch by Jakub Jelinek <jakub@redhat.com>.
499 * manual/stdio.texi: Update printf extension documentation after
500 z became a valid modifier.
501 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
503 * timezone/africa: Update from tzcode2000g and tzdata2000g.
504 * timezone/asia: Likewise.
505 * timezone/australasia: Likewise.
506 * timezone/backward: Likewise.
507 * timezone/europe: Likewise.
508 * timezone/iso3166.tab: Likewise.
509 * timezone/northamerica: Likewise.
510 * timezone/southamerica: Likewise.
511 * timezone/zone.tab: Likewise.
513 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
515 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
518 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
520 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
521 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
522 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
523 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
524 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
525 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
526 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
527 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
528 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
529 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
530 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
531 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
532 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
533 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
534 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
535 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
536 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
537 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
539 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
540 oldsetrlimit for GLIBC_2.0.
542 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
543 arguments to _dl_init.
545 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
547 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
548 building with the default options.
550 2000-10-11 Andreas Jaeger <aj@suse.de>
552 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
553 Patch by Denis Zaitsev <zzz@cd-club.ru>.
555 2000-10-09 Jakub Jelinek <jakub@redhat.com>
557 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
559 * manual/arith.texi (nextafter): Document it.
560 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
562 2000-10-08 Ulrich Drepper <drepper@redhat.com>
564 * version.h (VERSION): Bump to 2.1.95.
566 * configure.in: Remove warning message.
568 * nscd/Makefile (distribute): Add nscd-types.h.
569 * elf/Makefile (distribute): Add gccframe.h.
570 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
571 * sysdeps/ia64/Dist: Add ieee754.h.
573 2000-10-07 Ulrich Drepper <drepper@redhat.com>
575 * elf/elf.h: Add a few section-related symbols.
577 * include/features.h (__STDC_ISO_10646__): Set to correct date.
578 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
580 2000-10-06 Jes Sorensen <jes@linuxcare.com>
582 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
583 overflow generation by adding DBL_MAX to DBL_MAX instead of
584 setting the bits manually in the fpsr and generating the exception
585 with kill() if necessary.
586 (feraiseexcept): Implement underflow by dividing DBL_MIN by
587 DBL_MIN - similar to the overflow change described above.
589 2000-08-27 H.J. Lu <hjl@gnu.org>
591 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
592 is not supported under Linux/ia64, use clone2.
594 2000-10-06 Jakub Jelinek <jakub@redhat.com>
596 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
597 * misc/sys/cdefs.h (__THROW): Likewise.
599 2000-10-05 Jakub Jelinek <jakub@redhat.com>
601 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
603 2000-10-02 Jakub Jelinek <jakub@redhat.com>
605 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
606 remaining xp_pad space.
608 2000-10-05 Jakub Jelinek <jakub@redhat.com>
610 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
611 DF_1_NODELETE, not list[i]'s.
613 2000-10-04 Ulrich Drepper <drepper@redhat.com>
615 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
616 (BODY from direction): Map \x5c to U20a9.
617 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
618 * iconvdata/EUC-KR.irreversible: New file.
619 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
621 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
622 (argp_version_argp): Likewise.
624 2000-10-04 Jakub Jelinek <jakub@redhat.com>
626 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
627 input_error() if EOF is seen before processing.
628 * stdio-common/tstscanf.c (main): Add testcase.
630 2000-10-04 Ulrich Drepper <drepper@redhat.com>
632 * argp/argp-help.c: Make sure we get the correct gettext and
633 dgettext definitions.
634 * argp/argp-parse.c: Likewise.
636 2000-10-03 Ulrich Drepper <drepper@redhat.com>
638 * locale/programs/linereader.c (get_string): Also clear wide
639 string info if illegal_string.
641 2000-10-03 Andreas Schwab <schwab@suse.de>
643 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
645 2000-10-02 Jakub Jelinek <jakub@redhat.com>
647 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
652 2000-10-02 Ralf Baechle <ralf@gnu.org>
654 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
655 end of inline assembler code.
657 2000-10-02 Ulrich Drepper <drepper@redhat.com>
659 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
660 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
662 2000-10-02 Andreas Jaeger <aj@suse.de>
664 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
667 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
669 2000-10-01 Ralf Baechle <ralf@gnu.org>
671 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
672 argument passed to _dl_init.
674 2000-09-30 Bruno Haible <haible@clisp.cons.org>
676 * locale/programs/charmap-dir.h: New file.
677 * locale/programs/charmap-dir.c: New file.
678 * locale/programs/linereader.h (lr_create): New declaration.
679 * locale/programs/linereader.c (lr_create): New function, split out
681 (lr_open): Tailcall lr_create.
682 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
684 (xstrdup): New declaration.
685 (more_help): Use xstrdup instead of strdup.
686 (write_locales): Likewise. When encountering a symbolic link, call
688 (write_charmaps): Simplify using the charmap-dir.h functions.
689 Use xstrdup instead of strdup.
690 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
691 <dirent.h> and <unistd.h>.
692 (cmlr_open): New function.
693 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
694 charmap-dir.h functions.
695 * locale/Makefile (distribute): Add charmap-dir.h.
696 (lib-modules): Add charmap-dir.
697 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
698 wants a 'char **', not a 'const char **'.
699 * include/spawn.h: New file.
701 2000-09-30 Bruno Haible <haible@clisp.cons.org>
703 * posix/spawn_faction_init.c: Include "spawn_int.h".
704 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
706 2000-09-30 Bruno Haible <haible@clisp.cons.org>
708 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
710 2000-09-30 Bruno Haible <haible@clisp.cons.org>
712 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
713 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
714 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
715 a pointer to the table entry, without extending the table.
716 (allocate_arrays): Set a width only for characters with 'print'
717 property. Set the width of L'\0' to 0.
718 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
719 for unprintable characters. Set entry of NUL to 0.
721 2000-09-30 Bruno Haible <haible@clisp.cons.org>
723 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
724 Don't forget to call closedir when the filename was found as a
727 2000-09-30 Bruno Haible <haible@clisp.cons.org>
729 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
732 2000-09-30 Bruno Haible <haible@clisp.cons.org>
734 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
735 level2, and level3 as well.
736 (wctype_table_add): Remove a few unnecessary conditionals.
738 2000-09-30 Ralf Baechle <ralf@gnu.org>
740 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
742 2000-09-30 H.J. Lu <hjl@gnu.org>
744 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
745 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
747 2000-09-29 H.J. Lu <hjl@gnu.org>
749 * math/libm-test.inc (init_max_error): Clear all exceptions
750 before starting test.
751 (acosh_test): Test for existence of function.
752 (asinh_test): Likewise.
753 (atan2_test): Likewise.
754 (cabs_test): Likewise.
755 (cacos_test): Likewise.
756 (cacosh_test): Likewise.
757 (casin_test): Likewise.
758 (casinh_test): Likewise.
759 (catan_test): Likewise.
760 (catanh_test): Likewise.
761 (ccos_test): Likewise.
762 (ccosh_test): Likewise.
763 (cexp_test): Likewise.
764 (clog_test): Likewise.
765 (clog10_test): Likewise.
766 (cosh_test): Likewise.
767 (cpow_test): Likewise.
768 (csin_test): Likewise.
769 (csinh_test): Likewise.
770 (csqrt_test): Likewise.
771 (ctan_test): Likewise.
772 (ctanh_test): Likewise.
773 (fmod_test): Likewise.
774 (hypot_test): Likewise.
775 (remainder_test): Likewise.
776 (remquo_test): Likewise.
777 (sincos_test): Likewise.
778 (sinh_test): Likewise.
779 (tanh_test): Likewise.
781 2000-09-29 H.J. Lu <hjl@gnu.org>
783 * sysdeps/ia64/ieee754.h: New file.
785 * sysdeps/ia64/fpu/math_ldbl.h: New file.
787 2000-09-30 Jakub Jelinek <jakub@redhat.com>
789 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
790 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
792 2000-09-30 Ulrich Drepper <drepper@redhat.com>
794 * manual/charset.texi: Correct notations, reference to C90 amd 1,
795 and some other details.
796 * manual/ctype.texi: Likewise.
797 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
799 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
801 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
803 2000-09-29 Ulrich Drepper <drepper@redhat.com>
805 * elf/cache.c (save_cache): Initialize __unused field in new cache
806 as well to get reproducable results.
808 2000-09-29 H.J. Lu <hjl@gnu.org>
810 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
812 2000-09-29 H.J. Lu <hjl@gnu.org>
814 * sysdeps/ia64/bits/huge_val.h: New file.
816 2000-09-29 Ulrich Drepper <drepper@redhat.com>
818 * elf/chroot_canon.c: Don't report a failure if the last path
819 component is not available.
820 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
823 * elf/cache.c (print_cache): Use stat64 instead of stat.
824 * elf/ldconfig.c (chroot_stat): Likewise.
825 (create_links): Likewise.
826 (manual_link): Likewise.
827 (search_dir): Likewise.
828 * elf/readlib.c (process_file): Likewise.
830 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
833 2000-09-29 Jakub Jelinek <jakub@redhat.com>
835 * elf/chroot_canon.c: New file.
836 * elf/Makefile: Build and distribute it.
837 * elf/ldconfig.h (process_file): Add real_file_name argument.
838 (chroot_canon): Add prototype.
839 * elf/ldconfig.c (cache_file): Remove const.
841 (create_links): Add real_path argument.
842 If opt_chroot, maintain both real and given filenames.
843 (manual_link): Likewise.
844 (search_dir): Likewise.
845 (parse_conf): If opt_chroot, use chroot_canon to find the real
847 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
848 and use chroot_canon where appropriate to do the same as if chroot
850 * elf/readlib.c (process_file): Add real_file_name argument, pass it
853 2000-09-29 Ulrich Drepper <drepper@redhat.com>
855 * math/complex.h (_Complex): We can be more specific when _Complex
856 is defined by the compiler.
858 2000-09-29 H.J. Lu <hjl@gnu.org>
860 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
862 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
863 for x86/IA-64 binary.
865 2000-09-29 Andreas Schwab <schwab@suse.de>
867 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
869 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
871 2000-09-29 Mark Kettenis <kettenis@gnu.org>
873 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
874 implementation for use by the dynamic linker.
876 2000-09-29 Andreas Jaeger <aj@suse.de>
878 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
881 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
882 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
883 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
887 2000-09-29 Andreas Jaeger <aj@suse.de>
889 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
891 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
892 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
893 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
898 2000-09-29 David Mosberger <davidm@hpl.hp.com>
900 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
902 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
904 2000-06-10 David Mosberger <davidm@hpl.hp.com>
906 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
907 works: call to __sigjmp_save must be done unconditionally to
908 ensure jmp_buf is initialized properly.
910 2000-09-27 Andreas Jaeger <aj@suse.de>
912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
915 2000-09-29 Jakub Jelinek <jakub@redhat.com>
917 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
918 Use nscd_ssize_t where appropriate.
919 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
920 ssize_t where appropriate.
921 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
922 * nscd/hstcache.c (cache_addhst): Likewise.
923 * nscd/grpcache.c (cache_addgr): Likewise.
924 * sysdeps/generic/nscd-types.h: New file.
925 * sysdeps/alpha/nscd-types.h: New file.
927 2000-09-29 Ulrich Drepper <drepper@redhat.com>
929 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
930 INADDR_LOOPBACK instead of numeric value.
932 2000-09-28 H.J. Lu <hjl@gnu.org>
934 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
936 (ELF_MACHINE_FIXED_STACK): Removed.
938 2000-09-29 Andreas Jaeger <aj@suse.de>
940 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
942 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
944 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
946 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
948 2000-09-28 Ulrich Drepper <drepper@redhat.com>
950 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
951 relocation also for R_ALPHA_RELATIVE.
952 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
954 2000-09-18 Bruno Haible <haible@clisp.cons.org>
956 * intl/dcigettext.c: Outside libc, use local variable names that don't
957 clash with those in libc.
958 * intl/bindtextdom.c: Likewise.
959 * intl/textdomain.c: Likewise.
961 2000-09-28 Ulrich Drepper <drepper@redhat.com>
963 * elf/ldconfig.c (parse_conf): Print full name of config dir
964 including chroot() path.
965 (main): Remove trailing / from opt_chroot string.
967 * include/features.h: Correct description of what happens if no
968 *_SOURCE macro is defined.
970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
971 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
973 2000-09-19 H.J. Lu <hjl@gnu.org>
975 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
976 * malloc/malloc.c (__memalign_hook): Likewise.
977 (memalign_hook_ini): Likewise.
979 2000-09-28 Ulrich Drepper <drepper@redhat.com>
981 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
983 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
984 underlying functions directly.
986 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
987 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
988 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
989 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
990 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
991 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
992 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
994 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
996 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
997 define it for powerpc for kernel >= 2.4.0.
998 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
1000 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1001 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
1003 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
1004 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
1005 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
1007 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
1009 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
1011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
1012 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1014 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
1016 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
1018 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
1020 2000-09-27 Andreas Schwab <schwab@suse.de>
1022 * math/Makefile (distribute): Explicitly add the long double test
1023 sources, to get them included even if long double is not supported.
1025 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1027 * elf/soinit.c (struct object): Move definition to gccframe.h and
1028 include it. Problem identified by HJ Lu.
1030 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
1031 struct object to be searched for frame unwind info.
1032 * sysdeps/generic/gccframe.h: New file. Generic version of
1033 struct object to be searched for frame unwind info.
1035 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1037 * manual/errno.texi: Correct error text for ENXIO.
1038 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
1040 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1042 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
1043 exception status bits rather than the exception disable bits.
1044 Don't include math.h.
1046 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
1047 status of exceptions currently raised rather than which exceptions
1050 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
1051 rather than unsigned long int.
1053 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
1054 the exceptions actually requested by the caller and not just
1055 disable all exceptions.
1057 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
1058 the ia64 are enabled by clearing the respective bits in the fpsr,
1061 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
1062 unsigned long int rather than unsigned long to be consistent with
1063 the coding conventions.
1065 2000-09-20 H.J. Lu <hjl@gnu.org>
1067 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1069 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1071 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1073 * string/bits/string2.h: Unify #if usage.
1075 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1077 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1078 and disabling underflow or overflow, disable inexact as well.
1080 2000-09-26 Andreas Jaeger <aj@suse.de>
1082 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1084 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1086 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1087 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1089 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1090 (create_links): Likewise.
1092 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1094 * posix/tst-dir.c: Test a few error cases of chdir.
1096 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1098 * math/math_private.h: Don't add long double prototypes if
1099 NO_LONG_DOUBLE is defined.
1101 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1103 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1104 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1106 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1108 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1110 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1111 * sysdeps/sparc/sparc32/ieee754.h: New.
1112 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1113 * sysdeps/sparc/bits/endian.h: ...here.
1114 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1116 %o1, not %o0 to see if we're parent or child. Optimize.
1118 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1120 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1122 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1123 code by Hans Boehm).
1124 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1126 2000-09-20 H.J. Lu <hjl@gnu.org>
1128 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1130 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1132 2000-09-17 H.J. Lu <hjl@gnu.org>
1134 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1136 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1137 sysdeps/i386/fpu/s_isinfl.c.
1139 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1140 sysdeps/i386/fpu/s_isnanl.c.
1142 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1143 sysdeps/i386/fpu/s_nextafterl.c.
1145 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1146 sysdeps/i386/fpu/bits/mathdef.h.
1148 2000-09-16 H.J. Lu <hjl@gnu.org>
1150 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1151 DL_UNMAP_IS_SPECIAL is not defined.
1153 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1154 (_dl_unmap): New prototype.
1155 (DL_UNMAP): New. Defined as _dl_unmap.
1157 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1159 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1161 2000-09-16 H.J. Lu <hjl@gnu.org>
1163 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1164 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1166 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1168 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1170 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1171 the memory location of a function from a function descriptor.
1173 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1175 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1178 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1180 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1181 variable as input argument.
1182 (__bswap_32): Likewise.
1184 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1185 - found by Jim Wilson <wilson@cygnus.com>
1187 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1189 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1192 2000-09-26 Andreas Schwab <schwab@suse.de>
1194 * locale/programs/ld-collate.c (collate_output): Only require
1195 alignment on __alignof__ (int32_t) instead of 4.
1196 * locale/loadlocale.c (_nl_load_locale): Likewise.
1197 * string/strcoll.c: Likewise.
1199 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1201 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1202 parentheses around arithmetic used in | statement to kill compiler
1205 * math/math_private.h: Add prototype for __finitel.
1206 (__ilogbl): Likewise.
1207 (__isinfl): Likewise.
1208 (__isnanl): Likewise.
1209 (__atanl): Likewise.
1210 (__copysignl): Likewise.
1211 (__expm1l): Likewise.
1212 (__floorl): Likewise.
1213 (__frexpl): Likewise.
1214 (__ldexpl): Likewise.
1215 (__log1pl): Likewise.
1217 (__rintl): Likewise.
1218 (__scalbnl): Likewise.
1219 (__sqrtl): Likewise.
1221 (__sincosl): Likewise.
1223 2000-09-26 Andreas Schwab <schwab@suse.de>
1225 * sysdeps/m68k/fpu/libm-test-ulps: New file
1227 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1229 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1231 2000-09-26 Andreas Jaeger <aj@suse.de>
1233 * misc/mkstemp64.c: New file.
1234 * misc/Makefile (routines): Add mkstemp64.
1235 * stdlib/stdlib.h: Add prototype and redirection magic.
1236 * misc/Versions: Add mkstemp64.
1238 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1240 * nscd/dbg_log.c (dbg_log): Add missing format string.
1242 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1244 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1245 since we filter out the variable once.
1246 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1247 * locale/newlocale.c (__newlocale): Likewise.
1248 * locale/setlocale.c (setlocale): Likewise.
1249 * malloc/malloc.c (ptmalloc_init): Likewise.
1250 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1251 * resolv/res_init.c (__res_vinit): Likewise.
1252 * time/tzfile.c (__tzfile_read): Likewise.
1253 * sysdeps/generic/unsecvars.h: New file.
1254 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1255 * elf/rtld.c (process_envvars): Likewise.
1256 * elf/Makefile (distribute): Add unsecvars.h.
1258 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1259 real /dev/null device.
1261 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1262 * sysdeps/generic/device-nrs.h: New file.
1263 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1264 * misc/Makefile (distribute): Add device-nrs.h.
1266 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1267 remove possible garbage at the end of the file.
1269 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1271 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1272 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1273 * stdio-common/tempnam.c: Warn about insecure tempnam.
1274 * misc/mktemp.c: Warn about insecure mktemp.
1276 * sysdeps/generic/check_fds.c: Check that file opened is really
1278 * posix/wordexp.c (exec_comm_child): Likewise.
1280 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1282 * locale/Makefile (routines): Add nl_langinfo_l.
1283 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1284 * locale/nl_langinfo_l.c: New file.
1285 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1288 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1290 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1291 (__gbk_to_ucs): Conditionalize private area mappings.
1292 (__gbk_from_ucs4_tab9): Likewise.
1293 (BODY for TO_LOOP): Likewise.
1294 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1295 * iconvdata/testdata/GBK..UTF-8: Likewise.
1296 * iconvdata/tst-tables.sh: Enable GBK test.
1298 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1300 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1301 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1302 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1304 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1305 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1307 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1309 * iconvdata/johab.c (final_to_ucs): Fix typos.
1310 (jamo_from_ucs_table): Likewise.
1311 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1312 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1313 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1314 the range 0xD9E6..0xD9FE.
1315 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1317 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1319 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1322 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1324 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1325 stream is in wide mode.
1327 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1329 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1331 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1333 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1335 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1337 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1338 reallocation logic for MALLOC (%as, %aS formats).
1340 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1342 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1343 Add missing case in va_arg handling for numbers.
1344 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1346 * stdio/tst-printf.sh: Adjust expected results.
1347 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1349 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1351 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1352 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1354 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1355 as equivalent to uppercase hexadecimal digits.
1357 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1359 * iconvdata/testdata/EUC-KR..UTF8: New file.
1360 * iconvdata/testdata/EUC-TW: New file.
1361 * iconvdata/testdata/EUC-TW..UTF8: New file.
1362 * iconvdata/testdata/EUC-JP: New file.
1363 * iconvdata/testdata/EUC-JP..UTF8: New file.
1364 * iconvdata/testdata/ISO-2022-JP: New file.
1365 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1366 * iconvdata/testdata/ISO-2022-JP-2: New file.
1367 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1368 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1369 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1370 * iconvdata/testdata/ISO-2022-CN: New file.
1371 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1372 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1373 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1374 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1375 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1377 2000-09-24 Andreas Jaeger <aj@suse.de>
1379 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1380 function add_single_dir.
1381 (add_single_dir): New function.
1382 (search_dir): Use add_single_dir instead of recursing.
1384 * sysdeps/generic/dl-cache.h: Include stdint.h.
1385 (struct file_entry_new): Use fixed sizes for interoperability
1386 between 32bit and 64bit systems, add __unused to make alignment
1388 (CACHE_VERSION): Increment.
1389 (struct cache_file_new): Use fixed sizes, add one more unused
1390 entry to make alignment explicit.
1392 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1394 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1396 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1398 * stdio-common/printf-parse.h (parse_one_spec): Clear
1399 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1401 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1403 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1404 #undef since we don't have msync.
1406 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1407 constant since that is what clock_t is.
1408 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1410 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1412 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1413 multiply by LOAD_SCALE.
1415 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1417 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1418 (crypt_r, setkey_r, encrypt_r): Likewise.
1420 2000-09-22 Andreas Jaeger <aj@suse.de>
1422 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1425 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1426 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1428 2000-09-21 Andreas Jaeger <aj@suse.de>
1430 * math/libm-test.inc (atan_test): Test for existence of function.
1431 (expm1_test): Likewise.
1432 (acos_test): Likewise.
1433 (asin_test): Likewise.
1434 (exp_test): Likewise.
1435 (log10_test): Likewise.
1436 (log_test): Likewise.
1437 (pow_test): Likewise.
1438 (sqrt_test): Likewise.
1439 (cos_test): Likewise.
1440 (sin_test): Likewise.
1441 (tan_test): Likewise.
1442 (log1p_test): Likewise.
1443 (log2_test): Likewise.
1445 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1447 * libio/oldiofsetpos64.c: Fix alias names.
1449 2000-09-21 Martin Buchholz <martin@xemacs.org>
1451 * manual/terminal.texi (Allocation): Sample code correction.
1453 2000-09-20 Andreas Jaeger <aj@suse.de>
1455 * iconvdata/Makefile (generated): Add tst-tables.out.
1457 * intl/Makefile (generated): Add test output.
1459 2000-09-19 Andreas Jaeger <aj@suse.de>
1461 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1462 Reported by Jens-Uwe Mager <jum@helios.de>.
1464 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1466 * version.h (VERSION): Bump to 2.1.94.
1468 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1469 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1470 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1471 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1473 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1475 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1477 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1478 range 0xD800..0xDFFF.
1479 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1480 (BODY for FROM_LOOP): Likewise.
1481 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1482 (internal_ucs2_loop): Likewise.
1483 (ucs2reverse_internal_loop): Likewise.
1484 (internal_ucs2reverse_loop): Likewise.
1486 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1488 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1491 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1493 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1494 * iconvdata/tst-table-to.c (main): Likewise.
1496 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1498 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1500 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1501 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1502 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1503 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1504 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1505 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1506 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1507 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1508 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1509 encodings when needed. When outputting an announcement, don't clear
1510 most other announcements.
1512 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1514 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1515 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1517 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1519 * intl/Versions: Add bind_textdomain_codeset.
1521 2000-09-16 Ralf Baechle <ralf@gnu.org>
1523 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1525 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1526 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1527 it will even work when not loaded to the standard address.
1528 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1529 before the dynamic linker itself is relocated.
1531 2000-09-18 Andreas Jaeger <aj@suse.de>
1533 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1534 __ASSUME_32BITUIDS for MIPS.
1535 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1536 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1538 2000-09-17 H.J. Lu <hjl@gnu.org>
1540 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1541 $(make-target-directory) instead of mkdir.
1543 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1545 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1546 __ASSUME_32BITUIDS for __powerpc__.
1547 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1548 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1550 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1552 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1554 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1556 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1558 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1560 * sysdeps/m68k/Implies: Likewise.
1561 * sysdeps/sparc/sparc64/Implies: Likewise.
1563 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1565 * elf/readlib.c (process_file): Don't error for stale .so links either.
1567 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1569 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1572 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1573 Patch by Thorsten Kukuk <kukuk@suse.de>.
1575 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1576 (test): Add default.
1577 (modules-names): Add defaultmod1 and defaultmod2.
1578 Add rules to build test objects.
1580 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1582 * wctype/wctype.h: Always include <bits/types.h>.
1583 Reported by Jim Meyering <meyering@ascend.com>.
1585 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1586 * elf/dl-support.c: Likewise.
1588 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1589 st_blocks member in stat and stat64 structs.
1590 Patch by Bill Nottingham <notting@redhat.com>.
1592 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1595 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1596 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1597 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1598 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1600 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1601 necessary. Move includes of POSIX and Unix limits files to the end.
1602 * stdlib/Makefile (tests): Add tst-limits.
1603 * stdlib/tst-limits.h: New file.
1605 2000-09-15 Andreas Jaeger <aj@suse.de>
1607 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1609 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1611 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1613 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1615 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1616 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1618 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1620 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1622 (modules-names): Add nextmod1 and nextmod2.
1623 Add rules to build and run next.
1624 * elf/next.c: New file.
1625 * elf/nextmod1.c: New file.
1626 * elf/nextmod2.c: New file.
1628 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1630 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1632 2000-09-15 Andreas Jaeger <aj@suse.de>
1634 * sysdeps/mips/fpu/fenv_libc.h: New file.
1635 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1636 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1637 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1639 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1640 * sysdeps/mips/fpu/fegetexcept.c: New file.
1641 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1643 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1645 * intl/Makefile: Avoid unnecessary test reruns.
1647 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1649 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1650 to not use sysctl(). Too many architectures have problems with it.
1652 2000-09-14 Andreas Jaeger <aj@suse.de>
1654 * scripts/config.sub: New version from subversions.gnu.org.
1656 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1659 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1661 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1662 to avoid accessing data before collseq.
1664 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1665 pasting strings together.
1667 2000-09-14 Greg McGary <greg@mcgary.org>
1669 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1671 * sysdeps/generic/bp-semctl.h: Likewise.
1672 * sysdeps/generic/bp-start.h: Likewise.
1673 * sysdeps/generic/bp-sym.h: Likewise.
1674 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1677 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1679 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1682 * elf/elf.h: Add missing official relocations.
1684 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1685 * stdio/stdio.h: Likewise.
1686 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1687 * include/stdio.h: Handle __need___FILE like __need_FILE.
1688 * include/wchar.h: Use __FILE instead of FILE.
1689 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1690 * libio/fwscanf.c: Likewise.
1691 * libio/getwc.c: Likewise.
1693 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1694 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1695 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1697 * assert/assert.h: Update comment header about ISO C section.
1698 * math/complex.h: Likewise.
1699 * ctype/ctype.h: Likewise.
1700 * include/errno.h: Likewise.
1701 * include/limits.h: Likewise.
1702 * locale/locale.h: Likewise.
1703 * math/math.h: Likewise.
1704 * setjmp/setjmp.h: Likewise.
1705 * signal/signal.h: Likewise.
1706 * stdio/stdio.h: Likewise.
1707 * libio/stdio.h: Likewise.
1708 * stdlib/stdlib.h: Likewise.
1709 * string/string.h: Likewise.
1710 * time/time.h: Likewise.
1711 * wcsmbs/wchar.h: Likewise.
1712 * wctype/wctype.h: Likewise.
1713 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1715 2000-09-13 Andreas Jaeger <aj@suse.de>
1717 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1718 for no more entries.
1719 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1720 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1721 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1723 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1725 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1726 constant since this is what clock_t is.
1727 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1728 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1729 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1730 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1732 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1733 definitions are requested.
1735 2000-09-13 Andreas Jaeger <aj@suse.de>
1737 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1738 sparc64 and sh to synch with libc.
1740 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1742 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1743 (distribute): Add iso-2022-cn-ext.c.
1744 Add definitions to compile the new module.
1745 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1746 * iconvdata/iso-2022-cn-ext.c: New file.
1747 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1748 ucs4_from_isoir165. Increment input pointer if successful.
1750 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1752 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1754 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1756 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1757 __syscall_getdents64 wrapper.
1759 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1761 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1763 * iconvdata/gb18030.c: Many many changes. Make consistent with
1764 charmap and with itself.
1765 * iconvdata/tst-tables.sh: Test GB18030.
1767 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1769 * iconv/skeleton.c: Fix last patch, add missing parameter to
1770 unaligned function call.
1772 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1774 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1775 of decimal ellipsis.
1777 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1779 * locale/programs/ld-collate.c (collate_read): Always initialize
1782 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1784 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1785 ruleidx is 128, not 256.
1787 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1789 * locale/programs/ld-collate.c (collate_read): Correct check for
1790 already inserted entries.
1792 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1794 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1797 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1799 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1800 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1802 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1804 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1807 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1809 * iconvdata/utf-7.c: New file.
1810 * iconvdata/gconv-modules (UTF-7): New module entries.
1811 * iconvdata/Makefile (modules): Add UTF-7.
1812 (distribute): Add utf-7.c.
1813 * iconvdata/testdata/UTF-7: New file.
1814 * iconvdata/testdata/UTF-7..UTF8: New file.
1815 * iconvdata/TESTS (UTF-7): New entry.
1816 * iconvdata/run-iconv-test.sh: Fix confusing output.
1818 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1820 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1822 2000-09-10 David S. Miller <davem@redhat.com>
1824 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1825 frame pointer offset for non-fast path.
1827 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1829 * locale/programs/3level.h (*_init): Initialize level1, level2,
1831 (*_add): Remove a few unnecessary conditionals.
1833 2000-09-05 Wolfram Gloger <wg@malloc.de>
1835 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1836 ensure usability of mutex as an `in use' flag.
1838 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1840 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1842 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1843 ugly GMON_WEAK_START hack.
1844 Patch by Philip Blundell <philb@gnu.org>.
1846 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1848 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1850 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1851 and PPC_ICBI asm for broken compilers.
1852 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1854 2000-09-09 Andreas Jaeger <aj@suse.de>
1856 * manual/message.texi (Advanced gettext functions): Fix typo.
1858 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1861 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1863 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1865 * sysdeps/ia64/memccpy.S: Likewise.
1866 Patches by Jim Wilson <wilson@redhat.com>.
1868 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1869 before trying to read /proc.
1870 Patch by Matt Wilson <msw@redhat.com>.
1871 * include/sys/utsname.h: Declare __uname.
1872 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1873 * sysdeps/mach/hurd/uname.c: Likewise.
1874 * sysdeps/unix/syscalls.list: Likewise.
1876 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1879 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1881 * posix/getopt.c (_getopt_internal): When long_only is set always
1882 recognize conflicts just like before.
1884 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1886 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1888 2000-09-08 Greg McGary <greg@mcgary.org>
1890 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1891 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1892 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1894 2000-09-08 Andreas Jaeger <aj@suse.de>
1896 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1898 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1900 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1901 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1902 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1904 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1906 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1908 * elf/dl-load.c (lose): Decrement _nl_loaded.
1909 (_dl_map_object_from_fd): Don't try to dlopen executables.
1911 * iconvdata/tst-tables.sh: Actually return with an error if
1912 something goes wrong.
1913 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1914 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1916 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1918 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1919 * iconvdata/tst-table-from.c: Include <string.h>.
1920 (try): Correct cast in iconv call.
1922 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1924 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1925 (sysdep_routines): Remove dl-start.
1926 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1928 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1930 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1931 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1933 2000-09-06 Andreas Schwab <schwab@suse.de>
1935 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1937 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1939 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1941 * scripts/config.sub: Strip out -unknown for Linux targets.
1942 Patch by Scott Bambrough <scottb@netwinder.org>.
1944 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1947 2000-09-07 Andreas Jaeger <aj@suse.de>
1949 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1951 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1954 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1956 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1957 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1959 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1961 * stdlib/tst-bsearch.c (main): Add more test cases.
1963 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1964 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1965 Reported by GOTO Masanori <gotom@debian.or.jp>.
1967 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1969 * posix/Makefile (tests): Add tst-dir.
1970 (tst-dir-ARGS): New variable.
1971 * posix/tst-dir.c: New file.
1973 2000-09-07 Andreas Jaeger <aj@suse.de>
1975 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1978 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1980 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1982 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1983 use the hack with tryopen_o_directory to determine at runtime
1985 * sysdeps/unix/sysv/linux/opendir.c: New file.
1986 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1987 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1989 * catgets/Depend: New file. Add intl.
1990 * catgets/Makefile (tests): Add tst-catgets.
1991 (generated): Remove de.msg.
1992 (generated-dirs): Add de.
1993 Add dependency if tst-catgets output on de/libc.cat.
1994 * catgets/tst-catgets.c: New file.
1996 * po/ja.po: New file.
1997 * po/el.po: Update from translation team.
1999 * wcsmbs/Depend: New file.
2000 * wcsmbs/Makefile (tests): Add tst-btowc.
2001 (tst-btowc-ENV): Define.
2002 * wcsmbs/tst-btowc.c: New file.
2004 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
2005 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
2007 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
2009 * stdlib/Makefile (tests): Add tst-bsearch.
2010 * stdlib/tst-bsearch.c: New file.
2012 * posix/getopt.c (_getopt_internal): Don't recognize an option
2013 name as ambiguous if it's a prefix for more than one name but the
2014 other struct option values are identical.
2016 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
2017 Don't depend on visual inspection of the output file to recognize
2019 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2021 2000-09-06 Andreas Jaeger <aj@suse.de>
2023 * sysdeps/alpha/soft-fp/Dist: New file.
2024 * sysdeps/i386/soft-fp/Dist: New file.
2025 * sysdeps/mips/mips64/soft-fp/Dist: New file.
2026 * sysdeps/mips/soft-fp/Dist: New file.
2027 * sysdeps/powerpc/soft-fp/Dist: New file.
2028 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
2029 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
2031 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
2032 Use sysdep_routines instead of routines to fix make dist failure.
2033 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
2035 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
2037 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
2038 sysdep_headers instead of headers for make dist.
2040 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2043 2000-09-06 Andreas Schwab <schwab@suse.de>
2045 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2047 2000-09-06 Andreas Jaeger <aj@suse.de>
2049 * soft-fp/Makefile (distribute): Remove ChangeLog.
2051 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
2052 sysdep_routines instead of routines for make dist.
2054 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2056 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
2057 compatibility check for old stream and call _IO_wide in doubt.
2058 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
2059 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
2060 needed tst for such an old structure and don't do anything.
2061 * libio/freopen.c: Remove declaration of _IO_stdin_used.
2063 2000-09-06 Andreas Jaeger <aj@suse.de>
2065 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2066 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2069 * soft-fp/ChangeLog: Merged with this file.
2071 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2073 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2075 * soft-fp/Makefile (distribute): Add the math functions, too.
2077 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2079 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2081 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2084 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2085 * soft-fp/sysdeps/powerpc/q_*: New files.
2087 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2089 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2090 in wide char case correctly. Don't allocate too long temporary
2091 strings with alloca.
2093 * stdio-common/Makefile (tests): Add tst-swprintf.
2094 (tst-swprintf-ENV): New variable.
2095 * stdio-common/tst-swprintf.c: New file.
2097 2000-09-05 Andreas Jaeger <aj@suse.de>
2099 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2100 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2101 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2103 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2105 * configure.in: Strip out "unknown" from configuration names.
2107 2000-09-05 Andreas Jaeger <aj@suse.de>
2109 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2111 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2112 * sysdeps/sparc/sparc32/Implies: Likewise.
2113 * sysdeps/powerpc/Implies: Likewise.
2115 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2116 * libio/oldiofgetpos64.c: Likewise.
2118 * soft-fp/Makefile (distribute): Remove configure.
2120 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2122 * soft-fp/configure: Remove.
2124 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2125 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2127 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2128 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2130 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2131 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2133 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2134 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2136 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2137 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2139 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2140 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2142 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2143 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2145 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2146 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2148 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2149 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2151 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2152 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2154 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2155 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2157 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2158 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2160 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2161 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2163 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2164 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2166 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2167 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2169 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2170 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2172 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2173 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2175 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2176 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2178 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2179 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2181 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2182 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2184 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2185 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2187 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2188 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2190 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2191 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2193 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2194 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2196 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2197 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2199 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2200 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2202 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2203 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2205 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2206 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2208 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2209 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2211 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2212 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2214 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2215 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2217 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2218 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2220 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2221 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2223 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2224 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2226 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2227 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2229 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2230 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2232 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2233 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2235 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2236 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2238 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2239 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2241 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2242 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2244 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2245 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2247 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2248 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2250 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2251 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2253 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2254 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2256 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2257 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2259 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2260 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2262 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2263 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2265 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2266 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2268 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2269 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2271 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2272 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2274 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2275 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2277 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2278 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2280 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2281 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2283 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2284 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2286 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2287 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2289 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2290 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2292 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2293 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2295 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2296 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2298 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2299 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2301 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2302 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2304 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2305 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2307 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2308 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2310 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2311 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2313 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2314 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2316 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2317 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2319 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2320 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2322 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2323 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2325 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2326 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2328 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2329 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2331 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2332 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2334 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2335 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2337 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2338 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2340 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2341 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2343 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2344 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2346 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2347 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2349 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2350 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2352 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2353 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2355 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2356 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2358 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2359 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2361 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2362 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2364 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2365 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2367 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2368 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2370 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2371 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2373 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2374 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2376 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2377 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2379 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2380 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2382 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2383 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2385 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2386 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2388 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2389 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2391 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2392 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2394 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2395 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2397 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2398 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2400 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2401 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2403 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2404 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2406 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2407 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2409 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2410 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2412 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2413 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2415 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2416 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2418 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2419 change symbol version.
2420 * libio/oldiofgetpos64.c: Likewise.
2421 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2423 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2425 Reported by dyky@kondara.org, closes PR libc/1886.
2427 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2430 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2432 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2433 script when ^C is hit.
2435 * locale/programs/localedef.c (construct_output_path): Correct
2436 computation of endp after asprintf.
2437 * locale/programs/locfile.c (write_locale_data): Don't add extra
2440 2000-09-05 Andreas Jaeger <aj@suse.de>
2442 * scripts/config.guess: New upstream version.
2443 * scripts/config.sub: Likewise.
2444 * manual/texinfo.tex: Likewise.
2446 2000-09-04 Andreas Schwab <schwab@suse.de>
2448 * elf/Makefile (all-dl-routines): New variable.
2449 (elide-routines.os): Use it instead of $(dl-routines).
2450 (all-rtld-routines): New variable.
2451 (extra-objs): Use it instead of $(rtld-routines).
2452 ($(objpfx)dl-allobjs.os): Likewise.
2453 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2454 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2457 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2459 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2460 Set fname to NULL if the module wasn't found.
2462 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2464 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2465 true if trans->name already ends in ".so".
2467 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2469 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2471 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2472 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2473 (__gconv_release_shlib): Change return type to void.
2474 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2475 step->__counter here.
2476 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2477 if the reference is zero.
2478 (release_step): New function.
2479 (gen_steps): Always initialize the __counter to 1. Use release_step.
2480 Don't call the destructor on the step whose initializer failed.
2481 (increment_counter): Use release_step. Don't normally run destructors
2483 (__gconv_close_transform): Use release_step.
2485 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2487 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2488 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2490 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2492 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2493 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2494 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2495 to check for incomplete input.
2496 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2497 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2498 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2499 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2501 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2502 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2503 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2504 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2507 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2509 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2512 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2514 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2517 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2519 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2520 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2523 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2525 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2527 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2529 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2531 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2533 * iconvdata/tst-tables.sh: New file.
2534 * iconvdata/tst-table.sh: New file.
2535 * iconvdata/tst-table-from.c: New file.
2536 * iconvdata/tst-table-to.c: New file.
2537 * iconvdata/tst-table-charmap.sh: New file.
2538 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2539 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2540 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2541 ISIRI-3342.irreversible, SJIS.irreversible.
2542 (tests): Add dependency on tst-tables.out.
2543 (tst-tables.out, tst-tables-clean): New rules.
2544 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2545 * iconvdata/ISIRI-3342.irreversible: New file.
2546 * iconvdata/EUC-JP.irreversible: New file.
2547 * iconvdata/SJIS.irreversible: New file.
2549 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2551 * manual/locale.texi (General Numeric): Update description of
2552 representation of the grouping information in the locale data.
2553 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2555 2000-09-04 Andreas Jaeger <aj@suse.de>
2557 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2558 * iconv/iconv_prog.c (options): Fix typo.
2559 Reported by dyky@kondara.org, closes PR libc/1885.
2561 2000-09-04 Andreas Jaeger <aj@suse.de>
2563 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2564 Reported by Rob Levin <lilo@transvirtual.com>.
2566 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2568 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2569 to the typedefs of __timezone_ptr_t.
2570 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2572 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2574 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2577 2000-09-01 H.J. Lu <hjl@gnu.org>
2579 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2580 to run a binary if it is in $(tests-static).
2582 * Rules (binaries-static): Add $(tests-static).
2584 2000-09-02 Andreas Jaeger <aj@suse.de>
2586 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2588 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2591 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2593 * iconvdata/big5hkscs.c: Regenerated from charmap.
2594 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2595 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2597 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2598 statement. General cleanup.
2600 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2602 * wctype/wcfuncs.c (iswblank): New function.
2603 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2604 * wctype/wcextra.c: Remove file.
2605 * wctype/wcextra_l.c: Remove file.
2606 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2608 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2610 * locale/programs/ld-collate.c (collate_output): Remove redundant
2612 * string/strcoll.c: Likewise.
2613 * string/strxfrm.c: Include assert.h. Add assert calls like in
2616 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2618 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2619 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2620 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2621 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2622 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2623 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2624 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2625 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2626 _NL_CTYPE_GAP5/6 respectively.
2628 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2629 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2630 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2631 Don't initialize __ctype_names and __ctype_width.
2632 * wctype/cname-lookup.h: Remove file.
2633 * wctype/Makefile (distribute): Remove cname-lookup.h.
2634 * wctype/wchar-lookup.h: Include stdint.h.
2635 * wctype/wctype.c (__wctype): Assume new locale format.
2636 * wctype/wctype_l.c (__wctype_l): Likewise.
2637 * wctype/iswctype.c: Don't include cname-lookup.h.
2638 (__iswctype): Assume new locale format.
2639 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2640 (__iswctype_l): Assume new locale format.
2641 * wctype/wctrans.c: Don't include ctype.h.
2642 (wctrans): Assume new locale format.
2643 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2644 * wctype/towctrans.c: Don't include cname-lookup.h.
2645 (__towctrans): Assume new locale format.
2646 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2647 (__towctrans_l): Assume new locale format.
2648 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2649 localeinfo.h instead.
2650 (__NO_WCTYPE): Remove unused macro.
2651 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2653 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2654 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2655 (towlower, towupper): Likewise.
2656 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2657 localeinfo.h instead.
2658 (__NO_WCTYPE): Remove unused macro.
2659 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2660 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2661 __iswxdigit_l): Assume new locale format.
2662 (__towlower_l, __towupper_l): Likewise.
2663 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2664 (__ctype32_b): Remove declaration.
2665 (internal_wcwidth): Assume new locale format.
2666 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2667 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2668 to map32_b, rename width_3level to width.
2669 (ctype_output): Always create new locale format. Don't emit
2670 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2671 (allocate_arrays): Always create new locale format.
2673 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2674 * locale/weightwc.h (findidx): Assume new locale format.
2675 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2677 * string/strxfrm.c (wcsxfrm): Likewise.
2678 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2679 local variable collseq to 'const char *'.
2680 (SUFFIX): Don't use, don't undefine.
2681 * posix/fnmatch.c: Remove SUFFIX definition.
2682 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2683 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2684 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2685 (collate_finish): Always create new locale format. Remove local
2686 variables min_total, act_size.
2687 (collate_output): Always create new locale format. Remove local
2688 variables table_size, names, tablewc. Rename tablewc_3level to
2691 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2693 * locale/programs/ld-collate.c (obstack_int32_grow,
2694 obstack_int32_grow_fast): New inline functions.
2695 (output_weightwc, collate_output): Use them where possible.
2697 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2699 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2700 patch (_mode -> _flags).
2702 * libio/Makefile (headers): Add stdio_ext.h.
2703 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2704 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2705 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2706 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2707 __fsetlocking, and _flushlbf.
2708 * libio/__fbufsize.c: New file.
2709 * libio/__flbf.c: New file.
2710 * libio/__fpending.c: New file.
2711 * libio/__fpurge.c: New file.
2712 * libio/__freadable.c: New file.
2713 * libio/__freading.c: New file.
2714 * libio/__fsetlocking.c: New file.
2715 * libio/__fwritable.c: New file.
2716 * libio/__fwriting.c: New file.
2717 * libio/stdio_ext.h: New file.
2718 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2719 * libio/libio.h (_IO_USER_LOCK): Define.
2720 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2721 test _IO_USER_LOCK flag first.
2723 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2726 2000-09-01 Andreas Jaeger <aj@suse.de>
2728 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2732 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2734 * math/Makefile (tests): Add tst-defintions.
2735 * math/tst-definitions.c: New file.
2737 * stdlib/Makefile (headers): Add bits/wchar.h.
2738 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2739 * sysdeps/generic/bits/wchar.h: New file.
2740 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2741 file to define WCHAR_MIN and WCHAR_MAX.
2742 Change UINT*8_MAX and UIN*16_MAX value to type int.
2743 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2744 file to define WCHAR_MIN and WCHAR_MAX.
2745 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2747 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2748 * sysdeps/generic/bits/mathdef.h: Likewise.
2749 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2750 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2751 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2752 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2753 * locale/locale.h (struct lconv): Add __ prefix to the new members
2755 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2756 imaxdiv optimizations.
2757 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2758 * sysdeps/wordsize-64/ldiv.c: Likewise.
2759 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2761 * sysdeps/generic/bits/fenv.h: Likewise.
2762 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2763 * sysdeps/ia64/bits/fenv.h: Likewise.
2764 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2765 * sysdeps/mips/bits/fenv.h: Likewise.
2766 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2767 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2768 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2770 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2771 * inet/ruserpass.c: Likewise.
2772 * catgets/open_catalog.c: Likewise.
2773 * intl/loadmsgcat.c: Likewise.
2774 * io/getdirname.c: Likewise.
2775 * locale/loadlocale.c: Likewise.
2776 * misc/getusershell.c: Likewise.
2777 * stdlib/canonicalize.c: Likewise.
2778 * sysdeps/posix/euidaccess.c: Likewise.
2779 * sysdeps/posix/isfdtype.c: Likewise.
2780 * sysdeps/posix/posix_fallocate.c: Likewise.
2781 * sysdeps/posix/tempname.c: Likewise.
2782 * sysdeps/unix/grantpt.c: Likewise.
2783 * sysdeps/unix/opendir.c: Likewise.
2784 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2785 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2786 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2787 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2788 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2789 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2790 * sysvipc/ftok.c: Likewise.
2791 * time/getdate.c: Likewise.
2793 * time/getdate.c: Add extra access test.
2795 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2797 * version.h (VERSION): Bump to 2.1.93.
2799 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2800 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2802 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2803 Make this a new rule depending on tst-gettext.out and run mtrace.
2804 * intl/tst-gettext.c: Call mtrace.
2805 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2807 * elf/dl-reloc.c: Add a few more __builtin_expect.
2809 * configure.in: Remove --with-gettext option.
2811 * intl/dcigettext.c (free_mem): Correct freeing of
2812 _nl_domain_bindings list.
2814 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2817 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2819 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2821 * stdio-common/itoa-digits.c: Move upper digits to...
2822 * stdio-common/itoa-udigits.c: ...here. New file.
2823 * stdio-common/Makefile (routines): Add itoa-udigits.
2825 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2826 relocate ld.so don't add supprt for relocations which should not
2829 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2830 __secure_getenv. Instead test __libc_enable_secure once.
2832 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2834 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2836 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2837 whether the new record should be freed if it's a duplicate.
2838 (add_module): Adjust insert_module call.
2839 (__gconv_read_conf): Likewise.
2840 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2842 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2844 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2846 * include/link.h (struct r_search_path_struct): New.
2847 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2848 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2850 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2851 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2852 added at startup time.
2853 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2854 contains element to remember fact that we can free memory.
2855 (all_dirs): Renamed to _dl_all_dirs. Made global.
2856 (_dl_init_all_dirs): New variable.
2857 (fillin_rpath): Save one malloc call.
2858 (decompose_rpath): Change interface. New first parameter points to
2859 r_search_path_struct.
2860 (_dl_init_paths): Adjust for changes. Mark all memory as not
2861 deletable. Set _dl_init_all_paths value.
2862 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2863 parameter replaced with r_search_path_struct *. Information about
2864 freeing now contained in r_search_path_struct.
2865 (_dl_map_object): Adjust for above changes.
2867 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2869 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2870 when adding new entries.
2872 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2873 since the object being loaded can be unloaded.
2875 * iconvdata/Makefile (tests): Add tst-loading.
2876 * iconvdata/tst-loading.c: New file.
2878 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2880 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2881 When comparing a char with an int, always cast the char to
2882 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2883 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2885 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2887 * time/strftime.c (my_strftime): Add compatibility code for use
2888 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2890 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2891 return 0 for success but always < 0 on failure.
2893 * nss/getXXbyYY_r.c: Define result to *result before including
2896 2000-08-30 Andreas Jaeger <aj@suse.de>
2898 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2900 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2902 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2904 * iconvdata/TESTS: Add BIG5HKSCS entry.
2905 * iconvdata/testdata/BIG5HKSCS: New file.
2906 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2908 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2911 * libio/iogetline.c: Set mode before the loop in case n==0.
2912 * libio/iogetwline.c: Likewise.
2914 2000-08-29 H.J. Lu <hjl@gnu.org>
2916 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2918 (_IO_new_file_overflow): Likewise.
2919 * libio/genops.c (_IO_flush_all): Likewise.
2920 * libio/ioftell.c (_IO_ftell): Likewise.
2922 2000-08-29 Akira Higuchi <a@kondara.org>
2924 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2925 and __end_fct fields of struct __gconv_step.
2926 * iconv/Makefile (tests): Add iconv-bug2.
2927 * iconv/iconv-bug2.c: New file.
2929 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2930 instead of 'inptr - inend' to ksc5601_to_ucs4.
2932 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2934 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2935 character or shift sequence is found at the end of the input
2936 string, return__GCONV_INCOMPLETE_INPUT instead of
2937 __GCONV_EMPTY_INPUT.
2938 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2939 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2941 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2942 __GCONV_ILLEGAL_INPUT for 8bit characters.
2944 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2946 * signal/signal.h (sigpause): Move __THROW before __asm__.
2948 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2949 names don't match don't return.
2950 Patch by Olaf Kirch <okir@flash.lst.de>.
2952 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2954 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2956 2000-08-27 H.J. Lu <hjl@gnu.org>
2958 * posix/Makefile (otherlibs): Add for building with static-nss
2961 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2963 * libio/stdio.h: Add fmemopen prototype.
2965 2000-08-25 Andreas Jaeger <aj@suse.de>
2967 * libio/Makefile (routines): Add fmemopen.
2968 (tests): Add test-fmemopen.
2969 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2970 * libio/test-fmemopen.c: New file.
2971 * libio/fmemopen.c: New file.
2972 Patches by Hanno Mueller <kontakt@hanno.de>.
2974 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2976 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2977 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2979 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2980 to avoid crashing statically linked applications.
2982 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2984 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2985 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2987 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2988 If the result is fits in the buffer, copy only as many bytes as needed.
2990 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2991 buffer after copying numbuf into it.
2992 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2994 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2996 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2997 the result. When string_len < len, don't clear the rest of the buffer.
2999 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3001 Support for new LC_COLLATE format.
3002 * locale/coll-lookup.h: New file.
3003 * locale/weightwc.h (findidx): When size == 0, call
3004 collidx_table_lookup.
3005 * wcsmbs/wcscoll.c: Include coll-lookup.h.
3006 * wcsmbs/wcsxfrm.c: Likewise.
3007 * posix/fnmatch.c: Likewise.
3008 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
3009 collseq_table_lookup.
3010 * locale/programs/3level.h: New file.
3011 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
3012 by including "3level.h".
3013 * locale/programs/ld-collate.c (wchead_table, collidx_table,
3014 collseq_table): New types, defined by including "3level.h".
3015 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
3016 (encoding_mask, encoding_byte): Remove.
3017 (utf8_encode): Use simple shifts instead.
3018 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
3019 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
3020 (collate_output): New local variable tablewc_3level. When
3021 !oldstyle_tables, set table_size to 0 and names to NULL and fill
3022 tablewc_3level instead of tablewc. Change format of TABLEWC and
3023 COLLSEQWC entries written to the file.
3024 * locale/C-collate.c (collseqwc): Change format.
3025 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
3027 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
3029 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3031 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
3032 (locale_ctype_t): New charnames_idx field.
3033 (ctype_startup): Initialize charnames_idx field.
3034 (find_idx): Speed up dramatically by using charnames_idx inverse table.
3036 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3038 * locale/C-ctype.c: Switch to new locale format.
3039 (_nl_C_LC_CTYPE_names): Remove array.
3040 (STRUCT_CTYPE_CLASS): New macro.
3041 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3042 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3043 New three-level tables.
3044 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
3045 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
3046 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
3047 12 class tables and 2 map tables at the end.
3048 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
3049 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3050 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3052 (b): Remove trailing semicolon.
3053 (__ctype_names, __ctype_width): Don't initialize.
3054 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
3056 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3058 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
3059 is guaranteed to be allocated with the same malloc() and may be
3061 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
3062 been set to empty by an earlier open_path call, don't pass it again.
3064 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3066 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
3067 we are not optimizing.
3069 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
3072 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
3074 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3076 2000-08-28 Andreas Jaeger <aj@suse.de>
3078 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
3080 2000-08-28 Mark Kettenis <kettenis@gnu.org>
3082 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
3083 getpeername. Use ISO C style function definition.
3084 (getpeername): Provide weak alias.
3085 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
3086 setrlimit. Use ISO C style function definition.
3087 (setrlimit): Provide weak alias.
3089 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3091 * shlib-versions: Add a rule for S/390 to the libm version list.
3092 * sysdeps/s390/Versions: New file.
3093 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
3094 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
3095 * sysdeps/unix/sysv/linux/s390/Versions: New file.
3096 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
3097 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
3098 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
3099 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
3100 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
3101 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
3102 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
3103 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
3104 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
3105 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
3106 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
3107 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
3108 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
3109 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
3110 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
3112 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3114 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
3115 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
3117 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
3118 * elf/dl-close.c (_dl_close): Print debug message if object is not
3120 * elf/dl-open.c (dl_open_worked): Print message about opencount before
3121 returning to caller.
3123 * po/zh.po: Renamed to...
3124 * po/zh_TW.po: ...this.
3126 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3128 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3130 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3131 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3132 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3133 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3135 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3137 * locale/programs/ld-collate.c (insert_weights): Also update
3138 backpointer of next element.
3139 (collate_read): Allow definition of new collation symbols in stage 2.
3140 Symbol after reorder-after can be UCS4 value.
3141 Allow reordering of collation symbols and elements.
3142 Do not only move reorder entry in new position. Instead call
3143 insert_weight to do this and read the weights.
3145 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3147 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3148 to determine invalid locale name.
3149 * locale/findlocale.c (_nl_find_locale): Likewise.
3151 * posix/annexc.c: Correct test for unavailable feature.
3153 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3156 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3158 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3161 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3162 (sysdep_routines): Add oldgetrlimit64.
3164 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3165 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3166 (tests): Add unload, reldep, reldep2, and reldep3.
3167 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3169 Add rules to build and run unload, reldep, reldep2, and reldep3.
3170 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3171 Don't create relocation dependency if it is nonzero.
3172 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3173 can never happen here.
3174 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3175 Don't create relocation dependency if it is nonzero.
3176 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3177 stuff. This can never happen here.
3178 * sysdeps/generic/ldsodefs.h: Change prototypes.
3179 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3180 _dl_lookup_up and _dl_lookup_versioned_symbol.
3182 * elf/dl-runtime.c (fixup): Likewise.
3183 (profile_fixup): Likewise.
3184 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3186 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3187 * elf/rtld.c (dl_main): Likewise.
3188 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3189 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3190 and pass down the caller map.
3191 (_dl_vsym): Likewise.
3192 * elf/reldep.c: New file.
3193 * elf/reldep2.c: New file.
3194 * elf/reldep3.c: New file.
3195 * elf/reldepmod1.c: New file.
3196 * elf/reldepmod2.c: New file.
3197 * elf/reldepmod3.c: New file.
3198 * elf/reldepmod4.c: New file.
3199 * elf/unload.c: New file.
3200 * elf/unloadmod.c: New file.
3202 * elf/do-lookup.h: Remove unused undef_name parameter.
3203 * elf/dl-lookup.c: Adjust callers.
3205 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3207 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3208 irreversible in recursive call of conversion function to signal that
3209 no error handling is wanted.
3210 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3211 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3212 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3213 recursive error handling call, otherwise to &lirreversible. Use it
3214 for calls to conversion functions.
3215 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3217 (ucs4_internal_loop_unaligned): Likewise.
3218 (ucs4le_internal_loop): Likewise.
3219 (ucs4le_internal_loop_unaligned): Likewise.
3221 2000-08-25 Greg McGary <greg@mcgary.org>
3223 * sysdeps/i386/memchr.S: Check high bound against chars
3225 * sysdeps/i386/memcmp.S: Likewise.
3226 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3227 account for pointers that lie one beyond end-of-buffer.
3229 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3231 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3232 * elf/nodelete.c (fini_ran): New global variable.
3233 (do_test): Before every dlclose call clear fini_ran and test
3234 afterwards that it is not set by the destructors.
3235 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3236 * elf/nodelmod2.c: Likewise.
3237 * elf/nodelmod4.c: Likewise.
3239 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3241 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3242 getrlimit to the list.
3244 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3246 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3247 long double format so use ldbl-96 instead of ldbl-128.
3249 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3251 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3252 even if bits 10 a 11 are non-zero.
3253 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3255 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3256 included before building gnu/lib-names.h
3257 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3259 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3260 marked DF_1_NODELETE.
3262 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3263 since we call sigaction in the child.
3265 2000-08-25 Andreas Jaeger <aj@suse.de>
3267 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3270 2000-08-25 Andreas Jaeger <aj@suse.de>
3272 * manual/arith.texi (Control Functions): Clarify possible
3273 arguments. Closes PR libc/1856.
3275 2000-08-24 H.J. Lu <hjl@gnu.org>
3277 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3278 * malloc/Makefile (tests): Likewise.
3280 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3282 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3284 2000-08-24 Andreas Jaeger <aj@suse.de>
3286 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3287 only if LIBGD is available.
3289 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3291 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3292 problems with now restrict parameter types.
3293 (convaddr4to6): Likewise.
3295 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3297 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3298 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3299 * sysdeps/s390/fpu/fegetexcept.c: New file.
3300 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3303 2000-08-24 Andreas Jaeger <aj@suse.de>
3305 * malloc/Makefile (extra-objs): Add memusagestat.o.
3306 (generated): Added memusage and memusagestat for make clean.
3308 * libio/tst_putwc.c (do_test): Delete temporary file.
3309 Move inclusion of test-skeleton to front to have prototype for
3312 * posix/Makefile (generated): Add wordexp-tst.out.
3314 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3316 * resolv/res_hconf.c (free_mem): Remove not needed if.
3318 * time/tzset.c (free_mem): New function.
3319 * string/strsignal.c (free_mem): New function.
3320 * inet/inet_ntoa.c (free_mem): New function.
3321 * sunrpc/clnt_perr.c (free_mem): New function.
3323 2000-08-24 Andreas Jaeger <aj@suse.de>
3325 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3326 * sysdeps/unix/sysv/syscalls.list: Likewise.
3328 * posix/unistd.h: Move internal prototypes from here ...
3329 * include/unistd.h: ... to here.
3331 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3333 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3335 * grp/initgroups.c (initgroups): Deallocate groups array.
3336 Reported by jani.raiha@sonera.com [PR libc/1868].
3338 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3339 * sysdeps/alpha/Dist: Likewise.
3341 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3343 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3344 destructor). Reported by Solar Designer <solar@false.com>.
3346 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3347 avoid adding double slashes.
3349 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3351 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3352 out of the __REDIRECT macro.
3354 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3356 * stdio-common/vfscanf.c: Add %F format support.
3358 * locale/programs/ld-ctype.c (ctype_output): Make sure
3359 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3360 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3361 (ctype_read): Enable returning of wide character strings for reading
3362 transliteration information.
3364 2000-08-23 Andreas Jaeger <aj@suse.de>
3366 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3367 Use static __inline instead of _EXTERN_INLINE.
3369 * misc/sys/select.h: Move prototypes of __select from here ...
3370 * include/sys/select.h: ... to here.
3372 * socket/sys/socket.h: Move prototypes of __send and __connect
3374 * include/sys/socket.h: ... to here.
3376 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3379 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3381 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3382 __setrlimit as strong name. Takes only 2 arguments.
3384 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3385 takes only 2 arguments.
3387 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3389 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3391 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3393 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3395 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3396 default_missing character being specified, pick the first
3399 2000-08-23 Andreas Jaeger <aj@suse.de>
3401 * include/wchar.h: Add some pure attributes.
3403 * time/time.h: Add const attribute for dysize.
3405 * include/stdlib.h: Add malloc attribute to __posix memalign.
3407 * stdlib/stdlib.h: Add some pure and malloc attributes.
3408 * wcsmbs/wchar.h: Likewise.
3410 * dirent/dirent.h: Add some pure attributes.
3411 * include/dirent.h: Likewise.
3413 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3415 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3418 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3420 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3421 missing buffer size checks.
3423 2000-08-23 Andreas Jaeger <aj@suse.de>
3425 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3427 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3429 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3430 otherwise __LINUX_KERNEL_VERSION might not be defined.
3431 (MIN): Define if not already defined.
3433 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3435 * stdio-common/vfprintf.c: Handle %F format.
3436 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3437 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3439 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3441 * po/zh.po: New file.
3443 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3444 enough room in target buffer.
3445 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3446 * iconvdata/bug-iconv1.c: New file.
3447 * iconvdata/Makefile (tests): Add bug-iconv1.
3449 * locale/iso-4217.def: Update entry for Nicaragua.
3451 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3453 * hurd/hurdsig.c: Rearrange headers a bit.
3454 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3455 when cthreads is being used.
3457 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3459 * elf/Makefile (distribute): Add dl-osinfo.h.
3460 * sysdeps/generic/dl-osinfo.h: New file.
3461 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3462 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3464 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3465 only for !SHARED case. Get the code from dl-osinfo.h.
3467 * stdlib/random_r.c: Cleanups.
3468 * stdlib/tst-random.c: New file.
3469 * stdlib/Makefile (tests): Add tst-random.
3470 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3472 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3474 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3475 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3476 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3477 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3479 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3481 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3482 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3483 (__syscall__sysctl): Add.
3485 2000-08-21 Andreas Jaeger <aj@suse.de>
3487 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3489 * stdlib/tst-strtoll.c: Likewise.
3491 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3493 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3495 (__initstate_r): Set errno on error.
3496 (__random_r): Likewise.
3497 (__setstate_r): Correct offset when computing
3498 new rptr and fptr. Test for arg_state being NULL.
3499 Reported by Michael Fischer <fischer@cs.yale.edu>.
3501 * posix/regex.h: Add macro definitions to allow compiling outside
3504 * sysdeps/i370/Implies: Removed.
3505 * sysdeps/mvs/Implies: Removed.
3507 * catgets/catgets.c (catopen): Filter out env_var values with / if
3510 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3511 locale name after all getenvs.
3513 * configure.in: Allow sed versions like 3.02.8.
3514 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3516 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3518 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3520 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3522 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3523 of gethostbyname2_r call.
3525 * intl/locale.alias: Add aliases for Korean.
3527 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3529 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3530 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3531 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3532 * sysdeps/s390/fpu/fegetenv.c: New file.
3533 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3534 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3535 * sysdeps/s390/fpu/fenv_libc.h: New file.
3536 * sysdeps/s390/fpu/fesetenv.c: New file.
3537 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3538 * sysdeps/s390/fpu/feupdateenv.c: New file.
3539 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3540 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3541 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3542 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3543 * sysdeps/s390/fpu/ftestexcept.c: New file.
3544 * sysdeps/s390/fpu/libm-test-ulps: New file.
3545 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3546 * sysdeps/s390/initfini.c: New file.
3547 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3548 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3549 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3550 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3551 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3552 sys/procfs.h as proposed by Mark Kettenis.
3553 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3555 2000-08-21 Andreas Jaeger <aj@suse.de>
3557 * include/poll.h: Include include/sys/poll.h to get __poll
3560 * io/sys/poll.h: Move __poll declaration from here...
3561 * include/sys/poll.h: ...to here.
3563 * include/sys/socket.h (__getpeername): Add declaration.
3565 * include/wchar.h (__vswprintf): Add declaration.
3567 * include/stdio.h (__flockfile): Add declaration.
3568 (__funlockfile): Likewise.
3570 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3572 * misc/sys/cdefs.h: Define __restrict_arr.
3573 * include/sys/time.h: Add restrict where required by AGd4.
3574 * inet/arpa/inet.h: Likewise.
3575 * io/sys/stat.h: Likewise.
3576 * io/sys/statvfs.h: Likewise.
3577 * misc/search.h: Likewise.
3578 * misc/sys/select.h: Likewise.
3579 * posix/glob.h: Likewise.
3580 * posix/regex.h: Likewise.
3581 * posix/spawn.h: Likewise.
3582 * posix/unistd.h: Likewise.
3583 * rt/aio.h: Likewise.
3584 * signal/signal.h: Likewise.
3585 * socket/sys/socket.h: Likewise.
3586 * stdlib/ucontext.h: Likewise.