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