* sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall
[glibc.git] / ChangeLog
blob14ad00c07b8b3bcc3fffa4c4e126ccad3917aba4
1 2002-11-24  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall
4         with six arguments.
6 2002-11-19  Jim Meyering  <jim@meyering.net>
8         * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare
9         as `static'.
10         * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'.
12 2002-11-23  Roland McGrath  <roland@redhat.com>
14         * scripts/abilist.awk: Avoid strtonum function, not there in mawk.
15         Just produce hex output for datum sizes.
17         * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
18         Reported by Luca Barbieri <ldb@ldb.ods.org>.
20 2002-11-20  Steven Munroe  <sjmunroe@us.ibm.com>
22         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
23         [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
24         and __unused3 fields.
25         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
26         [__WORDSIZE == 32]: Only PPC32 requires __unused1
27         and __unused2 fields.
28         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
29         [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
30         __unused3, and __unused4 fields.
32         * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
33         obtain lowest address for profiling in __monstartup call.
35 2002-11-21  Roland McGrath  <roland@redhat.com>
37         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
38         $(calls) $(calls:=f) $(long-c-$(long-double-fcts)).
40         * locale/localeinfo.h (struct locale_data): Revert last change.
42         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
43         From Ian Wienand <ianw@gelato.unsw.edu.au>.
45         * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
46         __NR_pread64 if not defined.
47         (__NR_pwrite): Define to __NR_pwrite64 if not defined.
48         From Ian Wienand <ianw@gelato.unsw.edu.au>.
50 2002-11-21  Roland McGrath  <roland@frob.com>
52         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
53         __libc_multiple_libcs here.  Call __setfpucw.
55 2002-11-21  Ulrich Drepper  <drepper@redhat.com>
57         * elf/Makefile (tests): Don't run test-arrayX tests for now.
59         * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
60         * sysdeps/unix/sysv/linux/i386/clone.S: Add support for
61         CLONE_CHILD_*TID flags.
63 2002-11-20  Andreas Jaeger  <aj@suse.de>
65         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
66         We pass struct ucontext on x86-64.
67         (GET_PC): Adjust.
68         (GET_FRAME): Adjust.
69         (GET_STACK): Adjust.
71 2002-11-20  Roland McGrath  <roland@redhat.com>
73         * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
74         conditionalize [! DO_VERSIONING] #error.
76         * scripts/abilist.awk: Grok function descriptor symbols.
78         * intl/tst-gettext.c (main): Check return values from setlocale.
79         Add necessary unsetenv's to make LANG=existing-locale check work.
81         * intl/tst-gettext.sh: Use mkdir -p.  Copy test files unconditionally,
82         so aborted prior runs don't confuse things.
84         * locale/localeinfo.h (struct locale_data: union locale_data_value):
85         Use uintptr_t instead of unsigned int for `word' member.
86         (_NL_CURRENT_WORD): Cast to uint32_t.
88         * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES
89         value.
91 2002-11-20  Ulrich Drepper  <drepper@redhat.com>
93         * elf/tls-macros.h: Add IA-64 definitions.
94         Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
96         * iconv/Makefile (tests): Add tst-iconv4.
97         * iconv/tst-iconv4.c: New file.
99         * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return
100         __GCONV_EMPTY_INPUT only if input is really empty.  Otherwise
101         __GCONV_INCOMPLETE_INPUT.
102         (ucs4le_internal_loop): Likewise.
103         (ucs4le_internal_loop_unaligned): Likewise.
104         * iconvdata/unicode.c (PREPARE_LOOP): Likewise.
105         * iconvdata/utf-16.c (PREPARE_LOOP): Likewise.
106         * iconvdata/utf-32.c (PREPARE_LOOP): Likewise.
108         * iconv/loop.c (LOOPFCT): First test for empty input then for full
109         output buffer.
111         * inet/getnameinfo.c: Use extend_alloca where appropriate.
112         * sysdeps/posix/getaddrinfo.c: Likewise.
114         * include/alloca.h (extend_alloca): New define.  Based on stack
115         direction it'll try to append to the previouls allocated buffer.
117 2002-11-07  Thorsten Kukuk  <kukuk@suse.de>
119         * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set,
120         use the same service for AF_INET and AF_INET6.
122 2002-11-19  Ulrich Drepper  <drepper@redhat.com>
124         * intl/localealias.c (read_alias_file): Use only about 400 bytes
125         of stack space instead of 16k.
127 2002-11-18  Wolfram Gloger  <wg@malloc.de>
129         * malloc/arena.c
130         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
131         nothing if not initialized.  Bug report from Marcus Brinkmann
132         <Marcus.Brinkmann@ruhr-uni-bochum.de>.
134 2002-11-19  Roland McGrath  <roland@redhat.com>
136         * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
137         sched_setaffinity.
139         * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
140         `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
141         test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
142         * configure: Regenerated.
144 2002-11-19  Ulrich Drepper  <drepper@redhat.com>
146         * include/dlfcn.h: __libc_dlopen is now a macro calling
147         __libc_dlopen_mode with the extra parameter RTLD_LAZY.
148         (__libc_dlopen_mode): New prototype.
149         * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen.  Add
150         new parameter.  Store new parameter in mode field of structure passed
151         to do_dlopen.
152         (struct do_dlopen_args): Add new field mode.
153         (do_dlopen): Pass mode from parameter structure to _dl_open.
155 2002-11-11  Randolf Chung  <tausq@debian.org>
157         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
158         (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
159         * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
161         * sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
163         * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
164         Set -mdisable-fpregs for this file.
166 2002-11-11  Carlos O'Donell  <carlos@baldric.uwo.ca>
168         * sysdeps/unix/sysv/linux/configure.in:
169         Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
170         from gcc-3.0 era for backwards compatibility.
171         * sysdeps/unix/sysv/linux/configure: Regenerate.
173         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
174         Define mcontext_t as a sigcontext.
176 2002-11-18  Roland McGrath  <roland@redhat.com>
178         * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
179         Free memory in `last_result' if it was used.
181         * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
182         all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
183         Do the parsing inline instead of copying strings and calling
184         inet_network, and properly skip all alias names not matching the form.
186         * manual/pattern.texi (Variable Substitution): Fix # and ## examples.
188 2002-11-17  Ulrich Drepper  <drepper@redhat.com>
190         * manual/pattern.texi (Wordexp Example): Fix sample code.
192         * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the
193         childs stack which will be loaded into the %esi register.
195 2002-11-14  Paul Eggert  <eggert@twinsun.com>
197         * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
198         overflow when skipping the question part and when unpacking aliases.
200 2002-11-15  Roland McGrath  <roland@redhat.com>
202         * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
203         s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
204         Instead add $(calls:s_%=m_%) to get m_* versions of them all.
206 2002-11-15  Jakub Jelinek  <jakub@redhat.com>
208         * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
209         * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
211 2002-11-15  Roland McGrath  <roland@redhat.com>
213         * math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
214         * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
215         from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
216         (+make-include-of-dep): New canned sequence.
218         * stdlib/canonicalize.c (__realpath): Check for malloc failure.
219         From Dmitry V. Levin <ldv@altlinux.org>.
221 2002-11-14  Roland McGrath  <roland@redhat.com>
223         * sysdeps/generic/errno.c (__libc_errno): Remove alias.
224         * inet/herrno.c (__libc_h_errno): Likewise.
225         * resolv/res_libc.c (__libc_res): Likewise.
226         [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
227         (__res_state) [! USE___THREAD]: Don't define as weak.
228         * csu/Versions: Revert last change.
229         * resolv/Versions: Revert last change.
231         * Makerules ($(common-objpfx)%.make): New pattern rule.
232         * tls.make.c: New file.
233         * Makefile (distribute): Add it.
235         * sysdeps/generic/errno.c [! USE___THREAD]
236         [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
237         with compat_symbol so they are not link-time visible.
238         [! USE___THREAD] (__libc_errno): New alias for errno.
239         * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
240         Add __libc_errno here.
241         * inet/herrno.c [USE___THREAD]: Use this conditional
242         in place of [USE_TLS && HAVE___THREAD].
243         [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
244         (h_errno, _h_errno): Declare these with compat_symbol so they are not
245         link-time visible.
246         [! USE___THREAD] (__libc_h_errno): New alias for h_errno.
247         * resolv/res_libc.c [! USE___THREAD]
248         [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
249         (_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
250         (__libc_res): Define as alias for _res.
251         * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
252         Add __libc_h_errno and __libc_res here.
254 2002-11-14  Jakub Jelinek  <jakub@redhat.com>
256         * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now.
257         * resolv/Versions (h_errno, _res): Likewise.
259 2002-11-14  Roland McGrath  <roland@redhat.com>
261         * Makerules (%.dynsym): Remove $(objpfx) from target and dep.
262         (%.symlist): Likewise.
264 2002-11-13  Roland McGrath  <roland@redhat.com>
266         * scripts/abilist.awk: New file.
267         * Makefile (distribute): Add it.
268         * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
269         (tests): Depend on .symlist file for each $(install-lib.so-versioned).
270         [$(subdir) = elf] (tests): Depend on libc.symlist.
271         (generated, common-generated): Add those files.
273         * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
274         * configure: Regenerated.
275         * config.make.in (OBJDUMP): New variable, substituted by configure.
277         * malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
278         (mallochook, reallochook): Set them up.
279         (checkhdr): Check HDR->magic2 value.
280         (freehook): Reset HDR->magic2.
281         (memalignhook): New static function.
282         (old_memalign_hook): New static variable.
283         (mcheck, reallochook): Set __memalign_hook to memalignhook.
285         * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
286         for the new TCB.
288 2002-11-13  Andreas Jaeger  <aj@suse.de>
290         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
291         attribute.
292         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
294 2002-11-11  Paul Eggert  <eggert@twinsun.com>
296         * manual/crypt.texi (Cryptographic Functions): Mention that
297         the MD5 one-way algorithm is compatible with BSD's.
299 2002-11-11  Isamu Hasegawa  <isamu@yamato.ibm.com>
301         * posix/regex_internal.c (re_string_skip_chars): Also return the last
302         wide character.
303         (re_string_reconstruct): Calculate the context by itself when the
304         offset points out of the valid range.
305         (re_string_context_at): Use wide character when MB_CUR_MAX > 1.
306         * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
307         (IS_WIDE_WORD_CHAR): New macro.
308         (IS_WIDE_NEWLINE): New macro.
310 2002-11-12  Andreas Jaeger  <aj@suse.de>
312         * sysdeps/x86_64/strchr.S: Don't use one register for two
313         purposes, this fixes a bug noticed by test-strchr.c.
315         * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer
316         correctly.
318 2002-11-12  Roland McGrath  <roland@redhat.com>
320         * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]
321         (_G_IO_NO_BACKWARD_COMPAT): Define it.
323         * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>
324         instead of <pt-machine.h>.
325         [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of
326         testandset.
327         From Ian Wienand <ianw@gelato.unsw.edu.au>.
329 2002-11-10  Roland McGrath  <roland@redhat.com>
331         * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.
332         Call fputs instead of fwprintf (simpler to follow in debugger).
334         * crypt/md5-crypt.c: Doc fix.
336         * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
337         the beginning of generated target commands.
339         * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
340         dependencies for these in case implicit rule search skipped the
341         nonexistent source directory.
342         * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
343         files with $(object-suffixes) as targets too.
344         * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
345         and a target for it using $(make-target-directory).
347         * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.
349 2002-11-10  Roland McGrath  <roland@frob.com>
351         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
352         * sysdeps/generic/bits/pthreadtypes.h: ... here.
354         * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with
355         l_start == 0 and l_len == 1 as we do l_len == 0.
357 2002-11-10  Ulrich Drepper  <drepper@redhat.com>
359         * po/da.po: Update from translation team.
361 2002-11-10  Roland McGrath  <roland@redhat.com>
363         * config.make.in (includedir): New variable, substituted by configure.
364         Reported missing by Jocelyn Fournier <joc@presence-pc.com>.
365         * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
367 2002-11-10  Andreas Jaeger  <aj@suse.de>
369         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
370         REG_OLDMASK and REG_CR2 to synch with kernel header.
371         (NGREG): Increase.
373         * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
374         aliasing problem.
375         * nss/getXXbyYY_r.c (INTERNAL): Likewise.
376         * nss/getnssent_r.c (__nss_getent_r): Likewise.
377         (__nss_setent): Likewise.
378         (__nss_getent_r): Likewise.
379         * inet/getnetgrent_r.c (innetgr): Likewise.
380         (__internal_setnetgrent_reuse): Likewise.
381         (internal_getnetgrent_r): Likewise.
382         * inet/ether_hton.c (ether_hostton): Likewise.
383         * inet/ether_ntoh.c (ether_ntohost): Likewise.
384         * sunrpc/netname.c (netname2user): Likewise.
385         * sunrpc/publickey.c (getpublickey): Likewise.
386         (getsecretkey): Likewise.
388 2002-11-09  Marcus Brinkmann  <marcus@gnu.org>
390         * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
391         error in range calculation.
393 2002-10-09  Jakub Jelinek  <jakub@redhat.com>
395         * string/test-strspn.c (do_test): Ensure zero termination.
396         * string/test-strpbrk.c (do_test): Likewise.
397         * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
398         * string/test-strncpy.c (stupid_strncpy): Likewise.
399         * string/test-stpncpy.c (stupid_stpncpy): Likewise.
401 2002-10-08  Roland McGrath  <roland@redhat.com>
403         * string/test-string.h (test_init): Fill BUF1 and BUF2 with
404         nonzero characters.
406 2002-09-22  H.J. Lu  <hjl@gnu.org>
408         * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
409         from PAGE_SHIFT.  Define if not defined.  Check MMAP2_PAGE_SHIFT
410         only if __NR_mmap2 is defined.
412         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
413         * sysdeps/unix/sysv/linux/mmap64.c: ... here.
414         * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
415         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
417 2002-11-08  Jakub Jelinek  <jakub@redhat.com>
419         * posix/bug-regex13.c (tests): Add new test.
421         * string/test-strchr.c (stupid_strchr): New function.
422         (do_random_tests): Make sure the string is zero terminated.
423         * string/test-strpbrk.c (stupid_strpbrk): New function.
424         (do_random_tests): Make sure the string is zero terminated.
425         * string/test-strcmp.c (stupid_strcmp): New function.
426         (do_random_tests): Make sure the strings are zero terminated.
427         * string/test-strspn.c (stupid_strspn): New function.
428         (simple_strspn): Rename rej argument to acc.
429         (do_random_tests): Make sure the string is zero terminated.
430         * string/test-strcspn.c (stupid_strcspn): New function.
431         * string/test-strncpy.c (stupid_strncpy): New function.
432         * string/test-stpncpy.c (stupid_stpncpy): New function.
433         * string/test-strncmp.c (stupid_strncmp): New function.
434         (do_random_tests): Make sure the strings are zero terminated.
435         * string/test-string.h (impl_t): Change test into long.
436         (IMPL): Add __attribute__((aligned (sizeof (void *)))).
438 2002-11-08  Roland McGrath  <roland@redhat.com>
440         * sysdeps/ia64/elf/configure.in: Add TLS check.
441         From Ian Wienand <ianw@cse.unsw.edu.au>.
442         * sysdeps/ia64/elf/configure: Regenerated.
444 2002-11-07  Roland McGrath  <roland@redhat.com>
446         * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in
447         place of _IO_new_do_write.
448         [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and
449         #undef before versioned_symbol use.
451 2002-11-07  Richard Henderson  <rth@redhat.com>
453         * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
454         * configure: Regenerated.
455         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
456         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
457         (RTLD_START): Likewise.  Access _dl_skip_args, _rtld_local, and
458         _dl_fini via gp-relative relocations.
459         * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
461         * elf/tls-macros.h: Add alpha versions.
462         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
463         * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
464         * sysdeps/unix/alpha/sysdep.h: Likewise.  Add SYSCALL_ERROR_HANDLER.
465         * sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
466         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
467         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
468         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
469         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
470         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
471         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
472         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
473         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
474         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
475         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
476         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
477         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
478         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
479         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
481         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
482         Kill argument registers across the inline syscall.
484         * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
486         * linuxthreads/sysdeps/alpha/tls.h: New file.
487         * sysdeps/alpha/dl-tls.h: New file.
489 2002-10-29  David Mosberger  <davidm@hpl.hp.com>
491         * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY]
492         (gmon_initializer): New function.
493         (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call
494         __gmon_start__ here.  Call it from gmon_initializer() instead.
496 2002-03-12  H.J. Lu  <hjl@gnu.org>
498         * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1,
499         tst-array2, and tst-array3.
500         [$(have-initfini-array) = yes] (tests-static): Add tst-array3.
501         [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep.
502         ($(objpfx)tst-array1.out): New target.
503         ($(objpfx)tst-array2): Likewise.
504         ($(objpfx)tst-array2.out): Likewise.
505         ($(objpfx)tst-array3.out): Likewise.
506         * elf/tst-array1.c: New file.
507         * elf/tst-array1.exp: Likewise.
508         * elf/tst-array2.c: Likewise.
509         * elf/tst-array2dep.c: Likewise.
510         * elf/tst-array2.exp: Likewise.
511         * elf/tst-array3.c: Likewise.
513 2002-10-28  David Mosberger  <davidm@hpl.hp.com>
515         * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order.
516         Don't add L->l_addr to array entry values.
518 2002-11-07  Jakub Jelinek  <jakub@redhat.com>
520         * string/test-string.h: New file.
521         * string/test-strlen.c: New file.
522         * string/test-string.h: New file.
523         * string/test-strcmp.c: New file.
524         * string/test-strchr.c: New file.
525         * string/test-strrchr.c: New file.
526         * string/test-strcpy.c: New file.
527         * string/test-stpcpy.c: New file.
528         * string/test-strncpy.c: New file.
529         * string/test-stpncpy.c: New file.
530         * string/test-strpbrk.c: New file.
531         * string/test-strcspn.c: New file.
532         * string/test-strspn.c: New file.
533         * string/test-strcat.c: New file.
534         * string/test-strncmp.c: New file.
535         * string/test-memchr.c: New file.
536         * string/test-memcmp.c: New file.
537         * string/test-memset.c: New file.
538         * string/test-memcpy.c: New file.
539         * string/test-mempcpy.c: New file.
540         * string/test-memmove.c: New file.
541         * string/Makefile (strop-tests): New variable.
542         (tests): Add strop-tests.
543         (distribute): Add test-string.h.
545 2002-11-06  Ulrich Drepper  <drepper@redhat.com>
547         * posix/regcomp.c: Use tabs instead of spaces.
548         * posix/regexec.c: Likewise.
549         * posix/regex_internal.h: Likewise.
551         * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
553 2002-11-06  Jakub Jelinek  <jakub@redhat.com>
555         * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
556         here.
557         (regcomp): Don't set can_be_null here.
558         (re_comp): Clear whole re_comp_buf with the exception of fastmap.
559         (re_compile_internal): Clear can_be_null, set regs_allocated.
561         * posix/regcomp.c (re_set_fastmap): New function.
562         (re_compile_fastmap_iter): Use it.  Remove redundant type ==
563         COMPLEX_BRACKET check.
564         * posix/regexec.c (re_search_internal): Optimize searching with
565         fastmap.  Call re_string_reconstruct even if match_first is
566         smaller than raw_mbs_idx.
568 2002-11-06  Isamu Hasegawa  <isamu@yamato.ibm.com>
570         * posix/regcomp (free_dfa_content): Use free_state.
571         * posix/regex_internal.c (re_string_realloc_buffers): Don't edit
572         pointers in case that realloc failed.
573         (re_node_set_merge): Likewise.
574         (register_state): Likewise.
575         (create_newstate_common): Invoke memory release functions in case of
576         error conditions.
577         (create_ci_newstate): Likewise.
578         (create_cd_newstate): Likewise.
579         (free_state): New function.
580         * posix/regexec.c (re_search_internal): Invoke memory release
581         functions in case of error conditions.
582         (sift_states_backward): Likewise.
583         (merge_state_array): Likewise.
584         (add_epsilon_src_nodes): Likewise.
585         (sub_epsilon_src_nodes): Likewise.
586         (search_subexp): Likewise.
587         (sift_states_bkref): Likewise.
588         (transit_state_sb): Likewise.
589         (transit_state_mb): Likewise.
590         (transit_state_bkref_loop): Likewise.
591         (group_nodes_into_DFAstates): Likewise.
592         (push_fail_stack): Don't edit pointers in case that realloc failed.
593         (extend_buffers): Likewise.
594         (match_ctx_add_entry): Likewise.
596 2002-11-06  Roland McGrath  <roland@redhat.com>
598         * sysdeps/unix/sysv/linux/mips/configure.in: File removed.
599         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
601         * configure.in: Add checks on as and ld for binutils 2.13 or later.
602         * configure: Regenerated.
604 2002-11-06  Ulrich Drepper  <drepper@redhat.com>
606         * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail.
607         If re_compile_internal failed free fastmap buffer.
608         (free_dfa_content): Broken out of regfree function.  Frees all dfa
609         related data.
610         (regfree): Add free_dfa_content.
611         (re_compile_internal): If any of the called functions fails free
612         all dfa related memory.
614 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
616         * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
617         warnings from the kernel headers.
619 2002-11-05  Roland McGrath  <roland@redhat.com>
621         * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
622         From Johannes Stezenbach <js@convergence.de>.
624         * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
625         #errlist-compat magic comment to give 123 as size.
626         (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
627         (libc: GLIBC_2.2): ... here.
628         (libc: GLIBC_2.3): Likewise.
630 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
632         * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount
633         which happens at the beginning so that we can unload modules in
634         __libc_freeres.
636 2002-11-06  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
638         * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
639         under [__USE_MISC || _ASM].
641         * elf/elf.h: Remove the obsolete SH TLS relocations.
643 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
645         * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
647 2002-11-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
650         __NR_pread64 and __NR_pwrite64.
651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
652         * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
653         and __NR_pwrite64.
654         Revert change to use INLINE_SYSCALL.
655         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
656         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
657         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
658         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
659         INLINE_SYSCALL.
660         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
663         Update clobber list and add a comment about the syscall ABI.
665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
666         s_pwrite64, s_ftruncate, s_truncate): Re-add.
668 2002-11-05  Jakub Jelinek  <jakub@redhat.com>
670         * iconv/gconv_dl.c (free_mem): Clear loaded.
671         * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's
672         cleanup if any.
674 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
676         * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>.
678         * libio/ioseekoff.c: Remove INTDEF.  Define _IO_seekoff_unlocked.  Same
679         as old code without locking.  _IO_seekoff calls this function after
680         locking the stream.
681         * libio/ioseekpos.c: Likewise for _IO_seekpos.
682         * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal
683         prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked
684         prototypes.
685         * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead
686         of _IO_seekoff_internal.
687         (_IO_rewind): Likewise.
688         * libio/ioftell.c: Likewise.
689         * libio/ftello.c: Likewise.
690         * libio/ftello64.c: Likewise.
691         * libio/iofgetpos.c: Likewise.
692         * libio/iofgetpos64.c: Likewise.
693         * libio/oldiofgetpos.c: Likewise.
694         * libio/oldiofgetpos64.c: Likewise.
695         * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of
696         _IO_seekpos_internal.
697         * libio/iofsetpos64.c: Likewise.
698         * libio/oldiofsetpos.c: Likewise.
699         * libio/oldiofsetpos64.c: Likewise.
701 2002-11-04  Roland McGrath  <roland@redhat.com>
703         * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro.
704         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
705         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
706         * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise.
707         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
708         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
710         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise.
711         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl,
714         s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64,
715         sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev):
716         Remove these, no longer used.
718 2002-11-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
721         s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
722         s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
723         s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
724         s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
725         s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
726         syscall stubs.
728         * sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
729         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
730         * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
731         and __NR_pread.
732         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
733         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
734         and __NR_pwrite.
735         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
737 2002-11-03  Roland McGrath  <roland@redhat.com>
739         * sysdeps/generic/ldsodefs.h (struct rtld_global): New member
740         `_dl_tls_static_used'.
741         * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
742         (__libc_setup_tls): Initialize it.  Let the initial value of
743         _dl_tls_static_size indicate some surplus space in the computed value.
744         * elf/dl-open.c (_dl_tls_static_size): New variable.
745         * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize
746         _dl_tls_static_used.  Add some surplus space into _dl_tls_static_size.
747         * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
748         (CHECK_STATIC_TLS): Use it.
749         * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the
750         closed objects occupied a trailing contiguous chunk of static TLS area.
752 2002-10-18  Bruno Haible  <bruno@clisp.org>
754         * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0.
756 2002-11-04  Ulrich Drepper  <drepper@redhat.com>
758         * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and
759         _wide_data->_IO_read_end if adjustment can be made in the current
760         buffer.
762         * sysdeps/unix/sysv/linux/fexecve.c: New file.
764         * libio/bug-wfflush.c (do_test): Using fseek is not allowed when
765         wide oriented streams are used.
767         * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the
768         service hasn't been used [PR libc/4744].
770         * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
771         Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766].
773         * manual/examples/dir.c: Don't include <stddef.h>.
774         * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
775         Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.
777 2002-11-02  H.J. Lu  <hjl@gnu.org>
779         * stdio-common/reg-printf.c: Include <stddef.h>.
781 2002-11-03  Ulrich Drepper  <drepper@redhat.com>
783         * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used.
785         * po/ca.po: Update from translation team.
786         * po/es.po: Likewise.
788         * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF
789         is defined write out memory map.
790         * sysdeps/unix/sysv/linux/segfault.c: New file.
792 2002-11-02  Roland McGrath  <roland@redhat.com>
794         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for
795         pointers that can alias.
796         Reported by Daniel Jacobowitz <drow@mvista.com>.
798         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.
800 2002-11-02  Roland McGrath  <roland@redhat.com>
802         * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
803         description to be clearer and to say that *RESULT is set to ENTRY.
805 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
807         * posix/regexec.c (build_trtable): Alloca or malloc dests_node and
808         dests_ch arrays together.  Alloca or malloc dest_states,
809         dest_states_word and dest_states_nl arrays together.  Free memory on
810         error exit.
812 2002-10-29  Daniel Jacobowitz  <drow@mvista.com>
814         * crypt/crypt_util.c (__init_des_r): Initialize current_salt
815         and current_saltbits.
817 2002-11-02  Roland McGrath  <roland@redhat.com>
819         * stdio-common/reg-printf.c: Include <stdlib.h>.
821 2002-11-02  H.J. Lu  <hjl@gnu.org>
823         * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
824         caller to EXTRA instead of execve.
826 2002-11-01  Roland McGrath  <roland@redhat.com>
828         * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
829         in place of [!(USE_TLS && HAVE___THREAD)].
830         (__errno_location) [! USE___THREAD]: Define as strong, not weak.
832 2002-10-31  Roger Sayle  <roger@eyesopen.com>
834         * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
835         New macros.
836         * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
838         * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
839         without defining FP_ROUNDMODE.
841 2002-10-29  Jakub Jelinek  <jakub@redhat.com>
843         * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
844         (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
845         declare_symbol.
846         * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
847         (OLD_SIGLIST_SIZE): Define.
848         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
849         (OLD_SIGLIST_SIZE): Define.
850         * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
852 2002-11-01  Jakub Jelinek  <jakub@redhat.com>
854         * sysdeps/ia64/strncpy.S: Fix recovery code.
856 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
858         * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
859         New macros.
860         * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
861         text_set_element.
862         * elf/dl-libc.c (free_mem): Likewise.
863         * iconv/gconv_conf.c (free_mem): Likewise.
864         * iconv/gconv_db.c (free_mem): Likewise.
865         * iconv/gconv_dl.c (free_mem): Likewise.
866         * iconv/gconv_cache.c (free_mem): Likewise.
867         * intl/finddomain.c (free_mem): Likewise.
868         * intl/dcigettext.c (free_mem): Likewise.
869         * locale/setlocale.c (free_mem): Likewise.
870         * misc/fstab.c (fstab_free): Likewise.
871         * nss/nsswitch.c (free_mem): Likewise.
872         * posix/regcomp.c (free_mem): Likewise.
873         * resolv/gai_misc.c (free_res): Likewise.
874         * stdlib/fmtmsg.c (free_mem): Likewise.
875         * sunrpc/clnt_perr.c (free_mem): Likewise.
876         * sysdeps/generic/setenv.c (free_mem): Likewise.
877         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
878         * sysdeps/pthread/aio_misc.c (free_res): Likewise.
879         * time/tzset.c (free_mem): Likewise.
880         * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
881         * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
882         * malloc/set-freeres.c (__libc_freeres): Likewise.
884         * login/getutent.c: Include stdlib.h instead of stddef.h.
885         (buffer): Change into pointer to utmp, add libc_freeres_ptr.
886         (__getutent): Allocate buffer the first time it is run.
887         * login/getutid.c: Include stdlib.h instead of stddef.h.
888         (buffer): Change into pointer to utmp, add libc_freeres_ptr.
889         (__getutid): Allocate buffer the first time it is run.
890         * login/getutline.c: Include stdlib.h instead of stddef.h.
891         (buffer): Change into pointer to utmp, add libc_freeres_ptr.
892         (__getutline): Allocate buffer the first time it is run.
893         * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
894         (mtrace): Allocate malloc_trace_buffer.
895         * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
896         * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
897         * string/strerror.c: Include libintl.h and errno.h.
898         (buf): New variable.
899         (strerror): Only allocate buffer if actually needed (unknown error).
900         * time/tzfile.c (transitions): Add libc_freeres_ptr.
901         (freeres): Remove.
903 2002-10-25  Jakub Jelinek  <jakub@redhat.com>
905         * include/libc-symbols.h (libc_freeres_ptr): New macro.
906         * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
907         symbol_set_define.
908         (__libc_freeres): Free all pointers in that section.
909         * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
910         commands when creating .lds script.
911         (LDSEDCMD-c.so): New variable.
912         * inet/rcmd.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
913         (rcmd_af): Use strdup to allocate ahostbuf.
914         * inet/rexec.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
915         (rexec_af): Use strdup to allocate ahostbuf.
916         * stdio-common/reg-printf.c (printf_funcs): Remove.
917         (__printf_arginfo_table): Change into printf_arginfo_function **.
918         Add libc_freeres_ptr.
919         (__register_printf_function): Allocate __printf_arginfo_table
920         and __printf_function_table the first time it is called.
921         * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
922         printf_arginfo_function **.
923         (parse_one_spec): Add __builtin_expect.
924         * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
925         (free_mem): Remove.
926         * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
927         (free_mem): Remove.
928         * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
929         (string_space, map): Add libc_freeres_ptr.
930         (free_mem): Remove.
931         * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
932         (free_mem): Remove.
933         * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
934         (free_mem): Remove.
935         * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
936         (buffer): Add libc_freeres_ptr.
937         (free_mem): Remove for _LIBC.
938         * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
939         (free_mem): Remove.
940         * nss/getXXent.c (buffer): Add libc_freeres_ptr.
941         (free_mem): Remove.
942         * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
943         (free_mem): Remove.
944         * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
945         (free_mem): Remove.
946         * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
947         (free_mem): Remove.
948         * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
949         (free_mem): Remove.
950         * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
951         libc_freeres_ptr.
952         (free_mem): Remove.
953         * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
954         libc_freeres_ptr.
955         (free_mem): Remove.
957 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
959         * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
960         instead of duplicating the whole function in libc.
962 2002-10-31  Roland McGrath  <roland@redhat.com>
964         * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
965         Renamed from __bswap_16 (typo fix).  Reported by <dens@stl.sarov.ru>.
967 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
969         * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
970         32bit-predefine when creating .new32 list and -U for each
971         32bit-predefine when creating .new64 list.
972         * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
974 2002-10-29  Andreas Schwab  <schwab@suse.de>
976         * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
977         "testrtsig.h".  Reported by Daniel Jacobowitz <dan@debian.org>.
979 2002-10-25  Roland McGrath  <roland@redhat.com>
981         * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
982         * sysdeps/unix/sysv/linux/configure: Regenerated.
984         * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
985         _dl_starting_up decl.
987 2002-10-20  H.J. Lu  <hjl@gnu.org>
989         * sysdeps/unix/sysv/linux/configure.in: Don't check
990         /lib/modules/`uname -r`/build/include for kernel headers if
991         cross compiling.
992         * sysdeps/unix/sysv/linux/configure: Regenerated.
994 2002-10-25  Roland McGrath  <roland@redhat.com>
996         * math/math.h (M_LOG2El): Correct the value.
997         From Stephen L Moshier <steve@moshier.net>.
999         * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
1000         conditional from __libc_multiple_libcs access.  Remove kludge for weak
1001         symbol access with old compilers we no longer support.
1002         * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
1003         * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
1005 2002-10-25  Roland McGrath  <roland@redhat.com>
1007         * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
1008         implement SV_RESETHAND by translating it to SA_RESETHAND.
1010 2002-10-23  Alexandre Oliva  <aoliva@redhat.com>
1012         * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
1013         type on ELF64 platforms.
1015 2002-10-24  Ulrich Drepper  <drepper@redhat.com>
1017         * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
1019         * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
1021 2002-10-24  Jakub Jelinek  <jakub@redhat.com>
1023         * elf/dl-misc.c: Include <sysdep.h>.
1024         (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
1026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
1027         INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
1028         (INLINE_SYSCALL): Use that.
1029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
1030         INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
1031         (INLINE_SYSCALL): Use that.
1032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
1033         INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
1034         (INLINE_SYSCALL): Use that.
1035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
1036         dl-sysdep.h.
1037         (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
1038         (__INTERNAL_SYSCALL_STRING): Define.
1039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
1040         dl-sysdep.h.
1041         (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
1042         (__INTERNAL_SYSCALL_STRING): Define.
1043         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
1044         __SYSCALL_STRING to inline_syscall*.
1045         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
1046         New macros.
1047         (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
1048         inline_syscall4, inline_syscall5, inline_syscall6): Add string
1049         argument.
1051 2002-10-24  Roland McGrath  <roland@redhat.com>
1053         * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
1054         * sysdeps/unix/sysv/linux/init-first.c: Not here.
1055         * sysdeps/powerpc/elf/libc-start.c: Or here.
1056         * sysdeps/unix/sysv/aix/libc-start.c: Or here.
1057         * sysdeps/unix/sysv/aix/start-libc.c: Or here.
1058         * sysdeps/unix/sysv/aix/init-first.c: Or here.
1059         * sysdeps/generic/libc-start.c: Or here.
1060         * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
1061         access with [! SHARED].
1062         * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
1064         * libio/bug-wfflush.c: New file.
1065         * libio/Makefile (tests): Add bug-wfflush.
1067 2002-10-23  Roland McGrath  <roland@redhat.com>
1069         * stdio-common/tst-fphex.c: New file.
1070         * stdio-common/Makefile (tests): Add tst-fphex.
1071         * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
1072         of WNUMEND.  Fix counting of decimal point in WIDTH.  Print '0' pad
1073         chars always before the value digits.
1074         Reported by James Antill <james.antill@redhat.com>.
1076 2002-10-24  Jakub Jelinek  <jakub@redhat.com>
1078         * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
1079         (free_mem): New function.
1080         * posix/Makefile (tests): Add bug-regex14.  Add bug-regex14-mem
1081         if not cross compiling.
1082         (generated): Add bug-regex14-mem and bug-regex14.mtrace.
1083         (bug-regex14-ENV): Set.
1084         (bug-regex14-mem): New target.
1085         * posix/bug-regex14.c: New file.
1087 2002-10-23  Roland McGrath  <roland@redhat.com>
1089         * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
1090         target, so we don't touch it when the link fails.
1092         * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
1093         Check for the result overflowing off_t and fail with EOVERFLOW.
1094         * libio/ioftell.c (_IO_ftell): Likewise.
1095         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1097         * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
1098         use a temporary timeval on the stack for gettimeofday and copy it.
1099         * login/logout.c (logout): Likewise.
1100         Reported by Steven Munroe <sjmunroe@us.ibm.com>.
1102         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
1103         Use __SWORD_TYPE instead of int for member types.
1104         (struct statfs64): Likewise.
1105         * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
1106         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
1107         * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
1108         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
1109         * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
1111         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
1112         * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
1113         (ST_NODIRATIME): Restore fixed value of 2048.
1114         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
1115         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
1117         Rearranged <bits/types.h> definitions to reduce duplication.
1118         * sysdeps/generic/bits/types.h: Rewritten, using macros from
1119         <bits/wordsize.h> and new header <bits/typesizes.h>.
1120         * posix/Makefile (headers): Add bits/typesizes.h here.
1121         * sysdeps/generic/bits/typesizes.h: New file.
1122         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
1123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
1124         * sysdeps/mach/hurd/bits/typesizes.h: New file.
1125         * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
1126         * sysdeps/unix/sysv/linux/bits/types.h: File removed.
1127         * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
1128         * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
1129         * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
1130         * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
1131         * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
1132         * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
1133         <bits/pthreadtypes.h> here, not in <bits/types.h>.
1134         * signal/signal.h: Likewise.
1136         * streams/stropts.h: Include <bits/xtitypes.h>.
1137         * streams/Makefile (headers): Add bits/xtitypes.h here.
1138         * sysdeps/generic/bits/xtitypes.h: New file.
1139         * sysdeps/s390/bits/xtitypes.h: New file.
1140         * sysdeps/ia64/bits/xtitypes.h: New file.
1141         * sysdeps/x86_64/bits/xtitypes.h: New file.
1143         * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
1144         * sysdeps/generic/bits/ipctypes.h: New file.
1145         * sysdeps/mips/bits/ipctypes.h: New file.
1146         * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
1147         * sysdeps/gnu/bits/msq.h: Likewise.
1148         * sysvipc/sys/ipc.h: Likewise.
1150 2002-10-22  Ulrich Drepper  <drepper@redhat.com>
1152         * elf/dl-load.c (struct filebuf): For buf element to have the
1153         alignment of ElfXX_Ehdr since this is what will be stored in it.
1155 2002-10-22  Jakub Jelinek  <jakub@redhat.com>
1157         * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
1158         into pointer to locrec_offset.
1159         (add_locale_to_archive): Adjust callers.  Free normalized_name right
1160         before returning, not immediately after add_locale, pass it to
1161         add_alias if not NULL instead of name.  Rename second normalized_name
1162         occurence to nnormalized_codeset_name.
1164         * locale/programs/locarchive.c (enlarge_archive): Make sure
1165         string_size is always a multiple of 4.
1166         Reported by Andreas Schwab <schwab@suse.de>.
1168 2002-10-21  Andreas Schwab  <schwab@suse.de>
1170         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
1171         caller to EXTRA instead of execve, since the latter has a
1172         higher-priority implementation in linuxthreads.
1174 2002-10-21  Roland McGrath  <roland@redhat.com>
1176         * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
1177         slotinfo list's len member to the proper size, not just 1.
1178         Initialize static_map.l_tls_initimage.
1180         * elf/dl-open.c (dl_open_worker): Fix loop searching for
1181         dtv_slotinfo_list element containing new modules' l_tls_modid.
1183         * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
1184         * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
1185         * elf/Makefile (tests): Add tst-tls9.
1186         (tests-static): Add tst-tls9-static.
1187         (tst-tls9-static-ENV): New variable.
1188         ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
1190         * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
1191         modids used by partially loaded modules being closed can't be known.
1193 2002-10-21  Isamu Hasegawa  <isamu@yamato.ibm.com>
1195         * posix/Makefile: Add a test case for the bug reported by Aharon
1196         Robbins <arnold@skeeve.com>.
1197         * posix/bug-regex13.c: New file.
1198         * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
1200 2002-10-21  Ulrich Drepper  <drepper@redhat.com>
1202         * csu/gmon-start.c: Pretty printing.
1204 2002-10-19  Art Haas  <ahaas@neosoft.com>
1206         * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
1207         add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
1208         add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
1209         * configure: Regenerated.
1211 2002-10-19  Roland McGrath  <roland@redhat.com>
1213         * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
1214         and then set $subdirs directly, because the new Autoconf breaks
1215         compatibility in every way imaginable and insists on whining
1216         about usage that worked since the dawn of time.
1217         * configure: Regenerated.
1219         * configure: Regenerated (using Autoconf 2.54).
1220         * sysdeps/alpha/elf/configure: Likewise.
1221         * sysdeps/generic/configure: Likewise.
1222         * sysdeps/i386/elf/configure: Likewise.
1223         * sysdeps/ia64/elf/configure: Likewise.
1224         * sysdeps/mach/hurd/configure: Likewise.
1225         * sysdeps/mach/configure: Likewise.
1226         * sysdeps/unix/configure: Likewise.
1227         * sysdeps/unix/common/configure: Likewise.
1228         * sysdeps/unix/sysv/aix/configure: Likewise.
1229         * sysdeps/unix/sysv/linux/configure: Likewise.
1230         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1231         * sysdeps/x86_64/elf/configure: Likewise.
1233         * config.make.in: Nix completely-soft nonsense.
1234         * configure.in: Likewise.  Under --without-fp, use nofpu subdirectory
1235         of machine directories instead of fpu subdirectory.
1236         * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
1237         * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
1238         * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
1239         * sysdeps/powerpc/nofpu/sim-full.c: ... here.
1240         * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
1241         * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
1242         * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
1243         * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
1244         * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
1245         * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
1246         * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
1247         * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
1248         * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
1249         * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
1250         * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
1251         * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
1252         * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
1253         * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
1254         * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
1255         * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
1256         * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
1257         * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
1258         * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
1259         * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
1260         * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
1261         * sysdeps/powerpc/nofpu/fegetround.c: ... here.
1262         * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
1263         * sysdeps/powerpc/nofpu/fesetround.c: ... here.
1264         * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
1265         * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
1266         * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
1267         * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
1268         * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
1269         * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
1270         * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
1271         * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
1272         * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
1273         * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
1274         * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
1275         * sysdeps/powerpc/nofpu/Versions: ... here, new file.
1277 2002-10-19  Bruno Haible  <bruno@clisp.org>
1279         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
1281 2002-10-18  Roland McGrath  <roland@redhat.com>
1283         * io/Makefile (routines): Add lchmod.
1284         * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
1285         * sysdeps/generic/lchmod.c: New file.
1286         * sysdeps/mach/hurd/lchmod.c: New file.
1287         * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
1289 2002-10-18  Art Haas  <ahaas@neosoft.com>
1291         * configure.in: Remove remaining AC_FD_CC macros, and replace
1292         AC_FD_MSG with AS_MESSAGE_FD.
1294 2002-10-18  Roland McGrath  <roland@redhat.com>
1296         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
1297         typos: VALUE -> FINALADDR.
1299         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
1300         (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
1301         (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
1302         (inline_syscall6): Move these macros ...
1303         * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
1305         * configure.in (libc_link_dests, libc_link_sources): Remove these
1306         variables and the AC_LINK_FILES call.
1308         * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
1309         change to put new symbols here instead of in GLIBC_2.2.
1310         * sysdeps/powerpc/Subdirs: Move this file ...
1311         * sysdeps/powerpc/soft-fp/Subdirs: ... here.
1313 2002-10-07  Roland McGrath  <roland@redhat.com>
1315         * sysdeps/generic/bits/time.h: Replaced with contents of the
1316         sysdeps/unix/sysv/linux/i386/bits/time.h file.  All the following
1317         files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
1318         and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
1319         macros is ok even for architectures that don't now implement them.
1320         * sysdeps/mach/hurd/bits/time.h: File removed.
1321         * sysdeps/unix/sysv/linux/bits/time.h: File removed.
1322         * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
1323         * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
1324         * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
1325         * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
1327 2002-10-18  Jeff Bailey  <jbailey@gnu.org>
1329         * configure.in: Replace obsolete AC_OUTPUT syntax with
1330         AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
1332         * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
1333         _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
1335         * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
1336         * sysdeps/alpha/elf/configure.in: Likewise.
1337         * sysdeps/i386/elf/configure.in: Likewise.
1338         * sysdeps/mach/hurd/configure.in: Likewise.
1339         * sysdeps/x86_64/elf/configure.in: Likewise.
1341         * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
1343         * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
1344         * sysdeps/generic/configure.in: Likewise.
1345         * sysdeps/i386/elf/configure.in: Likewise.
1346         * sysdeps/ia64/elf/configure.in: Likewise.
1347         * sysdeps/mach/configure.in: Likewise.
1348         * sysdeps/mach/hurd/configure.in: Likewise.
1349         * sysdeps/unix/configure.in: Likewise.
1350         * sysdeps/unix/common/configure.in: Likewise.
1351         * sysdeps/unix/sysv/aix/configure.in: Likewise.
1352         * sysdeps/unix/sysv/linux/configure.in: Likewise.
1353         * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
1354         * sysdeps/x86_64/elf/configure.in: Likewise.
1356         * aclocal.m4: Use just the bits from AS_INIT that are needed for the
1357         GLIBC_PROVIDES.  Use plain comment instead of HEADER-COMMENT so
1358         that it's obvious when extra autoconf machinery is being dragged in.
1360 2002-10-18  Roland McGrath  <roland@redhat.com>
1362         * configure.in: Remove bogus echo included in
1363         2002-10-08  Aldy Hernandez  <aldyh@redhat.com> change.
1364         * configure: Regenerated.
1366 2002-10-18  Jakub Jelinek  <jakub@redhat.com>
1368         * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
1369         (statfs_filesize_max): New function.
1370         * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
1371         JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
1372         ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
1373         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
1374         statfs_filesize_max.
1375         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1376         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
1377         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
1379 2002-10-17  Roland McGrath  <roland@redhat.com>
1381         * configure.in (MIG): Just AC_SUBST it here.
1382         * configure: Regenerated.
1383         * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
1384         Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
1385         * sysdeps/mach/configure: Regenerated.
1387         * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
1388         and AC_PROVIDE([_AS_CR_PREPARE]).
1390         * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
1391         Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
1393         * elf/dl-support.c: Move _dl_tls_* variables to ...
1394         * sysdeps/generic/libc-tls.c: ... here.
1396         * elf/dl-close.c (remove_slotinfo): Take new argument.  If false,
1397         allow IDX to be one past the current last slotinfo entry.
1398         (_dl_close): Pass IMAP->l_init_called for that parameter.
1400 2002-10-07  Andreas Schwab  <schwab@suse.de>
1402         * aclocal.m4: Fix for autoconf 2.53.
1403         * configure.in: Likewise.  Require autoconf 2.53.
1405 2002-10-08  Richard Henderson  <rth@redhat.com>
1407         * soft-fp/op-4.h: Handle carry correctly in
1408         __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
1409         __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
1410         * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
1412 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
1414         * configure.in: Compute completely-soft.
1415         * config.make.in: Make completely-soft available to sub-makes.
1416         * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
1417         gcc-double-routines.  Add sim-full.c.  Add fenv_const and
1418         fe_nomask to libm-support.
1419         * sysdeps/powerpc/soft-fp/sim-full.c: New file.
1420         * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
1421         * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
1422         * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
1423         * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
1424         * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
1425         * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
1426         * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
1427         * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
1428         * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
1429         * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
1430         * sysdeps/powerpc/soft-fp/fegetround.c: New file.
1431         * sysdeps/powerpc/soft-fp/fesetround.c: New file.
1432         * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
1433         * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
1434         * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
1435         * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
1436         * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
1437         * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
1438         symbols.  Add __sim_disabled_exceptions, __sim_exceptions,
1439         __sim_round_mode.
1440         * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
1441         * sysdeps/powerpc/soft-float/sfp-machine.h: Define
1442         FP_HANDLE_EXCEPTIONS.
1443         Define FP_ROUNDMODE.
1444         Redefine FP_* macros to correspond to the FE_* bit positions.
1445         Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
1446         Define externs for __sim_exceptions, __sim_disabled_exceptions,
1447         __sim_round_mode, __simulate_exceptions.
1448         * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
1449         * sysdeps/powerpc/bits/fenv.h: ...to here.
1451 2002-10-06  Jakub Jelinek  <jakub@redhat.com>
1453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1454         Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
1455         Use __builtin_expect for R_PPC_ADDR24 overflow check.  Fix
1456         R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
1457         __builtin_expect.
1459 2002-10-15  Jakub Jelinek  <jakub@redhat.com>
1461         * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
1462         __libc_res_nsend): New prototypes.
1463         * resolv/res_query.c (QUERYSIZE): Define.
1464         (__libc_res_nquery): Renamed from res_nquery.  Added answerp
1465         argument.  Allocate only QUERYSIZE bytes first, if res_nmkquery
1466         fails use MAXPACKET buffer.  Call __libc_res_nsend instead of
1467         res_nsend, pass answerp.
1468         (res_nquery): Changed into wrapper around __libc_res_nquery.
1469         (__libc_res_nsearch): Renamed from res_nsearch.  Added answerp
1470         argument.  Call __libc_res_nquerydomain and __libc_res_nquery
1471         instead of the non-__libc_ variants, pass them answerp.
1472         (res_nsearch): Changed into wrapper around __libc_res_nsearch.
1473         (__libc_res_nquerydomain): Renamed from res_nquerydomain.
1474         Added answerp argument.  Call __libc_res_nquery instead of
1475         res_nquery, pass answerp.
1476         (res_nquerydomain): Changed into wrapper around
1477         __libc_res_nquerydomain.
1478         * resolv/res_send.c: Include sys/ioctl.h.
1479         (MAXPACKET): Define.
1480         (send_vc): Change arguments.  Reallocate answer buffer if it is
1481         too small.
1482         (send_dg): Likewise.
1483         (__libc_res_nsend): Renamed from res_nsend.  Added ansp argument.
1484         Reallocate answer buffer if it is too small and hooks are in use.
1485         Adjust calls to send_vc and send_dg.
1486         (res_nsend): Changed into wrapper around __libc_res_nsend.
1487         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
1488         just 1K answer buffer on the stack, use __libc_res_nsearch instead
1489         of res_nsearch.
1490         (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
1491         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
1492         (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
1493         * resolv/gethnamaddr.c (gethostbyname2): Likewise.
1494         (gethostbyaddr): Similarly with __libc_res_nquery.
1495         * resolv/Versions (libresolv): Export __libc_res_nquery and
1496         __libc_res_nsearch at GLIBC_PRIVATE.
1498 2002-10-17  Roland McGrath  <roland@redhat.com>
1500         * configure.in: Grok --without-__thread and disable HAVE___THREAD.
1501         * configure: Regenerated.
1503         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
1504         before performing the reloc, not after.
1505         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1507 2002-10-17  Ulrich Drepper  <drepper@redhat.com>
1509         * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
1510         * locale/programs/linereader.c (lr_open): Likewise.
1511         * locale/programs/charmap-dir.c (charmap_open): Likewise.
1512         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1514 2002-10-17  Isamu Hasegawa  <isamu@yamato.ibm.com>
1516         * posix/bug-regex11.c: Add a test case for the bug reported by
1517         Paolo Bonzini <bonzini@gnu.org>.
1518         * posix/regexec.c (sift_states_bkref): Use correct destination of
1519         the back reference.
1521 2002-10-17  Roland McGrath  <roland@redhat.com>
1523         * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
1524         * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
1525         to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
1526         * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
1527         Call it after performing TPOFF relocs.
1528         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1529         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1530         * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
1532         * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
1533         when closing a partially-initialized object.
1535         * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
1536         instead of _dl_fatal_printf when we see PT_TLS.
1538         * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
1539         instead of $(libof-$<).
1541 2002-10-16  Roland McGrath  <roland@redhat.com>
1543         * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
1544         instead of += to append, to be sure $(lib) gets expanded at defn time.
1545         (libof-$(cpp-src)): New variable, define this instead.
1546         * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
1547         (lib): Don't use override.
1548         (CPPFLAGS-$(lib)): New variable, put -D's here.
1549         * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
1550         Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
1551         LIB found by $(libof-*) for basename, target, or source.
1552         * Makerules (CPPFLAGS-nonlib): New variable.
1553         * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
1554         * locale/Makefile (lib): Likewise.
1555         * sunrpc/Makefile (lib): Likewise.
1557         * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
1558         * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
1559         * sysdeps/unix/sysv/linux/pathconf.h: New file.
1560         (statfs_link_max): New function, guts from fpathconf.c.
1561         * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
1562         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1563         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
1564         to use the linux/pathconf.c code by #include rather than duplication.
1565         * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
1567 2002-10-16  Jakub Jelinek  <jakub@redhat.com>
1569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1570         Use __libc_errno only for libc itself.
1572 2002-10-16  Andreas Jaeger  <aj@suse.de>
1574         * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
1576 2002-10-16  Ulrich Drepper  <drepper@redhat.com>
1578         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1579         Use __libc_errno only for libc itself.
1581 2002-10-15  Roland McGrath  <roland@redhat.com>
1582             Jakub Jelinek  <jakub@redhat.com>
1584         * sysdeps/unix/sysv/linux/Makefile
1585         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
1586         sparc/Makefile to produce a bi-arch file as needed.
1587         That's now parameterized by the variable $(64bit-predefine).
1588         Use LC_ALL=C for `comm' commands in that rule.
1589         No longer conditional on [$(no_syscall_list_h)].
1590         * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
1591         (64bit-predefine): New variable.
1592         * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
1593         * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1594         * sysdeps/unix/sysv/linux/powerpc/Makefile
1595         (64bit-predefine): New variable.
1597 2002-10-15  Roland McGrath  <roland@redhat.com>
1599         * sysdeps/unix/sysv/linux/Makefile
1600         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
1602         * login/utmp-private.h: Declare __libc_utmp_lock.
1603         * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
1604         and call __libc_utmp_jump_table functions directly, instead of using
1605         __setutent et al.
1607         * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
1608         * sysdeps/unix/sysv/linux/configure: Regenerated.
1610         * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
1611         (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
1612         Use int32_t for ll_time.
1613         (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
1614         Use int32_t instead of long int for ut_session.
1615         Use an anonymous struct with 32-bit fields for ut_tv.
1616         * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
1617         (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
1618         here as in utmp.h for `struct utmp'.
1619         * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
1620         * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
1621         * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
1622         * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
1623         * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
1624         * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
1626         * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
1627         of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
1628         All the following files were identical or equivalent to it.
1629         * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
1630         * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
1631         * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
1632         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
1633         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
1634         * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
1635         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
1636         * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
1637         * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
1638         * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
1640         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
1641         instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
1642         Other than the previously incorrect sign of msg_iovlen, this is a
1643         no-op on 32-bit platforms.  On 64-bit platforms it makes this header
1644         match their layouts as well, so the following are now identical to it.
1645         * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
1646         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
1647         * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
1648         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
1649         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
1651 2002-10-15  Ulrich Drepper  <drepper@redhat.com>
1653         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
1654         Define for 2.4+ kernels.
1656         * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
1657         are known to have the vfork syscall.  Don't confuse the CPUs
1658         branch prediction unit by jumping to the return address.
1660         * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
1661         support for reiserfs and xfs.
1663         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
1664         XFS link count.
1665         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
1666         and XFS_LINK_MAX.
1667         Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
1669 2002-10-16  Jakub Jelinek  <jakub@redhat.com>
1671         * include/libc-symbols.h (attribute_tls_model_ie): Define.
1672         * include/errno.h (errno): Define to __libc_errno in libc.so.
1673         Add attribute_tls_model_ie.
1674         * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
1675         Add attribute_tls_model_ie.
1676         * include/resolv.h (_res): Define to __libc_res in libc.so.  Add
1677         attribute_tls_model_ie.
1678         * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
1679         (h_errno): Define.
1680         * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
1681         (_res): Define.
1682         * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
1683         attribute_tls_model_ie.
1684         * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
1685         __thread.
1686         * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
1687         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
1688         __libc_errno in USE___THREAD case.
1689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1690         Likewise.
1691         * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
1692         __attribute__((tls_model (""))).
1693         * configure: Rebuilt.
1694         * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
1696 2002-10-15  Ulrich Drepper  <drepper@redhat.com>
1698         * timezone/asia: Update from tzdata2002d.
1699         * timezone/australasia: Likewise.
1700         * timezone/iso3166.tab: Likewise.
1701         * timezone/southamerica: Likewise.
1702         * timezone/zone-tab: Likewise.
1704 2002-10-15  Roland McGrath  <roland@redhat.com>
1706         * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
1707         Adjust TCB pointer before calling free, so we get the whole block.
1709 2002-10-14  Roland McGrath  <roland@redhat.com>
1711         * sysdeps/unix/sysv/linux/x86_64/sigaction.c
1712         [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
1713         extern using attribute_hidden instead of static, avoids warning.
1715 2002-10-09  Jakub Jelinek  <jakub@redhat.com>
1717         * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
1718         * sysdeps/unix/sysv/linux/configure: Rebuilt.
1720 2002-10-14  Ulrich Drepper  <drepper@redhat.com>
1722         * po/sv.po: Update from translation team.
1724 2002-10-12  H.J. Lu  <hjl@gnu.org>
1726         * sunrpc/thrsvc.c (PROCQUIT): New.
1727         (struct rpc_arg): New.
1728         (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
1729         (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
1730         (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
1731         (main): Modified for struct rpc_arg *.
1733 2002-10-14  Ulrich Drepper  <drepper@redhat.com>
1735         * dirent/scandir.c: Rearrange code a bit to reduce binary size.
1737 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
1739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
1740         (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
1741         in ld.so even if __thread is supported.
1743 2002-10-13  Jakub Jelinek  <jakub@redhat.com>
1745         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1746         Add hack to prevent the compiler from clobbering the signal context.
1747         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1748         Likewise.
1749         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
1750         Likewise.
1752 2002-10-14  Andreas Jaeger  <aj@suse.de>
1754         * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
1755         Guido Guenther <agx@sigxcpu.org>.
1757 2002-10-14  Ulrich Drepper  <drepper@redhat.com>
1759         * po/sk.po: Update from translation team.
1761 2002-09-26  Roland McGrath  <roland@redhat.com>
1763         * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
1764         dynamic string tag.
1765         * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
1766         DL_DST_LIB based on $(slibdir).
1768 2002-10-13  Roland McGrath  <roland@frob.com>
1770         * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
1772         * sysdeps/mach/hurd/getresuid.c: New file.
1773         * sysdeps/mach/hurd/getresgid.c: New file.
1774         * sysdeps/mach/hurd/setresuid.c: New file.
1775         * sysdeps/mach/hurd/setresgid.c: New file.
1777         * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
1778         setresgid): Declare them.
1779         * NEWS: Mention it.
1780         * include/unistd.h
1781         (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
1782         add libc_hidden_proto.
1783         * posix/Versions (libc: GLIBC_2.3.2): New set.  Add
1784         getresuid, getresgid, setresuid, setresgid here.
1785         * Versions.def (libc): Define GLIBC_2.3.2 set.
1786         * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
1787         Add libc_hidden_def.
1788         * sysdeps/generic/getresgid.c (__getresgid): Likewise.
1789         * sysdeps/generic/setresgid.c: New file.
1790         * sysdeps/generic/setresuid.c: New file.
1791         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1792         (sysdep_routines): Don't add getresuid and getresgid here.
1793         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
1794         (sysdep_routines): Don't add setresuid and setresgid here.
1795         * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
1796         * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
1797         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
1798         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
1799         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1800         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1801         * posix/Makefile (routines): Add them all here instead.
1802         * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
1803         __getresuid.  Add libc_hidden_def for that, and weak alias to old name.
1804         * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
1805         __getresgid.  Add libc_hidden_def for that, and weak alias to old name.
1806         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
1807         [! __NR_setresuid]: Include generic file.
1808         * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
1809         __setresgid.  Add libc_hidden_def for that, and weak alias to old name.
1810         [! __NR_setresuid]: Include generic file.
1811         * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
1812         Caller is - now, not EXTRA.
1813         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1814         (setresuid, setresgid, getresuid, getresgid): Likewise.
1815         * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
1816         Add these calls here.
1817         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
1818         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1819         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1820         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1821         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1824         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1825         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1827         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1828         (sysdep_routines): Add setfsuid and setfsgid here.
1829         * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
1830         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1831         * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
1832         * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
1833         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
1834         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
1835         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1836         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1838         * hurd/errno.c: Renamed to ...
1839         * hurd/errno-loc.c: ... this.
1840         * hurd/Makefile (routines): errno -> errno-loc
1842 2002-10-13  Ulrich Drepper  <drepper@redhat.com>
1844         * po/de.po: Update from translation team.
1846         * MakeTAGS: Add -E flag to xgettext runs.
1848 2002-10-12  Ulrich Drepper  <drepper@redhat.com>
1850         * po/fr.po: Update from translation team.
1852         * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
1853         Optimize a bit for use in glibc.
1855 2002-10-12  Roland McGrath  <roland@redhat.com>
1857         * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
1858         Some machines are slow.  Guido Guenther <agx@sigxcpu.org> has one.
1860 2002-10-12  Ulrich Drepper  <drepper@redhat.com>
1862         * po/sv.po: Update from translation team.
1864 2002-10-11  Isamu Hasegawa  <isamu@yamato.ibm.com>
1866         * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
1867         OP_CONTEXT_NODE.
1868         (regfree): Likewise.
1869         (create_initial_state): Likewise.
1870         (analyze): Remove the substitutions which became useless.
1871         (calc_first): Likewise.
1872         (calc_epsdest): Use edests of OP_BACK_REF in case that it has
1873         epsilon destination.
1874         (duplicate_node_closure): New function.
1875         (duplicate_node): Remove the handling OP_CONTEXT_NODE.
1876         (calc_inveclosure): Likewise.
1877         (calc_eclosure): Likewise.
1878         (calc_eclosure_iter): Invoke duplicate_node_closure instead of
1879         direct invocation of duplicate_node.
1880         (parse): Don't use comma operator in the return to avoid compiler
1881         warning.
1882         (parse_reg_exp): Likewise.
1883         (parse_branch): Likewise.
1884         (parse_expression): Likewise.
1885         (parse_sub_exp): Likewise.
1886         (parse_dup_op): Likewise.
1887         * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
1888         which became useless.
1889         (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
1890         (create_cd_newstate): Likewise.
1891         * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
1892         (re_token_t): Likewise.
1893         (re_dfa_t): Likewise.
1894         (re_node_set_remove): New macro.
1895         * posix/regexec.c (check_matching): Remove the handling
1896         OP_CONTEXT_NODE.
1897         (check_halt_node_context): Likewise.
1898         (proceed_next_node): Likewise.
1899         (pop_fail_stack): Fix the memory leak.
1900         (set_regs): Likewise.
1901         (free_fail_stack_return): New function.
1902         (sift_states_backward): Fix the memory leak.  Remove the handling
1903         OP_CONTEXT_NODE.
1904         (update_cur_sifted_state): Append some if clause to avoid redundant
1905         call.
1906         (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
1907         back reference.
1908         (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
1909         (check_subexp_limits): Likewise.
1910         (search_subexp): Likewise.
1911         (sift_states_bkref): Likewise.
1912         (transit_state_mb): Likewise.
1913         (transit_state_bkref_loop): Likewise.
1914         (transit_state_bkref_loop): Likewise.
1915         (group_nodes_into_DFAstates): Likewise.
1916         (check_node_accept): Likewise.
1917         (sift_ctx_init): Add initializing.
1919 2002-10-12  Ulrich Drepper  <drepper@redhat.com>
1921         * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
1922         __builtin_expect.
1924 2002-10-11  Ulrich Drepper  <drepper@redhat.com>
1926         * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
1927         duplicated variable c.
1929         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
1930         if possible.
1932         * sysdeps/unix/sysv/linux/i386/sysdep.h
1933         (INTERNAL_SYSCALL_ERROR_P): New define.
1934         (INTERNAL_SYSCALL_ERRNO): Likewise.
1936         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1937         Add hack to prevent the compiler from clobbering the signal context.
1939 2002-10-11  Roland McGrath  <roland@redhat.com>
1941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1942         Fix typos.
1944         * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
1945         * sysdeps/sh/dl-lookupcfg.h: File removed.
1946         * sysdeps/i386/dl-lookupcfg.h: File removed.
1948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
1949         missing labels and ; from last change.
1951         * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
1952         number literals, so they are doubles instead of ints.
1954 2002-10-09  Roland McGrath  <roland@redhat.com>
1956         * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
1957         changed from [USE_TLS && HAVE___THREAD].
1959         * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
1960         Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
1961         * sysdeps/x86_64/dl-machine.h
1962         (elf_machine_type_class, elf_machine_rela): Likewise.
1963         * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
1964         Likewise.
1966         * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
1967         * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
1968         (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
1970         * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
1971         instead of ___tls_get_addr.
1972         (___tls_get_addr_internal): Add attribute_hidden to decl.
1974         * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
1975         _dl_error_catch_tsd.
1976         * elf/rtld.c (startup_error_tsd): New function.
1977         (dl_main): Point _dl_error_catch_tsd at that.
1978         * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
1979         use new function pointer instead.
1980         * elf/dl-tsd.c: New file.
1981         * elf/Makefile (routines): Add it.
1983 2002-10-07  Roland McGrath  <roland@redhat.com>
1985         * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
1986         writev if it's available.  Otherwise if [RTLD_PRIVATE_ERRNO] then
1987         take _dl_load_lock around calling __writev.
1989         * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
1990         (INLINE_SYSCALL): Use that.
1992         * sysdeps/generic/dl-sysdep.h: New file.
1993         * sysdeps/mach/hurd/dl-sysdep.h: New file.
1994         * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
1995         * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
1996         [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
1997         access it directly.
1998         * elf/dl-minimal.c (__errno_location): Removed.
1999         * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
2000         Use GOTOFF access for errno.
2001         * sysdeps/unix/sysv/linux/i386/sysdep.h
2002         [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
2004         * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
2005         Use PC-relative access for errno.
2006         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2007         [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
2009         * include/tls.h: New file.
2010         (USE___THREAD): New macro.
2011         Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
2012         libc or libpthread.
2013         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
2014         changed from [USE_TLS && HAVE___THREAD].
2015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2016         * sysdeps/unix/i386/sysdep.S: Likewise.
2017         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2018         * include/errno.h: Likewise.
2019         * include/netdb.h: Likewise.
2020         * include/resolv.h: Likewise.
2022         * sysdeps/generic/errno.c: New file.
2023         * csu/Makefile (aux): New variable, list errno.
2024         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
2025         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2026         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
2027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2029         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
2030         * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
2031         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
2032         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2033         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
2034         * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
2035         * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
2036         * sysdeps/unix/alpha/sysdep.S: Likewise.
2037         * sysdeps/generic/start.c: Likewise.
2038         * sysdeps/unix/start.c: Likewise.
2039         * sysdeps/unix/arm/start.c: Likewise.
2040         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
2041         * sysdeps/unix/sparc/start.c: Likewise.
2042         * sysdeps/unix/sysv/irix4/start.c: Likewise.
2043         * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
2045         * manual/search.texi (Tree Search Function, Hash Search Function):
2046         Mention search.h clearly.
2048 2002-10-05  Roland McGrath  <roland@redhat.com>
2050         * elf/dl-fxstat64.c: File removed.
2051         * elf/dl-xstat64.c: File removed.
2052         * elf/Makefile (rtld-routines): Remove them.
2053         * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
2054         Instead, use strong_alias instead of versioned_symbol in the
2055         !SHLIB_COMPAT case.
2056         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2057         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2059         * include/shlib-compat.h
2060         (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
2061         [! NOT_IN_libc] (IS_IN_libc): Define it.
2062         * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
2063         * elf/Makefile (CPPFLAGS-.os): Likewise.
2065         * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
2066         Return the status instead of calling exit.
2068         * Makeconfig (CFLAGS): Prepend -std=gnu99.
2069         * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
2070         Remove superfluous rm command, whose @ plus make bugs hid
2071         all these commands from the make output.
2073         * include/stubs-prologue.h: New file.  Give #error under #ifdef _LIBC.
2074         * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
2075         Use that file's contents instead of literal echo's for the prologue.
2076         * include/features.h: Include <gnu/stubs.h> unconditionally.
2077         * include/gnu/stubs.h: New file.
2079 2002-09-30  Roland McGrath  <roland@redhat.com>
2081         * elf/rtld-Rules: New file.
2082         * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
2083         $(objpfx)rtld-libc.a): New targets.
2084         (generated): Add them.
2085         (reloc-link): Remove -o $@ from the variable.
2086         ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
2087         (distribute): Add rtld-Rules.
2088         (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
2089         * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
2090         (common-mostlyclean, common-clean): Clean up rtld-* files.
2091         * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
2093 2002-10-11  Roland McGrath  <roland@redhat.com>
2095         * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
2096         now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
2098         * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
2099         proper set of no-op insn prefixes.
2101         * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
2103 2002-10-11  Ulrich Drepper  <drepper@redhat.com>
2105         * sysdeps/unix/sysv/linux/execve.c: Don't try calling
2106         __pthread_kill_other_threads_np.
2108         * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
2110 2002-10-08  Roland McGrath  <roland@redhat.com>
2112         * locale/newlocale.c (__newlocale): If setting all categories to "C",
2113         just return &_nl_C_locobj instead of copying it.
2114         * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
2115         * locale/duplocale.c (__duplocale): Likewise.
2117 2002-10-07  Roland McGrath  <roland@frob.com>
2119         * config.h.in (HAVE_I386_SET_GDT): New #undef.
2120         * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
2121         * sysdeps/mach/configure: Regenerated.
2123 2002-10-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
2126         Add all necessary register outputs for syscall-clobbered registers.
2128 2002-10-02  David Mosberger  <davidm@hpl.hp.com>
2130         * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
2131         Itanium 2 (and Itanium).
2132         Fix unwind directives and make it fit in 80 columns.
2133         * sysdeps/ia64/memset.S: Likewise.
2134         * sysdeps/ia64/memcpy.S: Likewise.
2135         Move jump table to .rodata section.
2137 2002-10-03  Roland McGrath  <roland@frob.com>
2139         * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
2140         clobbers to asm.
2142 2002-10-10  Andreas Jaeger  <aj@suse.de>
2144         * sysdeps/x86_64/_mcount.S: Restore correct registers.
2146 2002-10-10  Ulrich Drepper  <drepper@redhat.com>
2148         * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
2150 2002-10-09  Ulrich Drepper  <drepper@redhat.com>
2152         * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
2153         _dl_allocate_tls_init.  Add rtld_hidden_proto.
2154         * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
2155         rtld_hidden_def.
2156         * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
2158         * version.h (VERSION): Bump to 2.3.1.
2160         * Make-dist: Add back one of the tar invocations removed before.
2162         * stdlib/Makefile (distribute): Add allocalim.h.
2164         * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
2165         (__libc_tsd_address): Use correct variable name.
2166         Patch by Stefan Jones <stefan.jones@multigig.com>.
2168         * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
2169         Reported by edwardsg@sgi.com [PR libc/4678].
2171         * Versions.def (libc): Add GLIBC_2.3.1.
2172         (libpthread): Add GLIBC_2.3.1.
2174         * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
2175         and __sigtimedwait.
2176         * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
2177         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
2178         libc_hidden_def.
2179         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2180         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2182         * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
2183         * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
2184         and make old name an alias.
2185         * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
2186         and make old name an alias.
2187         * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
2188         __libc_msgsnd.
2190         * include/sys/uio.h: Declare __libc_readv and __libc_writev.
2191         * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
2192         __libc_writev.
2193         * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
2194         old name an alias.
2195         * sysdeps/posix/readv.c: Likewise
2196         * sysdeps/unix/sysv/aix/readv.c: Likewise.
2197         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2198         * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
2199         old name an alias.
2200         * sysdeps/posix/writev.c: Likewise
2201         * sysdeps/unix/sysv/aix/writev.c: Likewise.
2202         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2204         * include/sys/wait.h: Declare __waitid.
2205         * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
2206         * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
2207         name an alias.
2208         * sysdeps/posix/waitid.c: Likewise.
2209         * sysdeps/unix/sysv/aix/waitid.c: Likewise.
2211         * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
2213 2002-10-07  Jakub Jelinek  <jakub@redhat.com>
2215         * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
2216         prototypes.
2217         (__MAX_ALLOCA_CUTOFF): Define.
2218         Include allocalim.h.
2219         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
2220         _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
2221         host_buffer depending on __libc_use_alloca.
2222         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
2223         _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
2224         net_buffer depending on __libc_use_alloca.
2225         * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
2226         buf depending on __libc_use_alloca.
2227         * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
2228         * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
2229         instead of hardcoded constants.
2230         Pass proper size argument to alloca and compute end for wide char
2231         version.
2232         * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
2233         instead of hardcoded constants.
2234         * string/strcoll.c (strcoll): Likewise.
2235         * string/strxfrm.c (strxfrm): Likewise.
2236         * sysdeps/posix/readv.c (__readv): Likewise.
2237         * sysdeps/posix/writev.c (__writev): Likewise.
2238         * sysdeps/generic/allocalim.h: New file.
2240 2002-10-08  Roland McGrath  <roland@redhat.com>
2242         * configure.in (aux_missing warning): Change "too old" to
2243         "incompatible versions", since for autoconf it's "too new" right now.
2244         * configure: Regenerated.
2246         * configure.in (AUTOCONF): New check to set it.  Set to "no" if the
2247         one found doesn't work on our configure.in.
2248         * configure: Regenerated.
2249         * config.make.in (AUTOCONF): New substituted variable.
2250         * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
2251         (autoconf-it): ... here, use that instead of defining conditionally.
2252         Use $(AUTOCONF) instead of literal autoconf.
2253         [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
2254         with this condition.
2255         * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
2257 2002-10-08  Ulrich Drepper  <drepper@redhat.com>
2259         * Make-dist (dist): Cleanup a bit.  We are not interested in the
2260         14 char filename limit anymore.  Remove intermediate files and
2261         symlinks.
2263 2002-10-05  Ulrich Drepper  <drepper@redhat.com>
2265         * po/sk.po: Update from translation team.
2266         * po/tr.po: Likewise.
2267         * po/gl.po: Likewise.
2269 2002-10-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2271         * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
2273 2002-10-03  Ulrich Drepper  <drepper@redhat.com>
2275         * version.h (RELEASE): Change to stable.
2277 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
2279         * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
2280         __syscall_exit_group): New prototypes.
2282 2002-10-03  Ulrich Drepper  <drepper@redhat.com>
2284         * glibc 2.3 released.
2287 See ChangeLog.13 for earlier changes.