1 2000-12-15 Andreas Jaeger <aj@suse.de>
3 * stdio-common/scanf9.c (main): Reformat and change to avoid
6 * stdio-common/tstdiomisc.c: Make local functions static.
7 * stdio-common/tst-printf.c: Likewise.
9 * elf/constload2.c: Add prototype declarations to shut up gcc.
10 * elf/dep1.c: Likewise.
11 * elf/dep2.c: Likewise.
12 * elf/dep3.c: Likewise.
13 * elf/dep4.c: Likewise.
14 * elf/ltglobmod2.c: Likewise.
16 * libio/fmemopen.c: Make local functions static.
18 * elf/Makefile (distribute): Added testobj.h.
20 * elf/testobj.h: New file.
22 * elf/testobj1.c: Include testobj.h and move prototype
23 declarations to testobj.h.
24 * elf/testobj2.c: Likewise.
25 * elf/testobj3.c: Likewise.
26 * elf/testobj4.c: Likewise.
27 * elf/testobj5.c: Likewise.
28 * elf/testobj6.c: Likewise.
29 * elf/testobj1_1.c: Likewise.
30 * elf/preloadtest.c: Likewise.
32 2000-12-15 Ben Collins <bcollins@debian.org>
34 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
35 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
37 2000-12-14 H.J. Lu <hjl@gnu.org>
39 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
40 field in a float is 8 bits, not 11 bits.
42 2000-12-13 Jakub Jelinek <jakub@redhat.com>
44 * math/test-misc.c (main): Adjust m for IEEE quad long double.
46 2000-12-13 Andreas Jaeger <aj@suse.de>
48 * manual/message.texi (Using gettextized software): Fix typo.
50 * manual/charset.texi (Converting a Character): Fix mbstouwcs
52 Patch by Martin Buchholz <martin@xemacs.org>.
54 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
55 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
57 2000-12-11 Andreas Jaeger <aj@suse.de>
59 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
60 kernel_sigset_t and use it.
61 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
63 2000-12-10 Richard Henderson <rth@redhat.com>
65 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
66 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
67 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
69 2000-12-10 Jakub Jelinek <jakub@redhat.com>
71 * sysdeps/alpha/htonl.S: Fix a typo.
73 2000-12-10 Jakub Jelinek <jakub@redhat.com>
75 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
77 2000-12-10 Andreas Jaeger <aj@suse.de>
79 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
80 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
81 Drepper <drepper@redhat.com>.
83 2000-12-09 Andreas Jaeger <aj@suse.de>
85 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
87 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
89 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
91 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
94 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
97 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
98 * nscd/connections.c (handle_request): Likewise.
99 * nscd/pwdcache.c (addpwbyname): Likewise.
100 * nscd/grpcache.c (addgrbyname): Likewise.
102 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
104 2000-12-09 Ulrich Drepper <drepper@redhat.com>
106 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
108 * Makeconfig (default_cflags): Make -O2 the default for stable
111 2000-12-08 H.J. Lu <hjl@gnu.org>
113 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
114 * sysdeps/ia64/fpu/s_isinf.S: This.
115 Add a .pred.rel.mutex note to avoid false report.
117 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
118 * sysdeps/ia64/fpu/s_isnan.S: This.
120 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
121 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
122 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
123 * sysdeps/ia64/fpu/s_isinff.S: New file.
124 * sysdeps/ia64/fpu/s_isinfl.S: New file.
125 * sysdeps/ia64/fpu/s_isnanf.S: New file.
126 * sysdeps/ia64/fpu/s_isnanl.S: New file.
127 * sysdeps/ia64/fpu/s_finite.S: New file.
128 * sysdeps/ia64/fpu/s_finitef.S: New file.
129 * sysdeps/ia64/fpu/s_finitel.S: New file.
130 * sysdeps/ia64/fpu/s_signbit.S: New file.
131 * sysdeps/ia64/fpu/s_signbitf.S: New file.
132 * sysdeps/ia64/fpu/s_signbitl.S: New file.
133 * sysdeps/ia64/fpu/s_copysign.S: New file.
134 * sysdeps/ia64/fpu/s_copysignf.S: New file.
135 * sysdeps/ia64/fpu/s_copysignl.S: New file.
137 2000-12-08 Ulrich Drepper <drepper@redhat.com>
139 * math/libm-test.inc (main): Fix typos in messages.
141 * string/stratcliff.c: Add test for rawmemchr.
143 2000-12-08 Jakub Jelinek <jakub@redhat.com>
145 * elf/dl-open.c (_dl_open): If objname points right after errstring,
146 allocate it together with errstring using alloca.
147 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
148 to "", because it might point to local stack.
150 2000-12-05 H.J. Lu <hjl@gnu.org>
152 * nss/Makefile (routines): Add getnssent and getnssent_r.
153 * nss/nsswitch.h (__nss_setent): New internal NSS function.
154 (__nss_endent): Likewise.
155 (__nss_getent_r): Likewise.
156 (__nss_getent): Likewise.
157 * nss/getnssent_r.c: New file.
158 * nss/getnssent.c: New file.
159 * nss/getXXent.c (H_ERRNO_VAR): Updated.
160 (GETFUNC_NAME): Updated to call __nss_getent ().
161 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
162 (STAYOPEN_TMPVAR): Updated.
163 (STAYOPEN_VAR): Updated.
164 (SETFUNC_NAME): Updated to call __nss_setent ().
165 (ENDFUNC_NAME): Updated to call __nss_endent ().
166 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
168 2000-12-08 Andreas Jaeger <aj@suse.de>
170 * nscd/dbg_log.h (dbg_log): Correct attribute.
172 2000-12-08 Jakub Jelinek <jakub@redhat.com>
174 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
175 cp + len. Compute where from dirname.
176 Reported by <jreiser@BitWagon.com>.
178 2000-12-08 Richard Henderson <rth@twiddle.net>
180 * sysdeps/alpha/_mcount.S: Fix typo.
181 * sysdeps/alpha/strncpy.S: Likewise.
183 * sysdeps/alpha/alphaev6/Implies: New file.
184 * sysdeps/alpha/alphaev67/Implies: New file.
185 * sysdeps/alpha/alphaev67/ffs.S: New file.
186 * sysdeps/alpha/alphaev67/ffsll.S: New file.
187 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
188 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
189 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
190 * sysdeps/alpha/rawmemchr.S: New file.
191 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
192 * sysdeps/alpha/strcpy.S: Likewise.
195 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
197 From rick.gorton@alpha-processor.com:
198 * sysdeps/alpha/alphaev6/memchr.S: New file.
199 * sysdeps/alpha/alphaev6/memcpy.S: New file.
200 * sysdeps/alpha/alphaev6/memset.S: New file.
201 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
202 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
203 * sysdeps/alpha/alphaev67/strcat.S: New file.
204 * sysdeps/alpha/alphaev67/strchr.S: New file.
205 * sysdeps/alpha/alphaev67/strlen.S: New file.
206 * sysdeps/alpha/alphaev67/strncat.S: New file.
207 * sysdeps/alpha/htonl.S: Use a shorter sequence.
209 2000-12-08 Jakub Jelinek <jakub@redhat.com>
211 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
212 Reported by <pspencer@fields.utoronto.ca>.
214 2000-12-07 Jes Sorensen <jes@linuxcare.com>
216 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
217 Pointed out by Hans Boehm.
219 2000-12-07 H.J. Lu <hjl@gnu.org>
221 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
223 2000-12-07 Andreas Jaeger <aj@suse.de>
225 * misc/error.c: Add format attributes for __error and __error_at_line.
227 * nscd/dbg_log.h: Add format attribute.
229 2000-12-08 Ulrich Drepper <drepper@redhat.com>
231 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
232 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
234 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
236 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
238 2000-12-06 Ulrich Drepper <drepper@redhat.com>
240 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
241 (sysdep_routines): Add uitrunc.
242 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
243 Patches by Michael Keezer <mkeezer@redhat.com>.
245 2000-12-06 Roland McGrath <roland@frob.com>
247 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
248 argument data, since it will be used to copy out too (for INOUT).
249 Reported by Marcus Brinkmann <marcus@gnu.org>.
251 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
252 (__ioctl): Use uintptr_t instead of unsigned long int.
254 2000-12-06 Jim Wilson <wilson@redhat.com>
256 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
258 2000-12-06 Ulrich Drepper <drepper@redhat.com>
260 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
261 x.5 rounding correctly.
263 2000-12-06 Mark Kettenis <kettenis@gnu.org>
265 * stdio-common/perror.c (perror): Conditionalize code dealing with
266 wide-oriented streams on USE_IN_LIBIO.
268 2000-12-06 Mark Kettenis <kettenis@gnu.org>
270 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
271 as internal_function.
273 2000-12-05 Ulrich Drepper <drepper@redhat.com>
275 * sysdeps/alpha/elf/start.S (__data_start): Define.
277 2000-12-05 H.J. Lu <hjl@gnu.org>
279 * nss/getXXent_r.c (setup): Change the return type to int.
281 2000-12-05 Ulrich Drepper <drepper@redhat.com>
283 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
284 (sysdep_routines): Add restf and savef.
285 * sysdeps/unix/sysv/aix/restf.c: New file.
286 * sysdeps/unix/sysv/aix/savef.c: New file.
287 Patches by Michael Keezer <mkeezer@redhat.com>.
289 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
290 if O_DIRECTORY is not defined.
291 Patch by Michael Keezer <mkeezer@redhat.com>.
293 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
294 Patch by Michael Keezer <mkeezer@redhat.com>.
296 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
297 than 4 bytes in escape sequence.
298 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
300 2000-12-05 Andreas Jaeger <aj@suse.de>
302 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
305 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
307 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
309 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
310 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
312 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
314 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
315 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
317 * sysdeps/generic/dl-cache.c: Remove declaration of
318 _dl_sysdep_read_whole_file.
320 * elf/dl-load.c (_dl_map_object): Remove declaration of
321 _dl_load_cache_lookup.
323 * sysdeps/generic/ldsodefs.h: Add declarations of
324 _dl_load_cache_lookup, _dl_unload_cache,
325 _dl_sysdep_read_whole_file, _dl_sysdep_start and
326 _dl_sysdep_start_cleanup.
328 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
331 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
332 * sysdeps/generic/dl-environ.c: Likewise.
334 * stdio-common/printf_fp.c: Include <gmp.h> instead of
336 * math/atest-exp.c: Likewise.
337 * math/atest-exp2.c: Likewise.
338 * math/atest-sincos.c: Likewise.
339 * stdio-common/_itoa.c: Likewise.
340 * stdio-common/_itowa.c: Likewise.
342 * include/gmp.h: New file with internal prototypes.
344 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
346 * include/setjmp.h: ...here.
348 * locale/Makefile (routines): Remove codeset_name since it's not
351 * locale/codeset_name.c: Removed.
353 2000-12-05 Ulrich Drepper <drepper@redhat.com>
355 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
357 2000-12-05 Andreas Jaeger <aj@suse.de>
359 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
361 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
363 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
366 2000-12-05 Andreas Jaeger <aj@suse.de>
368 * nss/test-netdb.c: Mark local functions as static to avoid
370 (main): Use return to silence warning.
372 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
374 * stdio-common/test-popen.c: Mark local functions as static to
376 (main): Use return to silence warning.
378 * stdlib/testsort.c (compare): Mark as static to avoid warning.
380 * assert/test-assert.c: Mark local functions as static to avoid
382 * assert/test-assert-perr.c: Likewise.
384 * math/libm-test.inc (main): Use return to silence warnings.
386 2000-12-04 Ulrich Drepper <drepper@redhat.com>
388 * math/fenv.h: Fix typo in comment.
390 * math/test-misc.c (main): Add a few more over and underflow tests
393 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
394 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
395 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
396 * math/w_scalb.c: Don't use matherr except in SVID mode.
397 * math/w_scalbf.c: Likewise.
398 * math/w_scalbl.c: Likewise.
399 * math/test-misc.c: Add test for NaN and scalbl.
400 Reported by Fred J. Tydeman <tydeman@tybor.com>.
402 2000-12-04 Ulrich Drepper <drepper@redhat.com>
404 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
405 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
406 * include/libc-symbols.h (strong_alias): Define special version
407 for HAVE_ASM_GLOBAL_DOT_NAME.
408 (weak_alias): Likewise.
409 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
410 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
411 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
412 getutxline, pututxline, and utmpxname.
413 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
414 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
415 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
416 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
417 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
418 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
419 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
420 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
421 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
422 Patches by Michael Keezer <mkeezer@redhat.com>.
424 2000-12-04 H.J. Lu <hjl@gnu.org>
426 * configure.in: Change --with-oldest-abi=ABI to
427 --enable-oldest-abi=ABI.
429 2000-12-02 Bruno Haible <haible@clisp.cons.org>
431 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
432 fwprintf instead of fprintf.
434 2000-12-04 Ulrich Drepper <drepper@redhat.com>
436 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
437 DECIMAL_DIG definitions.
438 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
439 * sysdeps/generic/bits/mathdef.h: Likewise
440 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
441 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
442 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
443 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
444 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
445 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
447 2000-12-03 Ulrich Drepper <drepper@redhat.com>
449 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
451 * math/atest-exp.c: Mark local functions as static to avoid warnings.
452 * math/atest-exp2.c: Likewise.
453 * math/atest-sincos.c: Likewise.
455 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
456 Reported by Fred J. Tydeman <tydeman@tybor.com>.
458 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
459 the handling of denormalized numbers.
461 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
463 * sysdeps/i386/fpu/fpclassifyl.c: New file.
465 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
466 pseudo denormal representation of LDBL_MIN.
468 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
469 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
471 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
472 * iconvdata/jis0208.c: Likewise.
473 * iconvdata/jis0212.c: Likewise.
474 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
476 * math/test-misc.c (main): More tests for frexp and some for
477 fpclassify and isnormal.
479 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
481 Reported by Fred J. Tydeman <tydeman@tybor.com>.
483 * math/test-misc.c (main): Add tests for frexp.
484 Reported by Fred J. Tydeman <tydeman@tybor.com>.
485 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
487 2000-12-02 H.J. Lu <hjl@gnu.org>
489 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
492 2000-12-02 Ulrich Drepper <drepper@redhat.com>
494 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
495 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
496 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
498 * sysdeps/generic/glob.c: Adjust types of several variables to
501 2000-12-01 Ulrich Drepper <drepper@redhat.com>
503 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
505 2000-11-30 Roland McGrath <roland@frob.com>
507 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
508 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
509 allow multiple instances using the same function name in one file.
511 2000-12-01 Ulrich Drepper <drepper@redhat.com>
513 * configure.in: Correct test for pserver CVS access.
515 2000-11-28 H.J. Lu <hjl@gnu.org>
517 * libio/libio.h: Remove extra "#if ... #endif".
519 2000-11-29 H.J. Lu <hjl@gnu.org>
521 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
523 2000-12-01 H.J. Lu <hjl@gnu.org>
525 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
526 * nss/getXXent_r.c: Likewise.
527 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
529 2000-11-30 H.J. Lu <hjl@gnu.org>
531 * scripts/abi-versions.awk (oldest_abi): New variable.
532 Handle the oldest ABI supported.
534 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
535 for scripts/abi-versions.awk.
537 * configure.in: Add --with-oldest-abi=ABI.
538 * configure: Rebuild.
540 * config.make.in (oldest-abi): New.
542 * config.h.in (GLIBC_OLDEST_ABI): New.
544 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
546 2000-11-30 Jakub Jelinek <jakub@redhat.com>
548 * locale/setlocale.c (setname): Free for all categories, not just
550 (setlocale): Store a copy of string passed by user, not the string
553 2000-11-30 Roland McGrath <roland@frob.com>
555 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
556 rather than _hurd_fd_subinit, so it happens after it's safe to use
557 libc facilities like malloc.
559 2000-11-28 Andreas Jaeger <aj@suse.de>
561 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
562 declaration, adjust declaration of __syscall_getdents to match
565 2000-11-29 H.J. Lu <hjl@gnu.org>
567 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
569 2000-11-29 Andreas Jaeger <aj@suse.de>
571 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
573 2000-11-28 Ulrich Drepper <drepper@redhat.com>
575 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
576 * dlfcn/defaultmod2.c: Likewise.
577 * dlfcn/dlopen.c: Likewise.
578 * dlfcn/dlopenold.c: Likewise.
579 * dlfcn/failtestmod.c: Likewise.
580 * dlfcn/glreflib1.c: Likewise.
581 * dlfcn/glreflib2.c: Likewise.
582 * dlfcn/eval.c: Likewise. Add attributes.
584 * ctype/ctype-extn.c: Define isblank and not __isblank.
586 * time/strftime.c: Add const where necessary to avoid warnings.
587 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
589 2000-11-22 Paul Eggert <eggert@twinsun.com>
591 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
592 size of (size_t) -1; it's not portable.
594 2000-11-28 Ulrich Drepper <drepper@redhat.com>
596 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
598 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
600 2000-11-14 Jes Sorensen <jes@linuxcare.com>
602 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
604 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
605 _mcount is required by profiled binaries.
607 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
608 * sysdeps/ia64/machine-gmon.h: ...here.
610 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
612 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
613 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
615 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
617 * iconvdata/ibm922.c: New file.
618 * iconvdata/ibm922.h: New file.
619 * iconvdata/ibm1124.c: New file.
620 * iconvdata/ibm1124.h: New file.
621 * iconvdata/ibm1129.c: New file.
622 * iconvdata/ibm1129.h: New file.
623 * iconvdata/testdata/IBM922: New file.
624 * iconvdata/testdata/IBM922..UTF8: New file.
625 * iconvdata/testdata/IBM1124: New file.
626 * iconvdata/testdata/IBM1124..UTF8: New file.
627 * iconvdata/testdata/IBM1129: New file.
628 * iconvdata/testdata/IBM1129..UTF8: New file.
630 2000-11-28 Ulrich Drepper <drepper@redhat.com>
632 * catgets/gencat.c (normalize_line): Take extra parameter with escape
633 character. Change callers.
634 (open_conversion): Determine mapping of 0x5c as wchar_t value.
635 * catgets/Makefile: Add rules to build and run test-gencat.
636 * catgets/sample.SJIS: New file.
637 * catgets/test-gencat.c: New file.
638 * catgets/test-gencat.sh: New file.
639 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
641 2000-11-28 Andreas Jaeger <aj@suse.de>
643 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
646 2000-11-28 Ulrich Drepper <drepper@redhat.com>
648 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
650 2000-11-28 Andreas Jaeger <aj@suse.de>
652 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
654 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
657 2000-11-27 Ulrich Drepper <drepper@redhat.com>
659 * misc/getusershell.c: Make strings in okshells array const.
660 * misc/regexp.c: Add const to cast to avoid warnings.
661 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
662 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
664 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
666 * misc/error.c: Add prototypes for __error and __error_at_line.
667 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
668 statement to avoid warning.
669 * test-skeleton.c: Mark timeout_handler with noreturn.
670 * iconv/skeleton.c (get16u): Add const to cast.
672 * iconvdata/gb18030.c: Likewise.
673 * iconvdata/iso-2022-cn-ext.c: Likewise.
674 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
675 * iconvdata/big5.c: Likewise.
676 * iconvdata/big5hkscs.c: Likewise.
677 * iconvdata/iso_6937.c: Likewise.
678 * iconvdata/iso_6937-2.c: Likewise.
679 * iconvdata/t.61.c: Likewise.
680 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
681 * iconvdata/unicode.c: Likewise.
682 * iconvdata/utf-16.c: Likewise.
683 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
684 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
685 with little code shuffling.
687 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
688 the problems introduced when the user selects -O3.
690 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
691 * misc/sys/cdefs.h: Define __flexarr.
692 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
694 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
695 * iconv/skeleton.c: Likewise.
696 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
697 * iconv/loop.c (get16): Add const to cast.
700 2000-11-27 Andreas Jaeger <aj@suse.de>
702 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
704 * login/programs/utmpdump.c (print_entry): Likewise.
706 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
708 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
709 in a single asm as they may be used to access other stored
711 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
713 2000-11-27 Andreas Jaeger <aj@suse.de>
715 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
716 * rt/tst-aio64.c: Likewise.
718 2000-11-27 Ulrich Drepper <drepper@redhat.com>
720 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
722 (libc.cat): Likewise.
723 * catgets/gencat.c: Implement handling of message catalogs encoded
724 with stateful character sets.
725 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
727 2000-11-26 Ulrich Drepper <drepper@redhat.com>
729 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
731 * inet/getnameinfo.c: Adjust casts to avoid warnings.
732 * inet/rcmd.c: Likewise.
733 * inet/ruserpass.c: Likewise.
734 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
735 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
736 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
737 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
738 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
739 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
740 * include/aliases.h: Add prototypes for internal __getalias* functions.
741 * include/netdb.h: Add prototypes for __old_gethostent_r,
742 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
743 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
744 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
745 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
746 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
747 __old_getrpcbynumber_r, __old_getrpcent_r.
749 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
750 __getrpcent_r prototypes.
752 2000-11-25 Ulrich Drepper <drepper@redhat.com>
754 * string/strcoll.c: Add casts to avoid warnings.
755 * string/strnlen.c: Likewise.
756 * string/strxfrm.c: Likewise.
757 * sysdeps/generic/_strerror.c: Likewise.
758 * sysdeps/generic/memrchr.c: Likewise.
759 * sysdeps/generic/strcasestr.c: Likewise.
760 * sysdeps/generic/strstr.c: Likewise.
762 * locale/weight.h (findidx): Add const to cast to avoid warning.
764 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
765 * elf/loadtest.c: Likewise.
766 * elf/multiload.c: Likewise.
767 * elf/next.c: Likewise.
768 * elf/nodelete.c: Likewise.
769 * elf/noload.c: Likewise.
770 * elf/order.c: Likewise.
771 * elf/origtest.c: Likewise.
772 * elf/preloadtest.c: Likewise.
773 * elf/restest1.c: Likewise.
775 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
776 parameter of asm must be in %ecx.
778 * string/tester.c: Mark test functions as static to avoid warnings.
780 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
781 preserve value over different gconv-modules files.
783 2000-11-24 Ulrich Drepper <drepper@redhat.com>
785 * locale/findlocale.c: Add casts to avoid warnings.
786 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
787 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
789 * misc/tsearch.c (const_node): New type.
790 (trecurse): Correct casts to avoid warnings.
792 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
795 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
797 * test-skeleton.c: Mark local functions as static to avoid warnings.
799 2000-11-23 H.J. Lu <hjl@gnu.org>
801 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
802 support the background job.
805 2000-11-24 Ulrich Drepper <drepper@redhat.com>
807 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
808 has same names but lower cost.
810 2000-11-23 Jakub Jelinek <jakub@redhat.com>
812 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
813 which never occur during bootstrap.
814 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
816 2000-11-23 Andreas Jaeger <aj@suse.de>
818 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
820 * nss/Versions: Remove _nss_files_getipnodebyname_r.
822 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
824 2000-11-18 Martin Buchholz <martin@xemacs.org>
826 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
829 2000-11-21 Alan Modra <alan@linuxcare.com.au>
831 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
833 * csu/abi-note.S: Correct comment for operating system number.
835 2000-11-22 Ulrich Drepper <drepper@redhat.com>
837 * Versions.def: Add GLIBC_2.2.1 for glibc.
839 2000-11-22 Andreas Schwab <schwab@suse.de>
841 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
842 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
844 2000-11-22 Ulrich Drepper <drepper@redhat.com>
846 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
847 absolute time for pthread_cond_timedwait call.
848 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
850 * rt/Makefile (tests): Add tst-aio6.
851 * rt/tst-aio6.c: New file.
853 2000-11-23 Andreas Jaeger <aj@suse.de>
855 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
857 2000-11-22 Andreas Jaeger <aj@suse.de>
859 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
861 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
863 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
865 2000-11-21 Andreas Schwab <schwab@suse.de>
867 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
868 * sysdeps/arm/setjmp.S: Likewise.
869 * sysdeps/arm/fpu/setjmp.S: Likewise.
870 * sysdeps/i386/setjmp.S: Likewise.
871 * sysdeps/i386/elf/setjmp.S: Likewise.
872 * sysdeps/s390/setjmp.S: Likewise.
873 * sysdeps/s390/elf/setjmp.S: Likewise.
874 * sysdeps/sh/sh3/setjmp.S: Likewise.
875 * sysdeps/sh/sh4/setjmp.S: Likewise.
876 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
877 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
878 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
879 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
881 2000-11-21 Andreas Jaeger <aj@suse.de>
883 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
884 NORETURN, fix parameter list.
886 * string/bug-strncat1.c (main): Fix typo.
887 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
889 2000-11-20 Ulrich Drepper <drepper@redhat.com>
891 * configure.in: Add --enable-all-warnings.
892 * config.make.in (all-warnings): New variable.
893 * Makeconfig (+gccwarn): Define with many more warnings if
896 2000-11-20 Jakub Jelinek <jakub@redhat.com>
898 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
899 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
900 * malloc/tst-valloc.c (main): Cast valloc return value to long.
901 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
902 * math/test-fpucw.c (main): Use %lx in format string, cast
903 control words to long.
904 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
905 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
906 large that it is unsigned warning.
908 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
909 it to long on sparc64.
911 2000-11-20 Andreas Jaeger <aj@suse.de>
913 * nscd/nscd.h (termination_handler): Add noreturn attribute.
914 (receiv_print_stats): Likewise.
916 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
918 2000-11-20 Ulrich Drepper <drepper@redhat.com>
920 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
922 * csu/gmon-start.c: Always have prototype for __gmon_start.
923 * csu/version.c: Add prototypes for __libc_print_version and
925 * iconv/gconv.c: Include gconv_int.h and gconv.h.
926 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
928 * iconv/gconv_builtin.h: Add ASCII module definitions.
929 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
930 (add_module): Add cast to avoid warning. Rework construction of
931 strings for new module.
932 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
933 (derivation_compare): Likewise.
934 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
935 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
936 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
937 (struct gconv_alias): Remove const from fromname and toname.
938 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
940 (internal_ucs4_loop): Use correct const-ness.
941 (ucs4_internal_loop): Likewise.
942 (internal_ucs4le_loop): Likewise.
943 (ucs4le_internal_loop_single): Likewise.
944 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
945 to_idx, to_tbl, winbuf, winbufend const. Change casts in
946 assignments appropriately.
947 (struct known_trans): Remove const from fname.
948 (trans_compare): Make s1 and s2 const.
949 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
951 * iconv/skeleton.c: Remove cast in calls of loop functions.
952 * iconvdata/gconv-modules: Remove US-ASCII definitions.
953 * iconvdata/iso646.c: Remove US_ASCII support.
954 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
955 * include/unistd.h: Add __libc_check_standard_fds prototype.
956 * string/bits/string2.h (__mempcpy_args): Add const to casts.
957 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
959 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
960 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
961 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
963 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
964 __libc_init_first and _dl_start.
965 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
966 (DCIGETTEXT): Make domaindata variable const.
967 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
970 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
972 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
974 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
975 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
978 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
979 value defined in /usr/include/asm-mips/fcntl.h.
981 2000-11-18 Ulrich Drepper <drepper@redhat.com>
983 * stdio-common/Makefile (tests): Add test-vfprintf.
984 (test-vfprintf-ENV): New variable.
985 * stdio-common/test-vfprintf.c: New file.
987 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
989 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
990 (tst-mbrtowc-ENV): New variable.
991 (tst-wcrtomb-ENV): New variable.
992 * wcsmbs/tst-mbrtowc.c: New file.
993 * wcsmbs/tst-wcrtomb.c: New file.
995 2000-11-16 Andreas Jaeger <aj@suse.de>
997 * manual/install.texi (Tools for Compilation): Update
998 documentation for GCC 2.95.2.
1000 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1003 if IPv4 and IPv6 requests timed out.
1005 2000-11-18 Akim Demaille <akim@epita.fr>
1007 * malloc/obstack.h: Formatting changes.
1008 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1009 prevents type checking.
1010 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1011 cast the value to (void *): assigning a `foo *' to a `void *'
1013 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1015 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1017 * scripts/config.guess: Update from upstream maintainer.
1018 * scripts/config.sub: Likewise.
1020 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1022 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1023 * libio/freopen64.c (freopen64): Likewise.
1024 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1026 * libio/Makefile: Add rules to build and run test-freopen.
1027 * libio/test-freopen.c: New file.
1028 * libio/test-freopen.sh: New file.
1030 2000-11-15 H.J. Lu <hjl@gnu.org>
1032 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1033 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1034 (DL_DT_FINI_ADDRESS): Likewise.
1036 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1037 return type to ElfW(Addr).
1038 (_dl_function_address): New prototype.
1039 (DL_FUNCTION_ADDRESS): Defined.
1040 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1041 (DL_DT_FINI_ADDRESS): Likewise.
1043 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1045 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1046 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1048 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1049 (_dl_function_address): This.
1051 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1052 function pointer for DT_FINI.
1053 * elf/dl-close.c (_dl_close): Likewise.
1055 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1056 function pointer for DT_INIT.
1058 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1060 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1061 end of wexpbuf buffer.
1063 2000-11-16 Andreas Jaeger <aj@suse.de>
1065 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1066 definition of F_GETLK, F_SETLK, F_SETLKW.
1068 2000-11-16 Andreas Jaeger <aj@suse.de>
1070 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1073 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1075 * dlfcn/default.c (main): Add test for dladdr of main returning
1076 argv[0] in dli_fname field.
1078 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1080 * Makeconfig (run-program-prefix): Move test-static test into the
1083 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1084 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1085 schedule instructions.
1086 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1087 schedule instructions, fix a bug in copying auxiliary data.
1089 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1091 * manual/startup.texi (Program Arguments): Fix type of main's envp
1093 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1095 * iconvdata/gconv-modules: Add CP950 alias.
1097 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1099 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1100 syscall-list.h goal.
1101 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1103 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1105 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1107 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1110 * intl/tst-gettext2.c: Set C locale if setting other locale
1111 failed. Use gettext() not _().
1113 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1114 successfully loaded a new locale.
1116 2000-11-13 Andreas Jaeger <aj@suse.de>
1118 * configure.in: Require gcc 2.95 or newer.
1120 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1122 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1123 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1125 2000-11-11 Jim Meyering <meyering@lucent.com>
1127 * string/strndup.c (strndup): Cast return value to `char *'.
1129 2000-11-15 Jim Meyering <meyering@ascend.com>
1131 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1132 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1133 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1134 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1135 Also #undef __memchr.
1136 Use `weak_alias' only if it's defined.
1138 2000-11-10 H.J. Lu <hjl@gnu.org>
1140 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1142 2000-11-15 Andreas Jaeger <aj@suse.de>
1144 * elf/chroot_canon.c: Include <stdint.h>.
1146 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1147 (print_entry): Likewise.
1148 (add_to_cache): Likewise.
1150 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1152 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1153 (path_hwcap): Likewise.
1154 (search_dir): Likewise.
1156 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1158 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1160 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1161 (_dl_platform_string): New.
1162 (_DL_HWCAP_PLATFORM): New.
1163 (_dl_string_platform): New.
1164 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1166 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1167 (_dl_string_platform): New.
1168 (_DL_HWCAP_PLATFORM): New.
1169 (_dl_platform_string): New.
1171 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1173 (_DL_HWCAP_COUNT): New.
1174 (_dl_string_platform): New.
1175 (_DL_HWCAP_PLATFORM): New.
1176 (_dl_platform_string): New.
1178 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1180 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1182 2000-11-14 Andreas Jaeger <aj@suse.de>
1184 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1186 2000-11-13 Roland McGrath <roland@frob.com>
1188 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1190 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1192 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1193 underrun and make sure the result is null terminated even if there
1194 is no trailing newline.
1196 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1198 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1200 2000-11-10 H.J. Lu <hjl@gnu.org>
1202 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1204 2000-11-10 Andreas Jaeger <aj@suse.de>
1206 * elf/ldconfig.c (create_links): Fix alloca calculation.
1207 Patch by Ben Collins <bcollins@debian.org>.
1209 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1211 * inet/getnameinfo.c (getnameinfo): Use correct destination
1212 parameter for if_indextoname.
1213 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1215 2000-11-09 H.J. Lu <hjl@gnu.org>
1217 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1218 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1219 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1222 * time/Versions (GLIBC_2.1): Move getitimer to...
1223 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1225 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1227 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1228 "make install", to work around a binary incompatibility between
1229 glibc 2.1 and glibc 2.2 gconv modules.
1231 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1233 * intl/locale.alias: Add thai.
1234 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1236 2000-11-07 Akim Demaille <akim@epita.fr>
1238 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1239 argument `data' for consistency with the prototypes.
1241 (obstack_copy, obstack_copy0): Rename the second argument as
1242 `address' for consistency. Qualify it `const'.
1243 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1244 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1245 `const' their input argument (`data' or `address').
1246 Adjust the corresponding macros to include `const' in casts.
1248 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1250 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1253 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1255 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1258 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1260 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1261 ai_protocol by internal table if service was not given.
1263 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1265 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1266 numerical port was specified with protocol without socktype.
1268 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1270 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1272 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1274 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1276 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1278 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1279 sin6_scope_id field.
1281 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1283 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1285 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1287 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1289 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1291 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1292 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1294 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1296 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1297 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1299 2000-11-09 H.J. Lu <hjl@gnu.org>
1301 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1304 See ChangeLog.11 for earlier changes.