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