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