* sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
[glibc/pb-stable.git] / ChangeLog
blob29873a23a49b2175a7d4bb1050151cddae93974a
1 2000-11-21  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
4         * sysdeps/arm/setjmp.S: Likewise.
5         * sysdeps/arm/fpu/setjmp.S: Likewise.
6         * sysdeps/i386/setjmp.S: Likewise.
7         * sysdeps/i386/elf/setjmp.S: Likewise.
8         * sysdeps/s390/setjmp.S: Likewise.
9         * sysdeps/s390/elf/setjmp.S: Likewise.
10         * sysdeps/sh/sh3/setjmp.S: Likewise.
11         * sysdeps/sh/sh4/setjmp.S: Likewise.
12         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
13         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
15         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
17 2000-11-21  Andreas Jaeger  <aj@suse.de>
19         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
20         NORETURN, fix parameter list.
22         * string/bug-strncat1.c (main): Fix typo.
23         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
25 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
27         * configure.in: Add --enable-all-warnings.
28         * config.make.in (all-warnings): New variable.
29         * Makeconfig (+gccwarn): Define with many more warnings if
30         all-warnings is yes.
32 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
34         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
35         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
36         * malloc/tst-valloc.c (main): Cast valloc return value to long.
37         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
38         * math/test-fpucw.c (main): Use %lx in format string, cast
39         control words to long.
40         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
41         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
42         large that it is unsigned warning.
44         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
45         it to long on sparc64.
47 2000-11-20  Andreas Jaeger  <aj@suse.de>
49         * nscd/nscd.h (termination_handler): Add noreturn attribute.
50         (receiv_print_stats): Likewise.
52         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
54 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
56         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
58         * csu/gmon-start.c: Always have prototype for __gmon_start.
59         * csu/version.c: Add prototypes for __libc_print_version and
60         __libc_main.
61         * iconv/gconv.c: Include gconv_int.h and gconv.h.
62         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
63         and __to_name.
64         * iconv/gconv_builtin.h: Add ASCII module definitions.
65         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
66         (add_module): Add cast to avoid warning.  Rework construction of
67         strings for new module.
68         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
69         (derivation_compare): Likewise.
70         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
71         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
72         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
73         (struct gconv_alias): Remove const from fromname and toname.
74         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
75         for loop functions.
76         (internal_ucs4_loop): Use correct const-ness.
77         (ucs4_internal_loop): Likewise.
78         (internal_ucs4le_loop): Likewise.
79         (ucs4le_internal_loop_single): Likewise.
80         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
81         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
82         assignments appropriately.
83         (struct known_trans): Remove const from fname.
84         (trans_compare): Make s1 and s2 const.
85         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
86         avoid warning.
87         * iconv/skeleton.c: Remove cast in calls of loop functions.
88         * iconvdata/gconv-modules: Remove US-ASCII definitions.
89         * iconvdata/iso646.c: Remove US_ASCII support.
90         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
91         * include/unistd.h: Add __libc_check_standard_fds prototype.
92         * string/bits/string2.h (__mempcpy_args): Add const to casts.
93         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
94         _fini.
95         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
96         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
97         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
98         warning.
99         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
100         __libc_init_first and _dl_start.
101         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
102         (DCIGETTEXT): Make domaindata variable const.
103         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
104         to avoid warning.
106 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
108         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
110         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
111         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
112         __unused? members.
114         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
115         value defined in /usr/include/asm-mips/fcntl.h.
117 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
119         * stdio-common/Makefile (tests): Add test-vfprintf.
120         (test-vfprintf-ENV): New variable.
121         * stdio-common/test-vfprintf.c: New file.
123         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
125         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
126         (tst-mbrtowc-ENV): New variable.
127         (tst-wcrtomb-ENV): New variable.
128         * wcsmbs/tst-mbrtowc.c: New file.
129         * wcsmbs/tst-wcrtomb.c: New file.
131 2000-11-16  Andreas Jaeger  <aj@suse.de>
133         * manual/install.texi (Tools for Compilation): Update
134         documentation for GCC 2.95.2.
136 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
139         if IPv4 and IPv6 requests timed out.
141 2000-11-18  Akim Demaille  <akim@epita.fr>
143         * malloc/obstack.h: Formatting changes.
144         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
145         prevents type checking.
146         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
147         cast the value to (void *): assigning a `foo *' to a `void *'
148         variable is valid.
149         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
151 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
153         * scripts/config.guess: Update from upstream maintainer.
154         * scripts/config.sub: Likewise.
156 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
158         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
159         * libio/freopen64.c (freopen64): Likewise.
160         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
162         * libio/Makefile: Add rules to build and run test-freopen.
163         * libio/test-freopen.c: New file.
164         * libio/test-freopen.sh: New file.
166 2000-11-15  H.J. Lu  <hjl@gnu.org>
168         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
169         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
170         (DL_DT_FINI_ADDRESS): Likewise.
172         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
173         return type to ElfW(Addr).
174         (_dl_function_address): New prototype.
175         (DL_FUNCTION_ADDRESS): Defined.
176         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
177         (DL_DT_FINI_ADDRESS): Likewise.
179         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
181         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
182         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
184         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
185         (_dl_function_address): This.
187         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
188         function pointer for DT_FINI.
189         * elf/dl-close.c (_dl_close): Likewise.
191         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
192         function pointer for DT_INIT.
194 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
196         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
197         end of wexpbuf buffer.
199 2000-11-16  Andreas Jaeger  <aj@suse.de>
201         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
202         definition of F_GETLK, F_SETLK, F_SETLKW.
204 2000-11-16  Andreas Jaeger  <aj@suse.de>
206         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
207         it's not defined.
209 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
211         * dlfcn/default.c (main): Add test for dladdr of main returning
212         argv[0] in dli_fname field.
214 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
216         * Makeconfig (run-program-prefix): Move test-static test into the
217         variable.
219         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
220         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
221         schedule instructions.
222         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
223         schedule instructions, fix a bug in copying auxiliary data.
225 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
227         * manual/startup.texi (Program Arguments): Fix type of main's envp
228         parameter.
229         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
231         * iconvdata/gconv-modules: Add CP950 alias.
233 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
235         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
236         syscall-list.h goal.
237         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
239 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
241         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
243         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
244         output of program.
246         * intl/tst-gettext2.c: Set C locale if setting other locale
247         failed.  Use gettext() not _().
249         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
250         successfully loaded a new locale.
252 2000-11-13  Andreas Jaeger  <aj@suse.de>
254         * configure.in: Require gcc 2.95 or newer.
256 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
258         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
259         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
261 2000-11-11  Jim Meyering  <meyering@lucent.com>
263         * string/strndup.c (strndup): Cast return value to `char *'.
265 2000-11-15  Jim Meyering  <meyering@ascend.com>
267         * sysdeps/generic/memchr.c: Remove some useless parentheses.
268         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
269         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
270         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
271         Also #undef __memchr.
272         Use `weak_alias' only if it's defined.
274 2000-11-10  H.J. Lu  <hjl@gnu.org>
276         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
278 2000-11-15  Andreas Jaeger  <aj@suse.de>
280         * elf/chroot_canon.c: Include <stdint.h>.
282         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
283         (print_entry): Likewise.
284         (add_to_cache): Likewise.
286         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
288         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
289         (path_hwcap): Likewise.
290         (search_dir): Likewise.
292         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
294         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
296         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
297         (_dl_platform_string): New.
298         (_DL_HWCAP_PLATFORM): New.
299         (_dl_string_platform): New.
300         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
302         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
303         (_dl_string_platform): New.
304         (_DL_HWCAP_PLATFORM): New.
305         (_dl_platform_string): New.
307         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
308         recognition.
309         (_DL_HWCAP_COUNT): New.
310         (_dl_string_platform): New.
311         (_DL_HWCAP_PLATFORM): New.
312         (_dl_platform_string): New.
314 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
316         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
318 2000-11-14  Andreas Jaeger  <aj@suse.de>
320         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
321         _dl_hwcap.
323 2000-11-13  Roland McGrath  <roland@frob.com>
325         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
327 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
329         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
330         underrun and make sure the result is null terminated even if there
331         is no trailing newline.
333 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
335         * sysdeps/alpha/fpu/libm-test-ulps: Update.
337 2000-11-10  H.J. Lu  <hjl@gnu.org>
339         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
341 2000-11-10  Andreas Jaeger  <aj@suse.de>
343         * elf/ldconfig.c (create_links): Fix alloca calculation.
344         Patch by Ben Collins <bcollins@debian.org>.
346 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
348         * inet/getnameinfo.c (getnameinfo): Use correct destination
349         parameter for if_indextoname.
350         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
352 2000-11-09  H.J. Lu  <hjl@gnu.org>
354         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
355         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
356         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
357         xdr_keystatus.
359         * time/Versions (GLIBC_2.1): Move getitimer to...
360         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
362 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
364         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
365         "make install", to work around a binary incompatibility between
366         glibc 2.1 and glibc 2.2 gconv modules.
368 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
370         * intl/locale.alias: Add thai.
371         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
373 2000-11-07  Akim Demaille  <akim@epita.fr>
375         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
376         argument `data' for consistency with the prototypes.
377         Qualify it `const'.
378         (obstack_copy, obstack_copy0): Rename the second argument as
379         `address' for consistency.  Qualify it `const'.
380         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
381         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
382         `const' their input argument (`data' or `address').
383         Adjust the corresponding macros to include `const' in casts.
385 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
387         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
388         target family.
390 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
392         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
393         socket creation.
395 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
397         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
398         ai_protocol by internal table if service was not given.
400 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
402         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
403         numerical port was specified with protocol without socktype.
405 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
407         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
409 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
411         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
413 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
415         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
416         sin6_scope_id field.
418 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
420         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
422 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
424         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
426 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
428         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
429         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
431 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
433         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
434         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
436 2000-11-09  H.J. Lu  <hjl@gnu.org>
438         * io/Versions (GLIBC_2.1.1): Remove lockf64.
441 See ChangeLog.11 for earlier changes.