Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-11-28  H.J. Lu  <hjl@gnu.org>
2
3         * libio/libio.h: Remove extra "#if ... #endif".
4
5 2000-11-29  H.J. Lu  <hjl@gnu.org>
6
7         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8
9 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
10
11         * locale/setlocale.c (setname): Free for all categories, not just
12         LC_ALL.
13         (setlocale): Store a copy of string passed by user, not the string
14         itself.
15
16 2000-11-30  Roland McGrath  <roland@frob.com>
17
18         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
19         rather than _hurd_fd_subinit, so it happens after it's safe to use
20         libc facilities like malloc.
21
22 2000-11-28  Andreas Jaeger  <aj@suse.de>
23
24         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
25         declaration, adjust declaration of __syscall_getdents to match
26         kernel.
27
28 2000-11-29  H.J. Lu  <hjl@gnu.org>
29
30         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
31
32 2000-11-29  Andreas Jaeger  <aj@suse.de>
33
34         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
35
36 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
37
38         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
39         * dlfcn/defaultmod2.c: Likewise.
40         * dlfcn/dlopen.c: Likewise.
41         * dlfcn/dlopenold.c: Likewise.
42         * dlfcn/failtestmod.c: Likewise.
43         * dlfcn/glreflib1.c: Likewise.
44         * dlfcn/glreflib2.c: Likewise.
45         * dlfcn/eval.c: Likewise.  Add attributes.
46
47         * ctype/ctype-extn.c: Define isblank and not __isblank.
48
49         * time/strftime.c: Add const where necessary to avoid warnings.
50         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
51
52 2000-11-22  Paul Eggert  <eggert@twinsun.com>
53
54         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
55         size of (size_t) -1; it's not portable.
56
57 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
58
59         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
60         crappy i486 FPU.
61         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
62
63 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
64
65         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
66
67         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
68         _mcount is required by profiled binaries.
69
70         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
71         * sysdeps/ia64/machine-gmon.h: ...here.
72
73 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
74
75         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
76         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
77         and ibm1129.h.
78         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
79         IBM1129.
80         * iconvdata/ibm922.c: New file.
81         * iconvdata/ibm922.h: New file.
82         * iconvdata/ibm1124.c: New file.
83         * iconvdata/ibm1124.h: New file.
84         * iconvdata/ibm1129.c: New file.
85         * iconvdata/ibm1129.h: New file.
86         * iconvdata/testdata/IBM922: New file.
87         * iconvdata/testdata/IBM922..UTF8: New file.
88         * iconvdata/testdata/IBM1124: New file.
89         * iconvdata/testdata/IBM1124..UTF8: New file.
90         * iconvdata/testdata/IBM1129: New file.
91         * iconvdata/testdata/IBM1129..UTF8: New file.
92
93 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
94
95         * catgets/gencat.c (normalize_line): Take extra parameter with escape
96         character.  Change callers.
97         (open_conversion): Determine mapping of 0x5c as wchar_t value.
98         * catgets/Makefile: Add rules to build and run test-gencat.
99         * catgets/sample.SJIS: New file.
100         * catgets/test-gencat.c: New file.
101         * catgets/test-gencat.sh: New file.
102         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
103
104 2000-11-28  Andreas Jaeger  <aj@suse.de>
105
106         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
107         Linux version.
108
109 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
110
111         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
112
113 2000-11-28  Andreas Jaeger  <aj@suse.de>
114
115         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
116         __flexarr.
117         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
118         Likewise.
119
120 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
121
122         * misc/getusershell.c: Make strings in okshells array const.
123         * misc/regexp.c: Add const to cast to avoid warnings.
124         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
125         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
126         __setresuid.
127         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
128         setresgid.
129         * misc/error.c: Add prototypes for __error and __error_at_line.
130         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
131         statement to avoid warning.
132         * test-skeleton.c: Mark timeout_handler with noreturn.
133         * iconv/skeleton.c (get16u): Add const to cast.
134         (get32u): Likewise.
135         * iconvdata/gb18030.c: Likewise.
136         * iconvdata/iso-2022-cn-ext.c: Likewise.
137         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
138         * iconvdata/big5.c: Likewise.
139         * iconvdata/big5hkscs.c: Likewise.
140         * iconvdata/iso_6937.c: Likewise.
141         * iconvdata/iso_6937-2.c: Likewise.
142         * iconvdata/t.61.c: Likewise.
143         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
144         * iconvdata/unicode.c: Likewise.
145         * iconvdata/utf-16.c: Likewise.
146         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
147         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
148         with little code shuffling.
149
150         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
151         the problems introduced when the user selects -O3.
152
153         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
154         * misc/sys/cdefs.h: Define __flexarr.
155         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
156
157         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
158         * iconv/skeleton.c: Likewise.
159         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
160         * iconv/loop.c (get16): Add const to cast.
161         (get32): Likewise.
162
163 2000-11-27  Andreas Jaeger  <aj@suse.de>
164
165         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
166         to avoid warning.
167         * login/programs/utmpdump.c (print_entry): Likewise.
168
169 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
170
171         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
172         in a single asm as they may be used to access other stored
173         registers.
174         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
175
176 2000-11-27  Andreas Jaeger  <aj@suse.de>
177
178         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
179         * rt/tst-aio64.c: Likewise.
180
181 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
182
183         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
184         for gencat run.
185         (libc.cat): Likewise.
186         * catgets/gencat.c: Implement handling of message catalogs encoded
187         with stateful character sets.
188         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
189
190 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
191
192         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
193
194         * inet/getnameinfo.c: Adjust casts to avoid warnings.
195         * inet/rcmd.c: Likewise.
196         * inet/ruserpass.c: Likewise.
197         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
198         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
199         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
200         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
201         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
202         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
203         * include/aliases.h: Add prototypes for internal __getalias* functions.
204         * include/netdb.h: Add prototypes for __old_gethostent_r,
205         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
206         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
207         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
208         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
209         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
210         __old_getrpcbynumber_r, __old_getrpcent_r.
211
212         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
213         __getrpcent_r prototypes.
214
215 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
216
217         * string/strcoll.c: Add casts to avoid warnings.
218         * string/strnlen.c: Likewise.
219         * string/strxfrm.c: Likewise.
220         * sysdeps/generic/_strerror.c: Likewise.
221         * sysdeps/generic/memrchr.c: Likewise.
222         * sysdeps/generic/strcasestr.c: Likewise.
223         * sysdeps/generic/strstr.c: Likewise.
224
225         * locale/weight.h (findidx): Add const to cast to avoid warning.
226
227         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
228         * elf/loadtest.c: Likewise.
229         * elf/multiload.c: Likewise.
230         * elf/next.c: Likewise.
231         * elf/nodelete.c: Likewise.
232         * elf/noload.c: Likewise.
233         * elf/order.c: Likewise.
234         * elf/origtest.c: Likewise.
235         * elf/preloadtest.c: Likewise.
236         * elf/restest1.c: Likewise.
237
238         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
239         parameter of asm must be in %ecx.
240
241         * string/tester.c: Mark test functions as static to avoid warnings.
242
243         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
244         preserve value over different gconv-modules files.
245
246 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
247
248         * locale/findlocale.c: Add casts to avoid warnings.
249         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
250         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
251         to avoid warnings.
252         * misc/tsearch.c (const_node): New type.
253         (trecurse): Correct casts to avoid warnings.
254         (__twalk): Likewise.
255         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
256         LONG_BIT.
257
258         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
259
260         * test-skeleton.c: Mark local functions as static to avoid warnings.
261
262 2000-11-23  H.J. Lu  <hjl@gnu.org>
263
264         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
265         support the background job.
266         Fix a typo.
267
268 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
269
270         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
271         has same names but lower cost.
272
273 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
274
275         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
276         which never occur during bootstrap.
277         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
278
279 2000-11-23  Andreas Jaeger  <aj@suse.de>
280
281         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
282
283         * nss/Versions: Remove _nss_files_getipnodebyname_r.
284
285         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
286
287 2000-11-18  Martin Buchholz  <martin@xemacs.org>
288
289         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
290         (called++) return;'
291
292 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
293
294         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
295
296         * csu/abi-note.S: Correct comment for operating system number.
297
298 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
299
300         * Versions.def: Add GLIBC_2.2.1 for glibc.
301
302 2000-11-22  Andreas Schwab  <schwab@suse.de>
303
304         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
305         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
306
307 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
308
309         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
310         absolute time for pthread_cond_timedwait call.
311         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
312
313         * rt/Makefile (tests): Add tst-aio6.
314         * rt/tst-aio6.c: New file.
315
316 2000-11-23  Andreas Jaeger  <aj@suse.de>
317
318         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
319
320 2000-11-22  Andreas Jaeger  <aj@suse.de>
321
322         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
323
324 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
325
326         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
327
328 2000-11-21  Andreas Schwab  <schwab@suse.de>
329
330         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
331         * sysdeps/arm/setjmp.S: Likewise.
332         * sysdeps/arm/fpu/setjmp.S: Likewise.
333         * sysdeps/i386/setjmp.S: Likewise.
334         * sysdeps/i386/elf/setjmp.S: Likewise.
335         * sysdeps/s390/setjmp.S: Likewise.
336         * sysdeps/s390/elf/setjmp.S: Likewise.
337         * sysdeps/sh/sh3/setjmp.S: Likewise.
338         * sysdeps/sh/sh4/setjmp.S: Likewise.
339         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
340         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
341         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
342         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
343
344 2000-11-21  Andreas Jaeger  <aj@suse.de>
345
346         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
347         NORETURN, fix parameter list.
348
349         * string/bug-strncat1.c (main): Fix typo.
350         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
351
352 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
353
354         * configure.in: Add --enable-all-warnings.
355         * config.make.in (all-warnings): New variable.
356         * Makeconfig (+gccwarn): Define with many more warnings if
357         all-warnings is yes.
358
359 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
360
361         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
362         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
363         * malloc/tst-valloc.c (main): Cast valloc return value to long.
364         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
365         * math/test-fpucw.c (main): Use %lx in format string, cast
366         control words to long.
367         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
368         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
369         large that it is unsigned warning.
370
371         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
372         it to long on sparc64.
373
374 2000-11-20  Andreas Jaeger  <aj@suse.de>
375
376         * nscd/nscd.h (termination_handler): Add noreturn attribute.
377         (receiv_print_stats): Likewise.
378
379         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
380
381 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
382
383         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
384
385         * csu/gmon-start.c: Always have prototype for __gmon_start.
386         * csu/version.c: Add prototypes for __libc_print_version and
387         __libc_main.
388         * iconv/gconv.c: Include gconv_int.h and gconv.h.
389         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
390         and __to_name.
391         * iconv/gconv_builtin.h: Add ASCII module definitions.
392         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
393         (add_module): Add cast to avoid warning.  Rework construction of
394         strings for new module.
395         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
396         (derivation_compare): Likewise.
397         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
398         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
399         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
400         (struct gconv_alias): Remove const from fromname and toname.
401         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
402         for loop functions.
403         (internal_ucs4_loop): Use correct const-ness.
404         (ucs4_internal_loop): Likewise.
405         (internal_ucs4le_loop): Likewise.
406         (ucs4le_internal_loop_single): Likewise.
407         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
408         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
409         assignments appropriately.
410         (struct known_trans): Remove const from fname.
411         (trans_compare): Make s1 and s2 const.
412         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
413         avoid warning.
414         * iconv/skeleton.c: Remove cast in calls of loop functions.
415         * iconvdata/gconv-modules: Remove US-ASCII definitions.
416         * iconvdata/iso646.c: Remove US_ASCII support.
417         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
418         * include/unistd.h: Add __libc_check_standard_fds prototype.
419         * string/bits/string2.h (__mempcpy_args): Add const to casts.
420         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
421         _fini.
422         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
423         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
424         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
425         warning.
426         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
427         __libc_init_first and _dl_start.
428         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
429         (DCIGETTEXT): Make domaindata variable const.
430         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
431         to avoid warning.
432
433 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
434
435         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
436
437         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
438         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
439         __unused? members.
440
441         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
442         value defined in /usr/include/asm-mips/fcntl.h.
443
444 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
445
446         * stdio-common/Makefile (tests): Add test-vfprintf.
447         (test-vfprintf-ENV): New variable.
448         * stdio-common/test-vfprintf.c: New file.
449
450         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
451
452         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
453         (tst-mbrtowc-ENV): New variable.
454         (tst-wcrtomb-ENV): New variable.
455         * wcsmbs/tst-mbrtowc.c: New file.
456         * wcsmbs/tst-wcrtomb.c: New file.
457
458 2000-11-16  Andreas Jaeger  <aj@suse.de>
459
460         * manual/install.texi (Tools for Compilation): Update
461         documentation for GCC 2.95.2.
462
463 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
464
465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
466         if IPv4 and IPv6 requests timed out.
467
468 2000-11-18  Akim Demaille  <akim@epita.fr>
469
470         * malloc/obstack.h: Formatting changes.
471         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
472         prevents type checking.
473         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
474         cast the value to (void *): assigning a `foo *' to a `void *'
475         variable is valid.
476         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
477
478 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
479
480         * scripts/config.guess: Update from upstream maintainer.
481         * scripts/config.sub: Likewise.
482
483 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
484
485         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
486         * libio/freopen64.c (freopen64): Likewise.
487         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
488
489         * libio/Makefile: Add rules to build and run test-freopen.
490         * libio/test-freopen.c: New file.
491         * libio/test-freopen.sh: New file.
492
493 2000-11-15  H.J. Lu  <hjl@gnu.org>
494
495         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
496         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
497         (DL_DT_FINI_ADDRESS): Likewise.
498
499         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
500         return type to ElfW(Addr).
501         (_dl_function_address): New prototype.
502         (DL_FUNCTION_ADDRESS): Defined.
503         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
504         (DL_DT_FINI_ADDRESS): Likewise.
505
506         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
507
508         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
509         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
510
511         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
512         (_dl_function_address): This.
513
514         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
515         function pointer for DT_FINI.
516         * elf/dl-close.c (_dl_close): Likewise.
517
518         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
519         function pointer for DT_INIT.
520
521 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
522
523         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
524         end of wexpbuf buffer.
525
526 2000-11-16  Andreas Jaeger  <aj@suse.de>
527
528         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
529         definition of F_GETLK, F_SETLK, F_SETLKW.
530
531 2000-11-16  Andreas Jaeger  <aj@suse.de>
532
533         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
534         it's not defined.
535
536 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
537
538         * dlfcn/default.c (main): Add test for dladdr of main returning
539         argv[0] in dli_fname field.
540
541 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
542
543         * Makeconfig (run-program-prefix): Move test-static test into the
544         variable.
545
546         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
547         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
548         schedule instructions.
549         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
550         schedule instructions, fix a bug in copying auxiliary data.
551
552 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
553
554         * manual/startup.texi (Program Arguments): Fix type of main's envp
555         parameter.
556         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
557
558         * iconvdata/gconv-modules: Add CP950 alias.
559
560 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
561
562         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
563         syscall-list.h goal.
564         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
565
566 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
567
568         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
569
570         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
571         output of program.
572
573         * intl/tst-gettext2.c: Set C locale if setting other locale
574         failed.  Use gettext() not _().
575
576         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
577         successfully loaded a new locale.
578
579 2000-11-13  Andreas Jaeger  <aj@suse.de>
580
581         * configure.in: Require gcc 2.95 or newer.
582
583 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
584
585         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
586         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
587
588 2000-11-11  Jim Meyering  <meyering@lucent.com>
589
590         * string/strndup.c (strndup): Cast return value to `char *'.
591
592 2000-11-15  Jim Meyering  <meyering@ascend.com>
593
594         * sysdeps/generic/memchr.c: Remove some useless parentheses.
595         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
596         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
597         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
598         Also #undef __memchr.
599         Use `weak_alias' only if it's defined.
600
601 2000-11-10  H.J. Lu  <hjl@gnu.org>
602
603         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
604
605 2000-11-15  Andreas Jaeger  <aj@suse.de>
606
607         * elf/chroot_canon.c: Include <stdint.h>.
608
609         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
610         (print_entry): Likewise.
611         (add_to_cache): Likewise.
612
613         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
614
615         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
616         (path_hwcap): Likewise.
617         (search_dir): Likewise.
618
619         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
620
621         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
622
623         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
624         (_dl_platform_string): New.
625         (_DL_HWCAP_PLATFORM): New.
626         (_dl_string_platform): New.
627         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
628
629         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
630         (_dl_string_platform): New.
631         (_DL_HWCAP_PLATFORM): New.
632         (_dl_platform_string): New.
633
634         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
635         recognition.
636         (_DL_HWCAP_COUNT): New.
637         (_dl_string_platform): New.
638         (_DL_HWCAP_PLATFORM): New.
639         (_dl_platform_string): New.
640
641 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
642
643         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
644
645 2000-11-14  Andreas Jaeger  <aj@suse.de>
646
647         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
648         _dl_hwcap.
649
650 2000-11-13  Roland McGrath  <roland@frob.com>
651
652         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
653
654 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
655
656         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
657         underrun and make sure the result is null terminated even if there
658         is no trailing newline.
659
660 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
661
662         * sysdeps/alpha/fpu/libm-test-ulps: Update.
663
664 2000-11-10  H.J. Lu  <hjl@gnu.org>
665
666         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
667
668 2000-11-10  Andreas Jaeger  <aj@suse.de>
669
670         * elf/ldconfig.c (create_links): Fix alloca calculation.
671         Patch by Ben Collins <bcollins@debian.org>.
672
673 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
674
675         * inet/getnameinfo.c (getnameinfo): Use correct destination
676         parameter for if_indextoname.
677         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
678
679 2000-11-09  H.J. Lu  <hjl@gnu.org>
680
681         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
682         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
683         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
684         xdr_keystatus.
685
686         * time/Versions (GLIBC_2.1): Move getitimer to...
687         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
688
689 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
690
691         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
692         "make install", to work around a binary incompatibility between
693         glibc 2.1 and glibc 2.2 gconv modules.
694
695 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
696
697         * intl/locale.alias: Add thai.
698         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
699
700 2000-11-07  Akim Demaille  <akim@epita.fr>
701
702         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
703         argument `data' for consistency with the prototypes.
704         Qualify it `const'.
705         (obstack_copy, obstack_copy0): Rename the second argument as
706         `address' for consistency.  Qualify it `const'.
707         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
708         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
709         `const' their input argument (`data' or `address').
710         Adjust the corresponding macros to include `const' in casts.
711
712 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
713
714         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
715         target family.
716
717 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
718
719         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
720         socket creation.
721
722 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
723
724         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
725         ai_protocol by internal table if service was not given.
726
727 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
728
729         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
730         numerical port was specified with protocol without socktype.
731
732 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
733
734         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
735
736 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
737
738         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
739
740 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
741
742         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
743         sin6_scope_id field.
744
745 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
746
747         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
748
749 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
750
751         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
752
753 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
754
755         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
756         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
757
758 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
759
760         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
761         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
762
763 2000-11-09  H.J. Lu  <hjl@gnu.org>
764
765         * io/Versions (GLIBC_2.1.1): Remove lockf64.
766
767
768 See ChangeLog.11 for earlier changes.