1 2000-12-16 Ulrich Drepper <drepper@redhat.com>
3 * timezone/asia: Update from tzdata2000h.
4 * timezone/australasia: Likewise.
5 * timezone/backward: Likewise.
6 * timezone/europe: Likewise.
7 * timezone/northamerica: Likewise.
8 * timezone/southamerica: Likewise.
9 * timezone/zone.tab: Likewise.
11 2000-12-14 Jakub Jelinek <jakub@redhat.com>
13 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
14 and dir.stream is NULL, only free dir.content.
15 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
16 * io/ftwtest-sh: Test with --early-exit.
18 2000-12-13 Jakub Jelinek <jakub@redhat.com>
20 * misc/efgcvt.c (FCVT_MAXDIG): Define.
21 (FCVT_BUFPTR): New variable.
22 (fcvt): If fcvt_r returns -1 on the static short buffer,
23 try to malloc a sufficiently large one and retry.
24 (free_mem): New function.
25 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
26 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
28 2000-12-15 Ulrich Drepper <drepper@redhat.com>
30 * misc/dirname.c (dirname): Fix search for second to last slash.
32 2000-12-13 Andreas Jaeger <aj@suse.de>
34 * misc/tst-dirname.c (main): Fix typo in test to really use
35 the examples from Unix98.
36 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
38 2000-12-09 H.J. Lu <hjl@gnu.org>
40 * sysdeps/ia64/fpu/s_fabs.S: New file.
41 * sysdeps/ia64/fpu/s_fabsf.S: New file.
42 * sysdeps/ia64/fpu/s_fabsl.S: New file.
44 2000-12-15 Andreas Jaeger <aj@suse.de>
46 * stdio-common/scanf9.c (main): Reformat and change to avoid
49 * stdio-common/tstdiomisc.c: Make local functions static.
50 * stdio-common/tst-printf.c: Likewise.
52 * elf/constload2.c: Add prototype declarations to shut up gcc.
53 * elf/dep1.c: Likewise.
54 * elf/dep2.c: Likewise.
55 * elf/dep3.c: Likewise.
56 * elf/dep4.c: Likewise.
57 * elf/ltglobmod2.c: Likewise.
59 * libio/fmemopen.c: Make local functions static.
61 * elf/Makefile (distribute): Added testobj.h.
63 * elf/testobj.h: New file.
65 * elf/testobj1.c: Include testobj.h and move prototype
66 declarations to testobj.h.
67 * elf/testobj2.c: Likewise.
68 * elf/testobj3.c: Likewise.
69 * elf/testobj4.c: Likewise.
70 * elf/testobj5.c: Likewise.
71 * elf/testobj6.c: Likewise.
72 * elf/testobj1_1.c: Likewise.
73 * elf/preloadtest.c: Likewise.
75 2000-12-15 Ben Collins <bcollins@debian.org>
77 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
78 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
80 2000-12-14 H.J. Lu <hjl@gnu.org>
82 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
83 field in a float is 8 bits, not 11 bits.
85 2000-12-13 Jakub Jelinek <jakub@redhat.com>
87 * math/test-misc.c (main): Adjust m for IEEE quad long double.
89 2000-12-13 Andreas Jaeger <aj@suse.de>
91 * manual/message.texi (Using gettextized software): Fix typo.
93 * manual/charset.texi (Converting a Character): Fix mbstouwcs
95 Patch by Martin Buchholz <martin@xemacs.org>.
97 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
98 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
100 2000-12-11 Andreas Jaeger <aj@suse.de>
102 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
103 kernel_sigset_t and use it.
104 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
106 2000-12-10 Richard Henderson <rth@redhat.com>
108 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
109 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
110 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
112 2000-12-10 Jakub Jelinek <jakub@redhat.com>
114 * sysdeps/alpha/htonl.S: Fix a typo.
116 2000-12-10 Jakub Jelinek <jakub@redhat.com>
118 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
120 2000-12-10 Andreas Jaeger <aj@suse.de>
122 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
123 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
124 Drepper <drepper@redhat.com>.
126 2000-12-09 Andreas Jaeger <aj@suse.de>
128 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
130 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
132 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
134 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
137 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
140 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
141 * nscd/connections.c (handle_request): Likewise.
142 * nscd/pwdcache.c (addpwbyname): Likewise.
143 * nscd/grpcache.c (addgrbyname): Likewise.
145 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
147 2000-12-09 Ulrich Drepper <drepper@redhat.com>
149 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
151 * Makeconfig (default_cflags): Make -O2 the default for stable
154 2000-12-08 H.J. Lu <hjl@gnu.org>
156 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
157 * sysdeps/ia64/fpu/s_isinf.S: This.
158 Add a .pred.rel.mutex note to avoid false report.
160 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
161 * sysdeps/ia64/fpu/s_isnan.S: This.
163 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
164 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
165 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
166 * sysdeps/ia64/fpu/s_isinff.S: New file.
167 * sysdeps/ia64/fpu/s_isinfl.S: New file.
168 * sysdeps/ia64/fpu/s_isnanf.S: New file.
169 * sysdeps/ia64/fpu/s_isnanl.S: New file.
170 * sysdeps/ia64/fpu/s_finite.S: New file.
171 * sysdeps/ia64/fpu/s_finitef.S: New file.
172 * sysdeps/ia64/fpu/s_finitel.S: New file.
173 * sysdeps/ia64/fpu/s_signbit.S: New file.
174 * sysdeps/ia64/fpu/s_signbitf.S: New file.
175 * sysdeps/ia64/fpu/s_signbitl.S: New file.
176 * sysdeps/ia64/fpu/s_copysign.S: New file.
177 * sysdeps/ia64/fpu/s_copysignf.S: New file.
178 * sysdeps/ia64/fpu/s_copysignl.S: New file.
180 2000-12-08 Ulrich Drepper <drepper@redhat.com>
182 * math/libm-test.inc (main): Fix typos in messages.
184 * string/stratcliff.c: Add test for rawmemchr.
186 2000-12-08 Jakub Jelinek <jakub@redhat.com>
188 * elf/dl-open.c (_dl_open): If objname points right after errstring,
189 allocate it together with errstring using alloca.
190 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
191 to "", because it might point to local stack.
193 2000-12-05 H.J. Lu <hjl@gnu.org>
195 * nss/Makefile (routines): Add getnssent and getnssent_r.
196 * nss/nsswitch.h (__nss_setent): New internal NSS function.
197 (__nss_endent): Likewise.
198 (__nss_getent_r): Likewise.
199 (__nss_getent): Likewise.
200 * nss/getnssent_r.c: New file.
201 * nss/getnssent.c: New file.
202 * nss/getXXent.c (H_ERRNO_VAR): Updated.
203 (GETFUNC_NAME): Updated to call __nss_getent ().
204 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
205 (STAYOPEN_TMPVAR): Updated.
206 (STAYOPEN_VAR): Updated.
207 (SETFUNC_NAME): Updated to call __nss_setent ().
208 (ENDFUNC_NAME): Updated to call __nss_endent ().
209 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
211 2000-12-08 Andreas Jaeger <aj@suse.de>
213 * nscd/dbg_log.h (dbg_log): Correct attribute.
215 2000-12-08 Jakub Jelinek <jakub@redhat.com>
217 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
218 cp + len. Compute where from dirname.
219 Reported by <jreiser@BitWagon.com>.
221 2000-12-08 Richard Henderson <rth@twiddle.net>
223 * sysdeps/alpha/_mcount.S: Fix typo.
224 * sysdeps/alpha/strncpy.S: Likewise.
226 * sysdeps/alpha/alphaev6/Implies: New file.
227 * sysdeps/alpha/alphaev67/Implies: New file.
228 * sysdeps/alpha/alphaev67/ffs.S: New file.
229 * sysdeps/alpha/alphaev67/ffsll.S: New file.
230 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
231 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
232 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
233 * sysdeps/alpha/rawmemchr.S: New file.
234 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
235 * sysdeps/alpha/strcpy.S: Likewise.
238 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
240 From rick.gorton@alpha-processor.com:
241 * sysdeps/alpha/alphaev6/memchr.S: New file.
242 * sysdeps/alpha/alphaev6/memcpy.S: New file.
243 * sysdeps/alpha/alphaev6/memset.S: New file.
244 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
245 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
246 * sysdeps/alpha/alphaev67/strcat.S: New file.
247 * sysdeps/alpha/alphaev67/strchr.S: New file.
248 * sysdeps/alpha/alphaev67/strlen.S: New file.
249 * sysdeps/alpha/alphaev67/strncat.S: New file.
250 * sysdeps/alpha/htonl.S: Use a shorter sequence.
252 2000-12-08 Jakub Jelinek <jakub@redhat.com>
254 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
255 Reported by <pspencer@fields.utoronto.ca>.
257 2000-12-07 Jes Sorensen <jes@linuxcare.com>
259 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
260 Pointed out by Hans Boehm.
262 2000-12-07 H.J. Lu <hjl@gnu.org>
264 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
266 2000-12-07 Andreas Jaeger <aj@suse.de>
268 * misc/error.c: Add format attributes for __error and __error_at_line.
270 * nscd/dbg_log.h: Add format attribute.
272 2000-12-08 Ulrich Drepper <drepper@redhat.com>
274 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
275 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
277 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
279 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
281 2000-12-06 Ulrich Drepper <drepper@redhat.com>
283 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
284 (sysdep_routines): Add uitrunc.
285 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
286 Patches by Michael Keezer <mkeezer@redhat.com>.
288 2000-12-06 Roland McGrath <roland@frob.com>
290 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
291 argument data, since it will be used to copy out too (for INOUT).
292 Reported by Marcus Brinkmann <marcus@gnu.org>.
294 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
295 (__ioctl): Use uintptr_t instead of unsigned long int.
297 2000-12-06 Jim Wilson <wilson@redhat.com>
299 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
301 2000-12-06 Ulrich Drepper <drepper@redhat.com>
303 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
304 x.5 rounding correctly.
306 2000-12-06 Mark Kettenis <kettenis@gnu.org>
308 * stdio-common/perror.c (perror): Conditionalize code dealing with
309 wide-oriented streams on USE_IN_LIBIO.
311 2000-12-06 Mark Kettenis <kettenis@gnu.org>
313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
314 as internal_function.
316 2000-12-05 Ulrich Drepper <drepper@redhat.com>
318 * sysdeps/alpha/elf/start.S (__data_start): Define.
320 2000-12-05 H.J. Lu <hjl@gnu.org>
322 * nss/getXXent_r.c (setup): Change the return type to int.
324 2000-12-05 Ulrich Drepper <drepper@redhat.com>
326 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
327 (sysdep_routines): Add restf and savef.
328 * sysdeps/unix/sysv/aix/restf.c: New file.
329 * sysdeps/unix/sysv/aix/savef.c: New file.
330 Patches by Michael Keezer <mkeezer@redhat.com>.
332 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
333 if O_DIRECTORY is not defined.
334 Patch by Michael Keezer <mkeezer@redhat.com>.
336 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
337 Patch by Michael Keezer <mkeezer@redhat.com>.
339 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
340 than 4 bytes in escape sequence.
341 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
343 2000-12-05 Andreas Jaeger <aj@suse.de>
345 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
348 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
350 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
352 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
353 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
355 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
357 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
358 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
360 * sysdeps/generic/dl-cache.c: Remove declaration of
361 _dl_sysdep_read_whole_file.
363 * elf/dl-load.c (_dl_map_object): Remove declaration of
364 _dl_load_cache_lookup.
366 * sysdeps/generic/ldsodefs.h: Add declarations of
367 _dl_load_cache_lookup, _dl_unload_cache,
368 _dl_sysdep_read_whole_file, _dl_sysdep_start and
369 _dl_sysdep_start_cleanup.
371 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
374 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
375 * sysdeps/generic/dl-environ.c: Likewise.
377 * stdio-common/printf_fp.c: Include <gmp.h> instead of
379 * math/atest-exp.c: Likewise.
380 * math/atest-exp2.c: Likewise.
381 * math/atest-sincos.c: Likewise.
382 * stdio-common/_itoa.c: Likewise.
383 * stdio-common/_itowa.c: Likewise.
385 * include/gmp.h: New file with internal prototypes.
387 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
389 * include/setjmp.h: ...here.
391 * locale/Makefile (routines): Remove codeset_name since it's not
394 * locale/codeset_name.c: Removed.
396 2000-12-05 Ulrich Drepper <drepper@redhat.com>
398 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
400 2000-12-05 Andreas Jaeger <aj@suse.de>
402 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
404 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
406 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
409 2000-12-05 Andreas Jaeger <aj@suse.de>
411 * nss/test-netdb.c: Mark local functions as static to avoid
413 (main): Use return to silence warning.
415 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
417 * stdio-common/test-popen.c: Mark local functions as static to
419 (main): Use return to silence warning.
421 * stdlib/testsort.c (compare): Mark as static to avoid warning.
423 * assert/test-assert.c: Mark local functions as static to avoid
425 * assert/test-assert-perr.c: Likewise.
427 * math/libm-test.inc (main): Use return to silence warnings.
429 2000-12-04 Ulrich Drepper <drepper@redhat.com>
431 * math/fenv.h: Fix typo in comment.
433 * math/test-misc.c (main): Add a few more over and underflow tests
436 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
437 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
438 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
439 * math/w_scalb.c: Don't use matherr except in SVID mode.
440 * math/w_scalbf.c: Likewise.
441 * math/w_scalbl.c: Likewise.
442 * math/test-misc.c: Add test for NaN and scalbl.
443 Reported by Fred J. Tydeman <tydeman@tybor.com>.
445 2000-12-04 Ulrich Drepper <drepper@redhat.com>
447 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
448 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
449 * include/libc-symbols.h (strong_alias): Define special version
450 for HAVE_ASM_GLOBAL_DOT_NAME.
451 (weak_alias): Likewise.
452 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
453 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
454 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
455 getutxline, pututxline, and utmpxname.
456 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
457 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
458 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
459 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
460 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
461 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
462 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
463 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
464 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
465 Patches by Michael Keezer <mkeezer@redhat.com>.
467 2000-12-04 H.J. Lu <hjl@gnu.org>
469 * configure.in: Change --with-oldest-abi=ABI to
470 --enable-oldest-abi=ABI.
472 2000-12-02 Bruno Haible <haible@clisp.cons.org>
474 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
475 fwprintf instead of fprintf.
477 2000-12-04 Ulrich Drepper <drepper@redhat.com>
479 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
480 DECIMAL_DIG definitions.
481 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
482 * sysdeps/generic/bits/mathdef.h: Likewise
483 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
484 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
485 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
486 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
487 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
488 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
490 2000-12-03 Ulrich Drepper <drepper@redhat.com>
492 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
494 * math/atest-exp.c: Mark local functions as static to avoid warnings.
495 * math/atest-exp2.c: Likewise.
496 * math/atest-sincos.c: Likewise.
498 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
499 Reported by Fred J. Tydeman <tydeman@tybor.com>.
501 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
502 the handling of denormalized numbers.
504 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
506 * sysdeps/i386/fpu/fpclassifyl.c: New file.
508 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
509 pseudo denormal representation of LDBL_MIN.
511 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
512 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
514 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
515 * iconvdata/jis0208.c: Likewise.
516 * iconvdata/jis0212.c: Likewise.
517 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
519 * math/test-misc.c (main): More tests for frexp and some for
520 fpclassify and isnormal.
522 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
524 Reported by Fred J. Tydeman <tydeman@tybor.com>.
526 * math/test-misc.c (main): Add tests for frexp.
527 Reported by Fred J. Tydeman <tydeman@tybor.com>.
528 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
530 2000-12-02 H.J. Lu <hjl@gnu.org>
532 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
535 2000-12-02 Ulrich Drepper <drepper@redhat.com>
537 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
538 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
539 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
541 * sysdeps/generic/glob.c: Adjust types of several variables to
544 2000-12-01 Ulrich Drepper <drepper@redhat.com>
546 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
548 2000-11-30 Roland McGrath <roland@frob.com>
550 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
551 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
552 allow multiple instances using the same function name in one file.
554 2000-12-01 Ulrich Drepper <drepper@redhat.com>
556 * configure.in: Correct test for pserver CVS access.
558 2000-11-28 H.J. Lu <hjl@gnu.org>
560 * libio/libio.h: Remove extra "#if ... #endif".
562 2000-11-29 H.J. Lu <hjl@gnu.org>
564 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
566 2000-12-01 H.J. Lu <hjl@gnu.org>
568 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
569 * nss/getXXent_r.c: Likewise.
570 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
572 2000-11-30 H.J. Lu <hjl@gnu.org>
574 * scripts/abi-versions.awk (oldest_abi): New variable.
575 Handle the oldest ABI supported.
577 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
578 for scripts/abi-versions.awk.
580 * configure.in: Add --with-oldest-abi=ABI.
581 * configure: Rebuild.
583 * config.make.in (oldest-abi): New.
585 * config.h.in (GLIBC_OLDEST_ABI): New.
587 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
589 2000-11-30 Jakub Jelinek <jakub@redhat.com>
591 * locale/setlocale.c (setname): Free for all categories, not just
593 (setlocale): Store a copy of string passed by user, not the string
596 2000-11-30 Roland McGrath <roland@frob.com>
598 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
599 rather than _hurd_fd_subinit, so it happens after it's safe to use
600 libc facilities like malloc.
602 2000-11-28 Andreas Jaeger <aj@suse.de>
604 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
605 declaration, adjust declaration of __syscall_getdents to match
608 2000-11-29 H.J. Lu <hjl@gnu.org>
610 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
612 2000-11-29 Andreas Jaeger <aj@suse.de>
614 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
616 2000-11-28 Ulrich Drepper <drepper@redhat.com>
618 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
619 * dlfcn/defaultmod2.c: Likewise.
620 * dlfcn/dlopen.c: Likewise.
621 * dlfcn/dlopenold.c: Likewise.
622 * dlfcn/failtestmod.c: Likewise.
623 * dlfcn/glreflib1.c: Likewise.
624 * dlfcn/glreflib2.c: Likewise.
625 * dlfcn/eval.c: Likewise. Add attributes.
627 * ctype/ctype-extn.c: Define isblank and not __isblank.
629 * time/strftime.c: Add const where necessary to avoid warnings.
630 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
632 2000-11-22 Paul Eggert <eggert@twinsun.com>
634 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
635 size of (size_t) -1; it's not portable.
637 2000-11-28 Ulrich Drepper <drepper@redhat.com>
639 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
641 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
643 2000-11-14 Jes Sorensen <jes@linuxcare.com>
645 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
647 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
648 _mcount is required by profiled binaries.
650 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
651 * sysdeps/ia64/machine-gmon.h: ...here.
653 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
655 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
656 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
658 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
660 * iconvdata/ibm922.c: New file.
661 * iconvdata/ibm922.h: New file.
662 * iconvdata/ibm1124.c: New file.
663 * iconvdata/ibm1124.h: New file.
664 * iconvdata/ibm1129.c: New file.
665 * iconvdata/ibm1129.h: New file.
666 * iconvdata/testdata/IBM922: New file.
667 * iconvdata/testdata/IBM922..UTF8: New file.
668 * iconvdata/testdata/IBM1124: New file.
669 * iconvdata/testdata/IBM1124..UTF8: New file.
670 * iconvdata/testdata/IBM1129: New file.
671 * iconvdata/testdata/IBM1129..UTF8: New file.
673 2000-11-28 Ulrich Drepper <drepper@redhat.com>
675 * catgets/gencat.c (normalize_line): Take extra parameter with escape
676 character. Change callers.
677 (open_conversion): Determine mapping of 0x5c as wchar_t value.
678 * catgets/Makefile: Add rules to build and run test-gencat.
679 * catgets/sample.SJIS: New file.
680 * catgets/test-gencat.c: New file.
681 * catgets/test-gencat.sh: New file.
682 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
684 2000-11-28 Andreas Jaeger <aj@suse.de>
686 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
689 2000-11-28 Ulrich Drepper <drepper@redhat.com>
691 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
693 2000-11-28 Andreas Jaeger <aj@suse.de>
695 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
697 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
700 2000-11-27 Ulrich Drepper <drepper@redhat.com>
702 * misc/getusershell.c: Make strings in okshells array const.
703 * misc/regexp.c: Add const to cast to avoid warnings.
704 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
705 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
707 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
709 * misc/error.c: Add prototypes for __error and __error_at_line.
710 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
711 statement to avoid warning.
712 * test-skeleton.c: Mark timeout_handler with noreturn.
713 * iconv/skeleton.c (get16u): Add const to cast.
715 * iconvdata/gb18030.c: Likewise.
716 * iconvdata/iso-2022-cn-ext.c: Likewise.
717 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
718 * iconvdata/big5.c: Likewise.
719 * iconvdata/big5hkscs.c: Likewise.
720 * iconvdata/iso_6937.c: Likewise.
721 * iconvdata/iso_6937-2.c: Likewise.
722 * iconvdata/t.61.c: Likewise.
723 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
724 * iconvdata/unicode.c: Likewise.
725 * iconvdata/utf-16.c: Likewise.
726 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
727 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
728 with little code shuffling.
730 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
731 the problems introduced when the user selects -O3.
733 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
734 * misc/sys/cdefs.h: Define __flexarr.
735 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
737 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
738 * iconv/skeleton.c: Likewise.
739 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
740 * iconv/loop.c (get16): Add const to cast.
743 2000-11-27 Andreas Jaeger <aj@suse.de>
745 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
747 * login/programs/utmpdump.c (print_entry): Likewise.
749 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
751 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
752 in a single asm as they may be used to access other stored
754 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
756 2000-11-27 Andreas Jaeger <aj@suse.de>
758 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
759 * rt/tst-aio64.c: Likewise.
761 2000-11-27 Ulrich Drepper <drepper@redhat.com>
763 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
765 (libc.cat): Likewise.
766 * catgets/gencat.c: Implement handling of message catalogs encoded
767 with stateful character sets.
768 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
770 2000-11-26 Ulrich Drepper <drepper@redhat.com>
772 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
774 * inet/getnameinfo.c: Adjust casts to avoid warnings.
775 * inet/rcmd.c: Likewise.
776 * inet/ruserpass.c: Likewise.
777 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
778 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
779 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
780 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
781 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
782 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
783 * include/aliases.h: Add prototypes for internal __getalias* functions.
784 * include/netdb.h: Add prototypes for __old_gethostent_r,
785 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
786 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
787 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
788 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
789 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
790 __old_getrpcbynumber_r, __old_getrpcent_r.
792 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
793 __getrpcent_r prototypes.
795 2000-11-25 Ulrich Drepper <drepper@redhat.com>
797 * string/strcoll.c: Add casts to avoid warnings.
798 * string/strnlen.c: Likewise.
799 * string/strxfrm.c: Likewise.
800 * sysdeps/generic/_strerror.c: Likewise.
801 * sysdeps/generic/memrchr.c: Likewise.
802 * sysdeps/generic/strcasestr.c: Likewise.
803 * sysdeps/generic/strstr.c: Likewise.
805 * locale/weight.h (findidx): Add const to cast to avoid warning.
807 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
808 * elf/loadtest.c: Likewise.
809 * elf/multiload.c: Likewise.
810 * elf/next.c: Likewise.
811 * elf/nodelete.c: Likewise.
812 * elf/noload.c: Likewise.
813 * elf/order.c: Likewise.
814 * elf/origtest.c: Likewise.
815 * elf/preloadtest.c: Likewise.
816 * elf/restest1.c: Likewise.
818 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
819 parameter of asm must be in %ecx.
821 * string/tester.c: Mark test functions as static to avoid warnings.
823 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
824 preserve value over different gconv-modules files.
826 2000-11-24 Ulrich Drepper <drepper@redhat.com>
828 * locale/findlocale.c: Add casts to avoid warnings.
829 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
830 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
832 * misc/tsearch.c (const_node): New type.
833 (trecurse): Correct casts to avoid warnings.
835 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
838 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
840 * test-skeleton.c: Mark local functions as static to avoid warnings.
842 2000-11-23 H.J. Lu <hjl@gnu.org>
844 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
845 support the background job.
848 2000-11-24 Ulrich Drepper <drepper@redhat.com>
850 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
851 has same names but lower cost.
853 2000-11-23 Jakub Jelinek <jakub@redhat.com>
855 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
856 which never occur during bootstrap.
857 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
859 2000-11-23 Andreas Jaeger <aj@suse.de>
861 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
863 * nss/Versions: Remove _nss_files_getipnodebyname_r.
865 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
867 2000-11-18 Martin Buchholz <martin@xemacs.org>
869 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
872 2000-11-21 Alan Modra <alan@linuxcare.com.au>
874 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
876 * csu/abi-note.S: Correct comment for operating system number.
878 2000-11-22 Ulrich Drepper <drepper@redhat.com>
880 * Versions.def: Add GLIBC_2.2.1 for glibc.
882 2000-11-22 Andreas Schwab <schwab@suse.de>
884 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
885 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
887 2000-11-22 Ulrich Drepper <drepper@redhat.com>
889 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
890 absolute time for pthread_cond_timedwait call.
891 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
893 * rt/Makefile (tests): Add tst-aio6.
894 * rt/tst-aio6.c: New file.
896 2000-11-23 Andreas Jaeger <aj@suse.de>
898 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
900 2000-11-22 Andreas Jaeger <aj@suse.de>
902 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
904 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
906 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
908 2000-11-21 Andreas Schwab <schwab@suse.de>
910 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
911 * sysdeps/arm/setjmp.S: Likewise.
912 * sysdeps/arm/fpu/setjmp.S: Likewise.
913 * sysdeps/i386/setjmp.S: Likewise.
914 * sysdeps/i386/elf/setjmp.S: Likewise.
915 * sysdeps/s390/setjmp.S: Likewise.
916 * sysdeps/s390/elf/setjmp.S: Likewise.
917 * sysdeps/sh/sh3/setjmp.S: Likewise.
918 * sysdeps/sh/sh4/setjmp.S: Likewise.
919 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
920 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
922 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
924 2000-11-21 Andreas Jaeger <aj@suse.de>
926 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
927 NORETURN, fix parameter list.
929 * string/bug-strncat1.c (main): Fix typo.
930 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
932 2000-11-20 Ulrich Drepper <drepper@redhat.com>
934 * configure.in: Add --enable-all-warnings.
935 * config.make.in (all-warnings): New variable.
936 * Makeconfig (+gccwarn): Define with many more warnings if
939 2000-11-20 Jakub Jelinek <jakub@redhat.com>
941 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
942 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
943 * malloc/tst-valloc.c (main): Cast valloc return value to long.
944 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
945 * math/test-fpucw.c (main): Use %lx in format string, cast
946 control words to long.
947 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
948 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
949 large that it is unsigned warning.
951 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
952 it to long on sparc64.
954 2000-11-20 Andreas Jaeger <aj@suse.de>
956 * nscd/nscd.h (termination_handler): Add noreturn attribute.
957 (receiv_print_stats): Likewise.
959 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
961 2000-11-20 Ulrich Drepper <drepper@redhat.com>
963 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
965 * csu/gmon-start.c: Always have prototype for __gmon_start.
966 * csu/version.c: Add prototypes for __libc_print_version and
968 * iconv/gconv.c: Include gconv_int.h and gconv.h.
969 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
971 * iconv/gconv_builtin.h: Add ASCII module definitions.
972 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
973 (add_module): Add cast to avoid warning. Rework construction of
974 strings for new module.
975 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
976 (derivation_compare): Likewise.
977 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
978 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
979 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
980 (struct gconv_alias): Remove const from fromname and toname.
981 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
983 (internal_ucs4_loop): Use correct const-ness.
984 (ucs4_internal_loop): Likewise.
985 (internal_ucs4le_loop): Likewise.
986 (ucs4le_internal_loop_single): Likewise.
987 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
988 to_idx, to_tbl, winbuf, winbufend const. Change casts in
989 assignments appropriately.
990 (struct known_trans): Remove const from fname.
991 (trans_compare): Make s1 and s2 const.
992 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
994 * iconv/skeleton.c: Remove cast in calls of loop functions.
995 * iconvdata/gconv-modules: Remove US-ASCII definitions.
996 * iconvdata/iso646.c: Remove US_ASCII support.
997 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
998 * include/unistd.h: Add __libc_check_standard_fds prototype.
999 * string/bits/string2.h (__mempcpy_args): Add const to casts.
1000 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
1002 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
1003 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
1004 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
1006 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
1007 __libc_init_first and _dl_start.
1008 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
1009 (DCIGETTEXT): Make domaindata variable const.
1010 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
1013 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
1015 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
1017 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
1018 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
1021 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
1022 value defined in /usr/include/asm-mips/fcntl.h.
1024 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1026 * stdio-common/Makefile (tests): Add test-vfprintf.
1027 (test-vfprintf-ENV): New variable.
1028 * stdio-common/test-vfprintf.c: New file.
1030 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
1032 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
1033 (tst-mbrtowc-ENV): New variable.
1034 (tst-wcrtomb-ENV): New variable.
1035 * wcsmbs/tst-mbrtowc.c: New file.
1036 * wcsmbs/tst-wcrtomb.c: New file.
1038 2000-11-16 Andreas Jaeger <aj@suse.de>
1040 * manual/install.texi (Tools for Compilation): Update
1041 documentation for GCC 2.95.2.
1043 2000-11-18 Ulrich Drepper <drepper@redhat.com>
1045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
1046 if IPv4 and IPv6 requests timed out.
1048 2000-11-18 Akim Demaille <akim@epita.fr>
1050 * malloc/obstack.h: Formatting changes.
1051 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1052 prevents type checking.
1053 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1054 cast the value to (void *): assigning a `foo *' to a `void *'
1056 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1058 2000-11-17 Ulrich Drepper <drepper@redhat.com>
1060 * scripts/config.guess: Update from upstream maintainer.
1061 * scripts/config.sub: Likewise.
1063 2000-11-16 Ulrich Drepper <drepper@redhat.com>
1065 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
1066 * libio/freopen64.c (freopen64): Likewise.
1067 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1069 * libio/Makefile: Add rules to build and run test-freopen.
1070 * libio/test-freopen.c: New file.
1071 * libio/test-freopen.sh: New file.
1073 2000-11-15 H.J. Lu <hjl@gnu.org>
1075 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
1076 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1077 (DL_DT_FINI_ADDRESS): Likewise.
1079 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
1080 return type to ElfW(Addr).
1081 (_dl_function_address): New prototype.
1082 (DL_FUNCTION_ADDRESS): Defined.
1083 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
1084 (DL_DT_FINI_ADDRESS): Likewise.
1086 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
1088 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
1089 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
1091 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
1092 (_dl_function_address): This.
1094 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
1095 function pointer for DT_FINI.
1096 * elf/dl-close.c (_dl_close): Likewise.
1098 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
1099 function pointer for DT_INIT.
1101 2000-11-16 Jakub Jelinek <jakub@redhat.com>
1103 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
1104 end of wexpbuf buffer.
1106 2000-11-16 Andreas Jaeger <aj@suse.de>
1108 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
1109 definition of F_GETLK, F_SETLK, F_SETLKW.
1111 2000-11-16 Andreas Jaeger <aj@suse.de>
1113 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
1116 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1118 * dlfcn/default.c (main): Add test for dladdr of main returning
1119 argv[0] in dli_fname field.
1121 2000-11-15 Jakub Jelinek <jakub@redhat.com>
1123 * Makeconfig (run-program-prefix): Move test-static test into the
1126 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
1127 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
1128 schedule instructions.
1129 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
1130 schedule instructions, fix a bug in copying auxiliary data.
1132 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1134 * manual/startup.texi (Program Arguments): Fix type of main's envp
1136 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
1138 * iconvdata/gconv-modules: Add CP950 alias.
1140 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1142 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
1143 syscall-list.h goal.
1144 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
1146 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1148 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
1150 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
1153 * intl/tst-gettext2.c: Set C locale if setting other locale
1154 failed. Use gettext() not _().
1156 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
1157 successfully loaded a new locale.
1159 2000-11-13 Andreas Jaeger <aj@suse.de>
1161 * configure.in: Require gcc 2.95 or newer.
1163 2000-11-15 Ulrich Drepper <drepper@redhat.com>
1165 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
1166 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1168 2000-11-11 Jim Meyering <meyering@lucent.com>
1170 * string/strndup.c (strndup): Cast return value to `char *'.
1172 2000-11-15 Jim Meyering <meyering@ascend.com>
1174 * sysdeps/generic/memchr.c: Remove some useless parentheses.
1175 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
1176 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
1177 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
1178 Also #undef __memchr.
1179 Use `weak_alias' only if it's defined.
1181 2000-11-10 H.J. Lu <hjl@gnu.org>
1183 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
1185 2000-11-15 Andreas Jaeger <aj@suse.de>
1187 * elf/chroot_canon.c: Include <stdint.h>.
1189 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
1190 (print_entry): Likewise.
1191 (add_to_cache): Likewise.
1193 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
1195 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
1196 (path_hwcap): Likewise.
1197 (search_dir): Likewise.
1199 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
1201 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
1203 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
1204 (_dl_platform_string): New.
1205 (_DL_HWCAP_PLATFORM): New.
1206 (_dl_string_platform): New.
1207 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1209 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
1210 (_dl_string_platform): New.
1211 (_DL_HWCAP_PLATFORM): New.
1212 (_dl_platform_string): New.
1214 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
1216 (_DL_HWCAP_COUNT): New.
1217 (_dl_string_platform): New.
1218 (_DL_HWCAP_PLATFORM): New.
1219 (_dl_platform_string): New.
1221 2000-11-14 Ulrich Drepper <drepper@redhat.com>
1223 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
1225 2000-11-14 Andreas Jaeger <aj@suse.de>
1227 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
1229 2000-11-13 Roland McGrath <roland@frob.com>
1231 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
1233 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
1235 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
1236 underrun and make sure the result is null terminated even if there
1237 is no trailing newline.
1239 2000-11-13 Jakub Jelinek <jakub@redhat.com>
1241 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1243 2000-11-10 H.J. Lu <hjl@gnu.org>
1245 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
1247 2000-11-10 Andreas Jaeger <aj@suse.de>
1249 * elf/ldconfig.c (create_links): Fix alloca calculation.
1250 Patch by Ben Collins <bcollins@debian.org>.
1252 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1254 * inet/getnameinfo.c (getnameinfo): Use correct destination
1255 parameter for if_indextoname.
1256 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
1258 2000-11-09 H.J. Lu <hjl@gnu.org>
1260 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
1261 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
1262 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
1265 * time/Versions (GLIBC_2.1): Move getitimer to...
1266 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
1268 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1270 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
1271 "make install", to work around a binary incompatibility between
1272 glibc 2.1 and glibc 2.2 gconv modules.
1274 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1276 * intl/locale.alias: Add thai.
1277 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1279 2000-11-07 Akim Demaille <akim@epita.fr>
1281 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
1282 argument `data' for consistency with the prototypes.
1284 (obstack_copy, obstack_copy0): Rename the second argument as
1285 `address' for consistency. Qualify it `const'.
1286 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1287 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1288 `const' their input argument (`data' or `address').
1289 Adjust the corresponding macros to include `const' in casts.
1291 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1293 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
1296 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1298 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
1301 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1303 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
1304 ai_protocol by internal table if service was not given.
1306 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1308 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
1309 numerical port was specified with protocol without socktype.
1311 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1313 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
1315 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1317 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
1319 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1321 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
1322 sin6_scope_id field.
1324 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1326 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
1328 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1330 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
1332 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
1334 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
1335 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
1337 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
1339 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
1340 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
1342 2000-11-09 H.J. Lu <hjl@gnu.org>
1344 * io/Versions (GLIBC_2.1.1): Remove lockf64.
1347 See ChangeLog.11 for earlier changes.