1 2000-10-20 Ulrich Drepper <drepper@redhat.com>
3 * elf/dl-close.c: Decrement opencount for all dependencies which can
4 be removed even if the object is not yet unloaded.
5 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
6 the list decrement opencount of all dependencies.
7 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
9 (_dl_map_object): Likewise.
10 * elf/dl-lookup.c (add_dependency): Likewise.
12 * elf/loadtest.c: Add debug when with more output.
14 * elf/Makefile: Add rules to build and run unload2.
15 * elf/unload2.c: New file.
16 * elf/unload2mod.c: New file.
17 * elf/unload2dep.c: New file.
19 * intl/libintl.h (ngettext macro): Add missing parameter.
20 (dngettext macro): Likewise.
22 2000-10-19 H.J. Lu <hjl@gnu.org>
24 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
25 neededobj2.c and neededobj3.c.
26 (tests): Add neededtest.
27 (modules-names): Add neededobj1, neededobj2 and neededobj3.
28 ($(objpfx)neededobj1.so): New target.
29 ($(objpfx)neededobj2.so): Likewise.
30 ($(objpfx)neededobj3.so): Likewise.
31 ($(objpfx)neededtest): Likewise.
32 ($(objpfx)neededtest.out): Likewise.
33 * elf/neededtest.c: New. Based on the bug report from
34 Allen Bauer <kylix_rd@hotmail.com>.
35 * elf/neededobj1.c: Likewise.
36 * elf/neededobj2.c: Likewise.
37 * elf/neededobj3.c: Likewise.
39 2000-10-20 Ulrich Drepper <drepper@redhat.com>
41 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
42 to elf_machine_matches_host.
43 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
44 is now pointer to ELF header.
45 * sysdeps/arm/dl-machine.h: Likewise.
46 * sysdeps/generic/dl-machine.h: Likewise.
47 * sysdeps/hppa/dl-machine.h: Likewise.
48 * sysdeps/i386/dl-machine.h: Likewise.
49 * sysdeps/ia64/dl-machine.h: Likewise.
50 * sysdeps/m68k/dl-machine.h: Likewise.
51 * sysdeps/mips/dl-machine.h: Likewise.
52 * sysdeps/mips/mips64/dl-machine.h: Likewise.
53 * sysdeps/powerpc/dl-machine.h: Likewise.
54 * sysdeps/s390/dl-machine.h: Likewise.
55 * sysdeps/sh/dl-machine.h: Likewise.
56 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
60 2000-10-20 Jakub Jelinek <jakub@redhat.com>
62 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
63 check instead of #ifdef __alpha__.
64 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
65 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
68 2000-10-20 Ulrich Drepper <drepper@redhat.com>
70 * posix/wordexp-tst.sh (testout): Place output file in build
71 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
73 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
75 2000-10-19 Ulrich Drepper <drepper@redhat.com>
77 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
78 Correctly handle numeric group member information.
79 Patch by tomasw@cs.huji.ac.il.
81 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
82 Complete test for strtol overflow.
84 2000-10-19 Jakub Jelinek <jakub@redhat.com>
86 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
87 semun as 4th argument to semctl syscall, not address of it.
89 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
91 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
93 2000-10-17 Andreas Schwab <schwab@suse.de>
95 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
96 * include/string.h: Declare them here.
98 2000-10-18 Ralf Baechle <ralf@gnu.org>
100 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
102 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
104 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
105 of the unordered comparison functions that use the GCC builtins.
107 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
108 (__process_machine_rela): Print the address of an overflowing
111 2000-10-18 Ulrich Drepper <drepper@redhat.com>
113 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
115 (freeit): Remove unnecessary test.
117 2000-10-18 Andreas Jaeger <aj@suse.de>
119 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
120 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
121 (elf_machine_runtime_link_map): Likewise.
122 (elf_machine_runtime_setup): Likewise.
123 Handle dynamic linker's local got entries.
124 Patches by Ralf Baechle <ralf@gnu.org>.
126 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
128 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
129 the frame pointer. Allocate stack space for $a0 for
130 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
133 2000-10-17 Ulrich Drepper <drepper@redhat.com>
135 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
138 2000-10-17 Andreas Schwab <schwab@suse.de>
140 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
143 2000-10-17 Jakub Jelinek <jakub@redhat.com>
145 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
146 Add missing backslash.
148 2000-10-16 Ulrich Drepper <drepper@redhat.com>
150 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
152 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
154 2000-10-16 Jakub Jelinek <jakub@redhat.com>
156 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
158 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
159 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
161 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
162 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
163 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
164 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
165 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
166 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
167 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
168 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
169 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
170 y1_test, yn_test): Add L suffixes also to parameters.
171 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
172 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
173 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
175 2000-10-16 Ulrich Drepper <drepper@redhat.com>
177 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
178 ialloc.c, and scheck.c.
179 * malloc/obstack.c: Always include <libintl.h> for glibc.
180 * posix/getopt.c: Likewise.
181 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
183 2000-10-15 Pete Wyckoff <pw@osc.edu>
185 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
187 2000-10-15 Pete Wyckoff <pw@osc.edu>
189 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
190 * iconvdata/tst-table.sh: Likewise.
192 2000-10-15 Ulrich Drepper <drepper@redhat.com>
194 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
195 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
197 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
198 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
200 2000-10-13 Andreas Schwab <schwab@suse.de>
202 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
204 2000-10-15 Ulrich Drepper <drepper@redhat.com>
206 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
207 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
208 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
209 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
210 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
212 2000-10-14 Ulrich Drepper <drepper@redhat.com>
214 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
215 (hypot_test): Likewise.
217 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
218 string correctly. Handle padding correctly.
220 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
222 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
223 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
225 2000-10-12 Alan Modra <alan@linuxcare.com.au>
227 * FAQ.in: Add --start-group and --end-group.
229 2000-10-12 Alan Modra <alan@linuxcare.com.au>
231 * malloc/memusage.c: Conditionalize stack usage calculation on
234 2000-10-12 Alan Modra <alan@linuxcare.com.au>
236 * config.h.in: Add ASM_LINE_SEP.
237 * configure.in: Add test for comment and line separators.
238 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
239 placate some hppa assemblers.
240 * sysdeps/hppa/sysdep.h: Likewise.
241 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
242 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
244 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
246 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
248 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
249 non-threaded platforms.
251 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
253 * configure.in: Add definitions for hppa.
254 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
255 for IPLT and EPLT relocations.
256 * shlib-versions: Version symbol definitions for hppa-linux.
257 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
260 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
262 * sysdeps/hppa/Makefile: New file.
263 * sysdeps/hppa/Versions: New file.
265 * sysdeps/hppa/setjmp.S: New file.
266 * sysdeps/hppa/__longjmp.S: New file.
267 * sysdeps/hppa/bits/setjmp.h: New file.
268 * sysdeps/hppa/frame.h: New file.
270 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
271 * sysdeps/hppa/sub_n.s: Likewise.
272 * sysdeps/hppa/lshift.s: Likewise.
273 * sysdeps/hppa/rshift.s: Likewise.
274 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
275 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
276 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
277 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
278 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
280 * sysdeps/hppa/dl-machine.h: New file.
281 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
282 identical to the IA-64 one).
283 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
284 * sysdeps/hppa/dl-symaddr.c: Likewise.
286 * sysdeps/hppa/elf/initfini.c: New file.
287 * sysdeps/hppa/elf/start.S: New file.
289 * sysdeps/hppa/fpu/bits/fenv.h: New file.
290 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
291 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
292 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
293 * sysdeps/hppa/fpu/fegetenv.c: New file.
294 * sysdeps/hppa/fpu/fegetexcept.c: New file.
295 * sysdeps/hppa/fpu/fegetround.c: New file.
296 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
297 * sysdeps/hppa/fpu/fesetenv.c: New file.
298 * sysdeps/hppa/fpu/fesetround.c: New file.
299 * sysdeps/hppa/fpu/feupdateenv.c: New file.
300 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
301 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
302 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
303 * sysdeps/hppa/fpu/ftestexcept.c: New file.
305 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
306 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
307 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
308 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
309 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
312 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
313 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
314 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
315 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
316 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
317 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
318 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
319 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
320 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
321 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
322 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
323 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
324 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
325 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
326 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
327 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
328 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
329 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
330 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
332 2000-10-12 Alan Modra <alan@linuxcare.com.au>
334 * sysdeps/hppa/hppa1.1/Implies: New file.
335 * sysdeps/hppa/memusage.h: New file.
337 2000-10-28 Jes Sorensen <jes@linuxcare.com>
339 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
340 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
341 _outl. Reported by Bill Nottingham.
343 2000-04-06 Andreas Schwab <schwab@suse.de>
345 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
346 restore register r8 for functions that return a structure.
348 2000-10-12 Jakub Jelinek <jakub@redhat.com>
350 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
351 M_SQRT_PIl): Increase precision.
352 (cbrt_test): If cbrt is not implemented, don't test it.
353 Add L suffix to double constants in results which differ from their
354 L suffixed counterparts.
355 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
359 2000-10-11 Jakub Jelinek <jakub@redhat.com>
361 * inet/rexec.c (rexec_af): Convert rport to host order before
362 passing it to snprintf.
364 2000-10-14 Ulrich Drepper <drepper@redhat.com>
366 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
367 uintXX_t since this is what <sys/types.h> defines and we include
368 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
370 * intl/localealias.c (read_alias_file): Update string pointers
371 in map[] if realloc() changed the values.
372 Patch by Jakub Jelinek <jakub@redhat.com>.
374 * manual/stdio.texi: Update printf extension documentation after
375 z became a valid modifier.
376 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
378 * timezone/africa: Update from tzcode2000g and tzdata2000g.
379 * timezone/asia: Likewise.
380 * timezone/australasia: Likewise.
381 * timezone/backward: Likewise.
382 * timezone/europe: Likewise.
383 * timezone/iso3166.tab: Likewise.
384 * timezone/northamerica: Likewise.
385 * timezone/southamerica: Likewise.
386 * timezone/zone.tab: Likewise.
388 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
390 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
393 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
395 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
396 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
397 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
398 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
399 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
400 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
401 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
402 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
403 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
404 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
405 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
406 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
407 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
408 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
409 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
410 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
411 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
412 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
414 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
415 oldsetrlimit for GLIBC_2.0.
417 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
418 arguments to _dl_init.
420 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
422 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
423 building with the default options.
425 2000-10-11 Andreas Jaeger <aj@suse.de>
427 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
428 Patch by Denis Zaitsev <zzz@cd-club.ru>.
430 2000-10-09 Jakub Jelinek <jakub@redhat.com>
432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
434 * manual/arith.texi (nextafter): Document it.
435 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
437 2000-10-08 Ulrich Drepper <drepper@redhat.com>
439 * version.h (VERSION): Bump to 2.1.95.
441 * configure.in: Remove warning message.
443 * nscd/Makefile (distribute): Add nscd-types.h.
444 * elf/Makefile (distribute): Add gccframe.h.
445 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
446 * sysdeps/ia64/Dist: Add ieee754.h.
448 2000-10-07 Ulrich Drepper <drepper@redhat.com>
450 * elf/elf.h: Add a few section-related symbols.
452 * include/features.h (__STDC_ISO_10646__): Set to correct date.
453 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
455 2000-10-06 Jes Sorensen <jes@linuxcare.com>
457 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
458 overflow generation by adding DBL_MAX to DBL_MAX instead of
459 setting the bits manually in the fpsr and generating the exception
460 with kill() if necessary.
461 (feraiseexcept): Implement underflow by dividing DBL_MIN by
462 DBL_MIN - similar to the overflow change described above.
464 2000-08-27 H.J. Lu <hjl@gnu.org>
466 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
467 is not supported under Linux/ia64, use clone2.
469 2000-10-06 Jakub Jelinek <jakub@redhat.com>
471 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
472 * misc/sys/cdefs.h (__THROW): Likewise.
474 2000-10-05 Jakub Jelinek <jakub@redhat.com>
476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
478 2000-10-02 Jakub Jelinek <jakub@redhat.com>
480 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
481 remaining xp_pad space.
483 2000-10-05 Jakub Jelinek <jakub@redhat.com>
485 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
486 DF_1_NODELETE, not list[i]'s.
488 2000-10-04 Ulrich Drepper <drepper@redhat.com>
490 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
491 (BODY from direction): Map \x5c to U20a9.
492 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
493 * iconvdata/EUC-KR.irreversible: New file.
494 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
496 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
497 (argp_version_argp): Likewise.
499 2000-10-04 Jakub Jelinek <jakub@redhat.com>
501 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
502 input_error() if EOF is seen before processing.
503 * stdio-common/tstscanf.c (main): Add testcase.
505 2000-10-04 Ulrich Drepper <drepper@redhat.com>
507 * argp/argp-help.c: Make sure we get the correct gettext and
508 dgettext definitions.
509 * argp/argp-parse.c: Likewise.
511 2000-10-03 Ulrich Drepper <drepper@redhat.com>
513 * locale/programs/linereader.c (get_string): Also clear wide
514 string info if illegal_string.
516 2000-10-03 Andreas Schwab <schwab@suse.de>
518 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
520 2000-10-02 Jakub Jelinek <jakub@redhat.com>
522 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
525 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
527 2000-10-02 Ralf Baechle <ralf@gnu.org>
529 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
530 end of inline assembler code.
532 2000-10-02 Ulrich Drepper <drepper@redhat.com>
534 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
535 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
537 2000-10-02 Andreas Jaeger <aj@suse.de>
539 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
542 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
544 2000-10-01 Ralf Baechle <ralf@gnu.org>
546 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
547 argument passed to _dl_init.
549 2000-09-30 Bruno Haible <haible@clisp.cons.org>
551 * locale/programs/charmap-dir.h: New file.
552 * locale/programs/charmap-dir.c: New file.
553 * locale/programs/linereader.h (lr_create): New declaration.
554 * locale/programs/linereader.c (lr_create): New function, split out
556 (lr_open): Tailcall lr_create.
557 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
559 (xstrdup): New declaration.
560 (more_help): Use xstrdup instead of strdup.
561 (write_locales): Likewise. When encountering a symbolic link, call
563 (write_charmaps): Simplify using the charmap-dir.h functions.
564 Use xstrdup instead of strdup.
565 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
566 <dirent.h> and <unistd.h>.
567 (cmlr_open): New function.
568 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
569 charmap-dir.h functions.
570 * locale/Makefile (distribute): Add charmap-dir.h.
571 (lib-modules): Add charmap-dir.
572 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
573 wants a 'char **', not a 'const char **'.
574 * include/spawn.h: New file.
576 2000-09-30 Bruno Haible <haible@clisp.cons.org>
578 * posix/spawn_faction_init.c: Include "spawn_int.h".
579 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
581 2000-09-30 Bruno Haible <haible@clisp.cons.org>
583 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
585 2000-09-30 Bruno Haible <haible@clisp.cons.org>
587 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
588 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
589 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
590 a pointer to the table entry, without extending the table.
591 (allocate_arrays): Set a width only for characters with 'print'
592 property. Set the width of L'\0' to 0.
593 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
594 for unprintable characters. Set entry of NUL to 0.
596 2000-09-30 Bruno Haible <haible@clisp.cons.org>
598 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
599 Don't forget to call closedir when the filename was found as a
602 2000-09-30 Bruno Haible <haible@clisp.cons.org>
604 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
607 2000-09-30 Bruno Haible <haible@clisp.cons.org>
609 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
610 level2, and level3 as well.
611 (wctype_table_add): Remove a few unnecessary conditionals.
613 2000-09-30 Ralf Baechle <ralf@gnu.org>
615 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
617 2000-09-30 H.J. Lu <hjl@gnu.org>
619 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
620 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
622 2000-09-29 H.J. Lu <hjl@gnu.org>
624 * math/libm-test.inc (init_max_error): Clear all exceptions
625 before starting test.
626 (acosh_test): Test for existence of function.
627 (asinh_test): Likewise.
628 (atan2_test): Likewise.
629 (cabs_test): Likewise.
630 (cacos_test): Likewise.
631 (cacosh_test): Likewise.
632 (casin_test): Likewise.
633 (casinh_test): Likewise.
634 (catan_test): Likewise.
635 (catanh_test): Likewise.
636 (ccos_test): Likewise.
637 (ccosh_test): Likewise.
638 (cexp_test): Likewise.
639 (clog_test): Likewise.
640 (clog10_test): Likewise.
641 (cosh_test): Likewise.
642 (cpow_test): Likewise.
643 (csin_test): Likewise.
644 (csinh_test): Likewise.
645 (csqrt_test): Likewise.
646 (ctan_test): Likewise.
647 (ctanh_test): Likewise.
648 (fmod_test): Likewise.
649 (hypot_test): Likewise.
650 (remainder_test): Likewise.
651 (remquo_test): Likewise.
652 (sincos_test): Likewise.
653 (sinh_test): Likewise.
654 (tanh_test): Likewise.
656 2000-09-29 H.J. Lu <hjl@gnu.org>
658 * sysdeps/ia64/ieee754.h: New file.
660 * sysdeps/ia64/fpu/math_ldbl.h: New file.
662 2000-09-30 Jakub Jelinek <jakub@redhat.com>
664 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
665 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
667 2000-09-30 Ulrich Drepper <drepper@redhat.com>
669 * manual/charset.texi: Correct notations, reference to C90 amd 1,
670 and some other details.
671 * manual/ctype.texi: Likewise.
672 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
674 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
676 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
678 2000-09-29 Ulrich Drepper <drepper@redhat.com>
680 * elf/cache.c (save_cache): Initialize __unused field in new cache
681 as well to get reproducable results.
683 2000-09-29 H.J. Lu <hjl@gnu.org>
685 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
687 2000-09-29 H.J. Lu <hjl@gnu.org>
689 * sysdeps/ia64/bits/huge_val.h: New file.
691 2000-09-29 Ulrich Drepper <drepper@redhat.com>
693 * elf/chroot_canon.c: Don't report a failure if the last path
694 component is not available.
695 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
698 * elf/cache.c (print_cache): Use stat64 instead of stat.
699 * elf/ldconfig.c (chroot_stat): Likewise.
700 (create_links): Likewise.
701 (manual_link): Likewise.
702 (search_dir): Likewise.
703 * elf/readlib.c (process_file): Likewise.
705 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
708 2000-09-29 Jakub Jelinek <jakub@redhat.com>
710 * elf/chroot_canon.c: New file.
711 * elf/Makefile: Build and distribute it.
712 * elf/ldconfig.h (process_file): Add real_file_name argument.
713 (chroot_canon): Add prototype.
714 * elf/ldconfig.c (cache_file): Remove const.
716 (create_links): Add real_path argument.
717 If opt_chroot, maintain both real and given filenames.
718 (manual_link): Likewise.
719 (search_dir): Likewise.
720 (parse_conf): If opt_chroot, use chroot_canon to find the real
722 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
723 and use chroot_canon where appropriate to do the same as if chroot
725 * elf/readlib.c (process_file): Add real_file_name argument, pass it
728 2000-09-29 Ulrich Drepper <drepper@redhat.com>
730 * math/complex.h (_Complex): We can be more specific when _Complex
731 is defined by the compiler.
733 2000-09-29 H.J. Lu <hjl@gnu.org>
735 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
737 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
738 for x86/IA-64 binary.
740 2000-09-29 Andreas Schwab <schwab@suse.de>
742 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
744 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
746 2000-09-29 Mark Kettenis <kettenis@gnu.org>
748 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
749 implementation for use by the dynamic linker.
751 2000-09-29 Andreas Jaeger <aj@suse.de>
753 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
756 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
757 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
762 2000-09-29 Andreas Jaeger <aj@suse.de>
764 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
766 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
767 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
768 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
773 2000-09-29 David Mosberger <davidm@hpl.hp.com>
775 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
777 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
779 2000-06-10 David Mosberger <davidm@hpl.hp.com>
781 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
782 works: call to __sigjmp_save must be done unconditionally to
783 ensure jmp_buf is initialized properly.
785 2000-09-27 Andreas Jaeger <aj@suse.de>
787 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
790 2000-09-29 Jakub Jelinek <jakub@redhat.com>
792 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
793 Use nscd_ssize_t where appropriate.
794 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
795 ssize_t where appropriate.
796 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
797 * nscd/hstcache.c (cache_addhst): Likewise.
798 * nscd/grpcache.c (cache_addgr): Likewise.
799 * sysdeps/generic/nscd-types.h: New file.
800 * sysdeps/alpha/nscd-types.h: New file.
802 2000-09-29 Ulrich Drepper <drepper@redhat.com>
804 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
805 INADDR_LOOPBACK instead of numeric value.
807 2000-09-28 H.J. Lu <hjl@gnu.org>
809 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
811 (ELF_MACHINE_FIXED_STACK): Removed.
813 2000-09-29 Andreas Jaeger <aj@suse.de>
815 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
817 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
819 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
821 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
823 2000-09-28 Ulrich Drepper <drepper@redhat.com>
825 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
826 relocation also for R_ALPHA_RELATIVE.
827 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
829 2000-09-18 Bruno Haible <haible@clisp.cons.org>
831 * intl/dcigettext.c: Outside libc, use local variable names that don't
832 clash with those in libc.
833 * intl/bindtextdom.c: Likewise.
834 * intl/textdomain.c: Likewise.
836 2000-09-28 Ulrich Drepper <drepper@redhat.com>
838 * elf/ldconfig.c (parse_conf): Print full name of config dir
839 including chroot() path.
840 (main): Remove trailing / from opt_chroot string.
842 * include/features.h: Correct description of what happens if no
843 *_SOURCE macro is defined.
845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
846 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
848 2000-09-19 H.J. Lu <hjl@gnu.org>
850 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
851 * malloc/malloc.c (__memalign_hook): Likewise.
852 (memalign_hook_ini): Likewise.
854 2000-09-28 Ulrich Drepper <drepper@redhat.com>
856 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
858 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
859 underlying functions directly.
861 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
862 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
863 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
864 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
866 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
867 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
869 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
871 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
872 define it for powerpc for kernel >= 2.4.0.
873 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
875 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
876 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
877 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
878 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
879 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
880 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
882 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
884 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
887 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
889 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
891 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
893 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
895 2000-09-27 Andreas Schwab <schwab@suse.de>
897 * math/Makefile (distribute): Explicitly add the long double test
898 sources, to get them included even if long double is not supported.
900 2000-09-27 Jes Sorensen <jes@linuxcare.com>
902 * elf/soinit.c (struct object): Move definition to gccframe.h and
903 include it. Problem identified by HJ Lu.
905 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
906 struct object to be searched for frame unwind info.
907 * sysdeps/generic/gccframe.h: New file. Generic version of
908 struct object to be searched for frame unwind info.
910 2000-09-28 Ulrich Drepper <drepper@redhat.com>
912 * manual/errno.texi: Correct error text for ENXIO.
913 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
915 2000-09-27 Jes Sorensen <jes@linuxcare.com>
917 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
918 exception status bits rather than the exception disable bits.
919 Don't include math.h.
921 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
922 status of exceptions currently raised rather than which exceptions
925 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
926 rather than unsigned long int.
928 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
929 the exceptions actually requested by the caller and not just
930 disable all exceptions.
932 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
933 the ia64 are enabled by clearing the respective bits in the fpsr,
936 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
937 unsigned long int rather than unsigned long to be consistent with
938 the coding conventions.
940 2000-09-20 H.J. Lu <hjl@gnu.org>
942 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
944 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
946 2000-09-28 Ulrich Drepper <drepper@redhat.com>
948 * string/bits/string2.h: Unify #if usage.
950 2000-09-27 Jakub Jelinek <jakub@redhat.com>
952 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
953 and disabling underflow or overflow, disable inexact as well.
955 2000-09-26 Andreas Jaeger <aj@suse.de>
957 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
959 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
961 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
962 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
964 * elf/ldconfig.c (search_dir): Allow unlimited path length.
965 (create_links): Likewise.
967 2000-09-27 Ulrich Drepper <drepper@redhat.com>
969 * posix/tst-dir.c: Test a few error cases of chdir.
971 2000-09-26 Ulrich Drepper <drepper@redhat.com>
973 * math/math_private.h: Don't add long double prototypes if
974 NO_LONG_DOUBLE is defined.
976 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
978 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
979 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
981 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
983 2000-09-26 Jakub Jelinek <jakub@redhat.com>
985 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
986 * sysdeps/sparc/sparc32/ieee754.h: New.
987 * sysdeps/sparc/sparc64/bits/endian.h: Move...
988 * sysdeps/sparc/bits/endian.h: ...here.
989 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
990 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
991 %o1, not %o0 to see if we're parent or child. Optimize.
993 2000-09-26 Jes Sorensen <jes@linuxcare.com>
995 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
997 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
999 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1001 2000-09-20 H.J. Lu <hjl@gnu.org>
1003 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1005 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1007 2000-09-17 H.J. Lu <hjl@gnu.org>
1009 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1011 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1012 sysdeps/i386/fpu/s_isinfl.c.
1014 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1015 sysdeps/i386/fpu/s_isnanl.c.
1017 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1018 sysdeps/i386/fpu/s_nextafterl.c.
1020 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1021 sysdeps/i386/fpu/bits/mathdef.h.
1023 2000-09-16 H.J. Lu <hjl@gnu.org>
1025 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1026 DL_UNMAP_IS_SPECIAL is not defined.
1028 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1029 (_dl_unmap): New prototype.
1030 (DL_UNMAP): New. Defined as _dl_unmap.
1032 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1034 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1036 2000-09-16 H.J. Lu <hjl@gnu.org>
1038 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1039 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1041 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1043 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1045 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1046 the memory location of a function from a function descriptor.
1048 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1050 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1053 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1055 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1056 variable as input argument.
1057 (__bswap_32): Likewise.
1059 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1060 - found by Jim Wilson <wilson@cygnus.com>
1062 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1064 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1067 2000-09-26 Andreas Schwab <schwab@suse.de>
1069 * locale/programs/ld-collate.c (collate_output): Only require
1070 alignment on __alignof__ (int32_t) instead of 4.
1071 * locale/loadlocale.c (_nl_load_locale): Likewise.
1072 * string/strcoll.c: Likewise.
1074 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1076 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1077 parentheses around arithmetic used in | statement to kill compiler
1080 * math/math_private.h: Add prototype for __finitel.
1081 (__ilogbl): Likewise.
1082 (__isinfl): Likewise.
1083 (__isnanl): Likewise.
1084 (__atanl): Likewise.
1085 (__copysignl): Likewise.
1086 (__expm1l): Likewise.
1087 (__floorl): Likewise.
1088 (__frexpl): Likewise.
1089 (__ldexpl): Likewise.
1090 (__log1pl): Likewise.
1092 (__rintl): Likewise.
1093 (__scalbnl): Likewise.
1094 (__sqrtl): Likewise.
1096 (__sincosl): Likewise.
1098 2000-09-26 Andreas Schwab <schwab@suse.de>
1100 * sysdeps/m68k/fpu/libm-test-ulps: New file
1102 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1104 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1106 2000-09-26 Andreas Jaeger <aj@suse.de>
1108 * misc/mkstemp64.c: New file.
1109 * misc/Makefile (routines): Add mkstemp64.
1110 * stdlib/stdlib.h: Add prototype and redirection magic.
1111 * misc/Versions: Add mkstemp64.
1113 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1115 * nscd/dbg_log.c (dbg_log): Add missing format string.
1117 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1119 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1120 since we filter out the variable once.
1121 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1122 * locale/newlocale.c (__newlocale): Likewise.
1123 * locale/setlocale.c (setlocale): Likewise.
1124 * malloc/malloc.c (ptmalloc_init): Likewise.
1125 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1126 * resolv/res_init.c (__res_vinit): Likewise.
1127 * time/tzfile.c (__tzfile_read): Likewise.
1128 * sysdeps/generic/unsecvars.h: New file.
1129 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1130 * elf/rtld.c (process_envvars): Likewise.
1131 * elf/Makefile (distribute): Add unsecvars.h.
1133 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1134 real /dev/null device.
1136 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1137 * sysdeps/generic/device-nrs.h: New file.
1138 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1139 * misc/Makefile (distribute): Add device-nrs.h.
1141 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1142 remove possible garbage at the end of the file.
1144 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1146 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1147 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1148 * stdio-common/tempnam.c: Warn about insecure tempnam.
1149 * misc/mktemp.c: Warn about insecure mktemp.
1151 * sysdeps/generic/check_fds.c: Check that file opened is really
1153 * posix/wordexp.c (exec_comm_child): Likewise.
1155 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1157 * locale/Makefile (routines): Add nl_langinfo_l.
1158 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1159 * locale/nl_langinfo_l.c: New file.
1160 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1163 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1165 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1166 (__gbk_to_ucs): Conditionalize private area mappings.
1167 (__gbk_from_ucs4_tab9): Likewise.
1168 (BODY for TO_LOOP): Likewise.
1169 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1170 * iconvdata/testdata/GBK..UTF-8: Likewise.
1171 * iconvdata/tst-tables.sh: Enable GBK test.
1173 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1175 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1176 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1177 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1179 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1180 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1182 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1184 * iconvdata/johab.c (final_to_ucs): Fix typos.
1185 (jamo_from_ucs_table): Likewise.
1186 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1187 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1188 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1189 the range 0xD9E6..0xD9FE.
1190 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1192 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1194 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1197 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1199 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1200 stream is in wide mode.
1202 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1204 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1206 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1208 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1210 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1212 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1213 reallocation logic for MALLOC (%as, %aS formats).
1215 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1217 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1218 Add missing case in va_arg handling for numbers.
1219 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1221 * stdio/tst-printf.sh: Adjust expected results.
1222 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1224 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1226 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1227 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1229 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1230 as equivalent to uppercase hexadecimal digits.
1232 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1234 * iconvdata/testdata/EUC-KR..UTF8: New file.
1235 * iconvdata/testdata/EUC-TW: New file.
1236 * iconvdata/testdata/EUC-TW..UTF8: New file.
1237 * iconvdata/testdata/EUC-JP: New file.
1238 * iconvdata/testdata/EUC-JP..UTF8: New file.
1239 * iconvdata/testdata/ISO-2022-JP: New file.
1240 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1241 * iconvdata/testdata/ISO-2022-JP-2: New file.
1242 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1243 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1244 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1245 * iconvdata/testdata/ISO-2022-CN: New file.
1246 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1247 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1248 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1249 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1250 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1252 2000-09-24 Andreas Jaeger <aj@suse.de>
1254 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1255 function add_single_dir.
1256 (add_single_dir): New function.
1257 (search_dir): Use add_single_dir instead of recursing.
1259 * sysdeps/generic/dl-cache.h: Include stdint.h.
1260 (struct file_entry_new): Use fixed sizes for interoperability
1261 between 32bit and 64bit systems, add __unused to make alignment
1263 (CACHE_VERSION): Increment.
1264 (struct cache_file_new): Use fixed sizes, add one more unused
1265 entry to make alignment explicit.
1267 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1269 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1271 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1273 * stdio-common/printf-parse.h (parse_one_spec): Clear
1274 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1276 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1278 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1279 #undef since we don't have msync.
1281 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1282 constant since that is what clock_t is.
1283 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1285 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1287 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1288 multiply by LOAD_SCALE.
1290 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1292 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1293 (crypt_r, setkey_r, encrypt_r): Likewise.
1295 2000-09-22 Andreas Jaeger <aj@suse.de>
1297 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1300 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1301 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1303 2000-09-21 Andreas Jaeger <aj@suse.de>
1305 * math/libm-test.inc (atan_test): Test for existence of function.
1306 (expm1_test): Likewise.
1307 (acos_test): Likewise.
1308 (asin_test): Likewise.
1309 (exp_test): Likewise.
1310 (log10_test): Likewise.
1311 (log_test): Likewise.
1312 (pow_test): Likewise.
1313 (sqrt_test): Likewise.
1314 (cos_test): Likewise.
1315 (sin_test): Likewise.
1316 (tan_test): Likewise.
1317 (log1p_test): Likewise.
1318 (log2_test): Likewise.
1320 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1322 * libio/oldiofsetpos64.c: Fix alias names.
1324 2000-09-21 Martin Buchholz <martin@xemacs.org>
1326 * manual/terminal.texi (Allocation): Sample code correction.
1328 2000-09-20 Andreas Jaeger <aj@suse.de>
1330 * iconvdata/Makefile (generated): Add tst-tables.out.
1332 * intl/Makefile (generated): Add test output.
1334 2000-09-19 Andreas Jaeger <aj@suse.de>
1336 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1337 Reported by Jens-Uwe Mager <jum@helios.de>.
1339 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1341 * version.h (VERSION): Bump to 2.1.94.
1343 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1344 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1345 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1346 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1348 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1350 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1352 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1353 range 0xD800..0xDFFF.
1354 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1355 (BODY for FROM_LOOP): Likewise.
1356 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1357 (internal_ucs2_loop): Likewise.
1358 (ucs2reverse_internal_loop): Likewise.
1359 (internal_ucs2reverse_loop): Likewise.
1361 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1363 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1366 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1368 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1369 * iconvdata/tst-table-to.c (main): Likewise.
1371 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1373 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1375 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1376 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1377 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1378 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1379 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1380 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1381 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1382 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1383 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1384 encodings when needed. When outputting an announcement, don't clear
1385 most other announcements.
1387 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1389 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1390 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1392 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1394 * intl/Versions: Add bind_textdomain_codeset.
1396 2000-09-16 Ralf Baechle <ralf@gnu.org>
1398 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1400 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1401 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1402 it will even work when not loaded to the standard address.
1403 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1404 before the dynamic linker itself is relocated.
1406 2000-09-18 Andreas Jaeger <aj@suse.de>
1408 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1409 __ASSUME_32BITUIDS for MIPS.
1410 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1411 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1413 2000-09-17 H.J. Lu <hjl@gnu.org>
1415 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1416 $(make-target-directory) instead of mkdir.
1418 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1420 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1421 __ASSUME_32BITUIDS for __powerpc__.
1422 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1423 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1425 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1427 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1429 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1431 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1433 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1435 * sysdeps/m68k/Implies: Likewise.
1436 * sysdeps/sparc/sparc64/Implies: Likewise.
1438 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1440 * elf/readlib.c (process_file): Don't error for stale .so links either.
1442 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1444 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1447 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1448 Patch by Thorsten Kukuk <kukuk@suse.de>.
1450 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1451 (test): Add default.
1452 (modules-names): Add defaultmod1 and defaultmod2.
1453 Add rules to build test objects.
1455 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1457 * wctype/wctype.h: Always include <bits/types.h>.
1458 Reported by Jim Meyering <meyering@ascend.com>.
1460 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1461 * elf/dl-support.c: Likewise.
1463 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1464 st_blocks member in stat and stat64 structs.
1465 Patch by Bill Nottingham <notting@redhat.com>.
1467 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1470 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1471 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1472 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1473 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1475 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1476 necessary. Move includes of POSIX and Unix limits files to the end.
1477 * stdlib/Makefile (tests): Add tst-limits.
1478 * stdlib/tst-limits.h: New file.
1480 2000-09-15 Andreas Jaeger <aj@suse.de>
1482 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1484 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1486 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1488 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1490 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1491 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1493 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1495 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1497 (modules-names): Add nextmod1 and nextmod2.
1498 Add rules to build and run next.
1499 * elf/next.c: New file.
1500 * elf/nextmod1.c: New file.
1501 * elf/nextmod2.c: New file.
1503 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1505 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1507 2000-09-15 Andreas Jaeger <aj@suse.de>
1509 * sysdeps/mips/fpu/fenv_libc.h: New file.
1510 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1511 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1512 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1514 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1515 * sysdeps/mips/fpu/fegetexcept.c: New file.
1516 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1518 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1520 * intl/Makefile: Avoid unnecessary test reruns.
1522 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1524 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1525 to not use sysctl(). Too many architectures have problems with it.
1527 2000-09-14 Andreas Jaeger <aj@suse.de>
1529 * scripts/config.sub: New version from subversions.gnu.org.
1531 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1534 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1536 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1537 to avoid accessing data before collseq.
1539 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1540 pasting strings together.
1542 2000-09-14 Greg McGary <greg@mcgary.org>
1544 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1546 * sysdeps/generic/bp-semctl.h: Likewise.
1547 * sysdeps/generic/bp-start.h: Likewise.
1548 * sysdeps/generic/bp-sym.h: Likewise.
1549 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1552 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1554 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1557 * elf/elf.h: Add missing official relocations.
1559 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1560 * stdio/stdio.h: Likewise.
1561 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1562 * include/stdio.h: Handle __need___FILE like __need_FILE.
1563 * include/wchar.h: Use __FILE instead of FILE.
1564 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1565 * libio/fwscanf.c: Likewise.
1566 * libio/getwc.c: Likewise.
1568 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1569 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1570 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1572 * assert/assert.h: Update comment header about ISO C section.
1573 * math/complex.h: Likewise.
1574 * ctype/ctype.h: Likewise.
1575 * include/errno.h: Likewise.
1576 * include/limits.h: Likewise.
1577 * locale/locale.h: Likewise.
1578 * math/math.h: Likewise.
1579 * setjmp/setjmp.h: Likewise.
1580 * signal/signal.h: Likewise.
1581 * stdio/stdio.h: Likewise.
1582 * libio/stdio.h: Likewise.
1583 * stdlib/stdlib.h: Likewise.
1584 * string/string.h: Likewise.
1585 * time/time.h: Likewise.
1586 * wcsmbs/wchar.h: Likewise.
1587 * wctype/wctype.h: Likewise.
1588 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1590 2000-09-13 Andreas Jaeger <aj@suse.de>
1592 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
1593 for no more entries.
1594 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
1595 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
1596 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
1598 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1600 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
1601 constant since this is what clock_t is.
1602 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1603 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
1604 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
1605 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
1607 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
1608 definitions are requested.
1610 2000-09-13 Andreas Jaeger <aj@suse.de>
1612 * shlib-versions: libBrokenLocale needs minimal version for ia64,
1613 sparc64 and sh to synch with libc.
1615 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1617 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
1618 (distribute): Add iso-2022-cn-ext.c.
1619 Add definitions to compile the new module.
1620 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
1621 * iconvdata/iso-2022-cn-ext.c: New file.
1622 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
1623 ucs4_from_isoir165. Increment input pointer if successful.
1625 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
1627 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
1629 2000-09-01 Jes Sorensen <jes@linuxcare.com>
1631 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
1632 __syscall_getdents64 wrapper.
1634 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
1636 2000-09-12 Ulrich Drepper <drepper@redhat.com>
1638 * iconvdata/gb18030.c: Many many changes. Make consistent with
1639 charmap and with itself.
1640 * iconvdata/tst-tables.sh: Test GB18030.
1642 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1644 * iconv/skeleton.c: Fix last patch, add missing parameter to
1645 unaligned function call.
1647 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1649 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
1650 of decimal ellipsis.
1652 2000-09-11 Bruno Haible <haible@clisp.cons.org>
1654 * locale/programs/ld-collate.c (collate_read): Always initialize
1657 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1659 * locale/programs/ld-collate.c (collate_finish): Upper bound for
1660 ruleidx is 128, not 256.
1662 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1664 * locale/programs/ld-collate.c (collate_read): Correct check for
1665 already inserted entries.
1667 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1669 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
1672 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1674 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
1675 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
1677 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1679 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
1682 2000-09-10 Bruno Haible <haible@clisp.cons.org>
1684 * iconvdata/utf-7.c: New file.
1685 * iconvdata/gconv-modules (UTF-7): New module entries.
1686 * iconvdata/Makefile (modules): Add UTF-7.
1687 (distribute): Add utf-7.c.
1688 * iconvdata/testdata/UTF-7: New file.
1689 * iconvdata/testdata/UTF-7..UTF8: New file.
1690 * iconvdata/TESTS (UTF-7): New entry.
1691 * iconvdata/run-iconv-test.sh: Fix confusing output.
1693 2000-09-11 Ulrich Drepper <drepper@redhat.com>
1695 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
1697 2000-09-10 David S. Miller <davem@redhat.com>
1699 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
1700 frame pointer offset for non-fast path.
1702 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1704 * locale/programs/3level.h (*_init): Initialize level1, level2,
1706 (*_add): Remove a few unnecessary conditionals.
1708 2000-09-05 Wolfram Gloger <wg@malloc.de>
1710 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
1711 ensure usability of mutex as an `in use' flag.
1713 2000-09-10 Ulrich Drepper <drepper@redhat.com>
1715 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
1717 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
1718 ugly GMON_WEAK_START hack.
1719 Patch by Philip Blundell <philb@gnu.org>.
1721 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1723 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1725 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
1726 and PPC_ICBI asm for broken compilers.
1727 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1729 2000-09-09 Andreas Jaeger <aj@suse.de>
1731 * manual/message.texi (Advanced gettext functions): Fix typo.
1733 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
1736 2000-09-09 Ulrich Drepper <drepper@redhat.com>
1738 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
1740 * sysdeps/ia64/memccpy.S: Likewise.
1741 Patches by Jim Wilson <wilson@redhat.com>.
1743 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
1744 before trying to read /proc.
1745 Patch by Matt Wilson <msw@redhat.com>.
1746 * include/sys/utsname.h: Declare __uname.
1747 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
1748 * sysdeps/mach/hurd/uname.c: Likewise.
1749 * sysdeps/unix/syscalls.list: Likewise.
1751 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
1754 2000-09-08 Ulrich Drepper <drepper@redhat.com>
1756 * posix/getopt.c (_getopt_internal): When long_only is set always
1757 recognize conflicts just like before.
1759 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1761 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
1763 2000-09-08 Greg McGary <greg@mcgary.org>
1765 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1766 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1767 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1769 2000-09-08 Andreas Jaeger <aj@suse.de>
1771 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1773 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1775 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1776 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1777 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1779 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1781 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1783 * elf/dl-load.c (lose): Decrement _nl_loaded.
1784 (_dl_map_object_from_fd): Don't try to dlopen executables.
1786 * iconvdata/tst-tables.sh: Actually return with an error if
1787 something goes wrong.
1788 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1789 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1791 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1793 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1794 * iconvdata/tst-table-from.c: Include <string.h>.
1795 (try): Correct cast in iconv call.
1797 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1799 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1800 (sysdep_routines): Remove dl-start.
1801 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1803 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1805 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1806 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1808 2000-09-06 Andreas Schwab <schwab@suse.de>
1810 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1812 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1814 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1816 * scripts/config.sub: Strip out -unknown for Linux targets.
1817 Patch by Scott Bambrough <scottb@netwinder.org>.
1819 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1822 2000-09-07 Andreas Jaeger <aj@suse.de>
1824 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1826 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1829 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1831 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1832 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1834 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1836 * stdlib/tst-bsearch.c (main): Add more test cases.
1838 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1839 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1840 Reported by GOTO Masanori <gotom@debian.or.jp>.
1842 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1844 * posix/Makefile (tests): Add tst-dir.
1845 (tst-dir-ARGS): New variable.
1846 * posix/tst-dir.c: New file.
1848 2000-09-07 Andreas Jaeger <aj@suse.de>
1850 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1853 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1855 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1857 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1858 use the hack with tryopen_o_directory to determine at runtime
1860 * sysdeps/unix/sysv/linux/opendir.c: New file.
1861 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1862 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1864 * catgets/Depend: New file. Add intl.
1865 * catgets/Makefile (tests): Add tst-catgets.
1866 (generated): Remove de.msg.
1867 (generated-dirs): Add de.
1868 Add dependency if tst-catgets output on de/libc.cat.
1869 * catgets/tst-catgets.c: New file.
1871 * po/ja.po: New file.
1872 * po/el.po: Update from translation team.
1874 * wcsmbs/Depend: New file.
1875 * wcsmbs/Makefile (tests): Add tst-btowc.
1876 (tst-btowc-ENV): Define.
1877 * wcsmbs/tst-btowc.c: New file.
1879 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1880 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1882 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1884 * stdlib/Makefile (tests): Add tst-bsearch.
1885 * stdlib/tst-bsearch.c: New file.
1887 * posix/getopt.c (_getopt_internal): Don't recognize an option
1888 name as ambiguous if it's a prefix for more than one name but the
1889 other struct option values are identical.
1891 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1892 Don't depend on visual inspection of the output file to recognize
1894 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1896 2000-09-06 Andreas Jaeger <aj@suse.de>
1898 * sysdeps/alpha/soft-fp/Dist: New file.
1899 * sysdeps/i386/soft-fp/Dist: New file.
1900 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1901 * sysdeps/mips/soft-fp/Dist: New file.
1902 * sysdeps/powerpc/soft-fp/Dist: New file.
1903 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1904 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1906 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1907 Use sysdep_routines instead of routines to fix make dist failure.
1908 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1910 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1912 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1913 sysdep_headers instead of headers for make dist.
1915 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1918 2000-09-06 Andreas Schwab <schwab@suse.de>
1920 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1922 2000-09-06 Andreas Jaeger <aj@suse.de>
1924 * soft-fp/Makefile (distribute): Remove ChangeLog.
1926 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1927 sysdep_routines instead of routines for make dist.
1929 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1931 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1932 compatibility check for old stream and call _IO_wide in doubt.
1933 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1934 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1935 needed tst for such an old structure and don't do anything.
1936 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1938 2000-09-06 Andreas Jaeger <aj@suse.de>
1940 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1941 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1944 * soft-fp/ChangeLog: Merged with this file.
1946 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1948 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1950 * soft-fp/Makefile (distribute): Add the math functions, too.
1952 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1954 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1956 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1959 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1960 * soft-fp/sysdeps/powerpc/q_*: New files.
1962 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1964 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1965 in wide char case correctly. Don't allocate too long temporary
1966 strings with alloca.
1968 * stdio-common/Makefile (tests): Add tst-swprintf.
1969 (tst-swprintf-ENV): New variable.
1970 * stdio-common/tst-swprintf.c: New file.
1972 2000-09-05 Andreas Jaeger <aj@suse.de>
1974 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1975 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1976 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1978 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1980 * configure.in: Strip out "unknown" from configuration names.
1982 2000-09-05 Andreas Jaeger <aj@suse.de>
1984 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1986 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1987 * sysdeps/sparc/sparc32/Implies: Likewise.
1988 * sysdeps/powerpc/Implies: Likewise.
1990 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1991 * libio/oldiofgetpos64.c: Likewise.
1993 * soft-fp/Makefile (distribute): Remove configure.
1995 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1997 * soft-fp/configure: Remove.
1999 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2000 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2002 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2003 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2005 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2006 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2008 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2009 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2011 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2012 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2014 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2015 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2017 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2018 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2020 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2021 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2023 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2024 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2026 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2027 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2029 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2030 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2032 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2033 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2035 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2036 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2038 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2039 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2041 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2042 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2044 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2045 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2047 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2048 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2050 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2051 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2053 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2054 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2056 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2057 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2059 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2060 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2062 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2063 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2065 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2066 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2068 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2069 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2071 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2072 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2074 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2075 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2077 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2078 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2080 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2081 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2083 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2084 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2086 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2087 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2089 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2090 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2092 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2093 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2095 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2096 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2098 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2099 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2101 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2102 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2104 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2105 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2107 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2108 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2110 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2111 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2113 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2114 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2116 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2117 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2119 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2120 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2122 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2123 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2125 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2126 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2128 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2129 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2131 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2132 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2134 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2135 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2137 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2138 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2140 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2141 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2143 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2144 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2146 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2147 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2149 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2150 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2152 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2153 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2155 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2156 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2158 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2159 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2161 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2162 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2164 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2165 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2167 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2168 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2170 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2171 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2173 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2174 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2176 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2177 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2179 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2180 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2182 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2183 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2185 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2186 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2188 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2189 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2191 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2192 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2194 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2195 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2197 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2198 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2200 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2201 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2203 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2204 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2206 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2207 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2209 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2210 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2212 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2213 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2215 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2216 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2218 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2219 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2221 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2222 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2224 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2225 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2227 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2228 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2230 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2231 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2233 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2234 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2236 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2237 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2239 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2240 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2242 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2243 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2245 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2246 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2248 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2249 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2251 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2252 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2254 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2255 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2257 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2258 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2260 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2261 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2263 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2264 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2266 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2267 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2269 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2270 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2272 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2273 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2275 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2276 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2278 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2279 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2281 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2282 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2284 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2285 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2287 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2288 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2290 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2291 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2293 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2294 change symbol version.
2295 * libio/oldiofgetpos64.c: Likewise.
2296 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2298 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2300 Reported by dyky@kondara.org, closes PR libc/1886.
2302 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2305 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2307 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2308 script when ^C is hit.
2310 * locale/programs/localedef.c (construct_output_path): Correct
2311 computation of endp after asprintf.
2312 * locale/programs/locfile.c (write_locale_data): Don't add extra
2315 2000-09-05 Andreas Jaeger <aj@suse.de>
2317 * scripts/config.guess: New upstream version.
2318 * scripts/config.sub: Likewise.
2319 * manual/texinfo.tex: Likewise.
2321 2000-09-04 Andreas Schwab <schwab@suse.de>
2323 * elf/Makefile (all-dl-routines): New variable.
2324 (elide-routines.os): Use it instead of $(dl-routines).
2325 (all-rtld-routines): New variable.
2326 (extra-objs): Use it instead of $(rtld-routines).
2327 ($(objpfx)dl-allobjs.os): Likewise.
2328 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2329 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2332 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2334 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2335 Set fname to NULL if the module wasn't found.
2337 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2339 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2340 true if trans->name already ends in ".so".
2342 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2344 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2346 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2347 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2348 (__gconv_release_shlib): Change return type to void.
2349 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2350 step->__counter here.
2351 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2352 if the reference is zero.
2353 (release_step): New function.
2354 (gen_steps): Always initialize the __counter to 1. Use release_step.
2355 Don't call the destructor on the step whose initializer failed.
2356 (increment_counter): Use release_step. Don't normally run destructors
2358 (__gconv_close_transform): Use release_step.
2360 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2362 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2363 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2365 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2367 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2368 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2369 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2370 to check for incomplete input.
2371 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2372 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2373 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2374 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2376 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2377 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2378 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2379 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2382 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2384 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2387 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2389 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2392 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2394 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2395 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2398 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2400 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2402 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2404 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2406 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2408 * iconvdata/tst-tables.sh: New file.
2409 * iconvdata/tst-table.sh: New file.
2410 * iconvdata/tst-table-from.c: New file.
2411 * iconvdata/tst-table-to.c: New file.
2412 * iconvdata/tst-table-charmap.sh: New file.
2413 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2414 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2415 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2416 ISIRI-3342.irreversible, SJIS.irreversible.
2417 (tests): Add dependency on tst-tables.out.
2418 (tst-tables.out, tst-tables-clean): New rules.
2419 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2420 * iconvdata/ISIRI-3342.irreversible: New file.
2421 * iconvdata/EUC-JP.irreversible: New file.
2422 * iconvdata/SJIS.irreversible: New file.
2424 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2426 * manual/locale.texi (General Numeric): Update description of
2427 representation of the grouping information in the locale data.
2428 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2430 2000-09-04 Andreas Jaeger <aj@suse.de>
2432 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2433 * iconv/iconv_prog.c (options): Fix typo.
2434 Reported by dyky@kondara.org, closes PR libc/1885.
2436 2000-09-04 Andreas Jaeger <aj@suse.de>
2438 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2439 Reported by Rob Levin <lilo@transvirtual.com>.
2441 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2443 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2444 to the typedefs of __timezone_ptr_t.
2445 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2447 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2449 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2452 2000-09-01 H.J. Lu <hjl@gnu.org>
2454 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2455 to run a binary if it is in $(tests-static).
2457 * Rules (binaries-static): Add $(tests-static).
2459 2000-09-02 Andreas Jaeger <aj@suse.de>
2461 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2463 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2466 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2468 * iconvdata/big5hkscs.c: Regenerated from charmap.
2469 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2470 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2472 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2473 statement. General cleanup.
2475 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2477 * wctype/wcfuncs.c (iswblank): New function.
2478 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2479 * wctype/wcextra.c: Remove file.
2480 * wctype/wcextra_l.c: Remove file.
2481 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2483 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2485 * locale/programs/ld-collate.c (collate_output): Remove redundant
2487 * string/strcoll.c: Likewise.
2488 * string/strxfrm.c: Include assert.h. Add assert calls like in
2491 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2493 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2494 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2495 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2496 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2497 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2498 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2499 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2500 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2501 _NL_CTYPE_GAP5/6 respectively.
2503 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2504 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2505 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2506 Don't initialize __ctype_names and __ctype_width.
2507 * wctype/cname-lookup.h: Remove file.
2508 * wctype/Makefile (distribute): Remove cname-lookup.h.
2509 * wctype/wchar-lookup.h: Include stdint.h.
2510 * wctype/wctype.c (__wctype): Assume new locale format.
2511 * wctype/wctype_l.c (__wctype_l): Likewise.
2512 * wctype/iswctype.c: Don't include cname-lookup.h.
2513 (__iswctype): Assume new locale format.
2514 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2515 (__iswctype_l): Assume new locale format.
2516 * wctype/wctrans.c: Don't include ctype.h.
2517 (wctrans): Assume new locale format.
2518 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2519 * wctype/towctrans.c: Don't include cname-lookup.h.
2520 (__towctrans): Assume new locale format.
2521 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2522 (__towctrans_l): Assume new locale format.
2523 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2524 localeinfo.h instead.
2525 (__NO_WCTYPE): Remove unused macro.
2526 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2528 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2529 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2530 (towlower, towupper): Likewise.
2531 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2532 localeinfo.h instead.
2533 (__NO_WCTYPE): Remove unused macro.
2534 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2535 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2536 __iswxdigit_l): Assume new locale format.
2537 (__towlower_l, __towupper_l): Likewise.
2538 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2539 (__ctype32_b): Remove declaration.
2540 (internal_wcwidth): Assume new locale format.
2541 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2542 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2543 to map32_b, rename width_3level to width.
2544 (ctype_output): Always create new locale format. Don't emit
2545 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2546 (allocate_arrays): Always create new locale format.
2548 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2549 * locale/weightwc.h (findidx): Assume new locale format.
2550 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2552 * string/strxfrm.c (wcsxfrm): Likewise.
2553 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2554 local variable collseq to 'const char *'.
2555 (SUFFIX): Don't use, don't undefine.
2556 * posix/fnmatch.c: Remove SUFFIX definition.
2557 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2558 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2559 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2560 (collate_finish): Always create new locale format. Remove local
2561 variables min_total, act_size.
2562 (collate_output): Always create new locale format. Remove local
2563 variables table_size, names, tablewc. Rename tablewc_3level to
2566 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2568 * locale/programs/ld-collate.c (obstack_int32_grow,
2569 obstack_int32_grow_fast): New inline functions.
2570 (output_weightwc, collate_output): Use them where possible.
2572 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2574 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2575 patch (_mode -> _flags).
2577 * libio/Makefile (headers): Add stdio_ext.h.
2578 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2579 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2580 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2581 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2582 __fsetlocking, and _flushlbf.
2583 * libio/__fbufsize.c: New file.
2584 * libio/__flbf.c: New file.
2585 * libio/__fpending.c: New file.
2586 * libio/__fpurge.c: New file.
2587 * libio/__freadable.c: New file.
2588 * libio/__freading.c: New file.
2589 * libio/__fsetlocking.c: New file.
2590 * libio/__fwritable.c: New file.
2591 * libio/__fwriting.c: New file.
2592 * libio/stdio_ext.h: New file.
2593 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
2594 * libio/libio.h (_IO_USER_LOCK): Define.
2595 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
2596 test _IO_USER_LOCK flag first.
2598 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
2601 2000-09-01 Andreas Jaeger <aj@suse.de>
2603 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
2605 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
2607 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2609 * math/Makefile (tests): Add tst-defintions.
2610 * math/tst-definitions.c: New file.
2612 * stdlib/Makefile (headers): Add bits/wchar.h.
2613 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
2614 * sysdeps/generic/bits/wchar.h: New file.
2615 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
2616 file to define WCHAR_MIN and WCHAR_MAX.
2617 Change UINT*8_MAX and UIN*16_MAX value to type int.
2618 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
2619 file to define WCHAR_MIN and WCHAR_MAX.
2620 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
2622 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
2623 * sysdeps/generic/bits/mathdef.h: Likewise.
2624 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2625 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2626 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2627 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2628 * locale/locale.h (struct lconv): Add __ prefix to the new members
2630 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
2631 imaxdiv optimizations.
2632 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
2633 * sysdeps/wordsize-64/ldiv.c: Likewise.
2634 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
2636 * sysdeps/generic/bits/fenv.h: Likewise.
2637 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2638 * sysdeps/ia64/bits/fenv.h: Likewise.
2639 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2640 * sysdeps/mips/bits/fenv.h: Likewise.
2641 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2642 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2643 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2645 * inet/rcmd.c: Use *stat64 instead of *stat internally.
2646 * inet/ruserpass.c: Likewise.
2647 * catgets/open_catalog.c: Likewise.
2648 * intl/loadmsgcat.c: Likewise.
2649 * io/getdirname.c: Likewise.
2650 * locale/loadlocale.c: Likewise.
2651 * misc/getusershell.c: Likewise.
2652 * stdlib/canonicalize.c: Likewise.
2653 * sysdeps/posix/euidaccess.c: Likewise.
2654 * sysdeps/posix/isfdtype.c: Likewise.
2655 * sysdeps/posix/posix_fallocate.c: Likewise.
2656 * sysdeps/posix/tempname.c: Likewise.
2657 * sysdeps/unix/grantpt.c: Likewise.
2658 * sysdeps/unix/opendir.c: Likewise.
2659 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
2660 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
2661 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2662 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
2663 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2664 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2665 * sysvipc/ftok.c: Likewise.
2666 * time/getdate.c: Likewise.
2668 * time/getdate.c: Add extra access test.
2670 2000-08-31 Ulrich Drepper <drepper@redhat.com>
2672 * version.h (VERSION): Bump to 2.1.93.
2674 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
2675 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
2677 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
2678 Make this a new rule depending on tst-gettext.out and run mtrace.
2679 * intl/tst-gettext.c: Call mtrace.
2680 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
2682 * elf/dl-reloc.c: Add a few more __builtin_expect.
2684 * configure.in: Remove --with-gettext option.
2686 * intl/dcigettext.c (free_mem): Correct freeing of
2687 _nl_domain_bindings list.
2689 * sysdeps/generic/setenv.c (free_mem): New function. Free all
2692 * intl/locale.alias: Add aliases for bokmal and nynorsk.
2694 * locale/iso-639.def: Fix 639-1 code for Bokmal.
2696 * stdio-common/itoa-digits.c: Move upper digits to...
2697 * stdio-common/itoa-udigits.c: ...here. New file.
2698 * stdio-common/Makefile (routines): Add itoa-udigits.
2700 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
2701 relocate ld.so don't add supprt for relocations which should not
2704 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
2705 __secure_getenv. Instead test __libc_enable_secure once.
2707 * io/pwd.c (main): Provide a good example, use *_unlocked function.
2709 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2711 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
2712 whether the new record should be freed if it's a duplicate.
2713 (add_module): Adjust insert_module call.
2714 (__gconv_read_conf): Likewise.
2715 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
2717 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
2719 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
2721 * include/link.h (struct r_search_path_struct): New.
2722 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
2723 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
2725 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
2726 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
2727 added at startup time.
2728 * elf/dl-load.c: Fix memory handling. r_search_path_struct
2729 contains element to remember fact that we can free memory.
2730 (all_dirs): Renamed to _dl_all_dirs. Made global.
2731 (_dl_init_all_dirs): New variable.
2732 (fillin_rpath): Save one malloc call.
2733 (decompose_rpath): Change interface. New first parameter points to
2734 r_search_path_struct.
2735 (_dl_init_paths): Adjust for changes. Mark all memory as not
2736 deletable. Set _dl_init_all_paths value.
2737 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
2738 parameter replaced with r_search_path_struct *. Information about
2739 freeing now contained in r_search_path_struct.
2740 (_dl_map_object): Adjust for above changes.
2742 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
2744 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
2745 when adding new entries.
2747 * elf/dl-load.c (fillin_rpath): Make local copy of where string
2748 since the object being loaded can be unloaded.
2750 * iconvdata/Makefile (tests): Add tst-loading.
2751 * iconvdata/tst-loading.c: New file.
2753 2000-08-29 Bruno Haible <haible@clisp.cons.org>
2755 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
2756 When comparing a char with an int, always cast the char to
2757 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
2758 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
2760 2000-08-30 Ulrich Drepper <drepper@redhat.com>
2762 * time/strftime.c (my_strftime): Add compatibility code for use
2763 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2765 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2766 return 0 for success but always < 0 on failure.
2768 * nss/getXXbyYY_r.c: Define result to *result before including
2771 2000-08-30 Andreas Jaeger <aj@suse.de>
2773 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2775 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2777 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2779 * iconvdata/TESTS: Add BIG5HKSCS entry.
2780 * iconvdata/testdata/BIG5HKSCS: New file.
2781 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2783 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2786 * libio/iogetline.c: Set mode before the loop in case n==0.
2787 * libio/iogetwline.c: Likewise.
2789 2000-08-29 H.J. Lu <hjl@gnu.org>
2791 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2793 (_IO_new_file_overflow): Likewise.
2794 * libio/genops.c (_IO_flush_all): Likewise.
2795 * libio/ioftell.c (_IO_ftell): Likewise.
2797 2000-08-29 Akira Higuchi <a@kondara.org>
2799 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2800 and __end_fct fields of struct __gconv_step.
2801 * iconv/Makefile (tests): Add iconv-bug2.
2802 * iconv/iconv-bug2.c: New file.
2804 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2805 instead of 'inptr - inend' to ksc5601_to_ucs4.
2807 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2809 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2810 character or shift sequence is found at the end of the input
2811 string, return__GCONV_INCOMPLETE_INPUT instead of
2812 __GCONV_EMPTY_INPUT.
2813 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2814 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2816 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2817 __GCONV_ILLEGAL_INPUT for 8bit characters.
2819 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2821 * signal/signal.h (sigpause): Move __THROW before __asm__.
2823 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2824 names don't match don't return.
2825 Patch by Olaf Kirch <okir@flash.lst.de>.
2827 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2829 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2831 2000-08-27 H.J. Lu <hjl@gnu.org>
2833 * posix/Makefile (otherlibs): Add for building with static-nss
2836 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2838 * libio/stdio.h: Add fmemopen prototype.
2840 2000-08-25 Andreas Jaeger <aj@suse.de>
2842 * libio/Makefile (routines): Add fmemopen.
2843 (tests): Add test-fmemopen.
2844 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2845 * libio/test-fmemopen.c: New file.
2846 * libio/fmemopen.c: New file.
2847 Patches by Hanno Mueller <kontakt@hanno.de>.
2849 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2851 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2852 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2854 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2855 to avoid crashing statically linked applications.
2857 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2859 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2860 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2862 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2863 If the result is fits in the buffer, copy only as many bytes as needed.
2865 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2866 buffer after copying numbuf into it.
2867 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2869 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2871 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2872 the result. When string_len < len, don't clear the rest of the buffer.
2874 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2876 Support for new LC_COLLATE format.
2877 * locale/coll-lookup.h: New file.
2878 * locale/weightwc.h (findidx): When size == 0, call
2879 collidx_table_lookup.
2880 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2881 * wcsmbs/wcsxfrm.c: Likewise.
2882 * posix/fnmatch.c: Likewise.
2883 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2884 collseq_table_lookup.
2885 * locale/programs/3level.h: New file.
2886 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2887 by including "3level.h".
2888 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2889 collseq_table): New types, defined by including "3level.h".
2890 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2891 (encoding_mask, encoding_byte): Remove.
2892 (utf8_encode): Use simple shifts instead.
2893 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2894 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2895 (collate_output): New local variable tablewc_3level. When
2896 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2897 tablewc_3level instead of tablewc. Change format of TABLEWC and
2898 COLLSEQWC entries written to the file.
2899 * locale/C-collate.c (collseqwc): Change format.
2900 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2902 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2904 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2906 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2907 (locale_ctype_t): New charnames_idx field.
2908 (ctype_startup): Initialize charnames_idx field.
2909 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2911 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2913 * locale/C-ctype.c: Switch to new locale format.
2914 (_nl_C_LC_CTYPE_names): Remove array.
2915 (STRUCT_CTYPE_CLASS): New macro.
2916 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2917 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2918 New three-level tables.
2919 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2920 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2921 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2922 12 class tables and 2 map tables at the end.
2923 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2924 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2925 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2927 (b): Remove trailing semicolon.
2928 (__ctype_names, __ctype_width): Don't initialize.
2929 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2931 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2933 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2934 is guaranteed to be allocated with the same malloc() and may be
2936 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2937 been set to empty by an earlier open_path call, don't pass it again.
2939 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2941 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2942 we are not optimizing.
2944 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2947 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2949 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2951 2000-08-28 Andreas Jaeger <aj@suse.de>
2953 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2955 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2957 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2958 getpeername. Use ISO C style function definition.
2959 (getpeername): Provide weak alias.
2960 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2961 setrlimit. Use ISO C style function definition.
2962 (setrlimit): Provide weak alias.
2964 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2966 * shlib-versions: Add a rule for S/390 to the libm version list.
2967 * sysdeps/s390/Versions: New file.
2968 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2969 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2970 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2971 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2972 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2973 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2974 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2975 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2976 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2977 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2978 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2979 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2980 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2981 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2982 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2983 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2984 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2985 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2987 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2989 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2990 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2992 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2993 * elf/dl-close.c (_dl_close): Print debug message if object is not
2995 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2996 returning to caller.
2998 * po/zh.po: Renamed to...
2999 * po/zh_TW.po: ...this.
3001 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3003 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3005 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3006 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3007 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3008 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3010 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3012 * locale/programs/ld-collate.c (insert_weights): Also update
3013 backpointer of next element.
3014 (collate_read): Allow definition of new collation symbols in stage 2.
3015 Symbol after reorder-after can be UCS4 value.
3016 Allow reordering of collation symbols and elements.
3017 Do not only move reorder entry in new position. Instead call
3018 insert_weight to do this and read the weights.
3020 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3022 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3023 to determine invalid locale name.
3024 * locale/findlocale.c (_nl_find_locale): Likewise.
3026 * posix/annexc.c: Correct test for unavailable feature.
3028 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3031 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3033 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3036 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3037 (sysdep_routines): Add oldgetrlimit64.
3039 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3040 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3041 (tests): Add unload, reldep, reldep2, and reldep3.
3042 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3044 Add rules to build and run unload, reldep, reldep2, and reldep3.
3045 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3046 Don't create relocation dependency if it is nonzero.
3047 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3048 can never happen here.
3049 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3050 Don't create relocation dependency if it is nonzero.
3051 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3052 stuff. This can never happen here.
3053 * sysdeps/generic/ldsodefs.h: Change prototypes.
3054 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3055 _dl_lookup_up and _dl_lookup_versioned_symbol.
3057 * elf/dl-runtime.c (fixup): Likewise.
3058 (profile_fixup): Likewise.
3059 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3061 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3062 * elf/rtld.c (dl_main): Likewise.
3063 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3064 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3065 and pass down the caller map.
3066 (_dl_vsym): Likewise.
3067 * elf/reldep.c: New file.
3068 * elf/reldep2.c: New file.
3069 * elf/reldep3.c: New file.
3070 * elf/reldepmod1.c: New file.
3071 * elf/reldepmod2.c: New file.
3072 * elf/reldepmod3.c: New file.
3073 * elf/reldepmod4.c: New file.
3074 * elf/unload.c: New file.
3075 * elf/unloadmod.c: New file.
3077 * elf/do-lookup.h: Remove unused undef_name parameter.
3078 * elf/dl-lookup.c: Adjust callers.
3080 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3082 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3083 irreversible in recursive call of conversion function to signal that
3084 no error handling is wanted.
3085 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3086 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3087 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3088 recursive error handling call, otherwise to &lirreversible. Use it
3089 for calls to conversion functions.
3090 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3092 (ucs4_internal_loop_unaligned): Likewise.
3093 (ucs4le_internal_loop): Likewise.
3094 (ucs4le_internal_loop_unaligned): Likewise.
3096 2000-08-25 Greg McGary <greg@mcgary.org>
3098 * sysdeps/i386/memchr.S: Check high bound against chars
3100 * sysdeps/i386/memcmp.S: Likewise.
3101 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3102 account for pointers that lie one beyond end-of-buffer.
3104 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3106 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3107 * elf/nodelete.c (fini_ran): New global variable.
3108 (do_test): Before every dlclose call clear fini_ran and test
3109 afterwards that it is not set by the destructors.
3110 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3111 * elf/nodelmod2.c: Likewise.
3112 * elf/nodelmod4.c: Likewise.
3114 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3116 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3117 getrlimit to the list.
3119 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3121 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3122 long double format so use ldbl-96 instead of ldbl-128.
3124 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3126 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3127 even if bits 10 a 11 are non-zero.
3128 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3130 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3131 included before building gnu/lib-names.h
3132 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3134 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3135 marked DF_1_NODELETE.
3137 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3138 since we call sigaction in the child.
3140 2000-08-25 Andreas Jaeger <aj@suse.de>
3142 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3145 2000-08-25 Andreas Jaeger <aj@suse.de>
3147 * manual/arith.texi (Control Functions): Clarify possible
3148 arguments. Closes PR libc/1856.
3150 2000-08-24 H.J. Lu <hjl@gnu.org>
3152 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3153 * malloc/Makefile (tests): Likewise.
3155 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3157 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3159 2000-08-24 Andreas Jaeger <aj@suse.de>
3161 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3162 only if LIBGD is available.
3164 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3166 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3167 problems with now restrict parameter types.
3168 (convaddr4to6): Likewise.
3170 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3172 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3173 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3174 * sysdeps/s390/fpu/fegetexcept.c: New file.
3175 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3178 2000-08-24 Andreas Jaeger <aj@suse.de>
3180 * malloc/Makefile (extra-objs): Add memusagestat.o.
3181 (generated): Added memusage and memusagestat for make clean.
3183 * libio/tst_putwc.c (do_test): Delete temporary file.
3184 Move inclusion of test-skeleton to front to have prototype for
3187 * posix/Makefile (generated): Add wordexp-tst.out.
3189 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3191 * resolv/res_hconf.c (free_mem): Remove not needed if.
3193 * time/tzset.c (free_mem): New function.
3194 * string/strsignal.c (free_mem): New function.
3195 * inet/inet_ntoa.c (free_mem): New function.
3196 * sunrpc/clnt_perr.c (free_mem): New function.
3198 2000-08-24 Andreas Jaeger <aj@suse.de>
3200 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3201 * sysdeps/unix/sysv/syscalls.list: Likewise.
3203 * posix/unistd.h: Move internal prototypes from here ...
3204 * include/unistd.h: ... to here.
3206 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3208 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3210 * grp/initgroups.c (initgroups): Deallocate groups array.
3211 Reported by jani.raiha@sonera.com [PR libc/1868].
3213 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3214 * sysdeps/alpha/Dist: Likewise.
3216 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3218 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3219 destructor). Reported by Solar Designer <solar@false.com>.
3221 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3222 avoid adding double slashes.
3224 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3226 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3227 out of the __REDIRECT macro.
3229 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3231 * stdio-common/vfscanf.c: Add %F format support.
3233 * locale/programs/ld-ctype.c (ctype_output): Make sure
3234 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3235 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3236 (ctype_read): Enable returning of wide character strings for reading
3237 transliteration information.
3239 2000-08-23 Andreas Jaeger <aj@suse.de>
3241 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3242 Use static __inline instead of _EXTERN_INLINE.
3244 * misc/sys/select.h: Move prototypes of __select from here ...
3245 * include/sys/select.h: ... to here.
3247 * socket/sys/socket.h: Move prototypes of __send and __connect
3249 * include/sys/socket.h: ... to here.
3251 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3254 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3257 __setrlimit as strong name. Takes only 2 arguments.
3259 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3260 takes only 2 arguments.
3262 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3264 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3266 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3268 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3270 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3271 default_missing character being specified, pick the first
3274 2000-08-23 Andreas Jaeger <aj@suse.de>
3276 * include/wchar.h: Add some pure attributes.
3278 * time/time.h: Add const attribute for dysize.
3280 * include/stdlib.h: Add malloc attribute to __posix memalign.
3282 * stdlib/stdlib.h: Add some pure and malloc attributes.
3283 * wcsmbs/wchar.h: Likewise.
3285 * dirent/dirent.h: Add some pure attributes.
3286 * include/dirent.h: Likewise.
3288 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3290 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3293 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3295 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3296 missing buffer size checks.
3298 2000-08-23 Andreas Jaeger <aj@suse.de>
3300 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3302 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3304 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3305 otherwise __LINUX_KERNEL_VERSION might not be defined.
3306 (MIN): Define if not already defined.
3308 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3310 * stdio-common/vfprintf.c: Handle %F format.
3311 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3312 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3314 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3316 * po/zh.po: New file.
3318 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3319 enough room in target buffer.
3320 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3321 * iconvdata/bug-iconv1.c: New file.
3322 * iconvdata/Makefile (tests): Add bug-iconv1.
3324 * locale/iso-4217.def: Update entry for Nicaragua.
3326 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3328 * hurd/hurdsig.c: Rearrange headers a bit.
3329 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3330 when cthreads is being used.
3332 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3334 * elf/Makefile (distribute): Add dl-osinfo.h.
3335 * sysdeps/generic/dl-osinfo.h: New file.
3336 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3337 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3339 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3340 only for !SHARED case. Get the code from dl-osinfo.h.
3342 * stdlib/random_r.c: Cleanups.
3343 * stdlib/tst-random.c: New file.
3344 * stdlib/Makefile (tests): Add tst-random.
3345 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3347 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3349 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3350 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3351 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3352 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3354 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3356 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3357 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3358 (__syscall__sysctl): Add.
3360 2000-08-21 Andreas Jaeger <aj@suse.de>
3362 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3364 * stdlib/tst-strtoll.c: Likewise.
3366 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3368 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3370 (__initstate_r): Set errno on error.
3371 (__random_r): Likewise.
3372 (__setstate_r): Correct offset when computing
3373 new rptr and fptr. Test for arg_state being NULL.
3374 Reported by Michael Fischer <fischer@cs.yale.edu>.
3376 * posix/regex.h: Add macro definitions to allow compiling outside
3379 * sysdeps/i370/Implies: Removed.
3380 * sysdeps/mvs/Implies: Removed.
3382 * catgets/catgets.c (catopen): Filter out env_var values with / if
3385 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3386 locale name after all getenvs.
3388 * configure.in: Allow sed versions like 3.02.8.
3389 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3391 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3393 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3395 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3397 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3398 of gethostbyname2_r call.
3400 * intl/locale.alias: Add aliases for Korean.
3402 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3404 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3405 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3406 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3407 * sysdeps/s390/fpu/fegetenv.c: New file.
3408 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3409 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3410 * sysdeps/s390/fpu/fenv_libc.h: New file.
3411 * sysdeps/s390/fpu/fesetenv.c: New file.
3412 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3413 * sysdeps/s390/fpu/feupdateenv.c: New file.
3414 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3415 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3416 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3417 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3418 * sysdeps/s390/fpu/ftestexcept.c: New file.
3419 * sysdeps/s390/fpu/libm-test-ulps: New file.
3420 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3421 * sysdeps/s390/initfini.c: New file.
3422 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3423 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3424 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3425 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3426 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3427 sys/procfs.h as proposed by Mark Kettenis.
3428 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3430 2000-08-21 Andreas Jaeger <aj@suse.de>
3432 * include/poll.h: Include include/sys/poll.h to get __poll
3435 * io/sys/poll.h: Move __poll declaration from here...
3436 * include/sys/poll.h: ...to here.
3438 * include/sys/socket.h (__getpeername): Add declaration.
3440 * include/wchar.h (__vswprintf): Add declaration.
3442 * include/stdio.h (__flockfile): Add declaration.
3443 (__funlockfile): Likewise.
3445 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3447 * misc/sys/cdefs.h: Define __restrict_arr.
3448 * include/sys/time.h: Add restrict where required by AGd4.
3449 * inet/arpa/inet.h: Likewise.
3450 * io/sys/stat.h: Likewise.
3451 * io/sys/statvfs.h: Likewise.
3452 * misc/search.h: Likewise.
3453 * misc/sys/select.h: Likewise.
3454 * posix/glob.h: Likewise.
3455 * posix/regex.h: Likewise.
3456 * posix/spawn.h: Likewise.
3457 * posix/unistd.h: Likewise.
3458 * rt/aio.h: Likewise.
3459 * signal/signal.h: Likewise.
3460 * socket/sys/socket.h: Likewise.
3461 * stdlib/ucontext.h: Likewise.
3462 * streams/stropts.h: Likewise.
3463 * string/string.h: Likewise.
3464 * time/time.h: Likewise.
3465 * time/sys/time.h: Likewise.
3467 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3468 and posix_spawnattr_setscheparam.
3470 * libio/stdio.h: Make cuserid prototype again available for all
3473 * argp/argp-help.c: Unify use of function aliases to make more compact
3475 * include/libintl.h: Likewise.
3476 * inet/rcmd.c: Likewise.
3477 * intl/dcigettext.c: Likewise.
3478 * libio/iofputws.c: Likewise.
3479 * libio/iofputws_u.c: Likewise.
3480 * libio/iogetwline.c: Likewise.
3481 * libio/swprintf.c: Likewise.
3482 * malloc/malloc.c: Likewise.
3483 * nss/digits_dots.c: Likewise.
3484 * posix/fnmatch.c: Likewise.
3485 * posix/spawn_faction_addclose.c: Likewise.
3486 * posix/spawn_faction_adddup2.c: Likewise.
3487 * posix/spawn_faction_addopen.c: Likewise.
3488 * posix/spawni.c: Likewise.
3489 * posix/wordexp.c: Likewise.
3490 * posix/spawni.c: Likewise.
3491 * resolv/res_hconf.c: Likewise.
3492 * resolv/res_init.c: Likewise.
3493 * shadow/lckpwdf.c: Likewise.
3494 * signal/sighold.c: Likewise.
3495 * signal/sigrelse.c: Likewise.
3496 * stdio-common/printf-parse.h: Likewise.
3497 * stdio-common/printf-prs.c: Likewise.
3498 * stdio-common/printf_fp.c: Likewise.
3499 * stdio-common/vfprintf.c: Likewise.
3500 * stdio-common/vfscanf.c: Likewise.
3501 * stdlib/rpmatch.c: Likewise.
3502 * sunrpc/create_xid.c: Likewise.
3503 * sunrpc/key_call.c: Likewise.
3504 * sysdeps/generic/setrlimit64.c: Likewise.
3505 * sysdeps/generic/utmp_file.c: Likewise.
3506 * sysdeps/generic/vlimit.c: Likewise.
3507 * sysdeps/posix/posix_fallocate.c: Likewise.
3508 * sysdeps/posix/posix_fallocate64.c: Likewise.
3509 * sysdeps/posix/sigpause.c: Likewise.
3510 * sysdeps/posix/sigset.c: Likewise.
3511 * sysdeps/unix/grantpt.c: Likewise.
3512 * sysdeps/unix/bsd/ualarm.c: Likewise.
3513 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3514 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3515 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3516 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3517 * time/strftime.c: Likewise.
3518 * wcsmbs/wcscoll.c: Likewise.
3519 * wcsmbs/wcsxfrm.c: Likewise.
3521 * time/tst-getdate.c (main): Make error messages more human readable.
3523 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3524 postinc/predec instruction.
3525 (_FPU_SETCW): Likewise.
3526 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3528 2000-08-20 Andreas Jaeger <aj@suse.de>
3530 * time/tst-getdate.c (main): Increase error in case of wrong
3532 Fix typo in test case.
3534 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3536 * ctype/ctype.h (isblank): Make available if ISO C99.
3537 * wctype/wctype.h (iswblank): Make available if ISO C99.
3538 * math/math.h (signgam): Don't make available if ISO C99.
3539 * math/tgmath.h (tgamma): Renamed from gamma.
3540 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3542 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3544 * intl/plural.y (new_exp): Take number of optional parameters in
3545 second parameter. Test for correct number of parameters and free
3546 correctly in case of failure. Adjust all callers.
3547 (yylex): Allow ';' as terminator character.
3549 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3551 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3554 * locale/findlocale.c (free_mem): Also free here->filename.
3556 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3558 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3560 (feexcp_nomask_test): Correct printf args.
3561 (feexcp_mask_test): Likewise.
3563 2000-08-19 Andreas Jaeger <aj@suse.de>
3565 * inet/tst-gethnm.c: Include string.h to provide prototype for
3568 * malloc/mtrace.pl (usage): Inform about --help.
3570 2000-08-19 Wolfram Gloger <wg@malloc.de>
3572 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3575 2000-08-19 Andreas Jaeger <aj@suse.de>
3577 * shlib-versions: Remove libnss_db, libdb and libdb1.
3579 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3581 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3582 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3583 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3584 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3585 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3586 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3587 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3588 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3589 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
3590 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
3592 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
3593 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3595 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3597 * include/glob.h (__glob64): Add prototype.
3598 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
3599 define glob and glob_in_dir.
3600 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
3601 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
3603 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
3604 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
3605 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
3606 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
3607 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
3609 2000-08-18 Jakub Jelinek <jakub@redhat.com>
3611 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
3613 2000-08-17 Andreas Jaeger <aj@suse.de>
3615 * math/test-fenv.c (fe_single_test): New function.
3616 (fe_env_tests): Use fe_single_test.
3617 (feenable_test): New tests for feenable/fedisable and
3619 (feexcp_mask_test): New function.
3620 (feexcp_nomask_test): New function.
3622 2000-08-19 Richard Henderson <rth@cygnus.com>
3624 * sysdeps/alpha/fpu/fenv_libc.h: New file.
3625 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
3626 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3627 * sysdeps/alpha/fpu/fesetround.c: Likewise.
3628 * sysdeps/alpha/fpu/fegetround.c: Likewise.
3629 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3630 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3631 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
3632 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
3633 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
3634 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
3635 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
3636 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3637 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3638 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3639 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
3640 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
3642 2000-08-19 Andreas Jaeger <aj@suse.de>
3644 * elf/constload1.c: Include <stdio.h> for puts prototype.
3646 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3648 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
3649 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
3650 a dynamically loaded object remove old l_initfini list.
3651 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
3652 remove some dynamically allocated memory blocks in the dynamic
3653 loading data structures.
3654 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
3655 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
3656 Instead call _dl_check_map_versions only for the dependencies.
3657 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
3658 information of initial objects as not free-able.
3659 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
3662 * elf/filter.c: Call mtrace.
3663 * elf/restest1.c: Likewise. Close the objects.
3664 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
3667 * elf/constload1.c: Add comment explaining not freed memory.
3669 2000-08-18 Andreas Jaeger <aj@suse.de>
3671 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
3672 alignment for structs stat and stat64.
3673 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3675 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3677 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
3678 handling. Patch by Richard Henderson <rth@twiddle.net>.
3680 * nss/Versions: Remove libnss_db information.
3682 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3684 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
3685 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
3686 * sysdeps/sparc/fpu/fegetexcept.c: New file.
3687 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
3689 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
3692 2000-08-17 Ulrich Drepper <drepper@redhat.com>
3694 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
3695 (_FPU_SETCW): Likewise.
3696 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3698 * stdio-common/printf_fp.c: Fix chars_needed computation.
3699 Patch by Greg McGary <greg@mcgary.org>.
3701 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3703 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
3704 _dl_loaded are NULL.
3706 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3708 * manual/arith.texi (feholdexcept): Returns 0 on success.
3710 2000-08-17 Andreas Jaeger <aj@suse.de>
3712 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
3714 Reported by Andi Kleen <ak@suse.de>.
3716 2000-08-17 Jakub Jelinek <jakub@redhat.com>
3718 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
3719 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
3720 * sysdeps/alpha/fpu/fegetexcept.c: New file.
3722 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3724 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
3725 of buf->st_ino and kbuf->st_ino, not __st_ino.
3726 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
3727 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
3728 directive so that only linux/getdents.c is used, not some
3729 architecture specific one.
3731 2000-08-16 Jakub Jelinek <jakub@redhat.com>
3733 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
3734 enabled, not disabled exceptions.
3735 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3736 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3738 2000-08-17 Greg McGary <greg@mcgary.org>
3740 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
3741 from test program name when constructing suffix for $(LDLIBS-*).
3742 (bounded-thread-library): New variable.
3744 [build-shared, build-static] (libcrypt-dep): Remove variable.
3745 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3746 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3747 * linuxthreads/Makefile (libpthread, librt): Remove variables.
3748 (librt-tests): Add variable. (tests): Use it.
3749 [build-shared, build-static]
3750 ($(addprefix $(objpfx),$(tests)),
3751 $(addprefix $(objpfx),$(librt-tests))):
3752 Consolidate individual dependencies.
3754 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
3756 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
3757 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3759 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
3761 [build-shared, build-static]
3762 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3763 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3765 2000-08-17 Greg McGary <greg@mcgary.org>
3767 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3768 * sysdeps/unix/make-syscalls.sh: Likewise.
3769 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3770 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3771 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3772 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3775 2000-08-17 Greg McGary <greg@mcgary.org>
3777 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3778 Wrap extern symbols in BP_SYM ().
3779 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3780 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3781 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3782 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3783 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3784 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3785 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3786 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3787 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3788 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3790 2000-08-16 Andreas Schwab <schwab@suse.de>
3792 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3793 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3794 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3796 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3798 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3799 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3800 * elf/dl-support.c: Define _nl_nloaded.
3801 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3802 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3803 object to global list.
3804 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3805 from _dl_loaded list.
3806 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3807 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3810 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3812 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3814 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3816 2000-08-16 Andreas Jaeger <aj@suse.de>
3818 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3820 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3822 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3824 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3826 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3827 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3828 (sysdep_routines): Add oldgetrlimit64.
3829 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3830 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3832 * include/link.h: Undo last patches. Hurd now has stat64.
3833 * elf/Makefile: Likewise.
3834 * elf/dl-load.c: Likewise.
3835 * elf/dl-misc.c: Likewise.
3836 * elf/dl-profile.c: Likewise.
3837 * sysdeps/generic/sysd-link.h: Removed.
3838 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3840 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3841 thread event callback function.
3842 (__aio_notify_only): Use function above.
3843 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3845 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3847 * sysdeps/mach/hurd/lseek64.c: New file.
3849 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3851 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3853 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3855 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3857 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3859 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3861 * sysdeps/mach/hurd/xstatconv.c: New file.
3862 * sysdeps/mach/hurd/fxstat64.c: New file.
3863 * sysdeps/mach/hurd/lxstat64.c: New file.
3864 * sysdeps/mach/hurd/xstat64.c: New file.
3865 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3867 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3869 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3870 Initialize, needed for change in common symbol handling in newer
3871 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3873 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3875 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3876 * elf/constload2.c: Add destructor to unload constload3.
3878 * include/link.h: Include sysd-link.h.
3879 * sysdeps/generic/sysd-link.h: New file.
3880 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3881 * elf/Makefile (distribute): Add sysd-link.h.
3882 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3883 types and functions directly.
3884 * elf/dl-misc.c: Likewise.
3885 * elf/dl-profile.c: Likewise.
3887 * elf/loadfail.c (main): Close all successfully loaded objects.
3889 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3891 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3892 there is already one.
3894 * elf/dl-close.c: Pretty print.
3896 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3898 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3899 global (with file scope). Add __libc_subfreeres function to free the
3901 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3902 in ttyname function.
3904 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3906 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3908 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3909 mapping them to /x5c and /x7e respectively.
3911 * locale/programs/ld-ctype.c: Add support for more definitions after
3914 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3916 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3917 * sysdeps/unix/sysv/linux/kernel-features.h
3918 (__ASSUME_GETDENTS64_SYSCALL): Define.
3919 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3920 syscall if available to get d_type fields.
3921 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3922 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3923 __lxstat64): Export at GLIBC_2.2.
3924 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3926 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3927 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3928 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3929 getdirentries64, versionsort64): Remove.
3930 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3931 getdirentries64, versionsort64): Remove.
3933 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3935 * posix/Makefile: Remove rules to generate glob package.
3937 * posix/Makefile (tests): Add tst-regexloc.
3938 (tst-regexloc-ENV): Add LOCPATH.
3939 * posix/tst-regexloc.c: New file.
3941 2000-08-12 Andreas Jaeger <aj@suse.de>
3943 * include/features.h (__STDC_ISO_10646__): Define.
3944 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3946 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3948 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3950 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3951 for revision 6 and up).
3953 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3955 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3956 to get definitions of just these types.
3958 * signal/signal.h: Define thread signal handling functions also for
3961 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3963 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3964 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3965 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3966 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3968 * sysvipc/sys/shm.h: Define pid_t for XPG.
3970 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3971 they are not anymore required here.
3973 * wcsmbs/wchar.h: Make the various wide char string and stream
3974 functions available for the respective XPG versions.
3976 * nss/Makefile: Remove rules to build and distribute nss_db.
3978 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3979 * sysdeps/generic/scandir64.c: Likewise.
3980 * sysdeps/generic/versionsort64.c: Likewise.
3982 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3983 Benjamin Koznik <bkoz@redhat.com>
3985 * libio/fileops.c: Merge with libstdc++-v3.
3986 * libio/genops.c: Likewise.
3987 * libio/iofclose.c: Likewise.
3988 * libio/iofopen.c: Likewise.
3989 * libio/iofwide.c: Likewise.
3990 * libio/libio.h: Likewise.
3991 * libio/libioP.h: Likewise.
3992 * libio/stdfiles.c: Likewise.
3993 * libio/stdio.c: Likewise.
3994 * libio/wfileops.c: Likewise.
3995 * libio/wgenops.c: Likewise.
3997 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3999 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4001 * locale/programs/localedef.c: Implement --prefix option to allow
4002 writing in standard places of alternative install directories.
4004 * posix/regex.c (compile_range): Implement collation sequence
4005 handling for glibc. Use simple character ordering otherwise and
4008 2000-08-12 Mark Kettenis <kettenis@gnu.org>
4010 * sysdeps/generic/scandir64.c: Include <dirent.h>.
4012 2000-08-12 Andreas Jaeger <aj@suse.de>
4014 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
4015 __USE_FILE_OFFSET64 correctly for locking.
4016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4018 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4020 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4021 Define for 2.4.1 on sparc as well.
4022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4023 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4024 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4025 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4027 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4029 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4032 2000-08-12 Andreas Jaeger <aj@suse.de>
4034 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4035 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4037 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4038 mips2 for assembler.
4040 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4041 if fnctl64 is not available for F_*LK*64.
4043 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4045 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4048 Define for 2.4.1 on x86.
4049 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4051 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4053 * dirent/dirent.h: Define DT_WHT.
4055 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4056 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4057 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4058 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4059 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4060 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4062 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4064 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4065 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4066 * inet/Makefile (tests): Add tst-gethnm.
4067 * inet/tst-gethnm.c: New file.
4069 * rt/aio_cancel.c: If canceling a specific request which is running
4070 *really* do nothing.
4071 * rt/aio_misc.h: Add `done' to states of a request.
4072 * rt/aio_misc.c: Add several tests for the correct state.
4073 Simplify request table memory handling.
4075 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4077 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4078 * dirent/scandir64.c: Move...
4079 * sysdeps/generic/scandir64.c: ...here.
4080 * dirent/alphasort64.c: Move...
4081 * sysdeps/generic/alphasort64.c: ...here.
4082 * dirent/versionsort64.c: Move...
4083 * sysdeps/generic/versionsort64.c: ...here.
4084 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4085 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4086 Export symbols at GLIBC_2.2.
4087 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4088 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4089 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4090 __versionsort64): Add prototypes.
4091 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4092 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4094 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4096 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4097 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4098 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4099 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4101 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4102 Adjust for kernel-2.4.0-test6 layout.
4103 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4104 GLIBC_2.1 and GLIBC_2.2.
4105 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4106 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4107 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4108 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4109 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4110 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4111 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4112 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4113 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4114 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4115 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4116 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4117 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4118 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4120 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4121 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4122 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4123 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4124 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4125 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4126 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4128 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4129 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4131 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4133 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4135 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4137 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4139 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4141 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4142 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4143 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4144 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4145 st_ino from __st_ino.
4146 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4147 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4148 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4149 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4150 set __st_ino in addition to st_ino.
4151 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4152 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
4153 __old_getdents64 as well.
4154 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
4155 getdirentries64 and old_getdirentries64 as well.
4156 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
4157 __GETDENTS): Define.
4158 (GETDENTS64): Remove.
4159 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
4161 (GETDENTS64): Remove.
4162 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
4163 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
4164 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
4166 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
4167 __old_readdir64_r as well.
4168 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4169 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
4171 2000-08-08 Jes Sorensen <jes@linuxcare.com>
4173 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
4174 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
4175 define of the kernel.
4176 Add missing __SEG_PSTKOVF definition.
4177 Adjust the padding of struct siginfo and struct sigevent to
4178 match the fact that sigval_t is 64 bit.
4180 2000-08-10 Ulrich Drepper <drepper@redhat.com>
4182 * timezone/zic.c: Update from tzcode2000f.
4183 * timezone/australasia: Update from tzdata2000f.
4184 * timezone/europe: Likewise.
4185 * timezone/southamerica: Likewise.
4186 * timezone/yearistype: Likewise.
4188 2000-08-10 Andreas Jaeger <aj@suse.de>
4190 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
4191 stat with current MIPS kernel.
4193 2000-08-01 Mark Kettenis <kettenis@gnu.org>
4195 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
4196 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
4197 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
4198 Remove the junk that's only relevant in the Linux kernel itself.
4199 Add a warning saying that this file is now obsolete, and include
4201 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
4202 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
4203 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
4204 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
4205 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
4206 and add the notice that the file is primarily there for GDB.
4207 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
4209 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4211 * time/tzfile.c (__tzfile_compute): __tzstring zones
4214 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4216 * resolv/resolv.h (__res_state): Surround prototype with
4217 __BEGIN_DECLS/__END_DECLS.
4218 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
4220 2000-08-04 Jes Sorensen <jes@linuxcare.com>
4222 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
4223 Make independant of asm/resource.h from the Linux kernel.
4225 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4227 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
4229 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4231 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
4232 * locale/Makefile (locale-CPPFLAGS): Likewise.
4234 2000-08-09 Ulrich Drepper <drepper@redhat.com>
4236 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
4239 2000-08-03 Jakub Jelinek <jakub@redhat.com>
4241 * misc/Versions (mincore): Export at GLIBC_2.2.
4243 2000-08-03 Bruno Haible <haible@clisp.cons.org>
4245 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
4247 2000-08-02 Mark Kettenis <kettenis@gnu.org>
4249 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
4250 socketpair. Made socketpair a weak alias.
4251 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
4252 __socketpair. Use S_IFIFO protocol to make pipes POSIX
4253 conforming, but fall back on the old protocol if the socket server
4255 * include/sys/socket.h: Add prototype for __socketpair.
4257 2000-08-09 Andreas Schwab <schwab@suse.de>
4259 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
4260 long long modifier is seen.
4262 * elf/nodelete.c (do_test): Remove reference to undefined member
4264 * rt/tst-aio4.c (do_test): Likewise.
4266 * configure.in: Add `-lm' when checking for libgd.
4267 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
4270 2000-08-09 Andreas Jaeger <aj@suse.de>
4272 * configure.in: Change required make versions.
4274 * manual/install.texi (Tools for Compilation): Document required
4276 (Supported Configurations): Update list of supported
4279 2000-08-08 Ulrich Drepper <drepper@redhat.com>
4281 * locale/linereader.c (get_string): Don't print an error is a string
4282 contains an unknown character.
4284 2000-08-06 Ulrich Drepper <drepper@redhat.com>
4286 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
4287 (new_symbol): Take new parameters with name of the symbol.
4289 (handle_ellipsis): Don't only allow character symbols.
4290 (collate_read): Allow string of collating elements contain invalid
4291 characters; ignore entry in this case.
4292 Handle ellipsis of collating symbols before first order_start.
4293 Allow ellipsis in state 0.
4295 2000-08-04 Ulrich Drepper <drepper@redhat.com>
4297 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
4299 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4301 2000-08-04 Greg McGary <greg@mcgary.org>
4303 * posix/regex.c (SET_HIGH_BOUND): New macro.
4304 (MOVE_BUFFER_POINTER): Use it.
4305 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
4306 (EXTEND_BUFFER): Use it.
4308 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4310 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
4311 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
4312 _wide_data but from _IO_FILE directly.
4313 * libio/iofclose.c: Likewise.
4314 * libio/wfileops.c: Likewise.
4316 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
4317 * libio/libioP.h: Change prototypes.
4319 2000-08-03 Greg McGary <greg@mcgary.org>
4321 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
4322 frame pointer early so that we save caller's frame pointer.
4323 * sysdeps/i386/elf/setjmp.S: Likewise.
4325 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
4326 * io/test-utime.c: Test passing NULL as utimbuf* arg.
4328 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
4329 (MOVE_BUFFER_POINTER): Handle high_bound properly.
4330 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
4332 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4334 * iconvdata/big5.c: Updated.
4335 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4337 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4339 * Makeconfig (all-subdirs): Add conform.
4340 * conform/Makefile: Include ../Rules.
4342 * Makefile (README): Add rules to generate here as well.
4344 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4346 * version.h (VERSION): Bump to 2.1.92.
4348 * sysdeps/ia64/Dist: Add _mcount.S.
4350 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
4352 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
4354 * elf/Makefile (distribute): Add missing modules.
4356 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
4358 * posix/regex.c (compile_range): Translate range start and end
4359 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
4361 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
4364 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
4366 2000-08-02 Andreas Jaeger <aj@suse.de>
4368 * elf/elf.h (EM_S390): Added.
4369 (R_390_*): New relocs for S390.
4371 * sysdeps/unix/sysv/linux/s390/Dist: New file.
4372 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
4373 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
4374 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
4375 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
4376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4377 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
4378 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
4379 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
4380 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
4381 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
4382 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
4383 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
4384 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
4385 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
4386 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
4387 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
4388 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
4389 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
4390 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
4391 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
4392 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
4393 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
4394 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
4395 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
4396 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
4397 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
4398 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
4399 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
4400 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
4401 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
4402 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
4403 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
4404 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
4405 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
4406 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
4407 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
4408 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
4409 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
4410 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
4411 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
4412 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
4413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
4414 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
4415 * sysdeps/s390/sysdep.h: New file.
4416 * sysdeps/s390/sys/ucontext.h: New file.
4417 * sysdeps/s390/sub_n.S: New file.
4418 * sysdeps/s390/strncpy.S: New file.
4419 * sysdeps/s390/strcpy.S: New file.
4420 * sysdeps/s390/stackinfo.h: New file.
4421 * sysdeps/s390/setjmp.S: New file.
4422 * sysdeps/s390/s390-mcount.S: New file.
4423 * sysdeps/s390/mul_1.S: New file.
4424 * sysdeps/s390/memusage.h: New file.
4425 * sysdeps/s390/memset.S: New file.
4426 * sysdeps/s390/memcpy.S: New file.
4427 * sysdeps/s390/memchr.S: New file.
4428 * sysdeps/s390/machine-gmon.h: New file.
4429 * sysdeps/s390/ldbl2mpn.c: New file.
4430 * sysdeps/s390/gmp-mparam.h: New file.
4431 * sysdeps/s390/fpu/fpu_control.h: New file.
4432 * sysdeps/s390/fpu/fesetround.c: New file.
4433 * sysdeps/s390/fpu/fegetround.c: New file.
4434 * sysdeps/s390/fpu/fclrexcpt.c: New file.
4435 * sysdeps/s390/fpu/bits/fenv.h: New file.
4436 * sysdeps/s390/ffs.c: New file.
4437 * sysdeps/s390/elf/start.S: New file.
4438 * sysdeps/s390/elf/setjmp.S: New file.
4439 * sysdeps/s390/elf/bsd-setjmp.S: New file.
4440 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
4441 * sysdeps/s390/dl-machine.h: New file.
4442 * sysdeps/s390/bzero.S: New file.
4443 * sysdeps/s390/bsd-setjmp.S: New file.
4444 * sysdeps/s390/bsd-_setjmp.S: New file.
4445 * sysdeps/s390/bits/string.h: New file.
4446 * sysdeps/s390/bits/setjmp.h: New file.
4447 * sysdeps/s390/bits/huge_val.h: New file.
4448 * sysdeps/s390/bits/endian.h: New file.
4449 * sysdeps/s390/bits/byteswap.h: New file.
4450 * sysdeps/s390/bcopy.S: New file.
4451 * sysdeps/s390/backtrace.c: New file.
4452 * sysdeps/s390/atomicity.h: New file.
4453 * sysdeps/s390/asm-syntax.h: New file.
4454 * sysdeps/s390/addmul_1.S: New file.
4455 * sysdeps/s390/add_n.S: New file.
4456 * sysdeps/s390/abort-instr.h: New file.
4457 * sysdeps/s390/__longjmp.c: New file.
4458 * sysdeps/s390/Makefile: New file.
4459 * sysdeps/s390/Implies: New file.
4460 * sysdeps/s390/Dist: New file.
4461 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4463 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4465 Remove incompatible IPv6 extension of RPC.
4466 * sunrpc/Makefile: Undo changes.
4467 * sunrpc/rpc_main.c: Likewise.
4468 * sunrpc/rpc/clnt.h: Likewise.
4469 * sunrpc/rpc/svc.h: Likewise.
4470 * sunrpc/bindrsvprt6.c: Removed.
4471 * sunrpc/clnt_tcp6.c: Removed.
4472 * sunrpc/clnt_udp6.c: Removed.
4473 * sunrpc/svc_tcp6.c: Removed.
4474 * sunrpc/svc_udp6.c: Removed.
4476 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
4477 dgettext, and dcgettetxt.
4479 * intl/locale.alias: Update japanese aliases.
4481 * sysdeps/ia64/bits/byteswap.h: New file.
4482 Patch by Dan Pop <Dan.Pop@cern.ch>.
4484 * misc/sys/cdefs.h: Define __attribute_format_arg__.
4485 * intl/libintl.h: Use it here instead of using __attribute__ directly.
4487 2000-07-13 H.J. Lu <hjl@gnu.org>
4489 * posix/regex.c (re_max_failures): Set to 4000.
4491 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4493 * gnulib/Makefile (tests): Add tst-gcc.
4494 * gnulib/tst-gcc.c: New file.
4496 * assert/Makefile (routines): Add __assert.
4497 * assert/Versions: Export __assert for glibc 2.2.
4498 * assert/__assert.c: New file.
4499 * assert/assert.h: Declare __assert.
4501 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4503 * locale/localeinfo.h (_ISCTYPE): New macro.
4504 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4505 LC_CTYPE locale format.
4506 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4507 (ctype_output): Output class_b[nr] right before class_3level[nr].
4508 (allocate_arrays): Fill class_b, similarly to class_3level.
4510 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4511 Joseph S. Myers <jsm28@cam.ac.uk>
4513 * math/tgmath.h: Make standard compliant. Don't ask how.
4515 2000-07-04 H.J. Lu <hjl@gnu.org>
4517 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4518 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4519 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4521 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4523 * include/features.h (_XOPEN_SOURCE): Update the explanation.
4524 (__USE_LARGEFILE): Add an explanation.
4525 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4526 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4528 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4530 * libio/Makefile: Enable exception handling for genops, wgenops,
4531 fileops, and wfileops.
4533 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4535 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4536 acount that elf/rtld's main program might remove some varibales
4537 from the environment if we're trying to be secure. Move the Hurd
4538 startup data if necessary, or, if we there is no startup data,
4539 make sure the magical convention that ARGV[0] is stored just after
4540 the environment list.
4542 2000-08-01 Philip Blundell <philb@gnu.org>
4544 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4545 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4546 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4547 oldsetrlimit for GLIBC_2.0.
4549 2000-08-01 Andreas Jaeger <aj@suse.de>
4551 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4552 (LINE_PARSER): Allow any number of spaces between ip address and
4553 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4555 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4557 * include/netdb.h: Remove getipnodebyaddr and friends, leave
4560 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4561 _nss_nisplus_getipnodebyname_r.
4563 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4564 now, getipnodebyname is deprecated.
4565 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4568 * inet/Makefile (routines): Don't build getipnodebyaddr and
4571 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4573 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4575 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4577 * wctype/Makefile (distribute): Add wchar-lookup.h.
4579 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4581 * iconvdata/Makefile (distribute): Add isiri-3342.h.
4583 2000-08-01 Andreas Schwab <schwab@suse.de>
4585 * Make-dist (dist): Resolve `..' in file names.
4587 2000-08-01 Andreas Jaeger <aj@suse.de>
4589 * stdio-common/Makefile (distribute): Remove removed files, add
4592 * Makefile (distribute): Remove include/db_185.h and db.h.
4594 * include/db_185.h: Remove, it's not needed anymore.
4595 * include/db.h: Likewise.
4597 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4599 * inet/Makefile (tests): Remove tst-ipnode.
4600 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
4603 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4605 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
4606 endp statements have already been added.
4608 2000-04-18 David Mosberger <davidm@hpl.hp.com>
4610 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
4611 <sysdeps/ia64/sysdep.h>.
4613 * sysdeps/ia64/_mcount.S: New file.
4615 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
4616 __gmon_start__. Fix up extraneous whitespace.
4618 2000-01-12 H.J. Lu <hjl@gnu.org>
4620 * sysdeps/ia64/elf/initfini.c: New file.
4622 2000-07-31 Jes Sorensen <jes@linuxcare.com>
4624 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
4625 dependency between branch and ar.pfs write.
4627 2000-07-31 H.J. Lu <hjl@gnu.org>
4629 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
4630 handle the wchar_t array.
4632 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4634 * iconvdata/gb18030.c: Don't map to and from positions in ISO
4635 10646 which are not yet assigned.
4636 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
4638 2000-07-31 Andreas Jaeger <aj@suse.de>
4640 * inet/Versions: Remove getipnodebyaddr and friends from
4643 * resolv/netdb.h: Remove getipnodebyaddr and friends.
4645 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4647 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
4648 ch >= 0x81 && ch2 < 0x40 as invalid.
4650 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4652 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
4653 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
4655 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4657 * iconvdata/johab.c (BODY for TO_LOOP): After calling
4658 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
4660 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4662 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
4664 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
4666 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4668 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
4670 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4672 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
4673 (from_ucs4): Change values of U+00A4 and U+00ED.
4674 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
4676 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4678 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
4679 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
4681 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4683 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
4684 * iconvdata/isiri-3342.h: New file.
4685 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
4686 treat 0x80 as a gap.
4688 2000-07-30 Bruno Haible <haible@clisp.cons.org>
4690 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
4691 (utf8_encode): Use simple shifts instead. Fix return value.
4693 2000-07-31 Ulrich Drepper <drepper@redhat.com>
4695 * timezone/private.h: Update from tzcode2000e.
4696 * timezone/asia: Update from tzdata2000e.
4697 * timezone/australasia: Likewise.
4698 * timezone/europe: Likewise.
4699 * timezone/northamerica: Likewise.
4700 * timezone/zone-tab: Likewise.
4702 2000-07-30 Ralf Baechle <ralf@gnu.org>
4704 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
4705 the order of struct sigaltstack members is different.
4707 2000-07-26 Philip Blundell <philb@gnu.org>
4709 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
4711 2000-07-29 Ulrich Drepper <drepper@redhat.com>
4713 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
4714 * locale/programs/ld-ctype.c: Adjust for this.
4716 * locale/programs/ld-collate.c: Add more alignment checks.
4717 * locale/string/strcoll.c: Likewise.
4719 2000-07-30 Mark Kettenis <kettenis@gnu.org>
4721 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
4722 outside USE_IN_LIBIO block.
4724 2000-07-26 Philip Blundell <philb@gnu.org>
4726 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
4727 (elf_machine_rel): Use it for out-of-range PC24 relocs.
4729 2000-07-28 Philip Blundell <philb@gnu.org>
4731 * math/test-fpucw.c: Ignore reserved bits in control word.
4733 2000-07-28 Philip Blundell <philb@gnu.org>
4735 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
4736 (ret): Redefine to PSEUDO_RET.
4737 (PSEUDO): Remove jump to syscall_error.
4739 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4741 * resolv/README: Add some information about using the resolver in
4742 multi-threaded code and with C++. Spelling fixes.
4744 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4746 * resolv/resolv.h (struct __sockaddr_in): Remove.
4747 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
4749 2000-07-29 Greg McGary <greg@mcgary.org>
4751 * Rules (test-bp-inputs, make-test-out): New variables.
4752 ($(objpfx)%-bp.out): New rule.
4753 ($(objpfx)%.out): Rewrite in terms of new variables.
4755 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
4756 internal function that uses vtable.
4757 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4758 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4760 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
4761 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
4762 (chunk_align): Likewise.
4764 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4765 in a way that conforms to decl, and avoids spurious bounds violation.
4767 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4768 * sysdeps/generic/frame.h: Likewise.
4769 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4770 around return value.
4771 (__backtrace): Qualify frame-pointer chain and return address
4772 pointers as __unbounded. Wrap bounds around variable `current'.
4773 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4774 around return value.
4775 (catch_segfault): Qualify frame-pointer chain and return address
4776 pointers as __unbounded. Wrap bounds around variable `current'.
4777 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4778 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4779 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4781 (__backtrace): Qualify frame-pointer chain and return address
4782 pointers as __unbounded. Wrap bounds around variable `current'.
4784 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4785 * sysdeps/i386/mul_1.S: Likewise.
4786 * sysdeps/i386/submul_1.S: Likewise.
4787 * sysdeps/i386/i586/addmul_1.S: Likewise.
4788 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4789 * sysdeps/i386/i586/submul_1.S: Likewise.
4791 2000-07-27 Andreas Jaeger <aj@suse.de>
4793 * libio/Depend: New file, libio needs localedata for tests.
4794 * posix/Depend: Likewise.
4796 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4798 * stdio-common/_i18n_itoa.c: Removed.
4799 * stdio-common/_i18n_itoa.h: Removed.
4800 * stdio-common/_i18n_itowa.c: Removed.
4801 * stdio-common/_i18n_itowa.h: Removed.
4802 * stdio-common/_i18n_number.h: New file.
4803 * stdio-common/Depend: New file.
4804 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4805 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4806 printing. Change printing of numbers with locale specific digits to
4807 use new code in _i18n_number.h.
4808 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4811 * stdio-common/bug13.c: Improve messages.
4813 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4814 (set_class_defaults): Always search also for Uxxxx names.
4815 Detect insufficient number of outdigits.
4817 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4819 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4821 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4822 _NL_CTYPE_MAP_NAMES.
4823 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4824 * wctype/wcfuncs.c (towlower, towupper): Use them.
4825 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4826 * wctype/wctrans.c (wctrans): Likewise.
4827 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4829 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4831 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4832 Use the optimized version of this function outside glibc as well.
4834 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4836 * locale/indigits.h (indigit_value): Correct.
4837 * locale/indigitswc.h (indigitwc_value): Correct.
4838 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4839 conversion, add GROUP checking for it, fix GROUP number
4840 conversion with strlen(thousands) > 1.
4841 Honour width correctly in the presence of floating
4842 decimal points and thousands separators.
4843 * stdio-common/tst-sscanf.c: New test.
4844 * stdio-common/Makefile: Add it to tests.
4845 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4846 thousands separators and group argument is non-zero.
4848 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4850 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4851 starts at GLIBC_2.2.
4853 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4855 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4856 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4858 (headers): Add sys/tas.h.
4859 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4860 GLIBC_2.2 from libc.
4861 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4862 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4865 2000-07-28 Andreas Jaeger <aj@suse.de>
4867 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4869 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4870 ($(objpfx)tst-dladdr.out): new.
4871 (tests): Add tst-dladdr.
4872 ($(objpfx)glrefmain): Use libdl.
4874 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4877 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4879 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4880 ftruncate(64) calls.
4882 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4884 * intl/tst-translit.c: Include string.h to get prototype for
4887 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4889 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4890 name and add weak alias for __fork.
4892 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4893 & pwrite to use __libc_<name> as strong names instead of
4896 * include/sched.h: Add clone2 prototype.
4898 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4900 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4901 procedure name twice.
4903 2000-07-27 Philip Blundell <philb@gnu.org>
4905 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4907 2000-07-27 Andreas Jaeger <aj@suse.de>
4909 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4910 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4911 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4912 Reported by Andi Kleen <ak@suse.de>.
4914 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4915 (do_wait): Test requests with aio_return64.
4916 (do_test): Change callers of do_wait.
4918 2000-07-26 Andreas Jaeger <aj@suse.de>
4920 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4921 (do_wait): Test requests with aio_return.
4922 (do_test): Change callers of do_wait.
4924 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4926 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4927 from request list. Don't do the list handling here, call
4928 __aio_remove_request.
4929 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4930 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4931 request might already be processed. Don't do the list handling
4932 here, call __aio_remove_request.
4934 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4937 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4940 2000-07-27 Greg McGary <greg@mcgary.org>
4942 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4943 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4944 in union init. Pass zero for ignored semnum arg to semctl.
4945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4947 2000-07-26 Greg McGary <greg@mcgary.org>
4949 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4950 data structure pointers as __unbounded.
4951 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4952 * sysdeps/generic/bp-semctl.h: New file.
4953 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4954 pointers as __unbounded. Check bounds of syscall args.
4955 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4956 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4957 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4958 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4959 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4960 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4961 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4962 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4963 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4964 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4965 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4966 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4967 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4968 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4970 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4972 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4974 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4976 * locale/C-ctype.c: Likewise.
4977 * wcsmbs/wcsmbsload.c: Likewise.
4979 2000-07-26 Greg McGary <greg@mcgary.org>
4981 * Makeconfig (+link-bounded, link-libc-bounded,
4982 link-extra-libs-bounded): New variables.
4983 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4984 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4985 * Rules (tests-bp.out): New variable.
4986 (tests): Conditionally add BP tests.
4987 (binaries-bounded): Add variable and associated rule.
4988 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4989 Move conditional stuff after place where condition is defined.
4991 * malloc/malloc.c (bp-checks.h): Add #include.
4992 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4993 (_bin_at): Add unbounded version of bin_at.
4994 (IAV, chunk_alloc): Use unbounded _bin_at.
4995 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4996 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4997 Wrap BOUNDED_N around return value.
4998 (chunk_realloc): Adjust oldsize once.
5000 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
5001 (__ubp_memchr): Add correct decl.
5002 (_CHECK_STRING): Use __ubp_memchr.
5003 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5004 New alias for unbounded-pointer __memchr.
5005 * sysdeps/i386/memchr.S: Likewise.
5006 * sysdeps/ia64/memchr.S: Likewise.
5007 * sysdeps/m68k/memchr.S: Likewise.
5008 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5009 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5010 * sysdeps/vax/memchr.s: Likewise.
5012 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
5013 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
5014 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
5015 * sysdeps/i386/i686/strtok.S: Likewise.
5016 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
5017 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
5019 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
5020 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
5022 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
5023 bounds of copy_result to mount_proc.
5025 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5027 * wctype/wctype.h (__wctrans_l): New declaration.
5028 * wctype/wctrans_l.c: New file.
5029 * wctype/Makefile (routines): Add wctrans_l.
5031 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5033 * posix/fnmatch_loop.c: Fixes for use outside glibc.
5034 Patch by MacGyver <macgyver@tos.net>.
5036 2000-07-26 Andreas Jaeger <aj@suse.de>
5038 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
5039 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
5040 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
5042 * rt/tst-aio.c (test_file): Fix typo.
5043 * rt/tst-aio64.c (test_file): Likewise.
5045 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
5046 * rt/Makefile: Add rules to build and run tst-aio3.
5048 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
5049 it's not needed and confuses only.
5051 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5053 * resolv/res_init.c: Add support for nameserver communication with
5055 * resolv/res_send.c: Likewise.
5056 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
5058 Patch by <venaas@nvg.ntnu.no>.
5060 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5062 * locale/programs/ld-ctype.c (wctype_table_get): New function.
5063 (wcwidth_table_get): New function.
5064 (wcwidth_table_add): Call it.
5065 (wctrans_table_get): New function.
5066 (wctrans_table_add): Call it.
5068 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5070 * rt/lio_listio.c (lio_listio): Always disable individual
5072 * rt/Makefile: Add rules to build and run tst-aio2.
5073 * rt/tst-aio2.c: New file.
5075 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
5076 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
5078 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5080 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
5081 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
5082 leading and trailing spaces from host, user and domain name.
5084 2000-07-25 Jes Sorensen <jes@linuxcare.com>
5086 * csu/defs.awk: Add support for need_endp.
5088 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5090 * resolv/resolv.h: Remove __P from res_send_qhook and
5091 res_send_rhook typedefs.
5093 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5095 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
5097 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5099 * iconv/gconv_builtin.h: Add WCHAR_T alias.
5101 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5103 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
5104 calling thread, set the cancellation flag and return success
5107 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5109 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
5110 * libio/tst-widetext.c: New file.
5111 * libio/tst-widetext.input: New file.
5113 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
5115 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
5116 empty external buffer correctly.
5118 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5120 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
5121 __STRING(entry) and not #entry.
5122 (_RTLD_EPILOGUE): Likewise.
5123 * sysdeps/mips/mips64/dl-machine.h: Likewise.
5125 2000-07-25 Andreas Jaeger <aj@suse.de>
5127 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
5128 according to changes in test program, run also with static only
5130 ($(objpfx)tst-printf.out): Likewise.
5132 * stdio-common/tst-unbputc.sh: Likewise.
5133 * stdio-common/tst-printf.sh: Likewise.
5135 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5137 * libio/wfileops.c (_IO_wdo_write): Correct return value.
5139 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
5142 * libio/fileops.c: Pretty print.
5144 2000-07-23 Bruno Haible <haible@clisp.cons.org>
5146 * wctype/wchar-lookup.h: New file.
5147 * wctype/iswctype.c: Include "wchar-lookup.h".
5148 (__iswctype): Support alternate locale format with 3-level tables.
5149 * wctype/iswctype_l.c (__iswctype_l): Likewise.
5150 * wctype/towctrans.c (__towctrans): Likewise.
5151 * wctype/towctrans_l.c (__towctrans_l): Likewise.
5152 * wctype/wcfuncs.c: Include "wchar-lookup.h".
5153 (__ctype32_wctype, __ctype32_wctrans): Declare external.
5154 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
5155 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
5156 __iswxdigit, towlower, towupper): Support alternate locale format
5157 with 3-level tables.
5158 * wctype/wcextra.c (iswblank): Likewise.
5159 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
5160 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
5161 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
5162 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
5163 format with 3-level tables.
5164 * wctype/wcextra_l.c (__iswblank_l): Likewise.
5165 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
5166 format, return a 3-level table pointer.
5167 * wctype/wctype_l.c (__wctype_l): Likewise.
5168 * wctype/wctrans.c (wctrans): Likewise.
5169 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
5170 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
5171 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
5172 (iswctype): Remove macro definition.
5173 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
5174 (internal_wcwidth): Support alternate locale format with 3-level
5176 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5178 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5179 Define them as being type "word".
5180 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
5181 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
5182 __ctype32_width): New exported variables.
5183 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
5184 alternate locale format. Don't initialize __ctype_names and
5185 __ctype_width in the alternate locale format.
5186 * locale/programs/localedef.h (oldstyle_tables): New declaration.
5187 * locale/programs/localedef.c (oldstyle_tables): New variable.
5188 (OPT_OLDSTYLE): New macro.
5189 (options): Add --old-style option.
5190 (parse_opt): Handle --old-style option.
5191 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
5192 map_offset, class_3level, map_3level, width_3level members.
5193 (ctype_output): Support for alternate locale format: Computation of
5194 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
5195 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
5196 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
5197 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
5198 now contain both class and map tables.
5199 (struct wctype_table): New type.
5200 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
5202 (struct wcwidth_table): New type.
5203 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
5205 (struct wctrans_table): New type.
5206 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
5208 (allocate_arrays): Support for alternate locale format: Set
5209 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
5210 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
5211 to the first 256 characters. Compute ctype->map_3level. Set
5212 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
5213 instead of ctype->width.
5215 2000-07-24 Ulrich Drepper <drepper@redhat.com>
5217 * libio/iogetwline.c (_IO_getwline_info): Use wide character
5220 2000-07-24 Jakub Jelinek <jakub@redhat.com>
5222 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
5223 in wide characters, not bytes.
5224 * libio/tst_putwc.c (do_test): Add test for writing lots of data
5227 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5229 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
5230 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
5231 LC_MEASUREMENT, LC_IDENTIFICATION.
5233 * locale/xlocale.h (struct __locale_struct): Increase size of
5235 * locale/duplocale.c (__duplocale): Copy newly added categories as
5237 * locale/freelocale.c (__freelocale): Free newly added categories.
5238 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
5239 If a base is given, use it, don't simply return it.
5241 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5243 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
5244 variables, copied_key and copied_salt, instead of boolean variables.
5246 2000-07-24 Andreas Jaeger <aj@suse.de>
5248 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
5251 * grp/initgroups.c (initgroups_dyn_function): Renamed from
5252 initgroups_function, adopted prototype for change from 2000-07-23.
5253 (initgroups): Follow type change.
5255 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
5256 & PAGE_MASK case, reformat.
5258 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
5259 from stdin and setup environment.
5261 2000-07-24 Andreas Schwab <schwab@suse.de>
5263 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
5265 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5267 * string/endian.h: Explain the _*_ENDIAN constant values a bit
5268 more. Patch by scarlet@mit.edu [PR libc/1799].
5270 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
5273 * argp/argp-parse.c (parser_finalize): Reverse order in which
5274 parsers are run for ARGP_KEY_END. [PR libc/1755].
5276 * grp/initgroups.c (initgroups): Don't limit the possible number
5277 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
5278 the setgroups call while the call fails and descrease the number
5279 of groups each round.
5280 The name of the initgroups function in the NSS modules changed.
5281 (compat_call): Adapt for dynamic resizing.
5282 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5283 Implement dynamic resizing.
5284 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5286 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
5287 * hesiod/Versions: Change exported interface name.
5288 * nis/Versions: Change exported interface name.
5290 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5292 * locale/iso-639.def: Some errors corrected.
5293 Patch by Keld Simonsen.
5295 * include/limits.h: Update non-gcc portion.
5296 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5298 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5300 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
5301 program's data space, reallocate only the space that was just
5302 deallocated to release its backing space.
5304 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5306 * stdio-common/vfprintf.c (process_string_arg): For wide character
5307 version, handle precision also correctly.
5309 * nss/nss_files/files-hosts.c: Correct problem with three or more
5310 entries with the same name.
5312 * nss/nss_files/files-hosts.c: Implement multi handling.
5313 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
5315 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5317 * nss/nss_files/files-parse.c: Don't pollute namespace by using
5320 * grp/Makefile: Change Makefiles and tests to run only when necessary.
5321 * malloc/Makefile: Likewise.
5322 * malloc/tst-mtrace.sh: Likewise.
5323 * posix/Makefile: Likewise.
5324 * posix/globtest.sh: Likewise.
5325 * posix/wordexp-tst.sh: Likewise.
5326 * string/Makefile: Likewise.
5328 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5330 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
5331 size instead of LC_ALL to take into account the new locale
5334 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5336 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
5337 remainders of hash table.
5338 * locale/categories.def: Remove remainders of transliteration
5340 * locale/langinfo.h: Likewise.
5341 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
5342 transliteration tables.
5344 * locale/gen-translit.pl: New file.
5345 * locale/C-translit.h.in: New file.
5346 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
5347 data pointers with data from this file.
5348 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
5349 and gen-translit.pl.
5350 Add rule to generate C-translit.h.
5351 * intl/tst-translit.c (main): Update for now performed
5354 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
5355 (it's no input error).
5356 * stdio-common/tstscanf.c: Add test case for format %f with input --.
5357 * stdio-common/scanf12.c: Correct expected result for first scanf.
5359 * stdio-common/vfprintf.c (process_string_arg): Correct handling
5360 of multibyte character strings in %s format with precision.
5362 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5364 * locale/programs/ld-collate.c (collate_read): Allow collating
5365 symbols and elements be named in reorder-after instructions.
5366 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5368 * locale/programs/ld-collate.c (handle_ellipsis): Test for
5369 duplication with generated name, not the name of the first
5371 Patch by Yong Li <yong.li@asu.edu>.
5373 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
5374 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5376 2000-07-21 Wolfram Gloger <wg@malloc.de>
5378 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
5379 allocations only if a non-main arena cannot be extended.
5381 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5383 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
5384 in DF_1_NODEFLIB handling.
5386 2000-07-21 Andreas Jaeger <aj@suse.de>
5388 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
5391 * libio/fwide.c: Include <wchar.h> for prototype.
5393 2000-07-21 Greg McGary <greg@mcgary.org>
5395 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
5396 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
5397 Define in terms of chunk_at_offset.
5398 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
5399 (next_bin, prev_bin): offset by size of real array elements.
5400 (chunk_align): Make `m' a scalar, since that's how it's used.
5402 2000-07-21 Greg McGary <greg@mcgary.org>
5404 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
5406 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
5407 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
5408 Wrap bounds around argv & envp and each of their string members.
5409 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
5410 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
5411 symbol in BP_SYM (). Discard bounds of address arg.
5412 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
5413 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
5414 Discard bounds on address arg, add bounds to return value.
5416 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5418 * elf/Makefile (tests): Add filter. Add rules to generate filter.
5419 * elf/filter.c: New file.
5420 * elf/filtmod1.c: New file.
5421 * elf/filtmod2.c: New file.
5423 * elf/rtld.c: Define _dl_bind_not variable.
5424 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
5425 * elf/dl-support.c: Likewise.
5426 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
5427 * elf/dl-runtime.c (fixup): Don't remember looked up value if
5429 (profile_fixup): Likewise.
5431 * libio/Makefile (routines): Add fwide.
5432 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
5433 fwide now. Internal calls to _IO_fwide must do locking themselves
5434 or don't need locking.
5435 * libio/fwide.c: New file.
5437 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
5439 * elf/Makefile: Add no modules for nodelete test.
5440 * elf/nodelmod3.c: New file.
5441 * elf/nodelmod4.c: New file.
5442 * elf/nodelete.c: Also test case where dependency of dlopen() object
5445 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
5446 * elf/nodlopen.c: New file.
5447 * elf/nodlopenmod.c: New file.
5448 * include/dlfcn.h: Define __RTLD_DLOPEN.
5449 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
5450 and this is a dlopen() call, do not load the binary.
5451 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
5452 * dlfcn/dlopenold.c: Likewise.
5453 * configure.in: Add test for -z nodelete option.
5454 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5456 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5458 Make Hesiod NSS module thread-safe.
5460 * hesiod/README.hesiod: Update.
5462 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
5463 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
5464 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
5465 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
5467 * hesiod/nss_hesiod/hesiod-init.c: New file.
5468 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
5469 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
5470 * hesiod/nss_hesiod/nss_hesiod.h: New file.
5471 * hesiod/nss_hesiod/hesiod-service.c
5472 (_nss_hesiod_getservbyport_r): New function. Provide support for
5473 looking up services by port number.
5474 * hesiod/nss_hesiod/hesiod-proto.c: New file.
5476 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
5477 * hesiod/hesiod.h: Likewise.
5478 * hesiod/hesiod_p.h: Likewise.
5480 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5482 Fix problems with `struct __res_state' getting too big.
5483 * resolv/resolv.h (struct __sockaddr_in): New definition.
5484 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
5485 the private parts of the structure to save some space.
5486 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5487 (struct sockaddr_in *) in call to sock_eq.
5488 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5490 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5492 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5493 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5495 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5496 to _dl_map_object. Return immediately if no object loaded.
5497 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5498 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5499 if it exists into l_flags_1 word.
5500 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5501 it to determine whether loading is wanted or not.
5502 (_dl_map_object): Likewise.
5503 Call _dl_map_object_from_fd with new parameter.
5504 * sysdeps/generic/ldsodefs.h: Update prototype.
5505 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5506 * elf/rtld.c: Likewise.
5507 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5508 * elf/Makefile (tests): Add noload. Add rules to generate noload.
5509 * elf/noload.c: New file.
5510 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5511 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5512 * sysdeps/mips/bits/dlfcn.h: Likewise.
5513 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5514 (tests-nodelete-yes): Define.
5515 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5516 Add rules to build nodelete and modules.
5517 * elf/nodelete.c: New file.
5518 * elf/nodelmod1.c: New file.
5519 * elf/nodelmod2.c: New file.
5520 * configure.in: Add test for -z nodelete option.
5521 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5523 * libio/Makefile (tests): Add tst_wprintf2.
5524 (tst_wprintf2-ARGS): Define.
5525 * libio/tst_wprintf2.c: New file.
5526 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5528 * libio/wfiledoalloc.c: Only allocate external buffer if this
5529 hasn't happened yet.
5531 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5532 something in the buffer. gconv call can write up to end of the
5533 buffer, not only _IO_write_end.
5534 (_IO_wfile_overflow): Allocate also external buffer.
5536 2000-07-19 Ulrich Drepper <drepper@redhat.com>
5538 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5539 strings with precision in vfwprintf correctly.
5540 * stdio-common/vfprintf.c: Fix completely broken handling of
5541 unbuffered wide character streams.
5542 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5544 * resolv/Makefile (distribute): Add README.
5546 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
5548 2000-07-18 Mark Kettenis <kettenis@gnu.org>
5550 Update resolver code to BIND 8.2.3-T5B.
5552 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5554 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5555 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5557 * resolv/Banner: BIND-8.2.3-T5B.
5559 * resolv/base64.c: Update from BIND 8.2.3-T5B.
5560 * resolv/herror.c: Likewise.
5561 * resolv/inet_addr.c: Likewise.
5562 * resolv/inet_net_ntop.c: Likewise.
5563 * resolv/inet_net_pton.c: Likewise.
5564 * resolv/inet_neta.c: Likewise.
5565 * resolv/inet_ntop.c: Likewise.
5566 * resolv/nsap_addr.c: Likewise.
5567 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
5568 IPv6 addresses (ISC bug #520).
5570 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5571 * resolv/ns_parse.c: Likewise.
5572 * resolv/ns_netint.c: Likewise.
5573 * resolv/ns_samedomain.c: Likewise.
5574 * resolv/ns_ttl.c: Likewise.
5575 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
5576 RCS ID in object file.
5578 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5579 * resolv/res_mkquery.c: Likewise.
5580 * resolv/res_query.c: Likewise.
5581 * resolv/res_init.c: Likewise.
5582 (res_setoptions): Mark internal.
5583 * resolv/res_send.c: Likewise.
5584 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5585 by using poll instead.
5586 * resolv/res_comp.c: Likewise.
5587 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5588 weak alias for __dn_expand.
5589 * resolv/res_data.c: Likewise.
5590 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
5591 in _res.options. Avoids a potential security risk by avoiding a
5593 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
5594 res_mkquery, res_query, res_querydomain adn res_search weak
5595 aliases for __res_mkquery, __res_query, __res_querydomain and
5597 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
5598 instead to avoid close(0).
5599 (res_init): Always use the static resolver context.
5600 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
5601 alias for __res_init.
5603 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
5604 RES_SET_H_ERRNO and accompanying comment to...
5605 * include/resolv.h: ... here.
5607 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
5608 * resolv/arpa/nameser_compat.h: Likewise.
5610 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5612 * nss/makedb.c (main): Compare result of load_db with
5613 NSS_STATUS_SUCCESS and not 0.
5614 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
5616 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
5618 2000-07-18 Greg McGary <greg@mcgary.org>
5620 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
5621 (EXTEND_BUFFER): Use it.
5623 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5625 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
5626 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
5627 __builtin_return_address.
5628 * dlfcn/dlopenold.c: Likewise.
5629 * dlfcn/dlsym.c: Likewise.
5630 * dlfcn/dlvsym.c: Likewise.
5631 * elf/dl-profstub.c: Likewise.
5632 * malloc/malloc.c: Likewise.
5633 * sysdeps/generic/machine-gmon.h: Likewise.
5634 Based on a patch by schwidefsky@de.ibm.com.
5636 2000-07-18 Andreas Jaeger <aj@suse.de>
5638 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
5639 NULL to elf_machine_fixup_plt t argument to silence GCC.
5641 * include/string.h: Add prototype for __memchr.
5643 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
5645 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
5648 2000-07-18 Ulrich Drepper <drepper@redhat.com>
5650 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
5652 * locale/C-ctype.c: Add initializers for gap elements.
5653 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
5656 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5658 * nscd/nscd.c (print_version): Update copyright year.
5660 2000-07-17 Greg McGary <greg@mcgary.org>
5662 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5663 keyletters F, I, S, W. Remove unused keyletter V. Surround
5664 signature argnames with angle-brackets for use as word delimiters,
5665 and to induce syntax errors for any args not handled. Split
5666 multi-echo echoes and comment each stage.
5667 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
5668 * sysdeps/unix/inet/syscalls.list: Likewise.
5669 * sysdeps/unix/mman/syscalls.list: Likewise.
5670 * sysdeps/unix/syscalls.list: Likewise.
5671 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5672 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5673 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5674 * sysdeps/unix/sysv/syscalls.list: Likewise.
5675 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
5677 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
5678 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
5679 qualifiers. Don't check NULL-terminator of argv & envp.
5680 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
5681 unbounded pointer type in word-size assertion.
5682 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
5683 cases to stifle warnings.
5685 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
5687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5689 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
5690 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
5693 * Makerules (o-objects): Supplement with $(o-objects$o).
5694 * string/Makefile (o-objects.ob): Add variable to pull
5695 unbounded versions of memcpy, memset and memchr into libc_b.
5697 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
5698 rather than non-existent __ubp_memchr.
5699 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
5700 (_CHECK_STRING, _CHECK_N): New macros.
5701 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
5702 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
5703 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
5704 Add weak alias "memchr".
5705 * sysdeps/generic/memchr.c: Likewise.
5706 * sysdeps/i386/memchr.S: Likewise.
5707 * sysdeps/ia64/memchr.S: Likewise.
5708 * sysdeps/m68k/memchr.S: Likewise.
5709 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5710 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5711 * sysdeps/vax/memchr.s: Likewise.
5713 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
5715 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
5716 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
5717 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
5718 __BOUNDED_POINTERS__.
5719 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
5720 for __BOUNDED_POINTERS__.
5722 2000-07-17 Bruno Haible <haible@clisp.cons.org>
5724 * iconv/gconv_open.c (__gconv_open): Initialize the __data
5725 field of struct __gconv_trans_data differently. Don't pass NULL to
5726 trans_init_fct. Simplify list append operation.
5728 2000-07-14 Bruno Haible <haible@clisp.cons.org>
5730 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
5731 not only those having tsearch.
5733 2000-07-17 Ulrich Drepper <drepper@redhat.com>
5735 * locale/langinfo.h: Add placeholder values in enum for removed
5738 2000-07-17 Jakub Jelinek <jakub@redhat.com>
5740 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
5741 chain if the PHDR check fails.
5743 2000-07-17 Mark Kettenis <kettenis@gnu.org>
5745 * nss/getent.c (print_hosts): Make sure we always print a space
5746 between numeric addresses and hostnames.
5748 2000-07-17 Wolfram Gloger <wg@malloc.de>
5750 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
5751 i.e. if n_mmaps_max>0.
5753 2000-07-16 Mark Kettenis <kettenis@gnu.org>
5755 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
5756 values to remove possible clash with other AI_* constants.
5757 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
5758 hexadecimal constants to stress the fact they're in fact
5761 2000-07-15 Mark Kettenis <kettenis@gnu.org>
5763 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5764 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5765 instead of res_init.
5767 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5769 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5770 parameters of memset calls to avoid warnings.
5772 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5774 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5777 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5778 Patch by Greg McGary <greg@mcgary.org>.
5780 * io/Makefile (tests): Add tst-getcwd.
5781 * io/tst-getcwd.c: New file.
5783 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5785 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5787 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5790 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5792 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5793 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5795 2000-07-12 H.J. Lu <hjl@gnu.org>
5797 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5799 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5800 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5801 (sysdep-routines): Add clone2.
5802 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5804 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5806 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5807 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5809 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5811 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5812 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5813 Change type of si_band from "int" to "long".
5814 (si_imm) [USE_GNU]: Define
5815 (si_isr) [USE_GNU]: Likewise.
5816 (ILL_BREAK) [USE_GNU]: Likewise.
5817 (FPE_DECOVF) [USE_GNU]: Likewise.
5818 (FPE_DECDIV) [USE_GNU]: Likewise.
5819 (FPE_DECERR) [USE_GNU]: Likewise.
5820 (FPE_INVASC) [USE_GNU]: Likewise.
5821 (FPE_INVDEC) [USE_GNU]: Likewise.
5822 (TRAP_BRANCH) [USE_GNU]: Likewise.
5823 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5825 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5827 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5828 bits/sigcontext as struct mcontext does not depend on it.
5830 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5832 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5834 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5836 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5838 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5840 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5842 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5844 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5846 * intl/Makefile (test-srcs): Add tst-translit.
5848 Add rules to build and run tst-translit.
5849 * intl/tst-translit.c: New file.
5850 * intl/tst-translit.sh: New file.
5851 * intl/translit.po: New file.
5853 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5855 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5856 transliteration function did its job, continue, don't stop.
5858 * iconvdata/iso646.c: Little optimizations in body for conversion
5861 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5863 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5865 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5867 * configure.in: Check for pwd binary.
5868 * config.make.in: Add PWD_P to be subsituted.
5869 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5871 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5873 * iconvdata/Makefile (modules): Add GB18030.
5874 (distribute): Add gb18030.c.
5875 * iconvdata/gconv-modules: Add entries for GB18030 module.
5876 * iconvdata/gb18030.c: New file.
5877 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5880 2000-07-13 Andreas Jaeger <aj@suse.de>
5882 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5885 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5886 * inet/getnetgrent.c (free_mem): Likewise.
5887 * misc/mntent.c (free_mem): Likewise.
5888 * nss/getXXbyYY.c (free_mem): Likewise.
5889 * nss/getXXent.c (free_mem): Likewise.
5890 * pwd/fgetpwent.c (free_mem): Likewise.
5891 * shadow/fgetspent.c (free_mem): Likewise.
5893 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5895 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5896 64-bit architecture correctly [PR libc/1794].
5898 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5900 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5901 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5902 report that we are out of memory.
5903 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5904 * elf/dl-libc.c (dlerror_run): Likewise.
5905 * elf/dl-open.c (_dl_open): Likewise.
5906 * elf/rtld.c (dl_main): Likewise.
5907 * elf/dl-error.c: Define _dl_out_of_memory.
5908 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5910 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5913 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5915 * iconv/loop.c: Fix comment.
5917 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5919 2000-07-13 Andreas Jaeger <aj@suse.de>
5921 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5922 getcwd (NULL, size) with size > 0.
5923 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5925 2000-07-13 Andreas Jaeger <aj@suse.de>
5927 * posix/Makefile: Remove build rules for libposix.
5929 2000-07-13 Andreas Schwab <schwab@suse.de>
5931 * sysdeps/generic/glob.c (glob): Fix memory leak.
5932 [SHELL]: Remove reference to undefined variable `files'.
5935 2000-07-13 Andreas Jaeger <aj@suse.de>
5937 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5940 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5941 memory if it was allocated.
5943 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5945 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5948 * iconv/gconv_open.c (__gconv_open): Reapply
5949 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5951 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5953 * iconv/gconv_open.c: Undo last two changes for now. They break
5956 2000-07-12 Andreas Jaeger <aj@suse.de>
5958 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5960 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5961 (CFLAGS-dl-cache.c): Likewise.
5962 (CFLAGS-ldconfig.c): Added, passes directory locations.
5964 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5966 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5967 (main): Use configured LIBDIR and SLIBDIR.
5969 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5971 * math/bits/cmathcalls.h (cimag): Add __THROW.
5972 (creal, conj): Likewise.
5973 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5976 2000-07-12 H.J. Lu <hjl@gnu.org>
5978 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5979 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5981 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5983 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5986 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5988 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5990 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5992 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5995 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5997 * iconv/gconv_open.c (__gconv_open): Initialize
5998 result->__steps[cnt].__data.
6000 2000-07-12 Mark Kettenis <kettenis@gnu.org>
6002 * nss/getent.c (services_keys): Pass port number in network byte
6003 order in call to getservbyport.
6005 2000-07-11 Andreas Jaeger <aj@suse.de>
6007 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
6009 * intl/Makefile (do-gettext-test): Likewise.
6010 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
6012 2000-07-11 Andreas Schwab <schwab@suse.de>
6014 * Makeconfig (run-program-prefix): New rule.
6015 (built-program-cmd): Use run-program-prefix.
6017 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6019 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
6020 and NOEXPR unconditionally available.
6022 2000-07-12 Greg McGary <greg@mcgary.org>
6024 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
6025 * sysdeps/posix/open64.c: Likewise.
6026 * sysdeps/generic/fegetenv.c: Likewise.
6027 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
6028 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6029 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6030 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
6031 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
6032 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
6034 2000-07-11 Greg McGary <greg@mcgary.org>
6036 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
6037 Add extra level of macro expansion.
6038 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
6039 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
6040 is available at the time `select' prototype is declared.
6041 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
6042 Collect non-versioned weak aliases. Consider only non-versioned
6043 aliases for the user-visible systemcall name. Do checks inline with
6044 call to primitive system call.
6045 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
6046 stand-alone bounds checks to suppress unused value warnings.
6047 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6049 2000-07-10 Mark Kettenis <kettenis@gnu.org>
6051 * sysdeps/mach/hurd/check_fds.c: New file. Implements
6052 file descriptor checking in SUID programs for the Hurd.
6054 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
6055 res_hostalias instead of __hostalias for thread-safety.
6057 2000-07-09 Mark Kettenis <kettenis@gnu.org>
6059 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
6060 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
6062 2000-07-10 Ulrich Drepper <drepper@redhat.com>
6064 * include/features.h: Include ISO C99 features if the compiler used
6065 is an ISO C99 compiler.
6066 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6068 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6070 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
6072 2000-07-10 Andreas Jaeger <aj@suse.de>
6074 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
6075 it's overridden by libpthreads.
6076 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6077 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6078 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6079 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6080 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6082 * malloc/Makefile: Run tst-mtrace only with shared libs.
6084 * stdio-common/Makefile: Run unbputc and tst-printf tests only
6087 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6089 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
6090 that gpreg really points to the GOT section of the calling object.
6091 Scan all PT_LOAD segments of objects for stub_pc, instead of only
6092 checking a start address of first one.
6094 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
6097 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
6099 2000-07-10 Andreas Jaeger <aj@suse.de>
6101 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
6102 (string_alias->strong_alias).
6104 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6106 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
6108 2000-07-07 Greg McGary <greg@mcgary.org>
6110 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
6111 have no names without leading underscores.
6113 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6115 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
6118 * stdio-common/Makefile (tests): Remove tst-printf here...
6119 (tests-srcs): ...and add it here.
6120 (distribute): Add tst-unbputc.sh and tst-printf.sh.
6121 Add rules to run tst-printf.sh.
6122 * stdio-common/tst-printf.c: Move code around so that there is really
6123 no further output where it's stated.
6124 * stdio-common/tst-printf.sh: New file.
6126 2000-07-07 Mark Kettenis <kettenis@gnu.org>
6128 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
6129 (do_write): Renamed from pwrite.
6130 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
6131 `struct _IO_cookie_file'.
6133 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6135 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
6137 * malloc/tst-mtrace.sh: Run mtrace script.
6139 2000-07-07 Greg McGary <greg@mcgary.org>
6141 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
6142 Move all three components of a bounded pointer.
6144 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6146 * locale/programs/locale.c (write_locales): Don't simply add all
6147 directories found in the subdir, test whether at least the
6148 LC_CTYPE file is in there.
6150 2000-07-06 Ulrich Drepper <drepper@redhat.com>
6152 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
6153 * iconvdata/euc-kr.c: Likewise.
6155 * stdio-common/vfprintf.c (process_string_arg): Check result of
6156 wcrtomb call and bail out if it failed.
6158 * malloc/Makefile (test-srcs): Add tst-mtrace.
6159 (distribute): Add tst-mtrace.sh.
6160 Add rule to run tst-mtrace.sh.
6161 * malloc/tst-mtrace.c: New file.
6162 * malloc/tst-mtrace.sh: New file.
6164 * include/signal.h: Declare __libc_sigaction.
6165 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
6166 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
6167 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6168 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6169 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6170 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6173 * configure.in: Fix CFLAGS-memprofstat.c definition after
6175 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
6177 2000-07-06 Jakub Jelinek <jakub@redhat.com>
6179 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
6180 instead of NULL to elf_machine_fixup_plt t argument.
6181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6182 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
6185 2000-07-06 Andreas Jaeger <aj@suse.de>
6187 * crypt/Makefile (LDLIBS-cert): Removed.
6188 (LDLIBS-md5c-test): Removed.
6189 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
6190 ($(objpfx)md5c-test): Likewise for md5c-test.out.
6192 2000-07-06 Andreas Jaeger <aj@suse.de>
6194 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
6195 of the proc system is "proc".
6197 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
6198 thread library for static programs.
6200 2000-07-06 Greg McGary <greg@mcgary.org>
6202 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
6204 * sysdeps/generic/strcpy.c: Add bounds checks.
6205 * sysdeps/unix/fxstat.c: Likewise.
6206 * sysdeps/unix/xstat.c: Likewise.
6207 * sysdeps/unix/common/lxstat.c: Likewise.
6208 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6209 * sysdeps/unix/sysv/linux/execve.c: Likewise.
6210 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
6211 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
6212 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6213 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6214 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
6215 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6216 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6217 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6218 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6219 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6220 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6221 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6222 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6223 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6224 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6225 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6226 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6227 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
6228 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6229 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6230 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6231 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6232 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6233 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
6234 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6235 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
6236 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6237 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6238 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6239 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6240 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6241 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6242 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6243 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6244 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6245 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6246 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6247 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6248 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6249 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6250 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6251 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6252 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
6253 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
6254 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6255 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
6256 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
6257 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
6258 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
6259 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
6260 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6261 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6262 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6263 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6264 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6265 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
6266 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
6271 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
6273 * string/endian.h (__LONG_LONG_PAIR): New macro.
6274 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
6275 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6276 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6277 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6278 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6279 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6280 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6281 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6282 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6283 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6284 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6285 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6287 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
6289 2000-07-06 Andreas Jaeger <aj@suse.de>
6291 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
6294 * math/test-fpucw.c: Include <stdio.h> for printf.
6296 2000-07-05 Greg McGary <greg@mcgary.org>
6298 * sysdeps/generic/bp-checks.h: New file.
6299 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
6300 with list of #include files.
6301 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6302 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
6303 Don't generate BP thunk if `V' appears in signature.
6304 Generate thunks with complete bounds checks.
6305 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
6306 * sysdeps/unix/inet/syscalls.list: Likewise.
6307 * sysdeps/unix/mman/syscalls.list: Likewise.
6308 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6309 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6310 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6311 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
6313 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6315 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
6316 result. Search first in /etc/mtab (proc/mounts would be stupid).
6317 If mount not in the file fall back on /proc.
6319 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
6320 string got copied in.
6321 Patch by Solar Designer <solar@false.com>.
6323 2000-07-05 Andreas Jaeger <aj@suse.de>
6325 * manual/install.texi (Installation): Update information about
6327 (Configuring and compiling): Update for glibc 2.2.
6329 2000-07-04 Andreas Jaeger <aj@suse.de>
6331 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
6332 (_FPU_IEEE): Likewise.
6334 * math/Makefile (tests): Add test-fpucw.
6336 * math/test-fpucw.c (main): New file.
6338 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6340 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
6342 * locale/programs/ld-collate.c (collate_output): Also write out the
6343 collation sequence values and the wide character string for the
6344 collation symbol table.
6346 * posix/fnmatch.c: Include "../locale/elem-hash.h".
6347 * posix/fnmatch_loop.c: Implement collating symbol handling.
6348 * posix/tst-fnmatch.input: Add more tests, especially for collating
6351 * posix/regex.c: Fix comment.
6353 2000-07-05 Andreas Jaeger <aj@suse.de>
6355 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
6356 (_FPU_GETCW): Remove extra colon.
6357 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6359 * posix/fnmatch_loop.c (FCT): Only declare len if
6360 !WIDE_CHAR_VERSION to silence GCC.
6362 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
6364 * sysdeps/generic/strchrnul.c: Likewise.
6365 * sysdeps/generic/strlen.c: Likewise.
6366 * sysdeps/generic/strchr.c: Likewise.
6367 * sysdeps/generic/memchr.c: Likewise.
6369 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6371 * posix/fnmatch_loop.c: Implement equivalence class handling.
6372 * posix/tst-fnmatch.input: Add tests for equivalence class
6375 * posix/fnmatch_loop.c: Improve performance for single-byte
6376 character sets by not using btowc.
6378 * posix/tst-fnmatch.input: Add tests for locale dependent
6380 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
6382 * posix/tst-fnmatch.input: Add more test cases.
6384 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
6385 are not aligned to alignof(md5_uint32) do it before calling
6386 __md5_process_bytes.
6387 * crypt/md5.c: Make sure buffers are aligned.
6388 * crypt/md5.h: Likewise.
6389 Reported by Solar Designer <solar@false.com>.
6391 * crypt/Makefile: Add dependencies for test programs.
6393 * Rules: Define LC_ALL=C in environments of all programs we run.
6395 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
6397 2000-07-03 H.J. Lu <hjl@gnu.org>
6399 * locale/programs/ld-ctype.c (ctype_output): The size of iov
6400 is 2 + elem + offset, not 2 + elem + offset + 2.
6402 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6404 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
6406 * posix/Makefile (tests): Add tst-fnmatch.
6407 (tst-fnmatch-ENV): Define.
6408 * posix/tst-fnmatch.c: New file.
6409 * posix/tst-fnmatch.sh: New file.
6411 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
6413 * locale/programs/charmap.c (charmap_read): Prepend
6414 the condition filename == NULL.
6416 2000-07-03 Greg McGary <greg@mcgary.org>
6418 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
6420 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
6421 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
6423 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
6424 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
6425 (FILEBUF_LITERAL): Add cast for CHAIN init.
6426 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
6427 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6428 Revert type of `fp' to _IO_FILE*.
6429 (_IO_iter_file): Remove cast.
6430 (_IO_iter_next): Elide intermediate member reference.
6432 * sysdeps/powerpc/strchr.S: Check bounds.
6433 Wrap extern symbols in BP_SYM ().
6435 2000-07-03 Andreas Jaeger <aj@suse.de>
6437 * dlfcn/Makefile (generated): New.
6439 2000-07-03 Ulrich Drepper <drepper@redhat.com>
6441 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
6442 (__uflow): Likewise.
6443 (__underflow): Likewise.
6444 * libio/wgenops.c (__wunderflow): Likewise.
6445 * stdio-common/tst-unbputc.c: New file.
6446 * stdio-common/tst-unbputc.sh: New file.
6447 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
6449 * po/en_GB.po: New file.
6450 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
6452 2000-07-01 Andreas Jaeger <aj@suse.de>
6454 * intl/Makefile (generated-dirs): New.
6456 * elf/Makefile (generated): trusted-dirs.h is always generated,
6457 move out of build-shared condition.
6458 (generated): Merge the two entries for build-shared.
6460 2000-07-01 Ulrich Drepper <drepper@redhat.com>
6462 * debug/Makefile (distribute): Add xtrace.sh.
6464 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6466 * version.h (VERSION): Bump to 2.1.91.
6468 * configure.in: Update warning comment. glibc should not be
6471 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
6472 ioperm.c, sys/procfs.h, and sys/io.h.
6474 * sysdeps/powerpc/Dist: Add bp-asm.h.
6476 * assert/Depend: Add localedata.
6477 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
6478 (test-assert-perr-ENV): New. Define LANGUAGE=C.
6480 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
6481 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
6482 relocation address to prevent unaligned trap.
6483 Suggested by Richard Henderson <rth@cygnus.com>.
6485 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6487 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6488 if redirecting and either redirection is done using defines or
6491 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6493 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6494 generated expressions.
6495 Patch by Darren McClelland <dmcclell@zetec.com>.
6497 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6498 since zic uses setlocale and gettext but we cannot make it use the
6499 new locale data since zic calls a shell which might not use the
6502 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6503 handling the internation currency symbol. POSIX says that the
6504 fourth character is used to separate the currency symbol from the
6505 value. Therefore it does not have to be printed. But we cannot
6506 remove the space if the currency symbol is printed before the
6507 number since this is what many locales expect.
6509 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6510 whether this information is available.
6512 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6513 buffers in case the translation is too large. Remember allocated
6514 memory blocks in a list.
6515 (free_mem): Free memory for translations.
6517 * intl/tst-gettext.c: Use correct locale. Improve error messages.
6519 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6520 information is available set the string length to zero.
6522 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6524 2000-06-30 Greg McGary <greg@mcgary.org>
6526 * sysdeps/powerpc/bp-asm.h: New file.
6527 * sysdeps/powerpc/__longjmp.S: Check bounds.
6528 Wrap extern symbols in BP_SYM ().
6529 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6530 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6531 * sysdeps/powerpc/setjmp.S: Likewise.
6532 * sysdeps/powerpc/add_n.S: Likewise.
6533 * sysdeps/powerpc/addmul_1.S: Likewise.
6534 * sysdeps/powerpc/lshift.S: Likewise.
6535 * sysdeps/powerpc/rshift.S: Likewise.
6536 * sysdeps/powerpc/mul_1.S: Likewise.
6537 * sysdeps/powerpc/sub_n.S: Likewise.
6538 * sysdeps/powerpc/submul_1.S: Likewise.
6539 * sysdeps/powerpc/strlen.S: Likewise.
6540 * sysdeps/powerpc/memset.S: Likewise.
6541 * sysdeps/powerpc/stpcpy.S: Likewise.
6542 * sysdeps/powerpc/strcmp.S: Likewise.
6543 * sysdeps/powerpc/strcpy.S: Likewise.
6544 * sysdeps/powerpc/elf/bzero.S: Likewise.
6546 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6547 Line up operands column with tabs.
6549 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6551 * elf/Makefile (LDFLAGS-origtest): Actually add it.
6553 * sysdeps/ia64/htonl.S: New file.
6554 * sysdeps/ia64/htons.S: New file.
6555 * sysdeps/ia64/memcpy.S: Replace with version which does not use
6556 floating point registers.
6557 Patches by Dan Pop <Dan.Pop@cern.ch>.
6559 2000-06-30 Andreas Jaeger <aj@suse.de>
6561 * posix/Makefile (tests): tst-exec and tst-spawn only work with
6564 * io/Makefile (CFLAGS-test-lfs.c): New.
6565 (tests): Add test-lfs.
6567 * io/test-lfs.c: New file.
6569 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6571 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6574 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
6576 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6578 2000-06-29 Jes Sorensen <jes@linuxcare.com>
6580 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6581 alias to the fstatfs call.
6583 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6584 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6586 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6587 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6589 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
6590 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
6591 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
6592 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
6594 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
6595 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
6597 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
6598 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
6600 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
6601 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
6603 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
6605 2000-06-29 Andreas Jaeger <aj@suse.de>
6607 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
6609 (print_err_message): Likewise.
6610 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6612 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6614 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
6615 used as words is properly aligned.
6617 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
6620 2000-06-29 Greg McGary <greg@mcgary.org>
6622 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
6623 * sysdeps/unix/make-syscalls.sh: Handle signatures of
6624 length 7..9, just in case...
6625 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
6627 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
6628 (POP_ERRNO_LOCATION_RETURN): Fold insns.
6629 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
6630 (PUSH_SIGNAL_MASK): New macro.
6631 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
6632 LEAVE is unnecessary. Check bounds of jmp_buf.
6633 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
6634 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
6635 immediately before tail-call.
6636 * sysdeps/i386/setjmp.S: Likewise.
6637 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6638 * sysdeps/i386/bsd-setjmp.S: Likewise.
6640 2000-06-29 Jakub Jelinek <jakub@redhat.com>
6642 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
6644 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
6645 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
6646 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
6647 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6648 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
6649 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
6651 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
6653 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6655 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
6656 we later need to calling free().
6657 Patch by Matt Wilson <msw@redhat.com>.
6659 * stdio-common/tst-printf.c: Add test for above problem.
6661 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
6663 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
6664 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
6666 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6668 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
6669 prototype for abs().
6670 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
6672 2000-06-23 Andreas Jaeger <aj@suse.de>
6674 * config.h.in: Don't use regparm with bounded pointers.
6676 2000-06-29 Ulrich Drepper <drepper@redhat.com>
6678 * stdlib/grouping.h: Correctly handle multibyte thousands
6679 separator and decimal point.
6680 * stdlib/stdtod.c: Likewise.
6681 * sysdeps/generic/strtol.c: Likewise.
6683 * locale/categories.def: Add entries for wide character decimal point
6684 and thousands separator in numeric and monetary category.
6686 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6688 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
6689 second definition and initialization of decimal.
6691 2000-06-28 Greg McGary <greg@mcgary.org>
6693 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
6695 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
6696 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
6698 (_IO_JUMPS): Don't cast THIS--expect arg to be a
6699 (struct _IO_FILE_plus *).
6700 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
6701 THIS, since _IO_JUMPS no longer does it implicitly.
6702 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
6703 arg type as (struct _IO_FILE_plus *).
6704 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
6705 arg as (_IO_strfile *).
6706 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
6707 Declare 1st arg as (_IO_strfile *).
6708 * libio/fileops.c (_IO_new_file_init): Declare
6709 arg type as (struct _IO_FILE_plus *).
6710 * libio/oldfileops.c (_IO_old_file_init): Likewise.
6711 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
6712 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6713 Declare iteration pointer as (struct _IO_FILE_plus *).
6714 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
6715 (struct _IO_FILE_plus *).
6716 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
6717 * libio/oldstdfiles.c (_IO_list_all): Likewise.
6718 (_IO_check_libio): Set user-visible handles to
6719 (struct _IO_FILE_plus *).
6720 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
6721 to (struct _IO_FILE_plus *).
6723 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
6724 whose high bound includes vtable to all functions that will use
6725 vtable. For streambufs, pass pointer whose bounds include struct
6727 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
6728 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6729 * libio/iofopen.c (_IO_new_fopen): Likewise.
6730 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6731 * libio/iofopen64.c (_IO_fopen64): Likewise.
6732 * libio/iopopen.c (_IO_new_popen): Likewise.
6733 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6734 * libio/memstream.c (open_memstream): Likewise.
6735 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6736 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
6737 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6738 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6739 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
6740 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6741 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6742 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6743 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
6744 * stdlib/strfmon.c (__strfmon_l): Likewise.
6745 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
6746 (vfprintf): Qualify computed-goto targets as unbounded.
6748 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6750 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
6751 thousands separator correctly.
6753 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
6754 * stdio-common/vfwscanf.c: Likewise.
6756 2000-06-27 Jes Sorensen <jes@linuxcare.com>
6758 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
6759 count into signatures for most calls.
6761 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6763 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6764 the generic parser now.
6766 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6768 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6769 table entries are 32 bit on the ia64 (as specified by the ABI),
6770 not 64 bit as on the Alpha.
6772 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6773 change of objects to use 32 bit hash table indices (see above).
6775 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6777 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6778 prototype for abs().
6780 2000-06-28 Wolfram Gloger <wg@malloc.de>
6782 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6783 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6784 may have been reached.
6786 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6788 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6789 symbols in multi-character weights correctly.
6791 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6792 depending on whether the input string is empty or not.
6794 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6795 given state and not avoiding this by modifying a local object.
6796 * wcsmbs/wcrtomb.c: Likewise.
6798 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6799 object since some incomplete characters might be in there.
6801 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6802 sequences with first byte 0x8e correctly.
6804 * iconvdata/jis0208.h: Remove redundant test.
6806 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6808 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6809 Add it where it is needed now.
6811 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6812 the input charset into account when generating the hash table.
6813 (allocate_arrays): Correct setting default width. Not all empty slots
6814 in the table are filled, only those not covert explicitly by the
6815 locale description and in the charset.
6817 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6818 return values from the wctrans function.
6820 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6821 wide character version.
6822 For %C handling, test correct pointer variable for NULL.
6824 * wcsmbs/wctob.c: Handle WEOF special.
6826 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6828 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6829 always-true test to avoid warning.
6831 2000-06-27 Greg McGary <greg@mcgary.org>
6833 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6834 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6835 (symbol_version, default_symbol_version): Factor redundant
6836 definitions out of conditional.
6838 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6840 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6843 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6845 * include/libc-symbols.h (symbol_version): Add extra level of
6847 (default_symbol_version): Likewise.
6849 2000-06-26 Greg McGary <greg@mcgary.org>
6851 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6852 for BP return value & push implicit struct-return pointer to
6854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6855 (SYSCALL_ERROR_HANDLER): Likewise.
6856 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6857 (SYSCALL_ERROR_HANDLER): Likewise.
6859 * Makeconfig: Add missing comment.
6860 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6861 BP-flavored startup object.
6862 ($(objpfx)b$(start-installed-name)): New rule.
6863 * include/libc-symbols.h (symbol_set_declare): Change type
6864 of `__start_##set' and `__stop_##set' to pointer-to-function.
6865 (symbol_set_declare): Change type of `set' to array of
6866 pointer-to-function.
6867 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6868 pointer-to-function.
6870 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6872 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6873 Remove clock_* and timer_* entries.
6874 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6875 arg-count with signatures.
6877 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6878 Check bounds of arguments.
6879 * sysdeps/i386/addmul_1.S: Likewise.
6880 * sysdeps/i386/lshift.S: Likewise.
6881 * sysdeps/i386/mul_1.S: Likewise.
6882 * sysdeps/i386/rshift.S: Likewise.
6883 * sysdeps/i386/sub_n.S: Likewise.
6884 * sysdeps/i386/submul_1.S: Likewise.
6885 * sysdeps/i386/i586/add_n.S: Likewise.
6886 * sysdeps/i386/i586/addmul_1.S: Likewise.
6887 * sysdeps/i386/i586/lshift.S: Likewise.
6888 * sysdeps/i386/i586/rshift.S: Likewise.
6889 * sysdeps/i386/i586/sub_n.S: Likewise.
6890 * sysdeps/i386/i686/add_n.S: Likewise.
6892 * sysdeps/i386/memchr.S: Likewise.
6893 * sysdeps/i386/memcmp.S: Likewise.
6894 * sysdeps/i386/rawmemchr.S: Likewise.
6895 * sysdeps/i386/i586/bzero.S: Likewise.
6896 * sysdeps/i386/i586/memcpy.S: Likewise.
6897 * sysdeps/i386/i586/mempcpy.S: Likewise.
6898 * sysdeps/i386/i586/memset.S: Likewise.
6899 * sysdeps/i386/i686/bzero.S: Likewise.
6900 * sysdeps/i386/i686/memcpy.S: Likewise.
6901 * sysdeps/i386/i686/mempcpy.S: Likewise.
6902 * sysdeps/i386/i686/memset.S: Likewise.
6904 * sysdeps/i386/stpcpy.S: Likewise.
6905 * sysdeps/i386/stpncpy.S: Likewise.
6906 * sysdeps/i386/strchr.S: Likewise.
6907 * sysdeps/i386/strchrnul.S: Likewise.
6908 * sysdeps/i386/strcspn.S: Likewise.
6909 * sysdeps/i386/strpbrk.S: Likewise.
6910 * sysdeps/i386/strrchr.S: Likewise.
6911 * sysdeps/i386/strspn.S: Likewise.
6912 * sysdeps/i386/strtok.S: Likewise.
6913 * sysdeps/i386/strtok_r.S: Likewise.
6914 * sysdeps/i386/i486/strcat.S: Likewise.
6915 * sysdeps/i386/i486/strlen.S: Likewise.
6916 * sysdeps/i386/i586/strchr.S: Likewise.
6917 * sysdeps/i386/i586/strcpy.S: Likewise.
6918 * sysdeps/i386/i586/strlen.S: Likewise.
6919 * sysdeps/i386/i686/strcmp.S: Likewise.
6920 * sysdeps/i386/i686/strtok.S: Likewise.
6921 * sysdeps/i386/i686/strtok_r.S: Likewise.
6923 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6924 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6925 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6926 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6927 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6929 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6930 * sysdeps/i386/mul_1.S: Likewise.
6931 * sysdeps/i386/submul_1.S: Likewise.
6932 * sysdeps/i386/i586/add_n.S: Likewise.
6933 * sysdeps/i386/i586/addmul_1.S: Likewise.
6934 * sysdeps/i386/i586/lshift.S: Likewise.
6935 * sysdeps/i386/i586/mul_1.S: Likewise.
6936 * sysdeps/i386/i586/rshift.S: Likewise.
6937 * sysdeps/i386/i586/sub_n.S: Likewise.
6938 * sysdeps/i386/i586/submul_1.S: Likewise.
6940 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6942 * rt/Makefile (librt-routines): Add clock_nanosleep.
6943 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6944 * sysdeps/generic/clock_nanosleep.c: New file.
6945 * sysdeps/unix/clock_nanosleep.c: New file.
6946 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6947 * time/time.h: Declare clock_nanosleep.
6949 2000-06-26 Greg McGary <greg@mcgary.org>
6951 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6952 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6953 (ALIGN): Cleanup surrounding conditionals.
6955 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6956 Call ENTER/LEAVE macros.
6957 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6958 * sysdeps/i386/submul_1.S: Likewise.
6960 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6961 syntax. Define & use symbolic argument stack offsets. Call
6963 * sysdeps/i386/i586/mul_1.S: Likewise.
6964 * sysdeps/i386/i586/submul_1.S: Likewise.
6966 2000-06-25 Greg McGary <greg@mcgary.org>
6968 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6971 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6973 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6974 * iconvdata/gen-8bit-gap.sh: Likewise.
6975 * iconvdata/gen-8bit.sh: Likewise.
6977 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6979 * locale/programs/ld-collate.c (collate_read): Don't actually read
6980 the copy locale if we are ignoring the content.
6982 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6985 * locale/programs/ld-collate.c: Correct handling of different
6987 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6988 as extra parameter from which to copy category information.
6990 (load_locale): Likewise.
6991 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6993 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6994 * locale/programs/locfile.h: Likewise.
6995 * locale/programs/locfile-kw.gperf: Add entry for script.
6996 * locale/programs/locfile-token.h: Add tok_script.
6998 * locale/programs/locale.c: Update copyright year.
6999 * locale/programs/localedef.c: Likewise.
7001 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
7003 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
7004 Jens Moeller <jens.moeller@waii.com>.
7006 2000-06-24 Ulrich Drepper <drepper@redhat.com>
7008 * locale/programs/ld-name.c (name_finish): Add missing format
7009 specifier to test for name_fmt.
7011 * locale/programs/ld-address.c (iso639): Correct length of string
7013 (iso3166): Likewise.
7015 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
7017 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
7020 * elf/elf.h (NT_PRFPXREG): Define.
7022 2000-06-23 Ulrich Drepper <drepper@redhat.com>
7024 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
7025 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
7027 2000-06-23 Andreas Schwab <schwab@suse.de>
7029 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
7032 2000-06-23 Andreas Jaeger <aj@suse.de>
7034 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
7036 * io/test-stat.c: Add copyright header, mention Maciej.
7038 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
7039 SYS_mincore, SYS_madvise): Added.
7041 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
7044 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7046 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
7047 (CFLAGS-tst_putwc.c): New definition.
7048 * libio/tst_getwc.c: New file.
7049 * libio/tst_getwc.input: New file.
7050 * libio/tst_putwc.c: New file.
7052 * include/string.h: Add prototype for __strdup.
7054 2000-06-22 Greg McGary <greg@mcgary.org>
7056 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
7057 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
7060 2000-06-23 Jes Sorensen <jes@linuxcare.com>
7062 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
7064 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7066 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
7068 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7070 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
7071 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
7073 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7075 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
7076 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
7078 * sysdeps/mach/hurd/bits/stat.h: Likewise.
7079 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7080 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7081 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7082 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7083 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
7084 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7085 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
7086 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7087 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7088 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7089 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7090 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
7091 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
7094 2000-06-22 Andreas Jaeger <aj@suse.de>
7096 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
7099 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
7101 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
7103 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7105 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
7108 2000-06-21 Greg McGary <greg@mcgary.org>
7110 * Makerules (elide-routines.*, elide-bp-thunks):
7111 Define unconditionally.
7113 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7115 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7117 2000-06-21 Andreas Jaeger <aj@suse.de>
7119 * io/Makefile (tests): Add test-stat.
7120 (CFLAGS-test-stat.c): New.
7122 * io/test-stat.c: New file from Maciej W. Rozycki
7123 <macro@ds2.pg.gda.pl>.
7125 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7127 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
7128 in __rlimit_resource to make them match the kernel order.
7129 rlim_t is always 64 bit, use __rlim64_t to declare it
7132 2000-05-04 Jes Sorensen <jes@linuxcare.com>
7134 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
7135 RLIM_INFINITY before defining it to avoid clash with kernel header
7137 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7139 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
7141 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7143 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
7145 2000-06-21 Andreas Jaeger <aj@suse.de>
7147 * stdio-common/temptest.c: Include <stdlib.h>.
7148 * stdio-common/tst-fileno.c: Likewise.
7149 * stdio-common/scanf4.c: Likewise.
7150 * stdio-common/scanf5.c: Likewise.
7151 * time/clocktest.c: Likewise.
7152 * posix/test-vfork.c: Likewise.
7153 * posix/globtest.c: Likewise.
7154 * io/test-utime.c: Likewise.
7155 * wctype/test_wcfuncs.c: Likewise.
7156 * crypt/cert.c: Likewise.
7158 * stdio-common/tst-printfsz.c: Include <string.h>.
7159 * libio/tst_swscanf.c: Likewise.
7160 * libio/tst_wscanf.c: Likewise.
7161 * posix/runtests.c: Likewise.
7162 * posix/tst-getaddrinfo.c: Likewise.
7163 * posix/wordexp-test.c: Likewise.
7164 * misc/tst-efgcvt.c: Likewise.
7166 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
7167 * nss/test-netdb.c: Likewise.
7169 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
7170 supported kernel for MIPS.
7172 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
7173 * rt/aio_suspend.c: Likewise.
7175 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7177 * math/libm-test.inc: Include <string.h>.
7179 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7181 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
7183 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7185 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
7186 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
7188 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
7190 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
7192 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7194 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
7196 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7198 * locale/programs/ld-collate.c (insert_value): Now take string and
7199 length instead of struct token* parameter. Adjust use of token.
7200 (handle_ellipsis): Likewise.
7201 (collate_read): Allow <Uxxxx> names and transform them into names
7202 to be passed to insert_value and handle_ellipsis.
7204 * locale/programs/ld-ctype.c (uninames): New array with names of
7205 digits in <Uxxxxxxxx> format.
7206 (ctype_finish): Correct search for space character value. Likewise
7207 for default outdigits values.
7209 2000-06-20 Greg McGary <greg@mcgary.org>
7211 * Makerules (objects): Add BP thunks.
7213 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7215 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
7216 in width definitions.
7218 2000-06-20 Andreas Jaeger <aj@suse.de>
7220 * sysdeps/mips/fpu/libm-test-ulps: New file.
7222 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
7225 * sysdeps/mips/fpu/feholdexcpt.c: New file.
7227 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
7229 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7231 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
7232 change in gconv_builtin.h.
7234 * malloc/Makefile: Change all references to memprof into memusage.
7235 * malloc/memprof.c: Rename to...
7236 * malloc/memusage.c: ...this. New file.
7237 * malloc/memprof.sh: Rename to...
7238 * malloc/memusage.sh: ...this. New file.
7239 * malloc/memprofstat.c: Rename to...
7240 * malloc/memusagestat.c: ...this. New file.
7241 * sysdeps/alpha/memprof.h: Rename to..
7242 * sysdeps/alpha/memusage.h: ...this. New file.
7243 * sysdeps/arm/memprof.h: Rename to..
7244 * sysdeps/arm/memusage.h: ...this. New file.
7245 * sysdeps/generic/memprof.h: Rename to..
7246 * sysdeps/generic/memusage.h: ...this. New file.
7247 * sysdeps/i386/memprof.h: Rename to..
7248 * sysdeps/i386/memusage.h: ...this. New file.
7249 * sysdeps/ia64/memprof.h: Rename to..
7250 * sysdeps/ia64/memusage.h: ...this. New file.
7251 * sysdeps/m68k/memprof.h: Rename to..
7252 * sysdeps/m68k/memusage.h: ...this. New file.
7253 * sysdeps/mips/memprof.h: Rename to..
7254 * sysdeps/mips/memusage.h: ...this. New file.
7255 * sysdeps/powerpc/memprof.h: Rename to..
7256 * sysdeps/powerpc/memusage.h: ...this. New file.
7257 * sysdeps/sparc/memprof.h: Rename to..
7258 * sysdeps/sparc/memusage.h: ...this. New file.
7259 * sysdeps/sh/memprof.h: Rename to..
7260 * sysdeps/sh/memusage.h: ...this. New file.
7262 * elf/sprof.c (print_version): Update year.
7264 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
7265 table entry values. Use D_PTR.
7266 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
7267 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
7269 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7271 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7272 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
7273 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
7274 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
7276 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7278 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
7280 2000-06-16 Jes Sorensen <jes@linuxcare.com>
7282 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
7283 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
7284 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
7286 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
7288 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
7291 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
7292 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
7294 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
7297 2000-06-15 Jes Sorensen <jes@linuxcare.com>
7299 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
7301 2000-06-08 Jes Sorensen <jes@linuxcare.com>
7303 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
7305 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7307 * iconv/gconv_int.h (strict gconv_module): Remove all members
7308 associated with regular expressions. Use a simple string as the
7310 * iconv/gconv_db.c: Remove code handling regular expressions.
7311 * iconv/gconv_conf.c: Likewise.
7312 * iconv/iconv_prog.c: Likewise.
7313 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
7315 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
7316 General namespace cleanup.
7317 (struct __gconv_trans_data): Add next field.
7318 (struct __gconv_step_data): Make __trans a pointer.
7319 * iconv/gconv_conf.c: Split out code to find gconv directories from
7320 __gconv_read_conf in new functions.
7321 * iconv/gconv_int.h: Define new data structure and declare new
7322 functions for handling of gconv directory list.
7323 * iconv/gconv_open.c: Allow more than one error handling step being
7324 used. Call function to load error handling module if it is none
7325 of the builtin transformations.
7326 * iconv/gconv_close.c: Add code to free transliteration data.
7327 * iconv/gconv_trans.c: Add functions to load and unload modules
7328 implementing transliteration etc.
7329 * iconv/skeleton.c: Call all context functions now that more than
7330 one module is allowed.
7331 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
7332 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
7333 where the full error handling using transliteration is needed.
7334 * iconvdata/8bit-gap.c: Likewise.
7335 * iconvdata/8bit-generic.c: Likewise.
7336 * iconvdata/ansi_x3.110.c: Likewise.
7337 * iconvdata/big5.c: Likewise.
7338 * iconvdata/big5hkscs.c: Likewise.
7339 * iconvdata/euc-cn.c: Likewise.
7340 * iconvdata/euc-jp.c: Likewise.
7341 * iconvdata/euc-kr.c: Likewise.
7342 * iconvdata/euc-tw.c: Likewise.
7343 * iconvdata/gbgbk.c: Likewise.
7344 * iconvdata/gbk.c: Likewise.
7345 * iconvdata/iso-2022-cn.c: Likewise.
7346 * iconvdata/iso-2022-jp.c: Likewise.
7347 * iconvdata/iso-2022-kr.c: Likewise.
7348 * iconvdata/iso646.c: Likewise.
7349 * iconvdata/iso8859-1.c: Likewise.
7350 * iconvdata/iso_6937-2.c: Likewise.
7351 * iconvdata/iso_6937.c: Likewise.
7352 * iconvdata/johab.c: Likewise.
7353 * iconvdata/sjis.c: Likewise.
7354 * iconvdata/t.61.c: Likewise.
7355 * iconvdata/uhc.c: Likewise.
7356 * iconvdata/unicode.c: Likewise.
7357 * iconvdata/utf-16.c: Likewise.
7358 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
7359 structure correctly after last change.
7360 * wcsmbs/btowc.c: Likewise.
7361 * wcsmbs/mbrtowc.c: Likewise.
7362 * wcsmbs/mbsnrtowcs.c: Likewise.
7363 * wcsmbs/mbsrtowcs.c: Likewise.
7364 * wcsmbs/wcrtomb.c: Likewise.
7365 * wcsmbs/wcsnrtombs.c: Likewise.
7366 * wcsmbs/wcsrtombs.c: Likewise.
7367 * wcsmbs/wctob.c: Likewise.
7369 * localedata/Makefile: Set -Wno-format for some files since gcc does
7370 not know all the format specifiers.
7372 2000-06-18 Ulrich Drepper <drepper@redhat.com>
7374 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
7376 * locale/lc-time.c (_nl_init_era_entries): Likewise.
7378 2000-06-18 Andreas Jaeger <aj@suse.de>
7380 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
7381 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
7383 2000-06-17 Ulrich Drepper <drepper@redhat.com>
7385 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
7387 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
7389 * locale/programs/ld-ctype.c (ctype_output): Really write out
7390 mboutdigits information.
7391 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
7392 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
7393 * localedata/tests/trans.def: Add outdigit information.
7395 * localedata/tst-mbswcs3.c: Remove comment.
7397 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
7398 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
7399 * libio/tst_wprintf.c (main): Add test for I flag.
7401 * iconv/gconv_trans.c: Implement handling if translit_ignore.
7402 * locale/langinfo.h: Add entries for translit_ignore information.
7403 * locale/categories.def: Add entries for new LC_CTYPE elements.
7404 * locale/C-ctype.c: Add initializers for new fields. Use NULL
7405 pointer instead of "" where possible.
7406 * locale/programs/ld-ctype.c: Write out translit_ignore information.
7407 * intl/Depend: Add localedata.
7408 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
7409 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
7411 2000-06-16 Ulrich Drepper <drepper@redhat.com>
7413 * locale/langinfo.h: Add entries for default_missing information.
7414 * locale/C-ctype.c: Add initializers for new fields.
7415 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
7417 * locale/categories.h: Add entries for all LC_CTYPE values.
7418 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
7421 * localedata/tst-trans.c: Write out an error message if class is
7424 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
7425 * iconv/gconv_open.c: Remove error handling specification from `from'
7427 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
7428 new parameter to always enable transliteration.
7429 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
7431 (struct locale_data): Add new members use_translit and options.
7432 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
7433 character set name contained modifier TRANSLIT.
7434 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
7436 (_nl_unload_locale): Free options string if necessary.
7437 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
7438 the locale names suggested this.
7439 * locale/C-address.c: Add two new initialilzers to adjust data
7440 structure for new format.
7441 * locale/C-collate.c: Likewise.
7442 * locale/C-ctype.c: Likewise.
7443 * locale/C-identification.c: Likewise.
7444 * locale/C-measurement.c: Likewise.
7445 * locale/C-messages.c: Likewise.
7446 * locale/C-monetary.c: Likewise.
7447 * locale/C-name.c: Likewise.
7448 * locale/C-numeric.c: Likewise.
7449 * locale/C-paper.c: Likewise.
7450 * locale/C-telephone.c: Likewise.
7451 * locale/C-time.c: Likewise.
7453 * locale/setlocale.c: Add some more __builtin_expect.
7455 2000-06-15 Ulrich Drepper <drepper@redhat.com>
7457 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
7459 (__gconv_init_fct): Remove two parameters.
7460 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
7461 gconv_transliterate. Remove two parameters.
7462 Change prototypes of builtin functions according to __gconv_fct change.
7463 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
7464 != NULL only during error handling. Stop in this case after the
7466 * iconv/gconv_trans.c: Replace with real implementation for
7467 __gconv_transliterate.
7468 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
7469 * iconv/gconv.c: Change calls to downstream functions once again.
7470 Use NULL for the fifth parameter instead of pointer to output buffer.
7471 * libio/iofwide.c: Likewise.
7472 * wcsmbs/btowc.c: Likewise.
7473 * wcsmbs/mbrtowc.c: Likewise.
7474 * wcsmbs/mbsnrtowcs.c: Likewise.
7475 * wcsmbs/mbsrtowcs.c: Likewise.
7476 * wcsmbs/wcrtomb.c: Likewise.
7477 * wcsmbs/wcsnrtombs.c: Likewise.
7478 * wcsmbs/wcsrtombs.c: Likewise.
7479 * wcsmbs/wctob.c: Likewise.
7480 * iconv/gconv_simple.c: Remove two parameters from error handling
7482 * iconvdata/8bit-gap.c: Likewise.
7483 * iconvdata/8bit-generic.c: Likewise.
7484 * iconvdata/ansi_x3.110.c: Likewise.
7485 * iconvdata/big5.c: Likewise.
7486 * iconvdata/big5hkscs.c: Likewise.
7487 * iconvdata/euc-cn.c: Likewise.
7488 * iconvdata/euc-jp.c: Likewise.
7489 * iconvdata/euc-kr.c: Likewise.
7490 * iconvdata/euc-tw.c: Likewise.
7491 * iconvdata/gbgbk.c: Likewise.
7492 * iconvdata/gbk.c: Likewise.
7493 * iconvdata/iso-2022-cn.c: Likewise.
7494 * iconvdata/iso-2022-jp.c: Likewise.
7495 * iconvdata/iso-2022-kr.c: Likewise.
7496 * iconvdata/iso646.c: Likewise.
7497 * iconvdata/iso8859-1.c: Likewise.
7498 * iconvdata/iso_6937-2.c: Likewise.
7499 * iconvdata/iso_6937.c: Likewise.
7500 * iconvdata/johab.c: Likewise.
7501 * iconvdata/sjis.c: Likewise.
7502 * iconvdata/t.61.c: Likewise.
7503 * iconvdata/uhc.c: Likewise.
7504 * iconvdata/unicode.c: Likewise.
7505 * iconvdata/utf-16.c: Likewise.
7507 2000-06-15 Greg McGary <greg@mcgary.org>
7509 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7510 of callnum assignment. Tolerate callnum expressions containing
7513 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7515 * login/Makefile (utmpd): Remove rule to build utmpd.
7517 * csu/Versions: Move libgcc frame handling functions from here...
7518 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7519 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7520 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7521 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7522 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7523 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7525 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
7527 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7529 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7531 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7533 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7535 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7536 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7537 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7538 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7540 2000-06-14 Jakub Jelinek <jakub@redhat.com>
7542 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7543 defined, terminate quotes and read them after the comment char.
7544 * configure.in (HAVE_SECTION_QUOTES): Test whether
7545 __attribute__((section ("x"))) puts quotes around x or not.
7546 * config.h.in (HAVE_SECTION_QUOTES): Add.
7547 * configure: Rebuilt.
7549 2000-06-14 Andreas Jaeger <aj@suse.de>
7551 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7552 depending on the configure option --sysconfdir.
7553 Closes PR libc/1762.
7554 Patch by Andreas Schwab <schwab@suse.de>.
7556 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7558 Reported by Jim Pick <jim@jimpick.com>.
7560 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7562 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7563 crashing the application. Emit some simple error message.
7564 Reported by mju@panasas.com [PR libc/1769].
7566 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7568 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7570 * crypt/Makefile (distribute): Add md5.h.
7572 * Makefile (distribute): Add include/shlib-compat.h.
7574 * Make-dist: Search for tests also in sysdeps hierachy.
7576 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7577 ufc.c, speeds.c, README.ufc-crypt, and Banner.
7579 * sysdeps/sparc/Subdirs: New file.
7581 * locale/Makefile (distribute): Add weightwc.h and
7582 programs/localedef.h.
7584 * time/Makefile (distribute): Add datemsk.
7586 * sysdeps/ia64/Dist: Add softpipe.h.
7588 * sysdeps/unix/sysv/aix/Dist: New file.
7590 * posix/setpgrp.c: Moved to...
7591 * sysdeps/generic/setpgrp.c: ...here. New file.
7592 * io/mknod.c: Moved to...
7593 * sysdeps/generic/mknod.c: ...here. New file.
7595 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
7597 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
7599 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
7601 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
7602 gprsave0.S, gprrest1.S, and gprrest0.S.
7604 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
7606 * posix/Makefile (routines): Add spawnattr_getsigmask,
7607 spawnattr_getschedpolicy, spawnattr_getschedparam,
7608 spawnattr_setsigmask, spawnattr_setschedpolicy, and
7609 spawnattr_setschedparam.
7610 * posix/Versions: Add posix_spawnattr_getschedpolicy,
7611 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
7612 posix_spawnattr_setschedparam.
7614 * posix/spawnattr_setschedparam.c: Fix typo.
7616 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
7619 * login/programs/utmpd.c: Removed.
7620 * login/programs/utmpd.h: Removed.
7621 * login/programs/utmpd-private.h: Removed.
7623 * Makefile (distribute): Add include/db_185.h and include/db.h.
7625 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
7628 * elf/Makefile (distribute): Add missing files.
7630 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
7631 * elf/eval.c: Moved to...
7632 * dlfcn/eval.c: ...here. New file.
7634 * Makefile (distribute): Also distribute ChangeLog.1?.
7636 * Make-dist (+tsrcs): Remove .args handling here as well.
7638 * rt/Makefile (tests): Add tst-timer.
7639 * sysdeps/generic/tst-timer.c: New file.
7641 * Makerules (sources): Don't add BP sources here.
7643 * login/Makefile (distribute): Remove xtmp.h.
7645 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
7646 is true. Reported by Bruno Haible <haible@ilog.fr>.
7648 2000-06-13 Andreas Jaeger <aj@suse.de>
7650 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
7651 Patch by Ralf Baechle <ralf@gnu.org>.
7653 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7655 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
7656 for mincore syscall.
7658 * misc/sys/cdefs.h: Define __bounded and __unbounded if
7659 __BOUNDED_POINTERS__ is not defined.
7661 2000-06-07 Greg McGary <greg@mcgary.org>
7663 * sysdeps/generic/bp-sym.h: New file.
7664 * sysdeps/generic/bp-start.h: New file.
7665 * sysdeps/i386/elf/start.S: Designate BP symbols.
7666 * sysdeps/generic/libc-start.c: Wrap bounds around
7667 argv & envp and each of their string members.
7669 2000-06-07 Greg McGary <greg@mcgary.org>
7671 * sysdeps/unix/make-syscalls.sh: Add comments to
7672 output that aid debugging & comprehension.
7673 Map simple syscall signatures to number of args.
7674 Generate BP syscall thunk definitions.
7675 * sysdeps/generic/bp-thunks.h: New file.
7676 * sysdeps/unix/syscalls.list: Replace arg-count with
7677 simple return+arg signature.
7678 * sysdeps/unix/common/syscalls.list: Likewise.
7679 * sysdeps/unix/inet/syscalls.list: Likewise.
7680 * sysdeps/unix/mman/syscalls.list: Likewise.
7681 * sysdeps/unix/sysv/syscalls.list: Likewise.
7682 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7685 2000-06-07 Greg McGary <greg@mcgary.org>
7687 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
7688 for all files *.[cS].
7689 (CFLAGS-.ob): Don't optimize sibling calls.
7690 (bppfx): New variable.
7691 * Makerules (elide-bp-thunks): New variable.
7692 (elide-routines.*): Elide BP-* files for all but *.ob.
7693 (sources): Include bp-thunks.
7695 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7697 * iconv/gconv_simple.c: Remove unnecessary prototype.
7699 * iconv/gconv_trans.c: Pretty print.
7701 * elf/elf.h (R_SH_NUM): Got accidently dropped.
7703 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
7704 minimal kernel versions. Add information about IA-64 kernel.
7706 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
7707 specific minimal supported kernel versions to be specified.
7709 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
7710 step data structure.
7711 * wcsmbs/btowc.c: Likewise.
7712 * wcsmbs/mbrtowc.c: Likewise.
7713 * wcsmbs/mbsnrtowcs.c: Likewise.
7714 * wcsmbs/mbsrtowcs.c: Likewise.
7715 * wcsmbs/wcrtomb.c: Likewise.
7716 * wcsmbs/wcsnrtombs.c: Likewise.
7717 * wcsmbs/wcsrtombs.c: Likewise.
7718 * wcsmbs/wctob.c: Likewise.
7720 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
7721 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
7723 * shlib-versions: Earliest backward compatible version for SH is 2.2.
7725 * misc/sys/cdefs.h: Remove one more __P.
7727 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
7730 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
7731 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
7732 * sysdeps/sh/bits/setjmp.h: ...here. New file.
7734 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7735 Yutaka Niibe <gniibe@chroot.org>
7737 * configure.in: Add machine sh3, sh4.
7738 * elf/elf.h: Add SH specific declarations of relocations.
7739 * shlib-versions: Add sh*-*-linux* cases.
7741 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7743 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
7744 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
7745 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
7746 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
7747 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
7748 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
7750 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
7751 instead of KERNEL_MATH_EMULATION.
7752 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
7753 KERNEL_MATH_EMULATION.
7755 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
7756 * sysdeps/sh/sh3/dl-machine.h: Moved to...
7757 * sysdeps/sh/dl-machine.h: ...here. New file.
7758 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
7759 and include generic SH version.
7760 * sysdeps/sh/sh3/bits/endian.h: Move to...
7761 * sysdeps/sh/bits/endian.h: ...here. New file.
7762 * sysdeps/sh/sh4/bits/endian.h: Removed.
7763 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7764 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7765 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7767 * include/libc-symbols.h (link_warning): Work around a change in
7768 GAS which warns about changing section attributes.
7769 Proposed by Nick Clifton <nickc@redhat.com>.
7771 2000-06-12 H.J. Lu <hjl@gnu.org>
7773 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7775 2000-06-11 H.J. Lu <hjl@gnu.org>
7777 * sysdeps/i386/fpu/Versions: New file.
7779 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7781 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7783 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7786 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7788 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7789 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7790 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7792 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7793 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7794 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7796 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7797 Yutaka Niibe <gniibe@chroot.org>
7799 * sysdeps/sh/Dist: New file.
7800 * sysdeps/sh/Implies: New file.
7801 * sysdeps/sh/elf/initfini.c: New file.
7802 * sysdeps/sh/gmp-mparam.h: New file.
7803 * sysdeps/sh/init-first.c: New file.
7804 * sysdeps/sh/machine-gmon.h: New file.
7805 * sysdeps/sh/memcpy.S: New file.
7806 * sysdeps/sh/memprof.h: New file.
7807 * sysdeps/sh/memset.S: New file.
7808 * sysdeps/sh/sh3/__longjmp.S: New file.
7809 * sysdeps/sh/sh3/bits/endian.h: New file.
7810 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7811 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7812 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7813 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7814 * sysdeps/sh/sh3/dl-machine.h: New file.
7815 * sysdeps/sh/sh3/setjmp.S: New file.
7816 * sysdeps/sh/sh4/__longjmp.S: New file.
7817 * sysdeps/sh/sh4/bits/endian.h: New file.
7818 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7819 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7820 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7821 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7822 * sysdeps/sh/sh4/dl-machine.h: New file.
7823 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7824 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7825 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7826 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7827 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7828 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7829 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7830 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7831 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7832 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7833 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7834 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7835 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7836 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7837 * sysdeps/sh/sh4/setjmp.S: New file.
7838 * sysdeps/sh/elf/start.S: New file.
7839 * sysdeps/sh/sys/ucontext.h: New file.
7840 * sysdeps/sh/strlen.S: New file.
7841 * sysdeps/sh/sysdep.h: New file.
7842 * sysdeps/unix/sh/sysdep.S: New file.
7843 * sysdeps/unix/sh/sysdep.h: New file.
7844 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7845 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7846 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7847 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7848 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7849 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7850 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7851 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7852 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7853 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7854 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7855 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7856 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7857 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7858 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7859 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7860 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7861 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7862 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7863 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7864 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7865 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7866 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7867 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7868 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7869 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7870 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7871 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7872 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7873 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7874 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7875 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7876 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7877 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7878 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7879 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7880 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7881 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7882 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7883 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7884 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7885 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7886 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7887 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7888 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7889 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7890 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7891 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7892 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7893 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7895 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7897 * Rules (%.out): Define GCONV_PATH in the environment.
7898 * assert/Depend: New file.
7899 * iconvdata/Depend: New file.
7900 * intl/Depend: New file.
7901 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7902 * intl/tst-gettext.sh: Likewise.
7903 * iconv/Makefile (routines): Add gconv_trans.
7904 * iconv/gconv_trans.c: New file.
7905 * iconv/gconv.h (struct __gconv_trans_data): New type.
7906 (__gconv_fct): New parameter with starting position in output buffer.
7907 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7908 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7909 (struct __gconv_step): Add new member __trans.
7910 * iconv/gconv_int.h: Pretty print prototypes.
7911 (gconv_transliterate): New prototype.
7912 (__BUILTIN_TRANS): Update for new conversion function interface.
7913 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7914 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7915 in names, find appropriate function, and install in the conversion
7916 steps it can be used.
7917 * iconv/skeleton.c: Add additional parameter for beginning of output
7918 buffer. Change calls of downstream functions.
7919 * iconv/loop.c: Change loop function interface completely. Pass in
7920 step and step_data structure. Remove optimization for BODY with
7921 NEED_LENGTH_TEST == 0.
7922 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7923 appropriate error handling code to use transliteration steps. Remove
7924 optimization for BODY with NEED_LENGTH_TEST == 0.
7925 * iconvdata/8bit-gap.c: Likewise.
7926 * iconvdata/8bit-generic.c: Likewise.
7927 * iconvdata/ansi_x3.110.c: Likewise.
7928 * iconvdata/big5.c: Likewise.
7929 * iconvdata/big5hkscs.c: Likewise.
7930 * iconvdata/euc-cn.c: Likewise.
7931 * iconvdata/euc-jp.c: Likewise.
7932 * iconvdata/euc-kr.c: Likewise.
7933 * iconvdata/euc-tw.c: Likewise.
7934 * iconvdata/gbgbk.c: Likewise.
7935 * iconvdata/gbk.c: Likewise.
7936 * iconvdata/iso-2022-cn.c: Likewise.
7937 * iconvdata/iso-2022-jp.c: Likewise.
7938 * iconvdata/iso-2022-kr.c: Likewise.
7939 * iconvdata/iso646.c: Likewise.
7940 * iconvdata/iso8859-1.c: Likewise.
7941 * iconvdata/iso_6937-2.c: Likewise.
7942 * iconvdata/iso_6937.c: Likewise.
7943 * iconvdata/johab.c: Likewise.
7944 * iconvdata/sjis.c: Likewise.
7945 * iconvdata/t.61.c: Likewise.
7946 * iconvdata/uhc.c: Likewise.
7947 * iconvdata/unicode.c: Likewise.
7948 * iconvdata/utf-16.c: Likewise.
7949 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7951 * wcsmbs/btowc.c: Likewise.
7952 * wcsmbs/mbrtowc.c: Likewise.
7953 * wcsmbs/mbsnrtowcs.c: Likewise.
7954 * wcsmbs/mbsrtowcs.c: Likewise.
7955 * wcsmbs/wcrtomb.c: Likewise.
7956 * wcsmbs/wcsnrtombs.c: Likewise.
7957 * wcsmbs/wcsrtombs.c: Likewise.
7958 * wcsmbs/wctob.c: Likewise.
7960 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7962 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7963 other header files. Mention about 128-byte cache line sizes.
7964 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7965 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7966 for current calling sequence.
7967 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7969 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7970 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7973 and setrlimit syscalls for backwards compatibility.
7975 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7977 * iconv/skeleton.c: Rename converted written to correcter name
7979 * iconv/gconv.c: Rename converted variable to correcter name
7981 * iconv/gconv_int.h: Likewise.
7982 * iconv/gconv_simple.c: Likewise.
7983 * iconv/iconv.c: Likewise.
7984 * iconv/loop.c: Likewise.
7985 * iconvdata/8bit-gap.c: Likewise.
7986 * iconvdata/8bit-generic.c: Likewise.
7987 * iconvdata/ansi_x3.110.c: Likewise.
7988 * iconvdata/big5.c: Likewise.
7989 * iconvdata/big5hkscs.c: Likewise.
7990 * iconvdata/euc-cn.c: Likewise.
7991 * iconvdata/euc-jp.c: Likewise.
7992 * iconvdata/euc-kr.c: Likewise.
7993 * iconvdata/gbgbk.c: Likewise.
7994 * iconvdata/gbk.c: Likewise.
7995 * iconvdata/iso-2022-cn.c: Likewise.
7996 * iconvdata/iso-2022-jp.c: Likewise.
7997 * iconvdata/iso-2022-kr.c: Likewise.
7998 * iconvdata/iso646.c: Likewise.
7999 * iconvdata/iso8859-1.c: Likewise.
8000 * iconvdata/iso_6937-2.c: Likewise.
8001 * iconvdata/iso_6937.c: Likewise.
8002 * iconvdata/johab.c: Likewise.
8003 * iconvdata/sjis.c: Likewise.
8004 * iconvdata/t.61.c: Likewise.
8005 * iconvdata/uhc.c: Likewise.
8006 * iconvdata/unicode.c: Likewise.
8007 * iconvdata/utf-16.c: Likewise.
8009 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
8010 __cmsg_data field with __extension__.
8012 2000-06-10 David Mosberger <davidm@hpl.hp.com>
8014 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
8016 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8018 * iconv/gconv_simple.c: Fix various small bugs in several
8021 * iconv/loop.c: Fix comment.
8023 2000-06-10 Jakub Jelinek <jakub@redhat.com>
8025 * elf/link.h: Remove libc internal declarations.
8026 * include/link.h: Move them here.
8028 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8030 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
8031 Patch by Dan Pop <Dan.Pop@cern.ch>.
8033 Rewrite error message handling.
8034 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
8036 * elf/dl-error (struct catch): Add objname member.
8037 (_dl_signal_error): Take new parameter with object name. When
8038 passing message on simply store object name and duplicate error
8040 (_dl_catch_error): Take new parameter. Store object name in the
8042 * include/dlfcn.h: Adjust _dl_catch_error prototype.
8043 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
8044 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
8045 (dlerror): Add objname to asprintf() parameters.
8046 (_dl_error_run): Pass new parameter to _dl_catch_error.
8047 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
8048 * elf/dl-open.c (_dl_open): Likewise.
8049 * elf/rtld.c (dl_main): Likewise.
8050 * elf/dl-close.c: Mark error messages with N_().
8051 * elf/dl-deps.c: Likewise.
8052 * elf/dl-error.c: Likewise.
8053 * elf/dl-load.c: Likewise.
8054 * elf/dl-open.c: Likewise.
8055 * elf/dl-reloc.c: Likewise.
8056 * elf/dl-support.c: Likewise.
8057 * elf/dl-sym.c: Likewise.
8058 * elf/dl-version.c: Likewise.
8059 * elf/dl-lookup.c: Add comments about problems with error message
8061 * elf/dl-reloc.c: Likewise.
8062 * elf/dl-version.c: Likewise.
8064 2000-06-09 H.J. Lu <hjl@gnu.org>
8066 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
8069 * dlfcn/Makefile (distribute): Add failtestmod.c.
8070 (tests): Add failtest.
8071 Add rules to build and run failtest.
8072 * dlfcn/failtest.c: New file.
8073 * dlfcn/failtestmod.c: New file.
8075 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
8077 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
8078 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
8079 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
8080 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
8081 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
8083 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8085 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
8086 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
8088 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8089 Ulrich Drepper <drepper@redhat.com>
8091 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
8092 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
8093 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
8094 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
8095 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
8096 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
8098 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8100 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
8101 to find correct mount point despite wrong information from the
8104 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8106 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
8107 the address of a symbol so function pointers are handled properly.
8109 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8111 * sysdeps/i386/Dist: Add bp-asm.h.
8113 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
8114 defaultdir variable instead of "/var/shm" everywhere.
8115 (defaultdir): Change to /dev/shm/.
8117 2000-06-08 Greg McGary <greg@mcgary.org>
8119 * sysdeps/i386/bp-asm.h: New file.
8120 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
8121 offsets. Add ENTER/LEAVE macros for optionally maintaining
8122 frame-pointer chain when debugging.
8123 * sysdeps/i386/add_n.S: Likewise.
8124 * sysdeps/i386/addmul_1.S: Likewise.
8125 * sysdeps/i386/lshift.S: Likewise.
8126 * sysdeps/i386/memchr.S: Likewise.
8127 * sysdeps/i386/memcmp.S: Likewise.
8128 * sysdeps/i386/mul_1.S: Likewise.
8129 * sysdeps/i386/rawmemchr.S: Likewise.
8130 * sysdeps/i386/rshift.S: Likewise.
8131 * sysdeps/i386/stpcpy.S: Likewise.
8132 * sysdeps/i386/stpncpy.S: Likewise.
8133 * sysdeps/i386/strchr.S: Likewise.
8134 * sysdeps/i386/strchrnul.S: Likewise.
8135 * sysdeps/i386/strcspn.S: Likewise.
8136 * sysdeps/i386/strpbrk.S: Likewise.
8137 * sysdeps/i386/strrchr.S: Likewise.
8138 * sysdeps/i386/strspn.S: Likewise.
8139 * sysdeps/i386/strtok.S: Likewise.
8140 * sysdeps/i386/sub_n.S: Likewise.
8141 * sysdeps/i386/submul_1.S: Likewise.
8142 * sysdeps/i386/elf/setjmp.S: Likewise.
8143 * sysdeps/i386/i486/strcat.S: Likewise.
8144 * sysdeps/i386/i486/strlen.S: Likewise.
8145 * sysdeps/i386/i586/add_n.S: Likewise.
8146 * sysdeps/i386/i586/lshift.S: Likewise.
8147 * sysdeps/i386/i586/memcpy.S: Likewise.
8148 * sysdeps/i386/i586/memset.S: Likewise.
8149 * sysdeps/i386/i586/rshift.S: Likewise.
8150 * sysdeps/i386/i586/strchr.S: Likewise.
8151 * sysdeps/i386/i586/strcpy.S: Likewise.
8152 * sysdeps/i386/i586/strlen.S: Likewise.
8153 * sysdeps/i386/i586/sub_n.S: Likewise.
8154 * sysdeps/i386/i686/add_n.S: Likewise.
8155 * sysdeps/i386/i686/memcpy.S: Likewise.
8156 * sysdeps/i386/i686/mempcpy.S: Likewise.
8157 * sysdeps/i386/i686/memset.S: Likewise.
8158 * sysdeps/i386/i686/strcmp.S: Likewise.
8160 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8162 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
8164 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
8165 256 and don't use OPEN_MAX.
8167 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
8168 use it instead of LINK_MAX.
8169 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
8171 2000-06-08 Andreas Jaeger <aj@suse.de>
8173 * libio/genops.c (_IO_list_lock): Only compile body if we're
8175 (_IO_list_unlock): Likewise.
8176 (_IO_list_resetlock): Likewise.
8178 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8180 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
8181 unless user defined it.
8183 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
8184 if not defined by the user.
8186 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
8187 * libio/iofwrite.c (_IO_fwrite): Likewise.
8189 * time/time.h: Add missing __THROW for clock_getcpuclockid
8192 * elf/Makefile (distribute): Add dl-dtprocnum.h.
8193 * include/elf.h: Include also <dl-dtprocnum.h>.
8194 * elf/dl-deps.c: Likewise.
8195 * elf/dl-lookup.c: Likewise.
8196 * elf/dl-runtime.c: Likewise.
8197 * elf/dl-version.c: Likewise.
8198 * elf/do-rel.h: Likewise.
8199 * elf/dynamic-link.h: Likewise.
8200 * elf/link.h: Likewise.
8201 * elf/rtld.c: Likewise.
8202 * sysdeps/generic/dl-dtprocnum.h: New file.
8203 * sysdeps/ia64/dl-dtprocnum.h: New file.
8204 * sysdeps/mips/dl-dtprocnum.h: New file.
8205 * sysdeps/sparc/dl-dtprocnum.h: New file.
8207 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
8209 * elf/do-lookup.h: Add some __builtin_expect.
8211 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
8213 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
8214 (_dl_dynamic_weak): New variable.
8215 * elf/dl-support.c: Likewise.
8216 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
8217 * elf/do-lookup.h: If we find a weak definition treat it like a
8218 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
8219 case treat it like before.
8221 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
8223 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
8225 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
8226 using l_map_start and l_map_end.
8228 * elf/dl-version.c: Add __builtin_expect in many places.
8230 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
8233 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
8235 Lock for stdio stream list becomes global, for use in LinuxThreads.
8237 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
8238 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
8239 _IO_list_resetlock): New interface for iterating global list of
8240 streams without accessing the _IO_list_all global variable,
8241 and for manipulating the lock which protects this list.
8242 * libio/libioP.h: Likewise.
8243 * libio/Version: Add entries for the new functions.
8245 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
8246 pointer to _IO_FILE.
8248 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8250 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
8251 BIT() must actually be BITw().
8253 * locale/programs/ld-ctype.c: Handle SP and space consistently.
8255 * locale/programs/charmap.c: Allow string arguments for
8256 code_set_name and repertoiremap.
8258 2000-06-07 Andreas Jaeger <aj@suse.de>
8260 * elf/Makefile: Build ldconfig only when building shared libraries.
8262 2000-06-07 Jakub Jelinek <jakub@redhat.com>
8264 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
8266 (fdimf, __fdim, fdim): Likewise.
8268 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8270 * locale/findlocale.c: Add __builtin_expect in many places.
8271 * locale/loadlocale.c: Likewise.
8273 2000-06-06 Greg McGary <greg@mcgary.org>
8275 * sysdeps/mips/elf/start.S: Trim redundant code.
8277 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
8278 Use C comments throughout. Line up operands column with tabs.
8279 * sysdeps/powerpc/strchr.S: Likewise.
8280 * sysdeps/powerpc/strcmp.S: Likewise.
8281 * sysdeps/powerpc/strcpy.S: Likewise.
8282 * sysdeps/powerpc/strlen.S: Likewise.
8284 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
8285 Get low part of &__curbrk with @l.
8287 2000-06-06 Ulrich Drepper <drepper@redhat.com>
8289 * iconvdata/utf-16.c: Add __builtin_expect in many places.
8290 * iconvdata/unicode.c: Likewise.
8291 * iconvdata/uhc.c: Likewise.
8292 * iconvdata/t.61.c: Likewise.
8293 * iconvdata/sjis.c: Likewise.
8294 * iconvdata/johab.c: Likewise.
8295 * iconvdata/iso_6937.c: Likewise.
8296 * iconvdata/iso_6937-2.c: Likewise.
8297 * iconvdata/iso8859-1.c: Likewise.
8298 * iconvdata/iso646.c: Likewise.
8299 * iconvdata/iso-2022-kr.c: Likewise.
8300 * iconvdata/iso-2022-jp.c: Likewise.
8301 * iconvdata/iso-2022-cn.c: Likewise.
8302 * iconvdata/gbgbk.c: Likewise.
8303 * iconvdata/gbk.c: Likewise.
8304 * iconvdata/euc-kr.c: Likewise.
8305 * iconvdata/euc-jp.c: Likewise.
8306 * iconvdata/euc-cn.c: Likewise.
8308 2000-06-05 Ulrich Drepper <drepper@redhat.com>
8310 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
8311 * iconvdata/big5.c: Likewise.
8312 * iconvdata/ansi_x3.110.c: Likewise.
8313 * iconvdata/8bit-generic.c: Likewise.
8314 * iconvdata/8bit-gap.c: Likewise.
8315 * iconv/loop.c: Likewise.
8316 * iconv/gconv_db.c: Likewise.
8317 * iconv/gconv_dl.c: Likewise.
8318 * iconv/gconv_simple.c: Likewise.
8319 * iconv/skeleton.c: Likewise.
8321 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
8322 (struct __gconv_step_data): Rename __is_last to __flags.
8323 * iconv/gconv_close.c: Change all uses of __is_last.
8324 * iconv/skeleton.c: Likewise.
8325 * iconvdata/iso-2022-cn.c: Likewise.
8326 * iconvdata/iso-2022-jp.c: Likewise.
8327 * iconvdata/iso-2022-kr.c: Likewise.
8328 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
8329 Recognize IGNORE error handling, set flag, and remove from name.
8330 * iconv/loop.c (ignore_errors_p): Define.
8331 Add flags parameter to both functions.
8332 * iconv/skeleton.c: Pass flags to all conversion functions.
8333 * iconv/gconv_simple.c: Add flags parameter to all functions.
8334 Don't return error for invald error if ignore flag is set.
8335 (ucs4_internal_loop_single): Add missing pointer increment.
8336 (internal_ucs4le_loop_single): Likewise.
8337 * iconv/iconv_prog.c: Implement handling of -c parameter.
8338 * iconvdata/8bit-gap.c: Don't return error for invald error if
8340 * iconvdata/8bit-generic.c: Likewise.
8341 * iconvdata/ansi_x3.110.c: Likewise.
8342 * iconvdata/big5.c: Likewise.
8343 * iconvdata/big5hkscs.c: Likewise.
8344 * iconvdata/euc-cn.c: Likewise.
8345 * iconvdata/euc-jp.c: Likewise.
8346 * iconvdata/euc-kr.c: Likewise.
8347 * iconvdata/gbgbk.c: Likewise.
8348 * iconvdata/gbk.c: Likewise.
8349 * iconvdata/iso-2022-cn.c: Likewise.
8350 * iconvdata/iso-2022-jp.c: Likewise.
8351 * iconvdata/iso-2022-kr.c: Likewise.
8352 * iconvdata/iso646.c: Likewise.
8353 * iconvdata/iso8859-1.c: Likewise.
8354 * iconvdata/iso_6937-2.c: Likewise.
8355 * iconvdata/iso_6937.c: Likewise.
8356 * iconvdata/johab.c: Likewise.
8357 * iconvdata/sjis.c: Likewise.
8358 * iconvdata/t.61.c: Likewise.
8359 * iconvdata/uhc.c: Likewise.
8360 * iconvdata/unicode.c: Likewise.
8361 * iconvdata/utf-16.c: Likewise.
8362 * libio/fileops.c: Likewise.
8363 * libio/iofwide.c: Likewise.
8364 * wcsmbs/btowc.c: Likewise.
8365 * wcsmbs/mbrtowc.c: Likewise.
8366 * wcsmbs/mbsnrtowcs.c: Likewise.
8367 * wcsmbs/mbsrtowcs.c: Likewise.
8368 * wcsmbs/wcrtomb.c: Likewise.
8369 * wcsmbs/wcsnrtombs.c: Likewise.
8370 * wcsmbs/wcsrtombs.c: Likewise.
8371 * wcsmbs/wctob.c: Likewise.
8373 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
8376 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8378 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
8379 counter for the object we are releasing, just decrement it.
8380 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
8382 2000-06-04 Jakub Jelinek <jakub@redhat.com>
8384 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
8387 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8389 * iconvdata/big5hkscs.c: New file.
8390 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
8392 * iconvdata/gconv-modules: Add entry for new module.
8393 * iconvdata/Makefile (modules): Add BIG5HKSCS.
8394 (distribute): Add big5hkscs.c.
8396 2000-06-01 Jakub Jelinek <jakub@redhat.com>
8398 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
8399 inlines to match prototypes in mathcalls.h.
8400 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8401 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
8402 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
8403 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8405 2000-06-03 Ulrich Drepper <drepper@redhat.com>
8407 * elf/elf.h (SHT_SUNW_move): Define.
8409 * elf/elf.h: Add more Solaris compatiblity definitions.
8411 2000-06-03 Andreas Jaeger <aj@suse.de>
8413 * sysdeps/powerpc/dl-start.S: Close open comment.
8415 2000-06-03 Jakub Jelinek <jakub@redhat.com>
8417 * inet/Versions: Fix typo in rresvport_af export.
8419 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8421 * math/tgmath.h: Pretty print.
8423 2000-06-02 Andreas Jaeger <aj@suse.de>
8425 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
8426 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8428 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8430 * elf/rtld.c (process_envvars): Test for = after variable name.
8432 2000-06-01 Ulrich Drepper <drepper@redhat.com>
8434 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
8435 have extra call to __gmon_start__, use the pointer we already have.
8437 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
8440 * sysdeps/i386/elf/setjmp.S: Work around change is recent
8441 binutils. gas now emits a jump through the PLT instead of a
8442 relative jump if the jump target is an exported symbol.
8444 2000-05-31 Ulrich Drepper <drepper@redhat.com>
8446 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
8448 2000-05-31 Andreas Jaeger <aj@suse.de>
8450 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
8453 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
8454 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8456 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
8458 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
8460 2000-05-30 Ulrich Drepper <drepper@redhat.com>
8462 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
8464 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
8465 * locale/localeconv.c: Make function versioned (with same definition).
8467 * elf/Makefile (modules-names): Strip before using it.
8469 2000-05-30 Andreas Jaeger <aj@suse.de>
8471 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
8472 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
8473 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
8474 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
8475 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
8476 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
8478 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8480 * Makefile: Add GNU make magic.
8482 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
8484 * inet/rcmd.c: Remove __P. Remove unused variables.
8485 (iruserfopen): Make first parameter const.
8486 (ruserok_sa): Return result of ruserok2_sa.
8487 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8488 * inet/rexec.c: Remove unused variables. Other small cleanups.
8489 * inet/ruserpass.c: Remove __P. Remove unused variables.
8490 (ruserpass): Check results of memory allocation.
8491 * include/netdb.h: Add prototype for ruserpass.
8493 2000-05-29 Andreas Jaeger <aj@suse.de>
8495 * elf/readlib.c (interpreters): Use LD_SO since this is supported
8498 2000-05-29 Jakub Jelinek <jakub@redhat.com>
8500 * inet/rcmd.c (rresvport_af): Use correct port number.
8502 2000-05-26 Andreas Schwab <schwab@suse.de>
8504 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8505 entries in all-sonames.
8506 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8507 preserving the old name if different for compatibility.
8509 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8511 * posix/Makefile (tests): Add tst-spawn.
8512 (tst-spawn-ARGS): New variable.
8513 * posix/tst-spawn.c: New file.
8515 * posix/spawn_faction_addclose.c: Correctly account for new entry.
8516 * posix/spawn_faction_adddup2.c: Likewise.
8517 * posix/spawn_faction_addopen.c: Likewise.
8518 * posix/spawni.c: Correctly test for success of dup2 calls.
8520 * posix/tst-preadwrite.c: Check success of malloc call.
8522 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8524 * posix/Makefile (tests): Add tst-exec.
8525 (tst-exec-ARGS): New variable.
8526 * posix/tst-exec.c: New file.
8528 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8530 2000-05-04 Andreas Jaeger <aj@suse.de>
8532 * string/string.h: Remove __strdup prototype, it's not needed in
8535 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8537 * posix/Makefile (tests): Add tst-fork.
8538 * posix/tst-fork.c: New file.
8540 * resolv/inet_pton.c: Loose __P.
8542 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8544 * libio/libioP.h (_IO_CHECK_WIDE): Define.
8545 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8546 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8547 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8548 _IO_CHECK_WIDE fails.
8550 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8552 * po/da.po: New file.
8554 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8555 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8557 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8558 (Other iconv Implementations): Fix typo.
8559 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8561 2000-05-27 Andreas Jaeger <aj@suse.de>
8563 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8565 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8566 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8567 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8568 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8569 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8570 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8572 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8573 endianness to decide how to pass arguments.
8574 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8576 * elf/vismain.c: Use test-skeleton interface.
8577 (TEST_FUNCTION): New macro.
8578 (do_test): Renamed from main.
8580 2000-05-27 Ulrich Drepper <drepper@redhat.com>
8582 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8583 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8585 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
8586 handling of AI_V4MAPPED flag.
8588 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8589 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
8590 perform lookup for T_A type and tell getanswer_r to convert the
8591 result with new argument.
8592 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
8593 Don't convert addresses from IPv4 to IPv6 here.
8594 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
8595 IPv6 is wanted. Allow qtype and type from reply to disagree if
8596 IPv4 mapping has to be done. Perform mappings if required by the
8597 caller and not if RES_USE_INET6 bit in _res.options is set.
8598 Add several __builtin_expect.
8600 2000-05-26 Ulrich Drepper <drepper@redhat.com>
8602 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
8604 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
8607 * posix/tst-preadwrite.c: Allow parallel execution of
8608 tst-preadwrite and tst-preadwrite64.
8610 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
8611 * posix/tst-truncate.c: New file.
8612 * posix/tst-truncate64.c: New file.
8614 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
8617 * posix/Makefile (tests): Add tst-preadwrite64.
8618 * posix/tst-preadwrite.c: Alloc file being used also for testing
8619 pread64 and pwrite64.
8620 * posix/tst-preadwrite64.c: New file.
8622 2000-05-26 Andreas Jaeger <aj@suse.de>
8624 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
8625 of arguments dependend on endianness.
8626 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
8628 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
8630 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8631 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8632 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8633 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8635 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
8636 endianness to check how to pass argument.
8637 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8639 * elf/ldconfig.h: Update parameter list for process_elf_file.
8641 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
8642 Add parameter file_length and pass it ot process_elf*file.
8644 * sysdeps/generic/readelflib.c (check_ptr): New.
8645 (process_elf_file): Use check_ptr to check all accesses to the
8646 mmapped file. Add parameter file_length.
8648 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
8651 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
8652 Closes PR libc/1573, reported by Bradley White
8653 <bww@laurelnetworks.com>.
8655 2000-05-25 Ulrich Drepper <drepper@redhat.com>
8657 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
8658 __FAST_MATH__ is defined.
8660 2000-05-22 Andreas Jaeger <aj@suse.de>
8662 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
8663 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
8665 * manual/math.texi (FP Function Optimizations): Document gcc
8666 -ffast-math behaviour with mathinlines.
8668 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
8669 functions unless -ffast-math is given to gcc.
8671 2000-05-23 Jakub Jelinek <jakub@redhat.com>
8673 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
8674 __sincosl): Guard with __USE_GNU.
8676 2000-05-24 Ulrich Drepper <drepper@redhat.com>
8678 * csu/Makefile (routines): Add check_fds.
8679 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
8680 binaries. Add various __builtin_expect.
8681 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
8682 * sysdeps/generic/check_fds.c: ...here. New file.
8684 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
8685 binaries if file /etc/suid-debug is available.
8687 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
8688 and wcseqorder members.
8689 (struct locale_collate_t): Likewise.
8690 (collate_finish): Assign collation sequence value to each character.
8691 Create tables for output.
8692 (collate_output): Write out tables with collation sequence information.
8693 * locale/C-collate.c: Provide C locale data for collation sequence
8695 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
8696 _NL_COLLATE_COLLSEQWC.
8697 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
8698 _NL_COLLATE_COLLSEQWC.
8699 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
8700 include fnmatch_loop.c.
8701 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
8702 character is matched by range expression. Use collation sequence
8703 table. Outside glibc fall back on simple character value comparison.
8705 2000-05-24 Andreas Jaeger <aj@suse.de>
8707 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
8710 * intl/Makefile: Run gettext-test only if msgfmt is available.
8712 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
8713 Define it for newer kernels.
8715 2000-05-23 Ulrich Drepper <drepper@redhat.com>
8717 * elf/dl-sym.c: Minor cleanups.
8719 * configure.in: Add test for .protected.
8720 * config.make.in: Add have-protected variable.
8721 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
8722 (tests-vis-yes): Add vismain.
8723 (modules-names): Add $(modules-vis-$(have-protected)).
8724 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
8725 Add rules to generate and run vismain.
8726 * elf/vismain.c: New file.
8727 * elf/vismod1.c: New file.
8728 * elf/vismod2.c: New file.
8729 * elf/vismod3.c: New file.
8731 2000-05-23 Andreas Jaeger <aj@suse.de>
8733 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
8735 * manual/search.texi (Array Sort Function): Document that qsort is
8736 not necessarily in-place.
8738 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8739 Closes PR libc/1731.
8741 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
8742 * dirent/scandir64.c: Likewise.
8743 * pwd/getpw.c: Likewise.
8744 * stdlib/bsearch.c (bsearch): Likewise.
8745 * stdlib/tst-strtoll.c: Likewise.
8746 * localedata/collate-test.c: Likewise.
8747 * localedata/xfrm-test.c: Likewise.
8748 * posix/bsd-getpgrp.c: Likewise.
8749 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8750 * sysdeps/generic/bits/siginfo.h: Likewise.
8751 * sysdeps/generic/bits/sockaddr.h: Likewise.
8752 * sysdeps/generic/sys/swap.h: Likewise.
8753 * sysdeps/generic/sys/sysinfo.h: Likewise.
8754 * sysdeps/generic/vfork.c: Likewise.
8755 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
8756 * sysdeps/mach/hurd/fdopen.c: Likewise.
8757 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
8758 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8759 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8760 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8761 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8762 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8763 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8765 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8766 * shadow/lckpwdf.c: Likewise.
8767 * stdlib/tst-strtol.c: Likewise.
8768 * sysdeps/generic/tcsetattr.c: Likewise.
8769 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8770 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8772 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8774 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8775 free it and set to (void *) -1.
8777 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8779 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8780 not the second character in the range.
8781 * stdio-common/tstscanf.c (main): Add testcase for the above.
8782 Reported by jik@kamens.brookline.ma.us.
8784 2000-05-21 H.J. Lu <hjl@gnu.org>
8786 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8787 with noexec and noplt parameter.
8788 (do_lookup): Likewise.
8790 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8791 do_lookup. Support STV_PROTECTED.
8792 (_dl_lookup_symbol_skip): Likewise.
8793 (_dl_lookup_versioned_symbol): Likewise.
8794 (_dl_lookup_versioned_symbol_skip): Likewise.
8796 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8798 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8800 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8802 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8803 * sysdeps/i386/bits/huge_val.h: Likewise.
8804 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8805 * sysdeps/m68k/bits/huge_val.h: Likewise.
8806 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8807 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8809 2000-05-22 Andreas Jaeger <aj@suse.de>
8811 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8814 2000-05-19 Andreas Jaeger <aj@suse.de>
8816 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8817 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8818 breaks compilation without linuxthreads.
8820 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8822 * sysdeps/ia64/memccpy.S: New file.
8823 * sysdeps/ia64/memchr.S: New file.
8824 * sysdeps/ia64/memcmp.S: New file.
8825 * sysdeps/ia64/memcpy.S: New file.
8826 * sysdeps/ia64/memmove.S: New file.
8827 * sysdeps/ia64/memset.S: New file.
8828 * sysdeps/ia64/strcat.S: New file.
8829 * sysdeps/ia64/strchr.S: New file.
8830 * sysdeps/ia64/strcmp.S: New file.
8831 * sysdeps/ia64/strcpy.S: New file.
8832 * sysdeps/ia64/strlen.S: New file.
8833 * sysdeps/ia64/strncmp.S: New file.
8834 * sysdeps/ia64/strncpy.S: New file.
8835 * sysdeps/ia64/softpipe.h: New file.
8836 Patches by Dan Pop <Dan.Pop@cern.ch>.
8838 * manual/memory.texi: Document memory handling functions (mlock,
8839 munlock, mlockall, munlockall, brk, and sbrk)
8840 * manual/time.texi: Document timespec and friends.
8841 * manual/conf.texi: Fix references.
8842 * manual/ctype.texi: Likewise.
8843 * manual/errno.texi: Likewise.
8844 * manual/intro.texi: Likewise.
8845 * manual/locale.texi: Likewise.
8846 * manual/sysinfo.texi: Likewise.
8847 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8849 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8851 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8852 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8854 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8856 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8859 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8861 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8862 * locale/localeconv.c: Initialize new elements from ISO C99.
8863 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8864 new standard elements.
8865 * locale/categories.def: Adjust accordingly.
8867 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8868 * iconv/iconv.c: Likewise.
8869 * conform/data/iconv.h-data: Likewise.
8870 * iconv/iconv_prog.c (process_block): Remove const from second
8872 (main): Remove const from addr definition.
8873 * manual/charset.texi (Generic Conversion Interface): Remove from
8874 inbuf parameter of iconv.
8876 * intl/dcigettext.c: Fix typo in comment.
8878 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8880 * resolv/res_libc.c (_res): Initialize _sock to -1.
8882 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8884 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8885 (fopencookie@@GLIBC_2.2): New.
8886 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8887 (fopencookie@GLIBC_2.0): New.
8888 * libio/Versions: Add fopencookie to GLIBC_2.2.
8890 2000-05-18 Andreas Jaeger <aj@suse.de>
8892 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8893 Closes PR libc/1731.
8895 * manual/arith.texi (Parsing of Integers): Fix typo.
8896 Closes PR libc/1744, reported by blp@gnu.org.
8898 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8900 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8901 __extension__ to hexadecimal floating constant notation.
8902 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8904 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8905 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8907 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8908 HUGE_VALL): Likewise.
8909 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8910 HUGE_VALL): Likewise.
8911 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8913 2000-05-17 Andreas Jaeger <aj@suse.de>
8915 * string/envz.h: Add pure attributes if possible.
8917 * string/argz.h: argz_count is a pure function.
8919 * string/strings.h: Add pure and const attributes if possible.
8921 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8922 possibly searching through the whole memory.
8923 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8925 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8927 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8929 (_dl_cache_check_flags): Likewise.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8933 2000-05-17 Andreas Jaeger <aj@suse.de>
8935 * manual/creature.texi (Feature Test Macros): Remove paragraph
8936 since the description is wrong.
8937 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8939 * scripts/config.sub: New version.
8940 * scripts/config.guess: Likewise.
8941 * manual/texinfo.tex: Likewise.
8943 * time/test_time.args: Removed.
8944 * time/Makefile (test_time-ARGS): Added contents here instead.
8946 * posix/tstgetopt.args: Removed.
8947 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8949 * Rules: Allow arguments for test files to be specified in
8950 Makefile with testname-ARGS; remove rules with .args in it.
8952 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8953 remove old bogus rule for opendir-tst1.args.
8955 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8957 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8958 into objdir. This allows a readonly sourcetree.
8959 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8961 2000-05-16 Andreas Jaeger <aj@suse.de>,
8962 David Huggins-Daines <dhd@linuxcare.com>
8964 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8965 cache_data in case of only new cache format correctly.
8967 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8970 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8971 struct cache_file_new.
8973 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8976 * elf/cache.c (save_cache): Align struct new_file_cache.
8977 (print_cache): Likewise.
8979 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8981 * elf/soinit.c (__libc_global_ctors): Move
8982 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8983 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8984 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8985 variable, don't define it to __res_state call.
8987 2000-05-13 Andreas Jaeger <aj@suse.de>
8989 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8991 (AF_PPPOX): Likewise.
8992 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8993 (AF_PPPOX): Likewise.
8995 2000-05-12 Andreas Jaeger <aj@suse.de>
8997 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8998 Reported by tmoestl@gmx.net, closes PR libc/1732.
9000 2000-05-11 Jan Hubicka <jh@suse.cz>
9002 * misc/sys/cdefs.h: Add support for pure attribute.
9004 * include/string.h: Add __attribute_pure__ to various functions.
9005 * string/string.h: Likewise.
9007 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9009 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
9011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
9015 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9017 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
9018 at proper place. Compute the high nibble correctly.
9020 2000-05-09 Jakub Jelinek <jakub@redhat.com>
9022 * elf/ldconfig.c: Include elf.h.
9024 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
9025 (_dl_vsym): Likewise.
9026 Reported by Owen Taylor <otaylor@redhat.com>.
9028 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
9031 2000-05-08 Andreas Jaeger <aj@suse.de>
9033 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
9035 * intl/bindtextdom.c (set_binding_values): Add prototype.
9037 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9039 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
9040 call to elf_machine_fixup_plt.
9041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9044 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9046 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
9047 they are not dlclose'd from underneath us.
9049 2000-05-08 Andreas Schwab <schwab@suse.de>
9051 * posix/execle.c: Fix size parameter of memcpy.
9053 2000-05-08 Andreas Schwab <schwab@suse.de>
9055 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
9056 getpagesize syscall if available.
9058 2000-05-08 Andreas Jaeger <aj@suse.de>
9060 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
9063 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9065 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
9066 sizeof(struct link_map *) chunks, not in bytes.
9068 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9070 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
9071 only needed for locale.
9072 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
9073 It's only needed for catgets.
9074 Patches by Greg McGary <gkm@eng.ascend.com>.
9076 2000-05-07 Mark Kettenis <kettenis@gnu.org>
9078 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
9079 Remove duplicate <errno.h> include. Remove inclusion of
9080 <libintl.h> and "nsswitch.h".
9081 (set_cloexec_flag): New function, broken out of dbopen.
9082 (dbopen): Changed return type to `enum
9083 nss_status'. Mostly rewritten to make sure that we do not report
9084 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
9085 (internal_setent): Change return type to nss_status.
9086 Document, and make sure that the function
9087 behaves accordingly. Make dynamically loading the database
9088 library really thread-safe and return NSS_STATUS_UNAVAIL if it
9090 (db_cursor): Return ENOMEM is memory allocation failed. Remove
9092 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
9094 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
9095 c_get function member.
9096 * nss/nss_db/nss_db.h: Add and tweak some comments.
9097 (DBT): Move typedef before NSS_DBC typedef.
9098 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
9100 2000-05-07 H.J. Lu <hjl@gnu.org>
9102 * csu/initfini.c: Moved to ....
9103 * sysdeps/generic/initfini.c: ...here.
9105 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
9107 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9109 * manual/resource.texi: Document POSIX scheduling functions.
9110 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9112 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
9113 reading anything. Reported by Andries.Brouwer@cwi.nl.
9115 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
9116 for x since promotion in comparison might leads to unexpected
9117 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
9119 * iconv/Makefile (tests): Add tst-iconv1.
9120 * iconv/tst-iconv1.c: New file.
9121 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
9122 empty input buffer over full output buffer.
9123 (ucs4_internal_loop): Likewise.
9124 (ucs4_internal_loop_unaligned): Likewise.
9125 (internal_ucs4le_loop): Likewise.
9126 (internal_ucs4le_loop_unaligned): Likewise.
9127 (ucs4le_internal_loop): Likewise.
9128 (ucs4le_internal_loop_unaligned): Likewise.
9129 Reported by yaoz@nih.gov.
9131 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9133 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
9134 returned != __GCONV_OK, there is nothing to clean up.
9136 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9138 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
9139 OUTPUT_CHARSET environment variables.
9141 2000-05-06 Andreas Jaeger <aj@suse.de>
9143 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
9144 (struct cache_file_new): New.
9145 (struct file_entry): New (moved from cache.c).
9146 (struct cache_file): New (moved from cache.c).
9148 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
9149 from _dl_load_cache_lookup.
9150 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
9151 the different cache formats.
9152 New variable cache_new for new format.
9154 * elf/ldconfig.h: Change according to changes in cache.c and
9155 ldconfig.c; remove cache_libcmp; add opt_format.
9157 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
9158 stuff that's defined in those headers.
9159 Add hwcap to struct lib_entry.
9160 (opt_format): New variable to select cache format.
9161 (options): Add format parameter.
9162 (is_hwcap): New function.
9163 (path_hwcap): New function.
9164 (parse_opt): Handle new format parameter.
9165 (search_dir): Handle hwcap, search also subdirectories with hwcap.
9167 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
9168 ldconfig is part of glibc.
9169 Include dl-cache.h and remove stuff that's defined there.
9170 (struct cache_entry): Add new member hwcap.
9171 (print_entry): Print hwcap, cleanup a bit.
9172 (print_cache): Print new and old formats.
9173 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
9174 (save_cache): Save new and old formats.
9175 (add_to_cache): Handle hwcap.
9177 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
9178 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
9179 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
9180 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
9181 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
9182 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
9184 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9186 * intl/dcigettext.c (alignof): New macro.
9187 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
9188 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
9191 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9193 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
9196 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9198 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
9199 (mempcpy): Correct typo is parameter list.
9201 2000-05-06 Andreas Jaeger <aj@suse.de>
9203 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
9204 functions unless -ffast-math is given to gcc.
9206 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9208 * po/ko.po: Update from translation team.
9210 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9212 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
9213 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
9214 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
9215 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
9216 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
9217 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
9219 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
9220 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
9221 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
9223 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
9224 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
9225 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
9226 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
9228 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
9229 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
9231 2000-05-05 Jes Sorensen <jes@linuxcare.com>
9233 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
9234 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
9236 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
9237 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
9239 * sysdeps/ia64/Implies: New file.
9240 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
9241 * sysdeps/ia64/Makefile: New file.
9242 * sysdeps/ia64/gmp-mparam.h: New file,
9244 * sysdeps/ia64/elf/start.S: New file.
9246 * sysdeps/ia64/bits/fenv.h: New file.
9248 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
9250 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
9252 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
9254 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
9255 ia64 has 64 bit .hash entries just as the Alpha.
9257 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9259 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
9261 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
9263 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
9264 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
9265 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
9266 * sysdeps/ia64/fpu/fegetenv.c: New file.
9267 * sysdeps/ia64/fpu/fegetexcept.c: New file.
9268 * sysdeps/ia64/fpu/fegetround.c: New file.
9269 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
9270 * sysdeps/ia64/fpu/fesetenv.c: New file.
9271 * sysdeps/ia64/fpu/fesetround.c: New file.
9272 * sysdeps/ia64/fpu/feupdateenv.c: New file.
9273 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
9274 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
9275 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
9276 * sysdeps/ia64/fpu/ftestexcept.c: New file.
9278 2000-05-05 Andreas Jaeger <aj@suse.de>
9280 * misc/tst-tsearch.c (main): Correct type for initstate argument.
9282 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9283 (_dl_string_hwcap): New, does nothing.
9285 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9286 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9287 (_dl_string_hwcap): New function, converts from string to hwcap
9289 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9290 (_DL_HWCAP_COUNT): New.
9291 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9292 (_dl_string_hwcap): New function, converts from string to hwcap
9294 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
9295 (_DL_HWCAP_COUNT): New.
9296 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9297 (_dl_string_hwcap): New function, converts from string to hwcap
9300 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9302 * elf/Makefile (distribute): Add dl-lookupcfg.h.
9303 * sysdeps/ia64/Dist: New file.
9305 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
9306 parameter to mprotect and for variable assignments.
9308 2000-05-03 Jes Sorensen <jes@linuxcare.com>
9310 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
9311 validity of map before dereferencing it.
9313 * elf/dl-reloc.c (RESOLVE_MAP): Define.
9315 2000-05-02 Jes Sorensen <jes@linuxcare.com>
9317 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
9318 lookup to the arguments to elf_machine_fixup_plt().
9320 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
9321 of the symbol being resolved to input argument list and make the
9322 function return the pointer to the reloc.
9324 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
9325 return valuie to lookup_t and return the value.
9326 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
9327 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
9328 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
9329 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
9330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
9331 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
9333 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
9334 Make it an inline function returning value after calling
9335 __elf_machine_fixup_plt().
9337 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
9340 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
9341 obtain the symbol address.
9343 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
9344 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
9346 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
9347 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
9350 2000-04-28 Jes Sorensen <jes@linuxcare.com>
9352 * elf/dl-runtime.c (fixup): Use the portable macros to get the
9353 symbol address of an object.
9355 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
9356 the symbol address of an object.
9358 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
9359 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
9360 (_dl_lookup_symbol_skip): Likewise.
9361 (_dl_lookup_versioned_symbol): Likewise.
9362 (_dl_lookup_versioned_symbol_skip): Likewise.
9364 2000-04-27 Jes Sorensen <jes@linuxcare.com>
9366 * elf/rtld.c (_dl_start): Get the function pointer return address
9367 via _dl_start_address for architectures that need a function
9368 pointer descriptor rather than just a pointer (ia64).
9370 * sysdeps/generic/dl-lookupcfg.h: New file.
9371 * sysdeps/ia64/dl-lookupcfg.h: New file.
9372 * sysdeps/ia64/dl-machine.h: New file.
9373 * sysdeps/ia64/dl-symaddr.c: New file.
9374 * sysdeps/ia64/dl-fptr.c: New file.
9376 * elf/elf.h: Add IA-64 specific definitions.
9378 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9380 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
9383 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9385 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
9388 2000-04-11 Geoff Keating <geoffk@cygnus.com>
9390 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
9391 symbol. Call _dl_init rather than the old way.
9393 2000-05-04 Ulrich Drepper <drepper@redhat.com>
9395 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
9396 test for pointer in range of DSO address space.
9398 2000-05-04 Andreas Jaeger <aj@suse.de>
9400 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
9402 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9404 * locale/findlocale.c (_nl_find_locale): Add new parameter to
9405 calls of _nl_make_l10nflist.
9407 * libio/stdio.h: Make fseeko and ftello prototypes available is
9408 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
9410 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
9411 real unsetenv implementation from 1999-07-29 [PR libc/1714].
9413 2000-05-03 Bruno Haible <haible@clisp.cons.org>
9415 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
9416 before calling tfind.
9418 2000-03-05 Jakub Jelinek <jakub@redhat.com>
9420 * resolv/resolv.h (res_querydomain): Remove redefinition to
9421 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
9423 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9425 * po/gl.po: Update from translation team.
9427 * manual/intro.texi (Program Basics): Change section title.
9428 * manual/process.texi: Fix reference.
9429 (Executing a File): Add reference exec in other section.
9430 * manual/signal.texi: Fix reference.
9431 * manual/startup.texi: Document syscall function.
9432 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9434 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9436 * intl/libintl.h (bind_textdomain_codeset): New declaration.
9437 * intl/bindtextdom.c (set_binding_values): New function.
9438 (bindtextdomain): Call it.
9439 (bind_textdomain_codeset): New function.
9440 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
9441 (free_mem): Free each binding's codeset.
9442 * intl/gettextP.h (struct binding): Add codeset field.
9443 (_nl_find_domain): Add domainbinding argument.
9444 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
9445 Pass it to _nl_make_l10nflist.
9446 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
9447 (_nl_make_l10nflist): Add domainbinding argument.
9448 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
9449 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
9450 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
9452 * manual/message.texi: New node "Charset conversion in gettext".
9454 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9456 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
9457 appropriate. Handle possible __read error.
9459 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9461 * intl/gettextP.h (__builtin_expect): Define as empty if not a
9463 * intl/loadinfo.h (__builtin_expect): Likewise.
9464 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
9465 __builtin_expect where appropriate.
9466 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9467 * intl/localealias.c (extend_alias_table): Return an error indicator.
9468 (read_alias_file): Bail out if extend_alias_table fails.
9470 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9472 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
9473 * intl/localealias.c: Likewise.
9475 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9477 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
9478 Initialize domain->plural and domain->nplurals even if there is no
9481 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9483 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
9484 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
9485 In case of failure, goto converted.
9487 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9489 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9490 * iconv/gconv_int.h (norm_add_slashes): Move to here.
9491 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9494 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9496 * intl/dcigettext.c (transcmp): Compare the domains as well.
9497 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9499 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9502 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9504 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9505 Reported by Bruno Haible.
9507 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9509 * manual/arith.texi: Remove @w from @itemize.
9511 2000-05-02 Andreas Jaeger <aj@suse.de>
9513 * conform/data/tar.h-data: Add some checks for specific values.
9515 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9518 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9521 * conform/data/netinet/in.h-data: Add exact checks for the values
9522 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9524 * conform/data/float.h-data: Add some minimal values.
9526 * conform/conformtest.pl: Test for macros with string constants,
9527 check for minimum and maximum values.
9528 Add limits.h to headers.
9530 * conform/data/cpio.h-data: Test for value of MAGIC.
9532 * conform/data/limits.h-data: New file.
9534 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9536 * math/Makefile (headers): Add bits/fenvinline.h.
9538 2000-05-01 Ulrich Drepper <drepper@redhat.com>
9540 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9541 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9543 * posix/Versions: Change posix_spawnattr_getdefault and
9544 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9545 and posix_spawnattr_setsigdefault respectively.
9546 * posix/spawn.h: Likewise.
9547 * posix/spawnattr_getdefault.h: Likewise.
9548 * posix/spawnattr_setdefault.h: Likewise.
9549 * conform/data/spawn.h-data: Likewise.
9551 2000-05-01 Andreas Jaeger <aj@suse.de>
9553 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9555 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9557 * manual/sysinfo.texi: Document getdomainname, setdomainname
9559 * manual/string.texi: Fix typo.
9560 * manual/terminal.texi: Document gtty and stty.
9561 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9563 2000-04-30 Andreas Jaeger <aj@suse.de>
9565 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9566 accordance with Austin Draft.
9568 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9570 * catgets/gencat.c (read_input_file): Use isblank and not isspace
9571 to recognize second character in comment line.
9573 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9574 ENOBUFS if we are out of memory.
9576 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9577 available if __USE_XOPEN2K.
9578 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9579 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9580 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9582 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9584 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9585 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9587 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9589 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
9590 Recognize option -s, -c, and -l.
9592 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
9594 * nscd/nscd.c: Start new session for nscd, drop privilegs
9595 to configured user if requested and no -S parameter are used.
9596 * nscd/nscd.conf: Add new option "server-user".
9597 * nscd/nscd_conf.c: Add support for new "server-user" option.
9598 * nscd/nscd.h: Add declaration for server_user variable.
9599 Based on patch by Chris Wing <wingc@engin.umich.edu>
9601 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9603 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
9604 that changing the __restore and __restore_rt signal return code
9607 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9609 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
9612 2000-04-29 Mark Kettenis <kettenis@gnu.org>
9614 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
9616 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9618 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
9619 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
9621 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
9622 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
9623 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
9624 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
9625 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
9626 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
9627 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
9628 posix_fallocate, and posix_madvise.
9629 * conform/data/netdb.h-data: New file.
9630 * conform/data/pthread.h-data: Add pthread_barrier_t,
9631 pthread_barrierattr_t, pthread_barrier_destroy,
9632 pthread_barrier_init, pthread_barrier_wait,
9633 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
9634 pthread_barrierattr_init, pthread_barrierattr_setpshared,
9635 pthread_condattr_getclock, pthread_condattr_setclock,
9636 pthread_getcpuclockid, pthread_mutex_timedlock,
9637 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
9638 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
9639 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
9640 * conform/data/sched.h-data: Add sched_ss_low_priority,
9641 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
9643 * conform/data/semaphore.h-data: Add sem_timedwait.
9644 * conform/data/signal.h-data: Add SIGIO.
9645 * conform/data/spawn.h-data: New file.
9646 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
9647 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
9648 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
9649 Fix typo in gmtime_r definition.
9650 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
9651 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
9652 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
9653 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
9654 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
9655 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
9656 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
9657 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
9658 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
9659 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
9660 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
9661 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
9662 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
9663 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
9664 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
9665 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
9666 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
9667 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
9668 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
9669 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
9670 typo in off_t definition.
9671 * conform/data/net/if.h-data: New file.
9672 * conform/data/netinet/in.h-data: New file.
9673 * conform/data/netinet/tcp.h-data: New file.
9674 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
9675 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
9676 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
9677 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
9678 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
9679 and posix_typed_mem_open.
9680 * conform/data/sys/socket.h-data: New file.
9681 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
9682 * conform/data/sys/types.h-data: Add pthread_barrier_t,
9683 pthread_barrierattr_t, and pthread_spinlock_t.
9684 * conform/data/sys/un.h-data: New file.
9685 * conform/data/sys/utsname.h-data: New file.
9687 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
9689 * inet/gethstbyad.c (gethostbyname): Likewise.
9690 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
9691 * inet/getipnodebyad.c (getipnodebyad): Likewise.
9692 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
9693 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
9695 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
9696 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
9697 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
9698 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
9699 * resolv/gethnamaddr.c (gethostbyname): Likewise.
9700 * resolv/netdb.h (struct hostent): Fix type of h_length member.
9701 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
9702 and second parameter.
9704 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
9707 2000-04-29 Andreas Jaeger <aj@suse.de>
9709 * conform/data/arpa/inet.h-data: New file.
9711 2000-04-28 Geoff Clare <gwc@unisoft.com>
9713 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
9714 path passed to ftw() or nftw() is an empty string.
9715 Closes PR libc/1710.
9717 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9719 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
9720 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
9721 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
9722 * localedata/tst-mbswcs4.c: New file.
9723 * localedata/tst-mbswcs5.c: New file.
9725 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
9726 == NULL. Little optimization.
9728 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
9729 DT_PREINIT_ARRAYSZ).
9730 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
9732 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
9733 overflows in conversion from ASCII.
9735 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9737 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
9738 * Makerules (full_config_sysdirs): Likewise.
9739 * MakeTAGS (full_config_sysdirs): Likewise.
9741 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9743 * .cvsignore: Remove linuxthreads.
9744 * po/.cvsignore: Remove *.pot.
9745 * posix/glob/.cvsignore: Removed.
9746 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
9748 2000-04-25 Andreas Jaeger <aj@suse.de>
9750 * conform/Makefile (distribute): Also distribute contents of
9753 * Makerules (no_deps): Remove abi-versions.h.
9755 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
9757 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9759 * sysdeps/sparc/sparc64/elf/Dist: Remove.
9760 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
9761 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
9762 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9763 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9764 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9767 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9769 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9771 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9773 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9774 * intl/l10nflist.c: Likewise.
9776 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9778 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9779 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9780 * intl/textdomain.c [!_LIBC]: Likewise.
9781 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9782 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9783 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9786 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9788 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9789 character set conversion also in the case the translation was found
9790 after a hash collision or through binary search. Store the maximum
9791 index together with the converted message. Use iconv() when available.
9792 In case of out of memory during conversion, return the unconverted
9793 translated string, not NULL.
9795 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9797 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9798 to avoid name clashes with the ia32 linker.
9800 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9802 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9805 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9807 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9808 strtoumax, strfry, and memfrob.
9809 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9810 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9812 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9813 if this function is available.
9815 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9818 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9820 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9822 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9824 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9825 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9826 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9827 * localedata/tst-mbswcs3.c: New file.
9829 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9831 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9832 characters. Don't handle incomplete characters as errors.
9833 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9834 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9835 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9836 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9837 * localedata/tst-mbswcs2.c: New file.
9839 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9840 stored character in state in UNPACK_BYTES macro.
9841 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9842 test for available characters, handle result of BODY code correctly.
9843 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9844 (distribute): Add tst-mbswcs.sh.
9845 Add rule to run tst-mbswcs.sh.
9846 * localedata/tst-mbswcs.sh: New file.
9847 * localedata/tst-mbswcs1.c: New file.
9849 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9851 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9852 allocation fixups centrally, fix __builtin_expect call, return NULL
9853 on failure, not NIS_NOMEMORY.
9855 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9857 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9859 * intl/loadinfo.h (internal_function): Define if not already defined.
9861 2000-04-27 Andreas Jaeger <aj@suse.de>
9863 * intl/libintl.h: Fix typo, reported by Bruno Haible
9864 <haible@clisp.cons.org>.
9866 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9868 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9869 setting the state to GMON_PROF_BUSY.
9871 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9873 * elf/dl-profile.c (_dl_start_profile): define all variables which
9874 do not have to be global as local variables.
9876 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9877 patch. Keep needed tests for failed memory allocation.
9879 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9880 __builtin_expect saying that we don't normally expect to profile.
9882 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9883 __builtin_expect where desirable.
9885 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9887 * manual/Makefile (chapters): Add syslog.
9888 * manual/syslog.texi: New file.
9889 * manual/math.texi: Fix references.
9890 * manual/terminal.texi: Likewise.
9891 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9893 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9895 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9896 stdlib.h was not included or __USE_XOPEN not defined.
9898 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9900 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9901 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9903 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9905 * manual/examples/subopt.c (mount_opts): Add missing terminating
9907 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9909 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9910 * libio/ftello.c: Likewise.
9911 * libio/ftello64.c: Likewise.
9912 * libio/ioftell.c: Likewise.
9913 * sysdeps/generic/memrchr.c: Likewise.
9914 * sysdeps/posix/libc_fatal.c: Likewise.
9915 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9916 * misc/fstab.c: Include <string.h> for strcmp prototype.
9917 * sysdeps/generic/ldsodefs.h: Likewise.
9918 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9919 Patch by Kurt Roeckx <Q@ping.be>.
9921 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9922 Remove db-open. Change all uses.
9923 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9925 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9927 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9928 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9929 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9930 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9931 with .set noat/at to shut up warnings.
9932 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9933 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9934 compilation if __NR_pciconfig_iobase is not defined.
9935 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9938 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9940 * manual/sysinfo.texi: Fix typo.
9941 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9942 Replace "high precision time" with "high accuracy clock".
9944 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9946 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9947 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9949 * nis/nis_subr.c: Use __builtin_expect.
9950 * nis/ypclnt.c: Likewise.
9951 * nis/nis_getservlist.c: Likewise.
9952 * nis/nis_creategroup.c: Likewise.
9954 * nis/nis_callback.c (__nis_create_callback): Check result of
9955 memory allocation. Fix memory leaks. Use __builtin_expect.
9956 (__nis_destroy_callback): Fix memory leaks.
9958 2000-04-21 Andreas Jaeger <aj@suse.de>
9960 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9961 * sysdeps/mips/mips64/add_n.S: Likewise.
9962 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9963 * sysdeps/mips/mips64/lshift.S: Likewise.
9964 * sysdeps/mips/mips64/mul_1.S: Likewise.
9965 * sysdeps/mips/mips64/rshift.S: Likewise.
9966 * sysdeps/mips/mips64/setjmp.S: Likewise.
9967 * sysdeps/mips/mips64/sub_n.S: Likewise.
9968 * sysdeps/mips/mips64/submul_1.S: Likewise
9969 * sysdeps/unix/mips/sysdep.S: Likewise.
9971 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9972 and update comment. The strtab from _dl_relocate_object can be
9975 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9977 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9978 * iconv/iconv_close.c (iconv_close): Likewise.
9979 * iconv/iconv_open.c (iconv_open): Likewise.
9981 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9982 __builtin_expect where useful.
9984 * grp/initgroups.c (initgroups): Test for result of memory
9985 allocation and punt if it fails.
9987 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9988 * grp/fgetgrent.c (fgetfrent): Likewise.
9989 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9991 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9993 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9995 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9997 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9998 don't search for NUL byte to decrement counter.
9999 Reported by Ulrich.Brink@sap.com.
10001 * iconv/gconv_simple.c: Define separate functions to convert from
10002 UCS4/UCS4-LE to the internal encoding.
10003 * iconv/gconv_builtin.h: Use separate functions to convert from
10004 UCS4/UCS4-LE to the internal encoding.
10005 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
10006 __gconv_transform_ucs4le_internal.
10008 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
10009 output buffer overflow. Reported by Ulrich.Brink@sap.com.
10011 * iconv/skeleton.c: Add some more __builtin_expect.
10012 * iconv/loop.c: Likewise.
10014 2000-03-08 H.J. Lu <hjl@gnu.org>
10016 * posix/regex.c (regex_compile): Correctly handle "\{" when
10017 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
10019 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10021 * manual/stdio.texi: Give advise about handling error when using
10023 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
10025 2000-04-19 Jakub Jelinek <jakub@redhat.com>
10027 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
10028 field to nelems * sizeof (uint32_t).
10029 * locale/programs/ld-address.c (address_output): Align word fields
10031 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10032 Don't restart idx pointers to idx end at the duo_int_curr_symbol
10034 Avoid giving arbitrary garbage in the crncystr field.
10035 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
10036 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
10038 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10039 Don't restart idx pointers to idx end at the decimal_point_wc field.
10040 * locale/programs/ld-time.c (time_output): week_1stday should be
10041 word, not byte. Align it properly.
10043 2000-04-19 H.J. Lu <hjl@gnu.org>
10045 * csu/gmon-start.c (_start): Declared as "extern void".
10048 2000-04-18 Andreas Jaeger <aj@suse.de>
10050 * manual/install.texi (Running make install): Don't mention utmpd
10053 2000-04-18 Andreas Jaeger <aj@suse.de>
10055 * linuxthreads/Versions: Use ld instead of ld.so.
10057 * elf/Makefile (ld-map): Use ld.map.
10059 * Versions.def: Use ld instead of ld.so.
10060 * elf/Versions: Likewise.
10061 * sysdeps/mach/hurd/Versions: Likewise.
10063 2000-04-20 Andreas Jaeger <aj@suse.de>
10065 * elf/rtld.c (print_statistics): Move ifndef further up.
10066 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
10067 (dl_main): Likewise.
10069 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10071 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
10072 * gmon/Versions: Move moncontrol to GLIBC_2.2.
10074 * po/cs.po: Update from translation team.
10076 * sysdeps/generic/updwtmp.c: Remove daemon support.
10078 * login/Makefile (routines): Remove utmp_daemon.
10080 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
10081 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
10082 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
10083 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
10085 * elf/rtld.c: Display statitics option also if hp timing is not
10088 * login/programs/connection.c: Removed.
10089 * login/programs/database.c Removed.
10090 * login/programs/error.c: Removed.
10091 * login/programs/request.c: Removed.
10092 * login/programs/xtmp.c: Removed.
10093 * login/programs/xtmp.h: Removed.
10094 * login/Makefile: Remove rules for utmpd.
10095 * login/README.utmpd: Removed.
10096 * login/utmp_daemon.c: Removed.
10097 * login/getutent_r.c: Remove references to daemon functions.
10098 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
10101 2000-04-18 Andreas Jaeger <aj@suse.de>
10103 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10104 2.2 for libnsl, libresolv, librt, libnss_*.
10106 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
10108 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
10110 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10112 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
10113 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
10114 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
10115 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
10116 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
10117 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
10118 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
10119 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
10120 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
10121 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
10122 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
10123 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
10124 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
10126 * sysdeps/unix/sysv/aix/msync.c: New file.
10127 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
10128 * sysdeps/unix/sysv/aix/net/if.h: New file.
10129 * sysdeps/unix/sysv/aix/pipe.c: New file.
10130 * sysdeps/unix/sysv/aix/poll.c: New file.
10131 * sysdeps/unix/sysv/aix/rename.c: New file.
10132 * sysdeps/unix/sysv/aix/rmdir.c: New file.
10133 * sysdeps/unix/sysv/aix/select.c: New file.
10134 * sysdeps/unix/sysv/aix/semctl.c: New file.
10135 * sysdeps/unix/sysv/aix/semget.c: New file.
10136 * sysdeps/unix/sysv/aix/semop.c: New file.
10137 * sysdeps/unix/sysv/aix/sendto.c: New file.
10138 * sysdeps/unix/sysv/aix/setgroups.c: New file.
10139 * sysdeps/unix/sysv/aix/setpgid.c: New file.
10140 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
10141 * sysdeps/unix/sysv/aix/setpriority.c: New file.
10142 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
10143 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
10144 * sysdeps/unix/sysv/aix/setsid.c: New file.
10145 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
10146 * sysdeps/unix/sysv/aix/shmat.c: New file.
10147 * sysdeps/unix/sysv/aix/shmctl.c: New file.
10148 * sysdeps/unix/sysv/aix/shmdt.c: New file.
10149 * sysdeps/unix/sysv/aix/shmget.c: New file.
10150 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
10151 * sysdeps/unix/sysv/aix/sigstack.c: New file.
10152 * sysdeps/unix/sysv/aix/socket.c: New file.
10153 * sysdeps/unix/sysv/aix/socketpair.c: New file.
10154 * sysdeps/unix/sysv/aix/speed.c: New file.
10155 * sysdeps/unix/sysv/aix/symlink.c: New file.
10156 * sysdeps/unix/sysv/aix/sync.c: New file.
10157 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
10158 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
10159 * sysdeps/unix/sysv/aix/times.c: New file.
10160 * sysdeps/unix/sysv/aix/ulimit.c: New file.
10161 * sysdeps/unix/sysv/aix/umask.c: New file.
10162 * sysdeps/unix/sysv/aix/unlink.c: New file.
10163 * sysdeps/unix/sysv/aix/ustat.c: New file.
10164 * sysdeps/unix/sysv/aix/utimes.c: New file.
10166 2000-04-18 Andreas Jaeger <aj@suse.de>
10168 * manual/startup.texi (Environment Access): Fix putenv prototype
10169 according to recent changes.
10170 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
10173 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
10176 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10178 * posix/Makefile (tests): Add tst-getaddrinfo.
10179 * posix/tst-getaddrinfo.c: New file.
10181 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10183 * manual/sysinfo.texi: Document that umount2 is not widely available.
10185 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
10186 signal timing is not really implemented.
10188 2000-04-17 Andreas Jaeger <aj@suse.de>
10190 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
10192 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10194 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
10197 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10199 * manual/intro.texi: Change reference from System Information to
10201 * manual/users.texi: Likewise.
10202 * manual/conf.texi: Likewise.
10203 * manual/sysinfo.texi: Document mount, umount, and umount2.
10204 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10206 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10208 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
10209 Create wnumstr as well as numstr to support wide character output
10212 2000-04-15 Jakub Jelinek <jakub@redhat.com>
10214 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
10215 modification and move it...
10216 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
10217 Add -melf64_sparc switch to $(LD) on sparc64-linux.
10218 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
10219 switch to $(LD) on sparc-linux.
10221 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
10224 and setresuid from sysdep_routines.
10226 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10228 * manual/Makefile (chapters): Add resource.
10230 * manual/time.texi: Move section on resources to...
10231 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
10233 * manual/setjmp.texi: Adjust back reference.
10234 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10236 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
10238 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
10239 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
10240 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
10241 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
10242 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
10243 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
10244 * sysdeps/unix/sysv/aix/close.c: Add copyright.
10245 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
10246 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
10247 * sysdeps/unix/sysv/aix/access.c: Add copyright.
10248 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
10249 * sysdeps/unix/sysv/aix/Implies: New file.
10250 * sysdeps/unix/sysv/aix/Versions: New file.
10251 * sysdeps/unix/sysv/aix/bind.c: New file.
10252 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
10253 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
10254 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
10255 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
10256 * sysdeps/unix/sysv/aix/chdir.c: New file.
10257 * sysdeps/unix/sysv/aix/chmod.c: New file.
10258 * sysdeps/unix/sysv/aix/chroot.c: New file.
10259 * sysdeps/unix/sysv/aix/creat.c: New file.
10260 * sysdeps/unix/sysv/aix/dl-close.c: New file.
10261 * sysdeps/unix/sysv/aix/dl-open.c: New file.
10262 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
10263 * sysdeps/unix/sysv/aix/fchdir.c: New file.
10264 * sysdeps/unix/sysv/aix/fchmod.c: New file.
10265 * sysdeps/unix/sysv/aix/getgroups.c: New file.
10266 * sysdeps/unix/sysv/aix/gethostname.c: New file.
10267 * sysdeps/unix/sysv/aix/getpriority.c: New file.
10268 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
10269 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
10270 * sysdeps/unix/sysv/aix/getrusage.c: New file.
10271 * sysdeps/unix/sysv/aix/link.c: New file.
10272 * sysdeps/unix/sysv/aix/madvise.c: New file.
10273 * sysdeps/unix/sysv/aix/mkdir.c: New file.
10274 * sysdeps/unix/sysv/aix/mknod.c: New file.
10275 * sysdeps/unix/sysv/aix/mprotect.c: New file.
10276 * sysdeps/unix/sysv/aix/msgctl.c: New file.
10277 * sysdeps/unix/sysv/aix/msgget.c: New file.
10278 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
10280 2000-04-17 Andreas Jaeger <aj@suse.de>
10282 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
10283 as suggested by Ulrich Drepper.
10284 (__dl_runtime_resolve): Remove unused variable, initialize sym
10286 (RTLD_START): Document OFFSET_GP_GOT.
10287 (OFFSET_GP_GOT): New magic value.
10288 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
10289 (elf_machine_got_rel): Only declare strtab if needed.
10290 (elf_machine_relplt): Removed, it's not needed.
10291 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
10293 * sysdeps/mips/add_n.S: Add newline at EOF.
10294 * sysdeps/mips/rshift.S: Likewise.
10295 * sysdeps/mips/mul_1.S: Likewise.
10296 * sysdeps/mips/lshift.S: Likewise.
10297 * sysdeps/mips/addmul_1.S: Likewise.
10299 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10301 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
10303 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
10304 * elf/dl-lookup.c: Likewise.
10305 * elf/dl-init.c (_dl_init): Likewise.
10306 * elf/dl-fini.c (_dl_fini): Likewise.
10307 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10308 * elf/dl-close.c (_dl_close): Likewise.
10309 * elf/rtld.c (_dl_start_final): Likewise.
10311 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
10313 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10315 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
10316 only fall back on using Linux.
10318 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
10319 Before testing versions check that we actually loaded the object
10320 and whether we are in trace mode. If not loaded during tracing don't
10321 test versions in this object.
10322 (_dl_check_all_versions): Take new parameter and pass to
10323 _dl_check_map_versions.
10324 * sysdeps/generic/ldsodefs.h: Update prototypes for
10325 _dl_check_all_versions and _dl_check_map_versions.
10326 * elf/rtld.c (struct version_check_args): Add dotrace.
10327 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
10328 (dl_main): Pass info about trace mode to version_check_doit.
10329 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
10330 _dl_check_all_versions.
10332 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
10334 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10336 * manual/argp.texi: Document index parameter of argp_parse.
10338 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
10340 2000-04-14 Andreas Jaeger <aj@suse.de>
10342 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
10343 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
10345 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
10347 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10349 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
10350 compat_symbol call for old adjtime.
10352 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
10353 function interface. Patch by Richard Henderson <rth@cygnus.com>.
10355 * posix/Makefile (headers): Add spawn.h.
10356 (distribute): Add spawn_int.h.
10357 (routines): Add spawn_faction_init, spawn_faction_destroy,
10358 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
10359 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
10360 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
10361 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
10362 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
10363 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
10364 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
10365 posix_spawnattr_init, posix_spawnattr_destroy,
10366 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
10367 posix_spawnattr_getflags, posix_spawnattr_setflags,
10368 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
10370 * posix/spawn.c: New file.
10371 * posix/spawn.h: New file.
10372 * posix/spawn_faction_addclose.c: New file.
10373 * posix/spawn_faction_adddup2.c: New file.
10374 * posix/spawn_faction_addopen.c: New file.
10375 * posix/spawn_faction_destroy.c: New file.
10376 * posix/spawn_faction_init.c: New file.
10377 * posix/spawn_int.h: New file.
10378 * posix/spawnattr_destroy.c: New file.
10379 * posix/spawnattr_getdefault.c: New file.
10380 * posix/spawnattr_getflags.c: New file.
10381 * posix/spawnattr_getpgroup.c: New file.
10382 * posix/spawnattr_getschedparam.c: New file.
10383 * posix/spawnattr_getschedpolicy.c: New file.
10384 * posix/spawnattr_getsigmask.c: New file.
10385 * posix/spawnattr_init.c: New file.
10386 * posix/spawnattr_setdefault.c: New file.
10387 * posix/spawnattr_setflags.c: New file.
10388 * posix/spawnattr_setpgroup.c: New file.
10389 * posix/spawnattr_setschedparam.c: New file.
10390 * posix/spawnattr_setschedpolicy.c: New file.
10391 * posix/spawnattr_setsigmask.c: New file.
10392 * posix/spawni.c: New file.
10393 * posix/spawnp.c: New file.
10395 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
10396 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10398 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10400 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
10401 * malloc/malloc.c: Implement posix_memalign for glibc.
10402 * include/stdlib.h: Add prototype for __posix_memalign.
10403 * stdlib/stdlib.h: Add prototype for posix_memalign.
10405 2000-04-14 Andreas Jaeger <aj@suse.de>
10407 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
10409 (elf_machine_got_rel): Cast sym correctly.
10411 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
10412 * sysdeps/mips/addmul_1.S: Likewise.
10413 * sysdeps/mips/lshift.S: Likewise.
10414 * sysdeps/mips/mul_1.S: Likewise.
10415 * sysdeps/mips/rshift.S: Likewise.
10416 * sysdeps/mips/sub_n.S: Likewise.
10417 * sysdeps/mips/submul_1.S: Likewise.
10419 * stdlib/stdlib.h: Fix typo in comment.
10421 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10422 2.2 for libdl, ld and libm.
10424 * sysdeps/generic/madvise.c: Fix typos.
10426 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
10428 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
10430 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
10433 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10435 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
10436 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
10437 Make old name weak alias.
10438 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
10439 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
10440 Make old name weak alias.
10441 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
10443 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
10444 posix_fallocate, and posix_fallocate64.
10445 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
10446 posix_fallocate, and posix_fallocate64.
10447 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
10448 posix_fallocate, and posix_fallocate64.
10449 * sysdeps/generic/fadvise.c: New file.
10450 * sysdeps/generic/fadvise64.c: New file.
10451 * sysdeps/generic/fallocate.c: New file.
10452 * sysdeps/generic/fallocate64.c: New file.
10453 * sysdeps/posix/fallocate.c: New file.
10454 * sysdeps/posix/fallocate64.c: New file.
10455 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
10456 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
10457 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
10458 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
10459 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
10460 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
10461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10462 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
10463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10465 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
10466 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10468 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10470 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
10471 * misc/sys/mman.h (posix_madvise): Add prototype.
10472 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
10473 old name and posix_madvise weak aliases.
10474 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10475 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
10476 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10477 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10478 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10479 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10480 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10482 2000-04-13 Andreas Jaeger <aj@suse.de>
10484 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
10486 (elf_machine_got_rel): Only add runtime display if needed.
10487 (elf_machine_got_rel): Handle symbol versioning.
10489 2000-04-13 Andreas Jaeger <aj@suse.de>
10491 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10493 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10496 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10497 with some applications.
10498 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10500 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10501 * sysdeps/mips/bsd-_setjmp.S: Likewise.
10502 * sysdeps/mips/setjmp.S: Likewise.
10504 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10506 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10508 * posix/globtest.sh: Work around inconsistency with expanding ~/
10509 in shell (PR libc/1690). Reported by patsmith@pobox.com.
10511 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10513 * posix/getconf.c: Add support for many more POSIX options.
10514 * sysdeps/posix/sysconf.c: Likewise.
10515 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10516 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10518 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10519 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10520 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
10521 CLOCK_THREAD_CPUTIME_ID.
10522 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10523 CLOCK_PROCESS_CPUTIME_ID.
10524 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10525 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
10526 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10527 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10529 * malloc/Makefile (tests): Add tst-calloc.
10530 * malloc/tst-calloc.c: New file.
10532 * sysdeps/arm/libm-test-ulps: New file.
10534 * malloc/malloc.c: Undo all of today's changes.
10536 * locale/programs/locale.c (show_info): Don't try to look into
10537 data for LC_ALL (there is none).
10539 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10540 avoid writing over boundary.
10541 Patch by Greg McGary <gkm@eng.ascend.com>.
10543 * sysdeps/arm/memprof.h: New file.
10545 2000-04-12 Andreas Jaeger <aj@suse.de>
10547 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10549 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10550 for memmem declaration.
10552 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10554 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10556 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10558 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10560 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10561 Patch by Bart Veer <bartv@redhat.com>.
10563 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10564 function interface.
10566 2000-04-11 Andreas Jaeger <aj@suse.de>
10568 * sysdeps/mips/dl-machine.h: Update some comments.
10569 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10571 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10573 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10574 _POSIX_SHARED_MEMORY_OBJECTS.
10576 * rt/Makefile (tests): Add tst-shm.
10577 Add rules to generate tst-shm.
10578 * rt/tst-shm.c: New file.
10580 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10583 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10584 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10585 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10586 * sysdeps/generic/shm_open.c: New file.
10587 * sysdeps/generic/shm_unlink.c: New file.
10588 * sysdeps/unix/sysv/linux/shm_open.c: New file.
10589 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
10590 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
10591 __endmntent, __getmntent_r, __setmntent, and __statfs.
10593 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
10594 fragmentation by allocating new memory at the end instead of
10597 * posix/globtest.sh: Fix last change.
10599 2000-04-10 Philip Blundell <philb@gnu.org>
10601 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
10602 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
10603 IPV6_DROP_MEMBERSHIP.
10604 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
10607 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10609 * elf/readlib (process_file): Close streams in case of an error.
10611 2000-04-09 Andreas Jaeger <aj@suse.de>
10613 * elf/readlib.c (process_file): Check if file is big enough to
10614 contain aout and ELF headers.
10615 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
10617 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
10619 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
10621 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10623 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
10625 * rt/Makefile (tests): Add tst-clock.
10626 Add rules to build tst-clock.
10627 * rt/tst-clock.c: New file.
10628 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
10629 about initialization of nsec.
10630 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
10631 about initialization of freq. Set retval to zero if successful.
10632 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
10634 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10636 * Versions.def (librt): Add GLIBC_2.2.
10637 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
10638 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
10639 timer_getoverr, timer_gettime, and timer_settime.
10640 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
10641 clock_settime, timer_create, timer_delete, timer_getoverrun,
10642 timer_gettime, and timer_settime.
10643 * sysdeps/generic/clock_getcpuclockid.c: New file.
10644 * sysdeps/generic/get_clockfreq.c: New file.
10645 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
10646 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
10647 * sysdeps/mach/hurd/i386/bits/time.h: New file.
10648 * sysdeps/unix/i386/i586/clock_getres.c: New file.
10649 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
10650 * sysdeps/unix/i386/i686/Implies: New file.
10651 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
10652 * time/Makefile (routines): Move clock_getres, clock_gettime,
10653 clock_settime, timer_create, timer_delete, timer_getoverr,
10654 timer_gettime, and timer_settime to rt/Makefile.
10655 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
10656 clock_settime, timer_create, timer_delete, timer_getoverrun,
10657 timer_gettime, and timer_settime.
10658 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
10660 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
10661 and not const as attribute name.
10663 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
10665 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
10667 2000-04-10 Andreas Schwab <schwab@suse.de>
10669 * posix/globtest.sh: Skip tests that depend on unreadable
10670 directories if run as root.
10672 2000-04-10 Ulrich Drepper <drepper@redhat.com>
10674 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
10675 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
10677 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10679 * sysdeps/unix/clock_gettime.c: New file.
10680 * sysdeps/unix/clock_settime.c: New file.
10681 * sysdeps/posix/clock_getres.c: New file.
10683 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
10685 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
10686 lseek call be passing in a buffer which never allow a successful
10687 first getdents syscall if not at leas the initial entry can be
10688 stored in the user buffer.
10690 * localedata/Makefile: Add rules to clean up directories created by
10693 2000-04-09 Geoff Clare <gwc@unisoft.com>
10695 * localedata/tst-fmon.data: Added new tests for strfmon()
10696 using test locales with all combinations of cs_precedes,
10697 sign_posn and sep_by_space.
10698 * localedata/tst-fmon.sh: Updated to support the new tests.
10699 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
10700 the localedef source for the new strfmon() test locale.
10701 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
10702 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
10703 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
10704 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
10705 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
10706 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
10707 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
10708 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
10709 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
10710 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
10711 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
10712 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
10713 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
10714 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
10716 * stdlib/strfmon.c: Correct problems with missing or extra
10717 spaces for unusual combinations of sign_posn and sep_by_space.
10718 Improved left-precision alignment code.
10720 2000-04-07 Andreas Jaeger <aj@suse.de>
10722 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
10724 2000-04-10 Andreas Jaeger <aj@suse.de>
10726 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
10728 2000-04-09 Ulrich Drepper <drepper@redhat.com>
10730 Implement handling of restartable conversion functions according to
10732 * iconv/gconv.h (__gconv_fct): Add additional parameter.
10733 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
10734 * iconv/gconv.c: Pass additional parameter to conversion function.
10735 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
10736 (internal_ucs4le_loop_single): New function.
10737 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
10738 (__gconv_transform_internal_ascii): Likewise.
10739 (__gconv_transform_internal_utf8): Likewise.
10740 (__gconv_transform_utf8_internal): Likewise.
10741 (__gconv_transform_ucs2_internal): Likewise.
10742 (__gconv_transform_internal_ucs2): Likewise.
10743 (__gconv_transform_ucs2reverse_internal): Likewise.
10744 (__gconv_transform_internal_ucs2reverse): Likewise.
10745 (internal_ucs4le_loop_unaligned): Before return
10746 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
10747 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
10748 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
10749 * iconv/loop.c: Fit in definition of function to convert one character
10750 for processing of left-over bytes from the state object.
10751 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
10752 inend to match names in loop functions.
10753 (RESET_INPUT_BUFFER): Change apprpriately.
10754 (gconv): If needed, call function to process bytes from the state
10755 object. Similar at the end: store left over bytes if input is
10757 Take extra argument and add new argument to all calls of the
10758 conversion function.
10759 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
10760 information in the state object to not conflict with length count.
10761 * iconvdata/iso-2022-jp.c: Likewise.
10762 * iconvdata/iso-2022-kr.c: Likewise.
10763 * iconvdata/unicode.c: Adjust for change change in parameters of
10765 * iconvdata/utf-16.c: Likewise.
10766 * libio/iofwide.c: Add new parameter to all calls of conversion
10768 * wcsmbs/btowc.c: Likewise.
10769 * wcsmbs/mbrtowc.c: Likewise.
10770 * wcsmbs/mbsnrtowcs.c: Likewise.
10771 * wcsmbs/mbsrtowcs.c: Likewise.
10772 * wcsmbs/wcrtomb.c: Likewise.
10773 * wcsmbs/wcsnrtombs.c: Likewise.
10774 * wcsmbs/wcsrtombs.c: Likewise.
10775 * wcsmbs/wctob.c: Likewise.
10777 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10780 2000-04-07 Andreas Jaeger <aj@suse.de>
10782 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10785 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10787 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10788 element a union to allow byte access.
10789 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10791 * iconvdata/iso-2022-jp.c: Likewise.
10792 * iconvdata/iso-2022-kr.c: Likewise.
10793 * wcsmbs/mbsinit.c: Likewise.
10794 * stdlib/mblen.c: Likewise.
10795 * stdio-common/printf-parse.h: Likewise.
10797 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10799 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10800 kernel does not allow relative seeks on descriptors associated
10801 with directories. Go back to get the position in the directory
10802 every time we enter the function. Return -1 and set errno if one
10803 entry could be read from the kernel but does not fit into the
10804 buffer passed in by the user.
10806 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10807 Support ..(2).. ellipsis.
10808 (parse_charmap): Recognize ..(2).. etc and pass step down.
10809 Correctly generate names for UCS4 characters.
10811 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10812 (ctype_finish): We know the wide character value for <SP>,
10814 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10815 (charclass_ucs4_ellipsis): Likewise.
10816 (read_translit_ignore_entry): Store ellipsis step.
10817 (ctype_read): Recognize ..(2).. etc and pass step down.
10819 * locale/programs/linereader.c (lr_token): When seeing comment
10820 character ignore only rest of line in sources but stop at escaped
10822 Recognize ..(2).. and ....(2).....
10824 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10825 and tok_ellipsis4_2.
10827 2000-04-06 Andreas Jaeger <aj@suse.de>
10829 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10830 removed, remove it here also.
10831 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10832 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10833 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10834 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10836 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10838 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10839 include bits/sigcontext.h.
10840 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10842 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10844 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10845 collation symbol definition. Value in quivalence definition must
10846 be defined, don't check that it is not.
10848 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10849 values as character names.
10851 * locale/programs/ld-ctype.c (get_character): Handle missing
10852 repertoire map correctly.
10854 2000-04-05 Cristian Gafton <gafton@redhat.com>
10856 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10857 because it is used in generic code.
10858 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10859 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10860 * intl/gettext.c: Include <locale.h>.
10861 * intl/ngettext.c: Likewise.
10863 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10865 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10866 socklen_t type for size.
10867 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10868 init function interface.
10869 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10870 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10872 (__jmp_buf): Declare the whole type structure here, don't use
10875 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10877 * iconv/skeleton.c (put16u): Fix typo.
10878 Reported by Bruno Haible <haible@ilog.fr>.
10880 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10881 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10882 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10883 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10885 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10887 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10888 * Makefile (distribute): Add abi-versions.awk and
10890 Patches by Torsten Duwe <duwe@caldera.de>.
10892 2000-04-05 Andreas Schwab <schwab@suse.de>
10894 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10896 2000-04-05 Andreas Schwab <schwab@suse.de>
10898 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10899 entry point, used on Hurd.
10901 2000-04-04 Andreas Jaeger <aj@suse.de>
10903 * intl/Makefile: Only run the gettext test with shared libraries.
10905 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10907 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10908 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10910 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10912 * Makeconfig: Undo last change.
10913 * configure.in: If --disable-shared was given, don't set VERSIONING,
10914 don't define DO_VERSIONING, and don't give scare warning for no
10916 * configure: Regenerated.
10918 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10920 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10922 2000-04-04 Andreas Jaeger <aj@suse.de>
10924 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10926 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10928 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10929 STV_HIDDEN and STV_INTERNAL during lookup.
10930 (profile_fixup): Likewise.
10931 * elf/dl-reloc.c (RESOLVE): Likewise.
10933 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10934 unaligned so that it compiles for system which need unaligned
10937 2000-04-04 Andreas Schwab <schwab@suse.de>
10939 * elf/cache.c (print_entry): Only look at the type field when
10942 2000-04-04 Andreas Schwab <schwab@suse.de>
10944 * iconvdata/big5.c (BODY): Fix typo.
10946 2000-04-04 Andreas Schwab <schwab@suse.de>
10948 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10949 function interface. Remove unused _dl_start_user entry point.
10951 2000-04-03 Andreas Jaeger <aj@suse.de>
10953 * include/arpa/inet.h (__inet_aton): Add protoype.
10955 2000-04-01 Andreas Jaeger <aj@suse.de>
10957 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10959 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10960 * sysdeps/mach/mips/thread_state.h: Likewise.
10962 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10963 * sysdeps/generic/fegetenv.c: Likewise.
10964 * sysdeps/generic/fesetenv.c: Likewise.
10965 * sysdeps/generic/feupdateenv.c: Likewise.
10966 * sysdeps/generic/fraiseexcpt.c: Likewise.
10967 * sysdeps/generic/fsetexcptflg.c: Likewise.
10968 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10969 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10970 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10971 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10973 2000-04-02 H.J. Lu <hjl@gnu.org>
10975 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10977 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10979 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10980 (add_name_to_object): Add cast in malloc call.
10981 (fillin_rpath): Optimize loop to initialize ->status a bit.
10983 * sysdeps/i386/dl-machine.h: Undo last change.
10984 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10985 Restore %edx register after call here.
10987 * sysdeps/arm/atomicity.h: New file.
10988 Contributed by Jesper Skov <jskov@redhat.com>.
10990 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10992 * Makeconfig (preprocess-versions): Undo last change.
10993 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10995 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10996 here, before we might move the stack.
10997 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10998 (init1): And not here.
11000 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
11001 change, to restore argc value in call-clobbered register after
11002 RTLD_START_SPECIAL_INIT, which will contain a call.
11004 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
11005 allocating and initializing L->l_initfini.
11007 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
11009 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11011 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
11012 RUNPATH, RPATH, and LD_LIBRARY_PATH.
11013 (open_path): Change type of fourth parameter. Make pointer to array
11014 of pointers. Create variable dirs with original type.
11015 Track whether any directory for the object exists and if not,
11016 change *DIRSP to (void*) -1 to signal there is no such search path.
11017 (_dl_map_object): Change all calls of open_path.
11018 Rewrite decompose_rpath calls.
11020 2000-03-31 Andreas Schwab <schwab@suse.de>
11022 * string/strfry.c: Declare STATE as array of char instead of int
11023 and do not initialize it (done by initstate_r). Pass correct
11026 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11028 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
11030 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
11031 instruction out of the code.
11033 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11035 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
11036 element at this position.
11038 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
11039 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
11040 l_reldeps elements.
11041 * elf/dl-lookup.c (add_dependency): New function.
11042 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
11043 dynamically loaded object.
11044 (_dl_lookup_symbol_skip): Likewise.
11045 (_dl_lookup_versioned_symbol): Likewise.
11046 (_dl_lookup_versioned_symbol_skip): Likewise.
11047 * elf/dl-open.c: Don't define _dl_load_lock here...
11048 * elf/rtld.c: ...but here...
11049 * elf/dl-support.c: ...and here.
11050 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
11051 through relocation.
11052 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
11054 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
11056 * dlfcn/glrefmain.c: Add one more debug message.
11058 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
11060 * Makerules (sysd-versions): Use ( ) instead of { }.
11062 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
11063 optimize for the non-debugging case.
11064 * elf/dl-lookup.c: Likewise.
11065 * sysdeps/generic/libc-start.c: Likewise.
11067 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
11069 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
11070 (init1): Don't initialize __environ here, since init already does it.
11071 (first_init): New function, broken out of _init.
11072 (_hurd_stack_setup): Use it.
11073 [SHARED] (_dl_init_first): New function, renamed from old _init.
11074 (init1) [SHARED]: Don't call posixland_init here.
11075 (posixland_init): Take ENVP arg, so signature is usual for initializer.
11076 [SHARED] (_init): Define as alias for posixland_init.
11077 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
11078 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
11079 RTLD_START_SPECIAL_INIT before calling initializers.
11080 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
11081 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
11082 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
11083 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
11085 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
11086 since we define the function with the name `tmpfile'.
11088 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
11089 * hurd/Versions: Likewise.
11091 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11093 * elf/dl-runtime.c (fixup): Fix typo in comment.
11095 * resolv/netdb.h (getnameinfo): All length parameters are of type
11097 * inet/getnameinfo.c: Likewise.
11099 2000-04-01 Ulrich Drepper <drepper@redhat.com>
11101 * posix/unistd.h (socklen_t): Define if it has not yet happened.
11102 (gethostname): Change type of second parameter to socklen_t.
11103 * include/unistd.h (__gethostname): Change type of second
11104 parameter to socklen_t.
11105 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
11106 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11107 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
11108 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
11110 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
11111 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
11112 Allow definition elsewhere.
11113 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
11114 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11115 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11116 * sysdeps/generic/bits/types.h: Define __socklen_t.
11117 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
11118 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
11119 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11120 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
11121 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11122 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
11123 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
11125 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
11126 (inet_lnaof): Likewise.
11127 (inet_netof): Likewise.
11128 (inet_network): Likewise.
11129 (inet_aton): Likewise.
11130 (inet_makeaddr): Change parameter types to in_addr_t.
11131 (inet_neta): Likewise.
11132 (inet_ntop): Change type of last parameter to socklen_t.
11133 (inet_aton): Only make available if __USE_MISC.
11134 (inet_neta): Likewise.
11135 (inet_net_ntop): Likewise.
11136 (inet_net_pton): Likewise.
11137 (inet_nsap_ntoa): Likewise.
11139 * inet/in.h: Define in_port_t type.
11140 Define in_addr_t type.
11141 (struct in_addr): Use in_addr_t in definition.
11142 (IN_CLASSA): Use cast to in_addr_t.
11143 (IN_CLASSB): Likewise.
11144 (IN_CLASSC): Likewise.
11145 (IN_CLASSD): Likewise.
11146 (IN_EXPERIMENTAL): Likewise.
11147 (IN_BADCLASS): Likewise.
11148 (INADDR_ANY): Likewise.
11149 (INADDR_BROADCAST): Likewise.
11150 (INADDR_NONE): Likewise.
11151 (INADDR_LOOPBACK): Likewise.
11152 (INADDR_UNSPEC_GROUP): Likewise.
11153 (INADDR_ALLHOSTS_GROUP): Likewise.
11154 (INADDR_ALLRTRS_GROUP): Likewise.
11155 (INADDR_MAX_LOCAL_GROUP): Likewise.
11156 (struct sockaddr_in): Use in_port_t for sin_port element.
11157 (struct sockaddr_in6): Use in_port_t for sin6_port element.
11158 Use uint8_t instead of u_int8_t.
11160 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
11161 Call __inet_aton instead of inet_aton.
11162 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
11164 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
11165 (innetgr): Likewise.
11166 (struct addrinfo): Use socklen_t for ai_addrlen element.
11168 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
11169 IPV6_RECVERR): New defines.
11171 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
11172 * inet/getnetbyad.c: Likewise.
11173 * inet/getnetbyad_r.c: Likewise.
11174 * nis/nss_nis/nis-network.c: Likewise.
11175 * nis/nssplus_nis/nisplus-network.c: Likewise.
11176 * nss/nss_files/files-network.c: Likewise.
11177 * resolv/netdb.h: Define uint32_t if not already happened.
11178 Include bits/netdb.h. Remove definition of struct netent.
11179 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
11180 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
11181 * sysdeps/generic/bits/netdb.h: New file.
11182 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
11184 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
11185 (tests): Add glrefmain.
11186 Add rules to build modules and run tests. Ignore result of glrefmain
11187 for now since it fails.
11188 * dlfcn/glrefmain.c: New file.
11189 * dlfcn/glreflib1.c: New file.
11190 * dlfcn/glreflib2.c: New file.
11192 * test-skeleton.c: Include <string.h> for strsignal prototype.
11194 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
11197 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
11198 former init-first.h. Initialize __libc_multiple_libcs.
11200 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11202 * iconv/skeleton.c: Define access macros with u suffix. Adjust
11203 #if expression for use of unaligned function to the one used in
11204 the definition of these functions.
11205 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
11206 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
11207 (internal_ucs4le_loop_unaligned): New function.
11209 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
11210 (tests): Add order.
11211 (module-names): Add dep1, dep2, dep3, and dep4.
11212 Add dependencies for dep* modules and order.
11213 Define rule for order.out which checks the result.
11214 * elf/dep1.c: New file.
11215 * elf/dep2.c: New file.
11216 * elf/dep3.c: New file.
11217 * elf/dep4.c: New file.
11218 * elf/order.c: New file.
11220 * elf/dl-init.c: Fix typo in comment.
11222 2000-03-31 Andreas Jaeger <aj@suse.de>
11224 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
11225 init function interface.
11226 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
11228 2000-03-31 Andreas Jaeger <aj@suse.de>
11230 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
11231 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11232 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11233 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
11234 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11236 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
11237 anymore, update comment.
11239 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11241 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
11242 SHLIB_COMPAT - the struct is always needed.
11244 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11246 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
11247 * elf/dl-support.c: Define _dl_starting_up.
11249 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11251 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
11252 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
11254 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
11256 * elf/Makefile (dl-routines): Remove preinit.
11257 * elf/Versions: Remove _dl_preinit.
11258 * elf/dl-preinit.c: Removed. Move content into...
11259 * elf/dl-init.c: ...here.
11260 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
11262 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
11265 2000-03-29 Geoff Clare <gwc@unisoft.com>
11267 * stdlib/strfmon.c: Corrected problems with the code that
11268 sets default values for [np]_sep_by_space and
11269 [np]_sign_posn; also the new positive/negative alignment
11270 code from the previous patch was not quite right for
11271 [np]_sign_posn = 0.
11273 * localedata/tst-fmon.data: Changes corresponding to the
11274 two sets of fixes made to stdlib/strfmon.c.
11276 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
11278 * malloc/malloc.c: Declare bit flags UL so that they will not
11279 default to int size when being inverted.
11281 2000-03-29 Andreas Jaeger <aj@suse.de>
11283 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
11284 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11286 2000-03-29 Andreas Jaeger <aj@suse.de>,
11287 Ralf Baechle <ralf@uni-koblenz.de>
11289 * Makeconfig: Introduce new variable SHARED to mark code used in
11290 the shared library.
11291 * elf/dl-close.c: Use it instead of PIC.
11292 * elf/dl-load.c: Likewise.
11293 * elf/dl-open.c: Likewise.
11294 * hurd/geteuids.c: Likewise.
11295 * include/libc-symbols.h: Likewise.
11296 * include/shlib-compat.h: Likewise.
11297 * libio/freopen.c: Likewise.
11298 * linuxthreads/cancel.c: Likewise.
11299 * linuxthreads/pthread.c: Likewise.
11300 * linuxthreads/wrapsyscall.c: Likewise.
11301 * nss/nsswitch.c: Likewise.
11302 * stdio-common/vfprintf.c: Likewise.
11303 * sysdeps/arm/init-first.c: Likewise.
11304 * sysdeps/i386/init-first.c: Likewise
11305 * sysdeps/generic/init-first.c: Likewise.
11306 * sysdeps/generic/libc-start.c: Likewise.
11307 * sysdeps/mips/init-first.c: Likewise.
11308 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11309 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11310 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11311 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11312 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11314 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
11316 2000-03-29 Andreas Jaeger <aj@suse.de>
11318 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11319 Use D_PTR to access relocated entries in l_info.
11320 (elf_machine_rela): Likewise.
11322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11324 (elf_machine_rela): Likewise.
11326 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11328 (__elf_machine_fixup_plt): Likewise.
11329 (__process_machine_rela): Likewise.
11331 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11332 (elf_machine_rela): Likewise.
11334 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
11335 (elf_machine_rel): Likewise.
11337 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11338 (elf_machine_fixup_plt): Likewise.
11339 (elf_machine_rela): Likewise.
11341 2000-03-29 Andreas Jaeger <aj@suse.de>
11343 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
11344 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11345 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11346 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
11347 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11348 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
11349 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11350 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
11351 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11352 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
11353 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
11354 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
11355 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
11356 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
11357 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11359 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
11360 macros, remove K&R prototypes.
11362 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11364 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
11365 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
11368 2000-03-30 Andreas Jaeger <aj@suse.de>
11370 * misc/sys/cdefs.h: Remove K&R support.
11372 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11374 * iconv/skeleton.c: Avoid compiling unaligned versions in some
11376 * iconv/loop.c: Likewise.
11378 2000-03-29 Bruno Haible <haible@clisp.cons.org>
11380 * iconv/loop.c (put16): Remove __const. Fix access index.
11381 (put32): Remove __const. Use uint32_t instead of uint16_t.
11382 * iconv/skeleton.c: Likewise.
11384 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
11386 * mach/Versions (libc: GLIBC_2.0)
11387 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
11388 __vm_allocate on this.
11389 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
11390 mutex- and spinlock-related symbols on this.
11391 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11392 New version set. Lock-related symbols go here instead in this case.
11393 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
11394 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
11395 cthread_getspecific, cthread_setspecific, __libc_getspecific.
11397 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
11398 Put them here instead.
11399 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11400 New version set. Those cthreads symbols go here instead in this case.
11401 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
11403 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11405 * elf/dl-init.c (_dl_init): We don't need to call constructors
11406 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
11408 Implement dynamic determination of constructor/destructor order in
11409 the dynamic linker.
11410 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
11411 (GLIBC_2.2): Add _dl_init.
11412 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
11413 r_duplist is not anymore allocated separately. l_initfini is and
11414 therefore free it if necessary.
11415 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
11416 malloc block. Otherwise allocate l_initfini list only.
11417 Put dependencies for the object in l_initfini list.
11418 Sort dependencies for the object to be loaded topologically.
11419 * elf/dl-fini.c: Before running the destructors sort the topologically.
11420 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
11421 call constructors instead of iterating over the pointers. Get list of
11422 objects for which to run constructors from l_initfini element. Accept
11423 argc, argv, and env as parameters and pass them to the constructors.
11424 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
11425 with size of dynamic section.
11426 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
11427 _dl_init_next and calling constructors ourself.
11428 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
11429 Take argc, argv, and env as parameters and pass them to the
11430 constructors. Rewrite to call all constructors and not iterate over
11432 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
11433 precompute l_initcount and l_preinitcount.
11434 * elf/link.h (struct link_map): Add l_ldnum member.
11435 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
11436 l_initcount, and l_preinitcount. Add l_initfini.
11437 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
11439 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
11440 function interface.
11441 * sysdeps/unix/sysv/linux/init-first.h: Removed.
11442 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
11443 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
11444 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
11445 conventions now match.
11447 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
11448 effect for shared objects. Don't emit message and call only for
11451 2000-03-29 Ulrich Drepper <drepper@redhat.com>
11453 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
11454 CSA_Z243.4-1985-1..UCS2.
11455 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
11458 2000-03-29 Andreas Jaeger <aj@suse.de>
11460 * include/unistd.h: Remove duplicate entry for __rmdir.
11461 Remove declaration of __mkdir since __mkdir is declared in
11464 * manual/creature.texi (Feature Test Macros): Fix typo, reported
11465 by Michael Deutschmann <michael@talamasca.ocis.net>.
11467 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
11468 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11469 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11470 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11471 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
11473 2000-03-28 Andreas Jaeger <aj@suse.de>
11475 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
11476 declaration, the prototype is defined via bits/mathcalls.h.
11477 (__sincosf): Likewise.
11478 (__sincosl): Likewise.
11480 (ldexpf): Likewise.
11481 (ldexpl): Likewise.
11482 (__finite): Likewise.
11483 (__inline_mathcodeNP): New macro without prototype
11485 (__inline_mathcodeNP2): Likewise.
11486 (__inline_mathcodeNP3): Likewise.
11487 (__inline_mathcodeNP_): Likewise.
11488 (__inline_mathcodeNP2_): Likewise.
11489 (__inline_mathcodeNP3_): Likewise.
11490 (__inline_mathopNP): Likewise.
11491 (__inline_mathop_declNP): Likewise.
11492 (__inline_mathop_declNP_): Likewise.
11493 (__inline_mathcode_): Use __inline_mathcodeNP_.
11494 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11495 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11496 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11497 (__expm1l): Don't define prototype, the prototype is defined via
11500 (__expl): Likewise.
11503 (__atan2l): Likewise.
11508 (__fabsl): Likewise.
11526 (__sqrtl): Likewise.
11536 2000-03-28 Ulrich Drepper <drepper@redhat.com>
11538 * Makerules: If make variable md5 is defined to yes after
11539 generating dependencies generate MD5 sum for the object.
11541 * iconv/gconv_builtin.h: Fix length in transformation definition
11544 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11546 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11547 allow as well reading from/writing to unaligned addresses on machines
11548 which don't support this in hardware. Use FCTNAME macro to define
11549 function name. Include the file a second time for platforms which
11550 need special unaligned handling.
11551 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11552 to access potentially unaligned addresses. These macros are intended
11553 to be used only outside the loops.
11554 (unaligned): New definition. In case the machine can handle unaligned
11555 access define as zero. Otherwise as a variable which is initialized
11556 as nonzero in case the buffer passed in at runtime is unaligned with
11557 respect to the character set encoding involved.
11558 Call aligned or unaligned looop functions according to unaligned
11560 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11561 of direct casting pointer to potentially handle unaligned memory
11563 * iconvdata/8bit-generic.c: Likewise.
11564 * iconvdata/ansi_x3.110.c: Likewise.
11565 * iconvdata/big5.c: Likewise.
11566 * iconvdata/euc-cn.c: Likewise.
11567 * iconvdata/euc-jp.c: Likewise.
11568 * iconvdata/euc-kr.c: Likewise.
11569 * iconvdata/euc-tw.c: Likewise.
11570 * iconvdata/gbk.c: Likewise.
11571 * iconvdata/iso-2022-cn.c: Likewise.
11572 * iconvdata/iso-2022-jp.c: Likewise.
11573 * iconvdata/iso-2022-kr.c: Likewise.
11574 * iconvdata/iso646.c: Likewise.
11575 * iconvdata/iso_6937-2.c: Likewise.
11576 * iconvdata/iso_6937.c: Likewise.
11577 * iconvdata/johab.c: Likewise.
11578 * iconvdata/sjis.c: Likewise.
11579 * iconvdata/t.61.c: Likewise.
11580 * iconvdata/uhc.c: Likewise.
11581 * iconvdata/unicode.c: Likewise.
11582 * iconvdata/utf-16.c: Likewise.
11584 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
11587 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11588 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11590 * malloc/mcheck.h (mcheck_check_all): Declare.
11592 * stdio-common/Makefile (tests): Add tst-obprintf.
11594 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
11596 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
11597 Declare pthread_sigmask.
11599 * csu/version.c: Add 2000 to copyright years.
11600 Remove Emacs local variables section.
11602 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11604 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
11605 __gconv_transform_internal_ucs2little): Remove declarations.
11606 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
11607 __gconv_transform_internal_ucs2): Never need to bswap_16.
11608 (__gconv_transform_ucs2reverse_internal,
11609 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
11611 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11613 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
11614 obsoleting version not being defined at all, in which case the
11615 result is always true.
11617 * Makeconfig (preprocess-versions): New canned sequence for running
11618 cpp on shlib-versions and the like.
11619 (soversions.i): Use it.
11620 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
11621 Versions.def and Versions files.
11623 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11625 * stdio-common/tst-obprintf.c (main): Add another check to see
11626 obstack_printf handling all possible beginnings of the block
11627 inside an obstack chunk.
11629 * locale/programs/localedef.c: Use __malloc_initialize_hook to
11630 install mcheck handler.
11632 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
11635 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
11637 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
11639 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
11640 on [HAVE_ELF && DO_VERSIONING].
11642 2000-03-27 Ulrich Drepper <drepper@redhat.com>
11644 * stdio-common/tst-obprintf.c: New file.
11646 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11648 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
11649 _IO_OVERFLOW directly instead through __overflow.
11651 * locale/programs/localedef.c (construct_output_path): If path
11652 contains a / compute the end of the directory name correctly.
11654 * include/features.h: Undef and document __USE_XOPEN2K.
11656 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
11657 whenever a function is called. Initiated by calling mcheck_pedantic
11659 * malloc/mcheck.h: Declare mcheck_pedantic.
11660 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
11661 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
11664 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11666 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
11667 * dlfcn/dlopenold.c: Likewise.
11668 * nss/getXXbyYY_r.c: Likewise.
11669 * nss/getXXent_r.c: Likewise.
11670 * hurd/hurdinit.c: Likewise.
11671 * hurd/compat-20.c: Likewise.
11672 * libio/oldiofopen.c: Likewise.
11673 * libio/oldiofclose.c: Likewise.
11674 * libio/oldiofdopen.c: Likewise.
11675 * libio/oldfileops.c: Likewise.
11676 * libio/oldstdfiles.c: Likewise.
11677 * libio/oldiofsetpos.c: Likewise.
11678 * libio/oldiofgetpos.c: Likewise.
11679 * libio/oldiofgetpos64.c: Likewise.
11680 * libio/oldiofsetpos64.c: Likewise.
11681 * libio/oldiopopen.c: Likewise.
11682 * libio/oldpclose.c: Likewise.
11683 * libio/oldtmpfile.c: Likewise.
11684 * libio/freopen.c (freopen): Likewise.
11685 * libio/iofclose.c (_IO_new_fclose): Likewise.
11687 * sysdeps/mach/sys/reboot.h: Include <features.h>.
11688 (reboot): Declare it.
11690 * libio/Makefile (headers): Add bits/stdio-lock.h here.
11692 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
11694 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
11696 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
11697 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11698 We need this for the sbrk decl, which can be included without Unix98.
11700 2000-03-20 Richard Henderson <rth@cygnus.com>
11702 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
11703 argument to yperr2nss is an int, not size_t.
11704 * posix/regex.c (print_partial_compiled_pattern): Cast all
11705 ptrdiff_t to long for printing.
11706 (print_compiled_pattern): Use Z for printing size_t.
11707 * posix/testfnm.c (tests): Avoid trigraphs.
11708 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
11709 Use a C comment, not an assembly comment.
11711 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
11712 of __ASSUME_32BITUIDS.
11714 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11716 * libio/iofopncook.c: Remove K&R prototypes.
11718 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
11720 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
11721 an initial value of 1024 instead of RLIM_INFINITY.
11723 * Versions.def (libmachuser, libhurduser): Remove these sections,
11724 since these libraries do not presently use symbol versions.
11726 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
11727 is RLIM_INFINITY, return -1 instead.
11729 2000-03-24 Andreas Jaeger <aj@suse.de>
11731 * Makefile (postclean): Added soversions.i.
11733 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11735 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
11736 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
11737 and _FPU_IEEE. Change _FPU_RESERVED.
11739 2000-03-24 Scott Bambrough <scottb@netwinder.org>
11741 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
11743 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11745 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
11746 (gaih_inet): Remove unused duplicate variable.
11748 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
11749 Don't use __libc_sa_len, which only exists for Linux. Just handle
11750 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
11751 only flavors supported by this function anyway.
11753 2000-03-24 Geoff Clare <gwc@unisoft.com>
11755 * stdlib/strfmon.c: Corrected problems with missing signs and
11756 missing or extra spaces; allow for sign strings longer than
11757 one character; add padding to ensure positive and negative
11758 formats are aligned when a left precision is used.
11760 2000-03-26 Ulrich Drepper <drepper@redhat.com>
11762 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11763 Patch by John Mizel <John.Mizel@msdw.com>.
11765 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11767 * manual/install.texi: Remove references to crypt add-on.
11769 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11771 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11772 section while taking the _hurd_rlimit_lock.
11773 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11775 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11777 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11780 * sysdeps/mach/hurd/if_index.c: New file.
11782 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11783 * sysdeps/gnu/net/if.h: here.
11784 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11785 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11786 * sysdeps/generic/net/if.h: New file. Declares just the standard
11787 functions and `struct if_nameindex' type.
11788 * socket/Makefile (headers): Add net/if.h here.
11789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11790 * sysdeps/mach/hurd/Dist: Remove it here.
11791 * sysdeps/unix/sysv/linux/Dist: And here.
11792 * sysdeps/generic/if_index.c: Include <net/if.h>.
11794 2000-03-24 Andreas Jaeger <aj@suse.de>
11796 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11797 access relocated entries in l_info.
11798 (elf_machine_got_rel): Likewise.
11799 (elf_machine_runtime_setup): Likewise.
11800 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11801 (elf_machine_runtime_setup): Likewise.
11802 (__dl_runtime_resolve): Likewise.
11804 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11806 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11807 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11808 according to RFC 2553.
11809 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11810 * inet/getnameinfo.c: Likewise.
11811 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11813 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11815 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11816 Remove no-op pointer increment.
11818 2000-03-23 Andreas Jaeger <aj@suse.de>
11820 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11821 follow change for libio.h from 2000-03-10.
11823 2000-03-23 Andreas Jaeger <aj@suse.de>
11825 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11827 * elf/dl-debug.c: Likewise.
11828 * elf/dl-deps.c: Likewise.
11829 * elf/dl-error.c: Likewise.
11830 * elf/dl-fini.c: Likewise.
11831 * elf/dl-init.c: Likewise.
11832 * elf/dl-load.c: Likewise.
11833 * elf/dl-lookup.c: Likewise.
11834 * elf/dl-minimal.c: Likewise.
11835 * elf/dl-object.c: Likewise.
11836 * elf/dl-open.c: Likewise.
11837 * elf/dl-preinit.c: Likewise.
11838 * elf/dl-profile.c: Likewise.
11839 * elf/dl-profstub.c: Likewise.
11840 * elf/dl-reloc.c: Likewise.
11841 * elf/dl-runtime.c: Likewise.
11842 * elf/dl-support.c: Likewise.
11843 * elf/dl-symbol.c: Likewise.
11844 * elf/dl-version.c: Likewise.
11845 * elf/rtld.c: Likewise.
11846 * elf/sprof.c: Likewise.
11847 * sysdeps/generic/dl-cache.c: Likewise.
11848 * sysdeps/generic/dl-origin.c: Likewise.
11849 * sysdeps/generic/dl-sysdep.c: Likewise.
11850 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11851 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11852 * sysdeps/generic/libc-start.c: Likewise.
11853 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11854 * sysdeps/powerpc/dl-machine.c: Likewise.
11855 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11856 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11857 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11858 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11860 * elf/ldsodefs.h: Move file to ...
11861 * sysdeps/generic/ldsodefs.h: ... here.
11863 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11865 * sysdeps/mips/elf/ldsodefs.h: New file.
11867 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11869 (_dl_check_map_versions): Likewise.
11870 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11871 * elf/dl-load.c (_dl_init_paths): Likewise.
11872 (_dl_map_object): Likewise.
11873 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11874 (elf_get_dynamic_info): Likewise.
11875 * elf/do-lookup.h (FCT): Likewise.
11876 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11877 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11878 * elf/dl-addr.c (_dl_addr): Likewise.
11879 * elf/dl-runtime.c (profile_fixup): Likewise.
11881 * elf/dl-init.c (_dl_init_next): Likewise.
11882 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11883 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11884 (DISTINGUISH_LIB_VERSIONS): Likewise.
11885 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11886 (elf_machine_rel): Likewise.
11888 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11889 for writable dynamic section.
11891 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11893 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11894 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11896 2000-03-22 Andreas Jaeger <aj@suse.de>
11898 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11899 from latest Linux kernel.
11901 2000-03-21 Andreas Jaeger <aj@suse.de>
11903 * Versions.def: Add version 2.1.4.
11905 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11907 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11908 * libio/oldiofopen.c: Likewise.
11909 * libio/oldiofclose.c: Likewise.
11910 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11912 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11914 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11915 indicating the first version set to obsolete the conditionalized code.
11916 (compat_symbol): New macro.
11917 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11918 rhs be the ABI_* macro for the subsuming version. Assign increasing
11919 integer values to the ABI_* macros for supported versions.
11920 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11921 compat_symbol macro.
11923 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11925 * nscd/connections.c (nscd_run): Pretty print.
11926 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11928 * manual/charset.texi: Fix typos. Rephrase.
11929 * manual/process.texi: Likewise.
11930 * manual/signal.texi: Likewise.
11931 Patches by Mike Coleman <mkc@kc.net>.
11933 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11935 * libio/iofdopen.c: Likewise.
11936 * libio/iofgetpos.c: Likewise.
11937 * libio/iofgetpos64.c: Likewise.
11938 * libio/iofopen.c: Likewise.
11939 * libio/iofsetpos.c: Likewise.
11940 * libio/iofsetpos64.c: Likewise.
11941 * libio/iopopen.c: Likewise.
11942 * libio/oldiofopen.c: Likewise.
11943 * libio/pclose.c: Likewise.
11944 * sysdeps/gnu/siglist.c: Likewise.
11945 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11947 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11948 chance to expand VERSION_##lib##_##version.
11950 * libio/fileops.c: Use new macros from shlib-compat.h to define
11952 * libio/iofclose.c: Likewise.
11953 * libio/oldiofclose.c: Likewise.
11954 Patch by Roland McGrath <roland@frob.com>.
11956 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11958 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11959 Lay out struct sigcontext according to what really gets passed on
11961 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11962 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11963 (prgregset_t, prfpregset_t): Define to elf_* types.
11964 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11965 Define to correct value.
11966 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11970 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11972 * scripts/firstversions.awk: Allow multiple version sets in the
11973 "earliest version" specification, meaning that version sets in the
11974 gaps between listed versions should be folded into the earliest later
11975 version that is explicitly listed.
11976 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11977 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11979 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11981 * iconv/gconv_builtin.c: Include <endian.h>.
11982 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11983 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11984 according to current platform.
11985 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11986 __gconv_transform_internal_ucs2reverse, and
11987 __gconv_transform_internal_ucs4le.
11988 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11989 __gconv_transform_ucs2reverse_internal and
11990 __gconv_transform_internal_ucs2reverse.
11991 * iconvdata/Makefile (modules): Add UNICODE.
11992 (distribute): Add unicode.c.
11993 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11994 * iconvdata/unicode.c: New file.
11996 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11997 determine byte order of input and convert accordingly.
11999 * iconvdata/utf-16.c (gconv_init): Fix typo.
12001 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12003 * iconvdata/gconv-modules: Fix typo.
12005 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
12008 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
12010 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12012 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
12014 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12016 * misc/Makefile (routines): Add mincore.
12018 2000-03-20 Andreas Jaeger <aj@suse.de>
12020 * sysdeps/generic/mincore.c: New stub file.
12022 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
12023 from latest Linux kernel.
12025 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12027 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
12028 _SC_GETPW_R_SIZE_MAX.
12030 2000-03-20 Richard Henderson <rth@cygnus.com>
12032 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
12035 2000-03-20 Richard Henderson <rth@cygnus.com>
12037 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
12038 of arithmetic instructions.
12040 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
12041 with the fpcr. Protect from INV exception.
12042 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
12043 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
12044 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
12046 * sysdeps/alpha/fpu/s_copysign.c: New.
12047 * sysdeps/alpha/fpu/s_copysignf.c: New.
12048 * sysdeps/alpha/fpu/s_fabs.c: New.
12049 * sysdeps/alpha/fpu/s_fabsf.c: New.
12050 * sysdeps/alpha/fpu/s_rint.c: New.
12051 * sysdeps/alpha/fpu/s_rintf.c: New.
12053 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
12055 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
12057 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
12058 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
12059 Use physical addresses not KSEG addresses.
12060 (io_system): Add PYXIS.
12061 (io): Remove hae.reg, sys, hae_shift.
12062 (stb_mb, stw_mb, stl_mb, __sethae): New.
12063 (inline_outb, inline_outw, inline_outl): Don't set hae.
12064 (inline_inb, inline_inw, inline_inl): Likewise.
12065 (dense_sethae): New null function.
12066 (struct cpuinfo_data): New.
12067 (process_cpuinfo): Use local and stack variables, not static.
12068 Move readlink check here from init_iosys.
12069 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
12071 (_hae_shift): Calculate it here.
12072 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
12073 add pciconfig_iobase.
12075 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
12077 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
12078 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
12080 * scripts/versions.awk: Fixed version renaming code to distinguish
12081 libraries properly.
12083 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12085 * include/stdlib.h: Add prototype for __cxa_atexit.
12087 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
12088 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
12090 2000-03-17 Cristian Gafton <gafton@redhat.com>
12092 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
12093 existing rtld-installed-name.
12094 ($(rtld-installed-name)): Request libc-$(version) be installed too.
12095 replace existing rtld-installed-name using $(symbolic-link-prog).
12097 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12099 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
12100 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
12101 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
12102 but not the former.
12104 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12106 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
12107 glob64. Since there is no glob64 in the LFS proposal applications
12108 can assume that glob handles LFS situations. glob64 is only needed
12109 if alternative filesystem functions are used.
12111 2000-03-19 Geoff Clare <gwc@unisoft.com>
12113 * sysdeps/generic/glob.c: Correct gl_pathc value returned
12114 when GLOB_DOOFFS is set; correct handling of patterns
12115 containing escaped wildcards (and no unescaped ones);
12116 GLOB_ERR flag was being ignored in some situations.
12118 * posix/globtest.c, posix/globtest.sh: Updated to include
12119 tests for the problems fixed by the above changes to glob.c.
12121 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
12123 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
12125 * Makeconfig (soversion.i): Use only first match for each lib.
12127 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
12129 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
12130 rather than $(sysd-dirs-done) to protect these rules.
12132 * Makerules (version-renames.def): Target removed.
12133 (Versions.all): Depend on soversions.i directly and parse it.
12135 * Makeconfig (soversions.i): New target, input-reading parts of
12136 soversions.mk generation moved here; result is a canonicalized
12137 list "LIB VERSION [SET]" for this configuration.
12138 (soversions.mk): Use that as input. Don't emit map-firstversions.
12139 * Makerules (version-renames.def): New target, generated from
12140 soversions.i with contents that was in $(map-firstversions).
12141 (Versions.all): Don't depend on soversions.mk, depend on
12142 version-renames.def instead; just cat it into the input.
12144 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
12145 for $(map-firstversions), which better handles it being empty.
12147 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
12148 supported version for libc 0.2.90.libio to GLIBC_2.2.
12150 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
12151 and use it to emit new variable `map-firstversions'.
12152 * scripts/firstversions.awk: New file.
12153 * Makerules (Versions.all): Use scripts/firstversions.awk and
12154 the $(map-firstversions) value to generate a modified versions list
12155 that includes renames in "A = B" syntax for each version set earlier
12156 than the "earliest symbol version" named in shlib-versions.
12157 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
12158 rename version set A to B in the output to the intermediate file.
12159 * scripts/abi-versions.awk: New file.
12160 * Makerules (abi-versions.h): New target, generated by that script.
12161 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
12162 * include/shlib-compat.h: New file, uses that generated header.
12164 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
12166 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
12167 after stripping # comments, and then run it through cpp.
12168 This allows things like "%ifdef FOO" based on config.h settings.
12169 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
12171 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
12172 and other errors that indicate a pseudo-receive happened, grok through
12173 the message buffer for port rights that need references fixed up.
12175 2000-03-16 Andreas Jaeger <aj@suse.de>
12177 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
12179 * sysdeps/unix/sysv/linux/madvise.c: Remove.
12181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
12182 from latest Linux kernel.
12183 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
12185 * misc/sys/mman.h: Add prototype for mincore.
12187 2000-03-17 Ulrich Drepper <drepper@redhat.com>
12189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
12190 entry for GLIBC_2.0 version of setrlimit.
12191 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12193 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12195 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
12196 * nis/nss_compat/compat-initgroups.c: Likewise.
12197 * nis/nss_nis/nis-initgroups.c: Likewise.
12198 * nis/nss_nis/nis-netgrp.c: Likewise.
12199 * nis/nss_nis/nis-proto.c: Likewise.
12200 * nis/nss_nis/nis-rpc.c: Likewise.
12201 * nis/nss_nis/nis-service.c: Likewise.
12202 * nis/ypclnt.c: Likewise.
12204 2000-03-16 Andreas Jaeger <aj@suse.de>
12206 * manual/Makefile: MAKEINFO is set to `:' from configure if it
12207 doesn't exist, correct checks. Fixes PR libc/1649.
12209 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12211 * nscd/hstcache.c: Restore correct UID.
12212 * nscd/pwdcache.c: Likewise.
12213 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
12215 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12217 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
12218 macros for register names, in line with 2000-03-14 linux change.
12220 * sysdeps/mach/sched_yield.c: New file.
12222 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
12224 * sysdeps/generic/lockfile.c: Include <stdio.h>
12225 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
12226 case <libio.h> defined them.
12227 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
12229 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
12230 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
12232 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
12233 for more pleasing parse error.
12235 2000-03-16 Ulrich Drepper <drepper@redhat.com>
12237 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
12239 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12241 * elf/Makefile: Add rules to compile and run constload1 test.
12242 * elf/constload1.c: New file.
12243 * elf/constload2.c: New file.
12244 * elf/constload3.c: New file.
12246 2000-03-15 Ulrich Drepper <drepper@redhat.com>
12248 * sysdeps/posix/open64.c: Make __open64 weak alias.
12249 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
12250 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12251 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
12252 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12253 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
12254 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
12255 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12256 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
12257 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12258 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
12260 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12262 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
12263 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
12265 2000-03-16 Mark Kettenis <kettenis@gnu.org>
12267 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
12268 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
12270 2000-03-08 Andreas Jaeger <aj@suse.de>
12272 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
12274 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12276 * timezone/africa: Update from tzdata2000d.
12277 * timezone/asia: Likewise.
12278 * timezone/australasia: Likewise.
12279 * timezone/europe: Likewise.
12280 * timezone/northamerica: Likewise.
12281 * timezone/southamerica: Likewise.
12283 * po/fr.po: Update from translation team.
12284 * po/de.po: Likewise.
12286 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
12287 last parameter. Move code to add map to global scope from here...
12288 * elf/dl-open.c (dl_open_worker): ...here.
12289 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
12290 * elf/rtld.c: Adjust call to _dl_map_object_deps.
12292 * locale/programs/ld-collate.c (collate_read): Fix warning.
12294 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
12295 values and macros for register names.
12297 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
12298 returned by seek cookie function is -1.
12300 2000-03-14 Andreas Jaeger <aj@suse.de>
12302 * locale/localeconv.c (localeconv): Fix typo.
12303 Reported by Andre Charbonneau <andrec@corel.com>.
12305 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12307 * iconv/skeleton.c: Increment __invocation_counter in inner loop
12308 since modules depend on it counting the number of times the conversion
12309 function got called.
12311 * iconv/gconv_open.c: Optimize loop to setup step data structure.
12313 * iconv/gconv.h: Pretty print.
12315 2000-03-04 Ulrich Drepper <drepper@redhat.com>
12317 * posix/wordexp-test.c: Correct one of the tests added in the last
12318 change. Really get the root passwd entry to check again ~root.
12320 2000-03-10 Andreas Jaeger <aj@suse.de>
12322 * manual/filesys.texi (Working Directory): Fix last patch.
12323 Patch by Martin Buchholz <martin@xemacs.org>.
12325 2000-03-10 Andreas Jaeger <aj@suse.de>
12327 * manual/creature.texi (Feature Test Macros): Fix language.
12329 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
12331 * mach/devstream.c (devstream_write, devstream_read): New functions.
12332 (input, output): Functions removed.
12333 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
12334 using only the vanilla fopencookie interface.
12336 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
12337 as macro for __io_functions.
12338 (funcsio): Use cookie_io_functions_t type name.
12339 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
12341 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
12343 (fopencookie): Use it.
12344 * libio/libio.h: Declare _IO_cookie_init.
12345 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
12348 * libio/libio.h (__io_seek_fn): Fix second argument type
12349 to be a pointer, in line with the manual and the old stdio.
12350 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
12352 * sysdeps/generic/bits/stdio-lock.h: New file.
12353 This is a stub with #error, but that's better than no file at all.
12355 2000-03-09 Martin Buchholz <martin@xemacs.org>
12357 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
12358 * manual/message.texi (Using gettextized software): Doc Fixes.
12359 * manual/message.texi (Message Translation): Doc Fixes.
12360 * manual/filesys.texi (File Size): Doc Fixes.
12361 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
12362 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
12363 * iconv/gconv_db.c (find_derivation): Doc Fixes.
12364 * manual/install.texi: Doc Fixes.
12365 * manual/search.texi (Hash Search Function): Doc Fixes.
12366 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
12367 * FAQ.in: Doc Fixes.
12368 * config.h.in: Doc Fixes.
12369 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
12370 Doc Fixes. `allows to' is not correct English.
12372 * elf/rtld.c: Doc fixes.
12373 * manual/creature.texi (Feature Test Macros): Doc fixes.
12374 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
12376 * manual/filesys.texi (Working Directory): Check for ERANGE to
12379 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12381 * string/argz-stringify.c (__argz_stringify): Fix loop termination
12382 conditions so as not to clobber the final '\0' when there is only one
12383 element in the vector.
12385 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12387 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
12388 broken by 2000-02-27 change.
12390 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
12392 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12394 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
12395 argument type, for 2000-02-22 change in signal/signal.h declaration.
12397 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12399 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
12400 to getdirentries64 (no __), since the Linux implementation
12401 has no __ name, and there is no declaration for the __ name.
12403 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
12405 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
12406 sed regexp so as not to break directory names including /../ within.
12408 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
12409 The sysdeps/generic file is right for BSD. This file was in fact the
12410 Hurd file, but the only difference was the WNOREAP flag that was never
12411 actually implemented or used anywhere.
12413 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
12414 since AC_PATH_PROG already does it for us.
12415 (PERL): Rewrite check added in 2000-02-29 change for syntactic
12416 correctness and sh portability. I replaced the broken check
12417 with a more sensible implementation of the apparently intended
12418 semantics, which might still be questionable. Using expr causes
12419 a non-numeric value for `perl -V:apiversion` to be accepted,
12420 refusing to use only a perl that reports a number less than 5;
12421 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
12422 * configure: Regenerated.
12424 2000-03-08 Andreas Jaeger <aj@suse.de>
12426 * manual/crypt.texi: Fix paths.
12428 2000-03-07 Andreas Jaeger <aj@suse.de>
12430 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
12432 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
12435 2000-03-06 Andreas Jaeger <aj@suse.de>
12437 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
12438 in __sgn1l, otherwise g++ fails to parse this.
12439 Reported by Sean Chen <sean.chen@turbolinux.com>.
12441 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12443 * configure.in: Compute sizeof-long-double.
12444 * configure: Regenerated.
12445 * config.make.in: Make sizeof-long-double available to sub-makes.
12447 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12449 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12452 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12454 * Makeconfig (rpath-dirs): Add crypt.
12455 (all-subdirs): Remove md5crypt.
12456 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
12457 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
12458 * sysdeps/generic/crypt-entry.c: Delete.
12459 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
12460 * sysdeps/generic/crypt.h: Delete.
12461 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
12462 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
12463 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
12464 * sysdeps/generic/des_impl.c: Delete.
12465 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
12466 * crypt/sysdeps: Delete.
12467 * crypt/crypt_util.c: Don't use `patchlevel.h'.
12468 * md5-crypt/Versions: Move to crypt/.
12469 * md5-crypt/md5-crypt.c: Move to crypt/.
12470 * md5-crypt/md5.c: Move to crypt/.
12471 * md5-crypt/md5c-test.c: Move to crypt/.
12472 * md5-crypt/md5test.c: Move to crypt/.
12473 * md5-crypt: Delete.
12474 * crypt/Makefile: Adjust for new structure.
12476 2000-03-03 Paul Eggert <eggert@twinsun.com>
12478 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
12479 define to 1 if not defined.
12481 2000-03-03 Andreas Jaeger <aj@suse.de>
12483 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
12485 2000-03-03 Andreas Jaeger <aj@suse.de>
12487 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12489 (xdr_int64_t): Correctly handle lower half.
12490 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12492 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12494 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12497 2000-03-02 Andreas Jaeger <aj@suse.de>
12499 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12502 2000-03-02 Andreas Jaeger <aj@suse.de>
12504 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12506 2000-03-01 Andreas Jaeger <aj@suse.de>
12508 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12509 (tests): Added tst-getdate.
12511 * time/tst-getdate.c: New file.
12513 * time/datemsk: New file, needed for tst-getdate.
12515 2000-02-29 Cristian Gafton <gafton@redhat.com>
12517 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12519 2000-02-17 H.J. Lu <hjl@gnu.org>
12521 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12523 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12525 (svcudp_recv): Set up message with the new "xp_pad" field for
12527 (svcudp_reply): Support IP_PKTINFO if available.
12529 2000-03-01 Andreas Jaeger <aj@suse.de>
12531 * time/getdate.c (check_mday): Fix check for february.
12532 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12533 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12535 2000-03-02 Andreas Jaeger <aj@suse.de>
12537 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12538 g++ fails to parse this.
12539 Reported by Sean Chen <sean.chen@turbolinux.com>.
12541 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12543 * io/creat.c: Moved to...
12544 * sysdeps/generic/creat.c: ...here.
12545 * io/creat64.c: Moved to...
12546 * sysdeps/generic/creat64.c: ...here.
12547 * io/lockf.c: Moved to...
12548 * sysdeps/generic/lockf.c: ...here.
12550 * crypt/crypt.texi: Moved to...
12551 * manual/crypt.texi: ...here.
12552 * crypt/examples/genpass.c: Moved to...
12553 * manual/examples/genpass.c: ...here.
12554 * crypt/examples/mygenpass.c: Moved to...
12555 * manual/examples/mygenpass.c: ...here.
12556 * crypt/examples/testpass.c: Moved to...
12557 * manual/examples/testpass.c: ...here.
12559 * manual/Makefile (chapters): Add crypt.
12560 * manual/conf.texi: Add usual header for not-last chapter.
12561 * manual/crypt.texi: Add special header for last chapter.
12563 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12565 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12566 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12567 complain if there is no crypt add-on.
12568 * crypt/configure: Removed.
12570 * crypt/crypt.texi: Update documentation of US export restrictions
12571 to match the 14 Jan 2000 regulations.
12573 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12575 * crypt: New subdirectory, merged in from the crypt add-on.
12577 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12579 * include/unistd.h: Add __rmdir and __mkdir prototypes.
12582 See ChangeLog.10 for earlier changes.