Update.
[kopensolaris-gnu/glibc.git] / ChangeLog
1 2002-11-06  Ulrich Drepper  <drepper@redhat.com>
2
3         * posix/regcomp.c: Use tabs instead of spaces.
4         * posix/regexec.c: Likewise.
5         * posix/regex_internal.h: Likewise.
6
7         * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
8
9 2002-11-06  Jakub Jelinek  <jakub@redhat.com>
10
11         * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
12         here.
13         (regcomp): Don't set can_be_null here.
14         (re_comp): Clear whole re_comp_buf with the exception of fastmap.
15         (re_compile_internal): Clear can_be_null, set regs_allocated.
16
17         * posix/regcomp.c (re_set_fastmap): New function.
18         (re_compile_fastmap_iter): Use it.  Remove redundant type ==
19         COMPLEX_BRACKET check.
20         * posix/regexec.c (re_search_internal): Optimize searching with
21         fastmap.  Call re_string_reconstruct even if match_first is
22         smaller than raw_mbs_idx.
23
24 2002-11-06  Isamu Hasegawa  <isamu@yamato.ibm.com>
25
26         * posix/regcomp (free_dfa_content): Use free_state.
27         * posix/regex_internal.c (re_string_realloc_buffers): Don't edit
28         pointers in case that realloc failed.
29         (re_node_set_merge): Likewise.
30         (register_state): Likewise.
31         (create_newstate_common): Invoke memory release functions in case of
32         error conditions.
33         (create_ci_newstate): Likewise.
34         (create_cd_newstate): Likewise.
35         (free_state): New function.
36         * posix/regexec.c (re_search_internal): Invoke memory release
37         functions in case of error conditions.
38         (sift_states_backward): Likewise.
39         (merge_state_array): Likewise.
40         (add_epsilon_src_nodes): Likewise.
41         (sub_epsilon_src_nodes): Likewise.
42         (search_subexp): Likewise.
43         (sift_states_bkref): Likewise.
44         (transit_state_sb): Likewise.
45         (transit_state_mb): Likewise.
46         (transit_state_bkref_loop): Likewise.
47         (group_nodes_into_DFAstates): Likewise.
48         (push_fail_stack): Don't edit pointers in case that realloc failed.
49         (extend_buffers): Likewise.
50         (match_ctx_add_entry): Likewise.
51
52 2002-11-06  Roland McGrath  <roland@redhat.com>
53
54         * configure.in: Add checks on as and ld for binutils 2.13 or later.
55         * configure: Regenerated.
56
57 2002-11-06  Ulrich Drepper  <drepper@redhat.com>
58
59         * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail.
60         If re_compile_internal failed free fastmap buffer.
61         (free_dfa_content): Broken out of regfree function.  Frees all dfa
62         related data.
63         (regfree): Add free_dfa_content.
64         (re_compile_internal): If any of the called functions fails free
65         all dfa related memory.
66
67 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
68
69         * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
70         warnings from the kernel headers.
71
72 2002-11-05  Roland McGrath  <roland@redhat.com>
73
74         * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
75         From Johannes Stezenbach <js@convergence.de>.
76
77         * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
78         #errlist-compat magic comment to give 123 as size.
79         (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
80         (libc: GLIBC_2.2): ... here.
81         (libc: GLIBC_2.3): Likewise.
82
83 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
84
85         * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount
86         which happens at the beginning so that we can unload modules in
87         __libc_freeres.
88
89 2002-11-06  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
90
91         * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
92         under [__USE_MISC || _ASM].
93
94         * elf/elf.h: Remove the obsolete SH TLS relocations.
95
96 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
97
98         * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
99
100 2002-11-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
101
102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
103         __NR_pread64 and __NR_pwrite64.
104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
105         * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
106         and __NR_pwrite64.
107         Revert change to use INLINE_SYSCALL.
108         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
109         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
110         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
111         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
112         INLINE_SYSCALL.
113         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
114
115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
116         Update clobber list and add a comment about the syscall ABI.
117
118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
119         s_pwrite64, s_ftruncate, s_truncate): Re-add.
120
121 2002-11-05  Jakub Jelinek  <jakub@redhat.com>
122
123         * iconv/gconv_dl.c (free_mem): Clear loaded.
124         * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's
125         cleanup if any.
126
127 2002-11-05  Ulrich Drepper  <drepper@redhat.com>
128
129         * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>.
130
131         * libio/ioseekoff.c: Remove INTDEF.  Define _IO_seekoff_unlocked.  Same
132         as old code without locking.  _IO_seekoff calls this function after
133         locking the stream.
134         * libio/ioseekpos.c: Likewise for _IO_seekpos.
135         * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal
136         prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked
137         prototypes.
138         * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead
139         of _IO_seekoff_internal.
140         (_IO_rewind): Likewise.
141         * libio/ioftell.c: Likewise.
142         * libio/ftello.c: Likewise.
143         * libio/ftello64.c: Likewise.
144         * libio/iofgetpos.c: Likewise.
145         * libio/iofgetpos64.c: Likewise.
146         * libio/oldiofgetpos.c: Likewise.
147         * libio/oldiofgetpos64.c: Likewise.
148         * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of
149         _IO_seekpos_internal.
150         * libio/iofsetpos64.c: Likewise.
151         * libio/oldiofsetpos.c: Likewise.
152         * libio/oldiofsetpos64.c: Likewise.
153
154 2002-11-04  Roland McGrath  <roland@redhat.com>
155
156         * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro.
157         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
158         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
159         * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise.
160         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
161         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
163         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
165         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl,
167         s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64,
168         sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev):
169         Remove these, no longer used.
170
171 2002-11-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
172
173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
174         s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
175         s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
176         s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
177         s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
178         s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
179         syscall stubs.
180
181         * sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
182         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
183         * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
184         and __NR_pread.
185         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
186         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
187         and __NR_pwrite.
188         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
189
190 2002-11-03  Roland McGrath  <roland@redhat.com>
191
192         * sysdeps/generic/ldsodefs.h (struct rtld_global): New member
193         `_dl_tls_static_used'.
194         * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
195         (__libc_setup_tls): Initialize it.  Let the initial value of
196         _dl_tls_static_size indicate some surplus space in the computed value.
197         * elf/dl-open.c (_dl_tls_static_size): New variable.
198         * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize
199         _dl_tls_static_used.  Add some surplus space into _dl_tls_static_size.
200         * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
201         (CHECK_STATIC_TLS): Use it.
202         * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the
203         closed objects occupied a trailing contiguous chunk of static TLS area.
204
205 2002-10-18  Bruno Haible  <bruno@clisp.org>
206
207         * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0.
208
209 2002-11-04  Ulrich Drepper  <drepper@redhat.com>
210
211         * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and
212         _wide_data->_IO_read_end if adjustment can be made in the current
213         buffer.
214
215         * sysdeps/unix/sysv/linux/fexecve.c: New file.
216
217         * libio/bug-wfflush.c (do_test): Using fseek is not allowed when
218         wide oriented streams are used.
219
220         * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the
221         service hasn't been used [PR libc/4744].
222
223         * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
224         Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766].
225
226         * manual/examples/dir.c: Don't include <stddef.h>.
227         * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
228         Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.
229
230 2002-11-02  H.J. Lu  <hjl@gnu.org>
231
232         * stdio-common/reg-printf.c: Include <stddef.h>.
233
234 2002-11-03  Ulrich Drepper  <drepper@redhat.com>
235
236         * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used.
237
238         * po/ca.po: Update from translation team.
239         * po/es.po: Likewise.
240
241         * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF
242         is defined write out memory map.
243         * sysdeps/unix/sysv/linux/segfault.c: New file.
244
245 2002-11-02  Roland McGrath  <roland@redhat.com>
246
247         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for
248         pointers that can alias.
249         Reported by Daniel Jacobowitz <drow@mvista.com>.
250
251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.
252
253 2002-11-02  Roland McGrath  <roland@redhat.com>
254
255         * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
256         description to be clearer and to say that *RESULT is set to ENTRY.
257
258 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
259
260         * posix/regexec.c (build_trtable): Alloca or malloc dests_node and
261         dests_ch arrays together.  Alloca or malloc dest_states,
262         dest_states_word and dest_states_nl arrays together.  Free memory on
263         error exit.
264
265 2002-10-29  Daniel Jacobowitz  <drow@mvista.com>
266
267         * crypt/crypt_util.c (__init_des_r): Initialize current_salt
268         and current_saltbits.
269
270 2002-11-02  Roland McGrath  <roland@redhat.com>
271
272         * stdio-common/reg-printf.c: Include <stdlib.h>.
273
274 2002-11-02  H.J. Lu  <hjl@gnu.org>
275
276         * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
277         caller to EXTRA instead of execve.
278
279 2002-11-01  Roland McGrath  <roland@redhat.com>
280
281         * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
282         in place of [!(USE_TLS && HAVE___THREAD)].
283         (__errno_location) [! USE___THREAD]: Define as strong, not weak.
284
285 2002-10-31  Roger Sayle  <roger@eyesopen.com>
286
287         * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
288         New macros.
289         * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
290
291         * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
292         without defining FP_ROUNDMODE.
293
294 2002-10-29  Jakub Jelinek  <jakub@redhat.com>
295
296         * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
297         (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
298         declare_symbol.
299         * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
300         (OLD_SIGLIST_SIZE): Define.
301         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
302         (OLD_SIGLIST_SIZE): Define.
303         * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
304
305 2002-11-01  Jakub Jelinek  <jakub@redhat.com>
306
307         * sysdeps/ia64/strncpy.S: Fix recovery code.
308
309 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
310
311         * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
312         New macros.
313         * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
314         text_set_element.
315         * elf/dl-libc.c (free_mem): Likewise.
316         * iconv/gconv_conf.c (free_mem): Likewise.
317         * iconv/gconv_db.c (free_mem): Likewise.
318         * iconv/gconv_dl.c (free_mem): Likewise.
319         * iconv/gconv_cache.c (free_mem): Likewise.
320         * intl/finddomain.c (free_mem): Likewise.
321         * intl/dcigettext.c (free_mem): Likewise.
322         * locale/setlocale.c (free_mem): Likewise.
323         * misc/fstab.c (fstab_free): Likewise.
324         * nss/nsswitch.c (free_mem): Likewise.
325         * posix/regcomp.c (free_mem): Likewise.
326         * resolv/gai_misc.c (free_res): Likewise.
327         * stdlib/fmtmsg.c (free_mem): Likewise.
328         * sunrpc/clnt_perr.c (free_mem): Likewise.
329         * sysdeps/generic/setenv.c (free_mem): Likewise.
330         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
331         * sysdeps/pthread/aio_misc.c (free_res): Likewise.
332         * time/tzset.c (free_mem): Likewise.
333         * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
334         * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
335         * malloc/set-freeres.c (__libc_freeres): Likewise.
336
337         * login/getutent.c: Include stdlib.h instead of stddef.h.
338         (buffer): Change into pointer to utmp, add libc_freeres_ptr.
339         (__getutent): Allocate buffer the first time it is run.
340         * login/getutid.c: Include stdlib.h instead of stddef.h.
341         (buffer): Change into pointer to utmp, add libc_freeres_ptr.
342         (__getutid): Allocate buffer the first time it is run.
343         * login/getutline.c: Include stdlib.h instead of stddef.h.
344         (buffer): Change into pointer to utmp, add libc_freeres_ptr.
345         (__getutline): Allocate buffer the first time it is run.
346         * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
347         (mtrace): Allocate malloc_trace_buffer.
348         * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
349         * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
350         * string/strerror.c: Include libintl.h and errno.h.
351         (buf): New variable.
352         (strerror): Only allocate buffer if actually needed (unknown error).
353         * time/tzfile.c (transitions): Add libc_freeres_ptr.
354         (freeres): Remove.
355
356 2002-10-25  Jakub Jelinek  <jakub@redhat.com>
357
358         * include/libc-symbols.h (libc_freeres_ptr): New macro.
359         * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
360         symbol_set_define.
361         (__libc_freeres): Free all pointers in that section.
362         * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
363         commands when creating .lds script.
364         (LDSEDCMD-c.so): New variable.
365         * inet/rcmd.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
366         (rcmd_af): Use strdup to allocate ahostbuf.
367         * inet/rexec.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
368         (rexec_af): Use strdup to allocate ahostbuf.
369         * stdio-common/reg-printf.c (printf_funcs): Remove.
370         (__printf_arginfo_table): Change into printf_arginfo_function **.
371         Add libc_freeres_ptr.
372         (__register_printf_function): Allocate __printf_arginfo_table
373         and __printf_function_table the first time it is called.
374         * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
375         printf_arginfo_function **.
376         (parse_one_spec): Add __builtin_expect.
377         * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
378         (free_mem): Remove.
379         * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
380         (free_mem): Remove.
381         * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
382         (string_space, map): Add libc_freeres_ptr.
383         (free_mem): Remove.
384         * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
385         (free_mem): Remove.
386         * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
387         (free_mem): Remove.
388         * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
389         (buffer): Add libc_freeres_ptr.
390         (free_mem): Remove for _LIBC.
391         * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
392         (free_mem): Remove.
393         * nss/getXXent.c (buffer): Add libc_freeres_ptr.
394         (free_mem): Remove.
395         * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
396         (free_mem): Remove.
397         * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
398         (free_mem): Remove.
399         * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
400         (free_mem): Remove.
401         * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
402         (free_mem): Remove.
403         * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
404         libc_freeres_ptr.
405         (free_mem): Remove.
406         * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
407         libc_freeres_ptr.
408         (free_mem): Remove.
409
410 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
411
412         * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
413         instead of duplicating the whole function in libc.
414
415 2002-10-31  Roland McGrath  <roland@redhat.com>
416
417         * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
418         Renamed from __bswap_16 (typo fix).  Reported by <dens@stl.sarov.ru>.
419
420 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
421
422         * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
423         32bit-predefine when creating .new32 list and -U for each
424         32bit-predefine when creating .new64 list.
425         * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
426
427 2002-10-29  Andreas Schwab  <schwab@suse.de>
428
429         * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
430         "testrtsig.h".  Reported by Daniel Jacobowitz <dan@debian.org>.
431
432 2002-10-25  Roland McGrath  <roland@redhat.com>
433
434         * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
435         * sysdeps/unix/sysv/linux/configure: Regenerated.
436
437         * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
438         _dl_starting_up decl.
439
440 2002-10-20  H.J. Lu  <hjl@gnu.org>
441
442         * sysdeps/unix/sysv/linux/configure.in: Don't check
443         /lib/modules/`uname -r`/build/include for kernel headers if
444         cross compiling.
445         * sysdeps/unix/sysv/linux/configure: Regenerated.
446
447 2002-10-25  Roland McGrath  <roland@redhat.com>
448
449         * math/math.h (M_LOG2El): Correct the value.
450         From Stephen L Moshier <steve@moshier.net>.
451
452         * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
453         conditional from __libc_multiple_libcs access.  Remove kludge for weak
454         symbol access with old compilers we no longer support.
455         * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
456         * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
457
458 2002-10-25  Roland McGrath  <roland@redhat.com>
459
460         * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
461         implement SV_RESETHAND by translating it to SA_RESETHAND.
462
463 2002-10-23  Alexandre Oliva  <aoliva@redhat.com>
464
465         * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
466         type on ELF64 platforms.
467
468 2002-10-24  Ulrich Drepper  <drepper@redhat.com>
469
470         * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
471
472         * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
473
474 2002-10-24  Jakub Jelinek  <jakub@redhat.com>
475
476         * elf/dl-misc.c: Include <sysdep.h>.
477         (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
478
479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
480         INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
481         (INLINE_SYSCALL): Use that.
482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
483         INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
484         (INLINE_SYSCALL): Use that.
485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
486         INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
487         (INLINE_SYSCALL): Use that.
488         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
489         dl-sysdep.h.
490         (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
491         (__INTERNAL_SYSCALL_STRING): Define.
492         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
493         dl-sysdep.h.
494         (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
495         (__INTERNAL_SYSCALL_STRING): Define.
496         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
497         __SYSCALL_STRING to inline_syscall*.
498         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
499         New macros.
500         (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
501         inline_syscall4, inline_syscall5, inline_syscall6): Add string
502         argument.
503
504 2002-10-24  Roland McGrath  <roland@redhat.com>
505
506         * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
507         * sysdeps/unix/sysv/linux/init-first.c: Not here.
508         * sysdeps/powerpc/elf/libc-start.c: Or here.
509         * sysdeps/unix/sysv/aix/libc-start.c: Or here.
510         * sysdeps/unix/sysv/aix/start-libc.c: Or here.
511         * sysdeps/unix/sysv/aix/init-first.c: Or here.
512         * sysdeps/generic/libc-start.c: Or here.
513         * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
514         access with [! SHARED].
515         * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
516
517         * libio/bug-wfflush.c: New file.
518         * libio/Makefile (tests): Add bug-wfflush.
519
520 2002-10-23  Roland McGrath  <roland@redhat.com>
521
522         * stdio-common/tst-fphex.c: New file.
523         * stdio-common/Makefile (tests): Add tst-fphex.
524         * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
525         of WNUMEND.  Fix counting of decimal point in WIDTH.  Print '0' pad
526         chars always before the value digits.
527         Reported by James Antill <james.antill@redhat.com>.
528
529 2002-10-24  Jakub Jelinek  <jakub@redhat.com>
530
531         * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
532         (free_mem): New function.
533         * posix/Makefile (tests): Add bug-regex14.  Add bug-regex14-mem
534         if not cross compiling.
535         (generated): Add bug-regex14-mem and bug-regex14.mtrace.
536         (bug-regex14-ENV): Set.
537         (bug-regex14-mem): New target.
538         * posix/bug-regex14.c: New file.
539
540 2002-10-23  Roland McGrath  <roland@redhat.com>
541
542         * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
543         target, so we don't touch it when the link fails.
544
545         * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
546         Check for the result overflowing off_t and fail with EOVERFLOW.
547         * libio/ioftell.c (_IO_ftell): Likewise.
548         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
549
550         * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
551         use a temporary timeval on the stack for gettimeofday and copy it.
552         * login/logout.c (logout): Likewise.
553         Reported by Steven Munroe <sjmunroe@us.ibm.com>.
554
555         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
556         Use __SWORD_TYPE instead of int for member types.
557         (struct statfs64): Likewise.
558         * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
559         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
560         * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
561         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
562         * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
563
564         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
565         * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
566         (ST_NODIRATIME): Restore fixed value of 2048.
567         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
568         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
569
570         Rearranged <bits/types.h> definitions to reduce duplication.
571         * sysdeps/generic/bits/types.h: Rewritten, using macros from
572         <bits/wordsize.h> and new header <bits/typesizes.h>.
573         * posix/Makefile (headers): Add bits/typesizes.h here.
574         * sysdeps/generic/bits/typesizes.h: New file.
575         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
576         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
577         * sysdeps/mach/hurd/bits/typesizes.h: New file.
578         * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
579         * sysdeps/unix/sysv/linux/bits/types.h: File removed.
580         * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
581         * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
582         * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
583         * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
584         * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
585         * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
586         <bits/pthreadtypes.h> here, not in <bits/types.h>.
587         * signal/signal.h: Likewise.
588
589         * streams/stropts.h: Include <bits/xtitypes.h>.
590         * streams/Makefile (headers): Add bits/xtitypes.h here.
591         * sysdeps/generic/bits/xtitypes.h: New file.
592         * sysdeps/s390/bits/xtitypes.h: New file.
593         * sysdeps/ia64/bits/xtitypes.h: New file.
594         * sysdeps/x86_64/bits/xtitypes.h: New file.
595
596         * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
597         * sysdeps/generic/bits/ipctypes.h: New file.
598         * sysdeps/mips/bits/ipctypes.h: New file.
599         * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
600         * sysdeps/gnu/bits/msq.h: Likewise.
601         * sysvipc/sys/ipc.h: Likewise.
602
603 2002-10-22  Ulrich Drepper  <drepper@redhat.com>
604
605         * elf/dl-load.c (struct filebuf): For buf element to have the
606         alignment of ElfXX_Ehdr since this is what will be stored in it.
607
608 2002-10-22  Jakub Jelinek  <jakub@redhat.com>
609
610         * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
611         into pointer to locrec_offset.
612         (add_locale_to_archive): Adjust callers.  Free normalized_name right
613         before returning, not immediately after add_locale, pass it to
614         add_alias if not NULL instead of name.  Rename second normalized_name
615         occurence to nnormalized_codeset_name.
616
617         * locale/programs/locarchive.c (enlarge_archive): Make sure
618         string_size is always a multiple of 4.
619         Reported by Andreas Schwab <schwab@suse.de>.
620
621 2002-10-21  Andreas Schwab  <schwab@suse.de>
622
623         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
624         caller to EXTRA instead of execve, since the latter has a
625         higher-priority implementation in linuxthreads.
626
627 2002-10-21  Roland McGrath  <roland@redhat.com>
628
629         * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
630         slotinfo list's len member to the proper size, not just 1.
631         Initialize static_map.l_tls_initimage.
632
633         * elf/dl-open.c (dl_open_worker): Fix loop searching for
634         dtv_slotinfo_list element containing new modules' l_tls_modid.
635
636         * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
637         * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
638         * elf/Makefile (tests): Add tst-tls9.
639         (tests-static): Add tst-tls9-static.
640         (tst-tls9-static-ENV): New variable.
641         ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
642
643         * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
644         modids used by partially loaded modules being closed can't be known.
645
646 2002-10-21  Isamu Hasegawa  <isamu@yamato.ibm.com>
647
648         * posix/Makefile: Add a test case for the bug reported by Aharon
649         Robbins <arnold@skeeve.com>.
650         * posix/bug-regex13.c: New file.
651         * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
652
653 2002-10-21  Ulrich Drepper  <drepper@redhat.com>
654
655         * csu/gmon-start.c: Pretty printing.
656
657 2002-10-19  Art Haas  <ahaas@neosoft.com>
658
659         * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
660         add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
661         add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
662         * configure: Regenerated.
663
664 2002-10-19  Roland McGrath  <roland@redhat.com>
665
666         * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
667         and then set $subdirs directly, because the new Autoconf breaks
668         compatibility in every way imaginable and insists on whining
669         about usage that worked since the dawn of time.
670         * configure: Regenerated.
671
672         * configure: Regenerated (using Autoconf 2.54).
673         * sysdeps/alpha/elf/configure: Likewise.
674         * sysdeps/generic/configure: Likewise.
675         * sysdeps/i386/elf/configure: Likewise.
676         * sysdeps/ia64/elf/configure: Likewise.
677         * sysdeps/mach/hurd/configure: Likewise.
678         * sysdeps/mach/configure: Likewise.
679         * sysdeps/unix/configure: Likewise.
680         * sysdeps/unix/common/configure: Likewise.
681         * sysdeps/unix/sysv/aix/configure: Likewise.
682         * sysdeps/unix/sysv/linux/configure: Likewise.
683         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
684         * sysdeps/x86_64/elf/configure: Likewise.
685
686         * config.make.in: Nix completely-soft nonsense.
687         * configure.in: Likewise.  Under --without-fp, use nofpu subdirectory
688         of machine directories instead of fpu subdirectory.
689         * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
690         * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
691         * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
692         * sysdeps/powerpc/nofpu/sim-full.c: ... here.
693         * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
694         * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
695         * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
696         * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
697         * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
698         * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
699         * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
700         * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
701         * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
702         * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
703         * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
704         * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
705         * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
706         * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
707         * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
708         * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
709         * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
710         * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
711         * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
712         * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
713         * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
714         * sysdeps/powerpc/nofpu/fegetround.c: ... here.
715         * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
716         * sysdeps/powerpc/nofpu/fesetround.c: ... here.
717         * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
718         * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
719         * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
720         * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
721         * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
722         * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
723         * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
724         * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
725         * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
726         * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
727         * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
728         * sysdeps/powerpc/nofpu/Versions: ... here, new file.
729
730 2002-10-19  Bruno Haible  <bruno@clisp.org>
731
732         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
733
734 2002-10-18  Roland McGrath  <roland@redhat.com>
735
736         * io/Makefile (routines): Add lchmod.
737         * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
738         * sysdeps/generic/lchmod.c: New file.
739         * sysdeps/mach/hurd/lchmod.c: New file.
740         * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
741
742 2002-10-18  Art Haas  <ahaas@neosoft.com>
743
744         * configure.in: Remove remaining AC_FD_CC macros, and replace
745         AC_FD_MSG with AS_MESSAGE_FD.
746
747 2002-10-18  Roland McGrath  <roland@redhat.com>
748
749         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
750         typos: VALUE -> FINALADDR.
751
752         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
753         (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
754         (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
755         (inline_syscall6): Move these macros ...
756         * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
757
758         * configure.in (libc_link_dests, libc_link_sources): Remove these
759         variables and the AC_LINK_FILES call.
760
761         * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
762         change to put new symbols here instead of in GLIBC_2.2.
763         * sysdeps/powerpc/Subdirs: Move this file ...
764         * sysdeps/powerpc/soft-fp/Subdirs: ... here.
765
766 2002-10-07  Roland McGrath  <roland@redhat.com>
767
768         * sysdeps/generic/bits/time.h: Replaced with contents of the
769         sysdeps/unix/sysv/linux/i386/bits/time.h file.  All the following
770         files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
771         and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
772         macros is ok even for architectures that don't now implement them.
773         * sysdeps/mach/hurd/bits/time.h: File removed.
774         * sysdeps/unix/sysv/linux/bits/time.h: File removed.
775         * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
776         * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
777         * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
778         * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
779
780 2002-10-18  Jeff Bailey  <jbailey@gnu.org>
781
782         * configure.in: Replace obsolete AC_OUTPUT syntax with
783         AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
784
785         * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
786         _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
787
788         * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
789         * sysdeps/alpha/elf/configure.in: Likewise.
790         * sysdeps/i386/elf/configure.in: Likewise.
791         * sysdeps/mach/hurd/configure.in: Likewise.
792         * sysdeps/x86_64/elf/configure.in: Likewise.
793
794         * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
795
796         * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
797         * sysdeps/generic/configure.in: Likewise.
798         * sysdeps/i386/elf/configure.in: Likewise.
799         * sysdeps/ia64/elf/configure.in: Likewise.
800         * sysdeps/mach/configure.in: Likewise.
801         * sysdeps/mach/hurd/configure.in: Likewise.
802         * sysdeps/unix/configure.in: Likewise.
803         * sysdeps/unix/common/configure.in: Likewise.
804         * sysdeps/unix/sysv/aix/configure.in: Likewise.
805         * sysdeps/unix/sysv/linux/configure.in: Likewise.
806         * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
807         * sysdeps/x86_64/elf/configure.in: Likewise.
808
809         * aclocal.m4: Use just the bits from AS_INIT that are needed for the
810         GLIBC_PROVIDES.  Use plain comment instead of HEADER-COMMENT so
811         that it's obvious when extra autoconf machinery is being dragged in.
812
813 2002-10-18  Roland McGrath  <roland@redhat.com>
814
815         * configure.in: Remove bogus echo included in
816         2002-10-08  Aldy Hernandez  <aldyh@redhat.com> change.
817         * configure: Regenerated.
818
819 2002-10-18  Jakub Jelinek  <jakub@redhat.com>
820
821         * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
822         (statfs_filesize_max): New function.
823         * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
824         JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
825         ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
826         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
827         statfs_filesize_max.
828         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
829         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
830         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
831
832 2002-10-17  Roland McGrath  <roland@redhat.com>
833
834         * configure.in (MIG): Just AC_SUBST it here.
835         * configure: Regenerated.
836         * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
837         Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
838         * sysdeps/mach/configure: Regenerated.
839
840         * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
841         and AC_PROVIDE([_AS_CR_PREPARE]).
842
843         * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
844         Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
845
846         * elf/dl-support.c: Move _dl_tls_* variables to ...
847         * sysdeps/generic/libc-tls.c: ... here.
848
849         * elf/dl-close.c (remove_slotinfo): Take new argument.  If false,
850         allow IDX to be one past the current last slotinfo entry.
851         (_dl_close): Pass IMAP->l_init_called for that parameter.
852
853 2002-10-07  Andreas Schwab  <schwab@suse.de>
854
855         * aclocal.m4: Fix for autoconf 2.53.
856         * configure.in: Likewise.  Require autoconf 2.53.
857
858 2002-10-08  Richard Henderson  <rth@redhat.com>
859
860         * soft-fp/op-4.h: Handle carry correctly in
861         __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
862         __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
863         * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
864
865 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
866
867         * configure.in: Compute completely-soft.
868         * config.make.in: Make completely-soft available to sub-makes.
869         * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
870         gcc-double-routines.  Add sim-full.c.  Add fenv_const and
871         fe_nomask to libm-support.
872         * sysdeps/powerpc/soft-fp/sim-full.c: New file.
873         * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
874         * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
875         * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
876         * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
877         * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
878         * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
879         * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
880         * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
881         * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
882         * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
883         * sysdeps/powerpc/soft-fp/fegetround.c: New file.
884         * sysdeps/powerpc/soft-fp/fesetround.c: New file.
885         * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
886         * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
887         * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
888         * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
889         * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
890         * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
891         symbols.  Add __sim_disabled_exceptions, __sim_exceptions,
892         __sim_round_mode.
893         * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
894         * sysdeps/powerpc/soft-float/sfp-machine.h: Define
895         FP_HANDLE_EXCEPTIONS.
896         Define FP_ROUNDMODE.
897         Redefine FP_* macros to correspond to the FE_* bit positions.
898         Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
899         Define externs for __sim_exceptions, __sim_disabled_exceptions,
900         __sim_round_mode, __simulate_exceptions.
901         * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
902         * sysdeps/powerpc/bits/fenv.h: ...to here.
903
904 2002-10-06  Jakub Jelinek  <jakub@redhat.com>
905
906         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
907         Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
908         Use __builtin_expect for R_PPC_ADDR24 overflow check.  Fix
909         R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
910         __builtin_expect.
911
912 2002-10-15  Jakub Jelinek  <jakub@redhat.com>
913
914         * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
915         __libc_res_nsend): New prototypes.
916         * resolv/res_query.c (QUERYSIZE): Define.
917         (__libc_res_nquery): Renamed from res_nquery.  Added answerp
918         argument.  Allocate only QUERYSIZE bytes first, if res_nmkquery
919         fails use MAXPACKET buffer.  Call __libc_res_nsend instead of
920         res_nsend, pass answerp.
921         (res_nquery): Changed into wrapper around __libc_res_nquery.
922         (__libc_res_nsearch): Renamed from res_nsearch.  Added answerp
923         argument.  Call __libc_res_nquerydomain and __libc_res_nquery
924         instead of the non-__libc_ variants, pass them answerp.
925         (res_nsearch): Changed into wrapper around __libc_res_nsearch.
926         (__libc_res_nquerydomain): Renamed from res_nquerydomain.
927         Added answerp argument.  Call __libc_res_nquery instead of
928         res_nquery, pass answerp.
929         (res_nquerydomain): Changed into wrapper around
930         __libc_res_nquerydomain.
931         * resolv/res_send.c: Include sys/ioctl.h.
932         (MAXPACKET): Define.
933         (send_vc): Change arguments.  Reallocate answer buffer if it is
934         too small.
935         (send_dg): Likewise.
936         (__libc_res_nsend): Renamed from res_nsend.  Added ansp argument.
937         Reallocate answer buffer if it is too small and hooks are in use.
938         Adjust calls to send_vc and send_dg.
939         (res_nsend): Changed into wrapper around __libc_res_nsend.
940         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
941         just 1K answer buffer on the stack, use __libc_res_nsearch instead
942         of res_nsearch.
943         (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
944         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
945         (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
946         * resolv/gethnamaddr.c (gethostbyname2): Likewise.
947         (gethostbyaddr): Similarly with __libc_res_nquery.
948         * resolv/Versions (libresolv): Export __libc_res_nquery and
949         __libc_res_nsearch at GLIBC_PRIVATE.
950
951 2002-10-17  Roland McGrath  <roland@redhat.com>
952
953         * configure.in: Grok --without-__thread and disable HAVE___THREAD.
954         * configure: Regenerated.
955
956         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
957         before performing the reloc, not after.
958         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
959
960 2002-10-17  Ulrich Drepper  <drepper@redhat.com>
961
962         * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
963         * locale/programs/linereader.c (lr_open): Likewise.
964         * locale/programs/charmap-dir.c (charmap_open): Likewise.
965         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
966
967 2002-10-17  Isamu Hasegawa  <isamu@yamato.ibm.com>
968
969         * posix/bug-regex11.c: Add a test case for the bug reported by
970         Paolo Bonzini <bonzini@gnu.org>.
971         * posix/regexec.c (sift_states_bkref): Use correct destination of
972         the back reference.
973
974 2002-10-17  Roland McGrath  <roland@redhat.com>
975
976         * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
977         * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
978         to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
979         * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
980         Call it after performing TPOFF relocs.
981         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
982         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
983         * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
984
985         * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
986         when closing a partially-initialized object.
987
988         * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
989         instead of _dl_fatal_printf when we see PT_TLS.
990
991         * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
992         instead of $(libof-$<).
993
994 2002-10-16  Roland McGrath  <roland@redhat.com>
995
996         * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
997         instead of += to append, to be sure $(lib) gets expanded at defn time.
998         (libof-$(cpp-src)): New variable, define this instead.
999         * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
1000         (lib): Don't use override.
1001         (CPPFLAGS-$(lib)): New variable, put -D's here.
1002         * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
1003         Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
1004         LIB found by $(libof-*) for basename, target, or source.
1005         * Makerules (CPPFLAGS-nonlib): New variable.
1006         * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
1007         * locale/Makefile (lib): Likewise.
1008         * sunrpc/Makefile (lib): Likewise.
1009
1010         * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
1011         * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
1012         * sysdeps/unix/sysv/linux/pathconf.h: New file.
1013         (statfs_link_max): New function, guts from fpathconf.c.
1014         * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
1015         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1016         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
1017         to use the linux/pathconf.c code by #include rather than duplication.
1018         * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
1019
1020 2002-10-16  Jakub Jelinek  <jakub@redhat.com>
1021
1022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1023         Use __libc_errno only for libc itself.
1024
1025 2002-10-16  Andreas Jaeger  <aj@suse.de>
1026
1027         * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
1028
1029 2002-10-16  Ulrich Drepper  <drepper@redhat.com>
1030
1031         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1032         Use __libc_errno only for libc itself.
1033
1034 2002-10-15  Roland McGrath  <roland@redhat.com>
1035             Jakub Jelinek  <jakub@redhat.com>
1036
1037         * sysdeps/unix/sysv/linux/Makefile
1038         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
1039         sparc/Makefile to produce a bi-arch file as needed.
1040         That's now parameterized by the variable $(64bit-predefine).
1041         Use LC_ALL=C for `comm' commands in that rule.
1042         No longer conditional on [$(no_syscall_list_h)].
1043         * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
1044         (64bit-predefine): New variable.
1045         * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
1046         * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1047         * sysdeps/unix/sysv/linux/powerpc/Makefile
1048         (64bit-predefine): New variable.
1049
1050 2002-10-15  Roland McGrath  <roland@redhat.com>
1051
1052         * sysdeps/unix/sysv/linux/Makefile
1053         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
1054
1055         * login/utmp-private.h: Declare __libc_utmp_lock.
1056         * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
1057         and call __libc_utmp_jump_table functions directly, instead of using
1058         __setutent et al.
1059
1060         * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
1061         * sysdeps/unix/sysv/linux/configure: Regenerated.
1062
1063         * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
1064         (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
1065         Use int32_t for ll_time.
1066         (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
1067         Use int32_t instead of long int for ut_session.
1068         Use an anonymous struct with 32-bit fields for ut_tv.
1069         * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
1070         (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
1071         here as in utmp.h for `struct utmp'.
1072         * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
1073         * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
1074         * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
1075         * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
1076         * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
1077         * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
1078
1079         * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
1080         of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
1081         All the following files were identical or equivalent to it.
1082         * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
1083         * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
1084         * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
1085         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
1086         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
1087         * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
1088         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
1089         * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
1090         * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
1091         * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
1092
1093         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
1094         instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
1095         Other than the previously incorrect sign of msg_iovlen, this is a
1096         no-op on 32-bit platforms.  On 64-bit platforms it makes this header
1097         match their layouts as well, so the following are now identical to it.
1098         * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
1099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
1100         * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
1101         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
1102         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
1103
1104 2002-10-15  Ulrich Drepper  <drepper@redhat.com>
1105
1106         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
1107         Define for 2.4+ kernels.
1108
1109         * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
1110         are known to have the vfork syscall.  Don't confuse the CPUs
1111         branch prediction unit by jumping to the return address.
1112
1113         * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
1114         support for reiserfs and xfs.
1115
1116         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
1117         XFS link count.
1118         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
1119         and XFS_LINK_MAX.
1120         Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
1121
1122 2002-10-16  Jakub Jelinek  <jakub@redhat.com>
1123
1124         * include/libc-symbols.h (attribute_tls_model_ie): Define.
1125         * include/errno.h (errno): Define to __libc_errno in libc.so.
1126         Add attribute_tls_model_ie.
1127         * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
1128         Add attribute_tls_model_ie.
1129         * include/resolv.h (_res): Define to __libc_res in libc.so.  Add
1130         attribute_tls_model_ie.
1131         * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
1132         (h_errno): Define.
1133         * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
1134         (_res): Define.
1135         * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
1136         attribute_tls_model_ie.
1137         * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
1138         __thread.
1139         * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
1140         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
1141         __libc_errno in USE___THREAD case.
1142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1143         Likewise.
1144         * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
1145         __attribute__((tls_model (""))).
1146         * configure: Rebuilt.
1147         * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
1148
1149 2002-10-15  Ulrich Drepper  <drepper@redhat.com>
1150
1151         * timezone/asia: Update from tzdata2002d.
1152         * timezone/australasia: Likewise.
1153         * timezone/iso3166.tab: Likewise.
1154         * timezone/southamerica: Likewise.
1155         * timezone/zone-tab: Likewise.
1156
1157 2002-10-15  Roland McGrath  <roland@redhat.com>
1158
1159         * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
1160         Adjust TCB pointer before calling free, so we get the whole block.
1161
1162 2002-10-14  Roland McGrath  <roland@redhat.com>
1163
1164         * sysdeps/unix/sysv/linux/x86_64/sigaction.c
1165         [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
1166         extern using attribute_hidden instead of static, avoids warning.
1167
1168 2002-10-09  Jakub Jelinek  <jakub@redhat.com>
1169
1170         * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
1171         * sysdeps/unix/sysv/linux/configure: Rebuilt.
1172
1173 2002-10-14  Ulrich Drepper  <drepper@redhat.com>
1174
1175         * po/sv.po: Update from translation team.
1176
1177 2002-10-12  H.J. Lu  <hjl@gnu.org>
1178
1179         * sunrpc/thrsvc.c (PROCQUIT): New.
1180         (struct rpc_arg): New.
1181         (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
1182         (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
1183         (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
1184         (main): Modified for struct rpc_arg *.
1185
1186 2002-10-14  Ulrich Drepper  <drepper@redhat.com>
1187
1188         * dirent/scandir.c: Rearrange code a bit to reduce binary size.
1189
1190 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
1191
1192         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
1193         (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
1194         in ld.so even if __thread is supported.
1195
1196 2002-10-13  Jakub Jelinek  <jakub@redhat.com>
1197
1198         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1199         Add hack to prevent the compiler from clobbering the signal context.
1200         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
1203         Likewise.
1204
1205 2002-10-14  Andreas Jaeger  <aj@suse.de>
1206
1207         * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
1208         Guido Guenther <agx@sigxcpu.org>.
1209
1210 2002-10-14  Ulrich Drepper  <drepper@redhat.com>
1211
1212         * po/sk.po: Update from translation team.
1213
1214 2002-09-26  Roland McGrath  <roland@redhat.com>
1215
1216         * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
1217         dynamic string tag.
1218         * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
1219         DL_DST_LIB based on $(slibdir).
1220
1221 2002-10-13  Roland McGrath  <roland@frob.com>
1222
1223         * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
1224
1225         * sysdeps/mach/hurd/getresuid.c: New file.
1226         * sysdeps/mach/hurd/getresgid.c: New file.
1227         * sysdeps/mach/hurd/setresuid.c: New file.
1228         * sysdeps/mach/hurd/setresgid.c: New file.
1229
1230         * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
1231         setresgid): Declare them.
1232         * NEWS: Mention it.
1233         * include/unistd.h
1234         (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
1235         add libc_hidden_proto.
1236         * posix/Versions (libc: GLIBC_2.3.2): New set.  Add
1237         getresuid, getresgid, setresuid, setresgid here.
1238         * Versions.def (libc): Define GLIBC_2.3.2 set.
1239         * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
1240         Add libc_hidden_def.
1241         * sysdeps/generic/getresgid.c (__getresgid): Likewise.
1242         * sysdeps/generic/setresgid.c: New file.
1243         * sysdeps/generic/setresuid.c: New file.
1244         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1245         (sysdep_routines): Don't add getresuid and getresgid here.
1246         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
1247         (sysdep_routines): Don't add setresuid and setresgid here.
1248         * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
1249         * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
1250         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
1251         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
1252         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1253         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1254         * posix/Makefile (routines): Add them all here instead.
1255         * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
1256         __getresuid.  Add libc_hidden_def for that, and weak alias to old name.
1257         * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
1258         __getresgid.  Add libc_hidden_def for that, and weak alias to old name.
1259         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
1260         [! __NR_setresuid]: Include generic file.
1261         * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
1262         __setresgid.  Add libc_hidden_def for that, and weak alias to old name.
1263         [! __NR_setresuid]: Include generic file.
1264         * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
1265         Caller is - now, not EXTRA.
1266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1267         (setresuid, setresgid, getresuid, getresgid): Likewise.
1268         * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
1269         Add these calls here.
1270         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
1271         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1272         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1273         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1274         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1277         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1278         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1279
1280         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1281         (sysdep_routines): Add setfsuid and setfsgid here.
1282         * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
1283         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1284         * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
1285         * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
1286         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
1287         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
1288         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1289         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1290
1291         * hurd/errno.c: Renamed to ...
1292         * hurd/errno-loc.c: ... this.
1293         * hurd/Makefile (routines): errno -> errno-loc
1294
1295 2002-10-13  Ulrich Drepper  <drepper@redhat.com>
1296
1297         * po/de.po: Update from translation team.
1298
1299         * MakeTAGS: Add -E flag to xgettext runs.
1300
1301 2002-10-12  Ulrich Drepper  <drepper@redhat.com>
1302
1303         * po/fr.po: Update from translation team.
1304
1305         * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
1306         Optimize a bit for use in glibc.
1307
1308 2002-10-12  Roland McGrath  <roland@redhat.com>
1309
1310         * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
1311         Some machines are slow.  Guido Guenther <agx@sigxcpu.org> has one.
1312
1313 2002-10-12  Ulrich Drepper  <drepper@redhat.com>
1314
1315         * po/sv.po: Update from translation team.
1316
1317 2002-10-11  Isamu Hasegawa  <isamu@yamato.ibm.com>
1318
1319         * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
1320         OP_CONTEXT_NODE.
1321         (regfree): Likewise.
1322         (create_initial_state): Likewise.
1323         (analyze): Remove the substitutions which became useless.
1324         (calc_first): Likewise.
1325         (calc_epsdest): Use edests of OP_BACK_REF in case that it has
1326         epsilon destination.
1327         (duplicate_node_closure): New function.
1328         (duplicate_node): Remove the handling OP_CONTEXT_NODE.
1329         (calc_inveclosure): Likewise.
1330         (calc_eclosure): Likewise.
1331         (calc_eclosure_iter): Invoke duplicate_node_closure instead of
1332         direct invocation of duplicate_node.
1333         (parse): Don't use comma operator in the return to avoid compiler
1334         warning.
1335         (parse_reg_exp): Likewise.
1336         (parse_branch): Likewise.
1337         (parse_expression): Likewise.
1338         (parse_sub_exp): Likewise.
1339         (parse_dup_op): Likewise.
1340         * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
1341         which became useless.
1342         (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
1343         (create_cd_newstate): Likewise.
1344         * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
1345         (re_token_t): Likewise.
1346         (re_dfa_t): Likewise.
1347         (re_node_set_remove): New macro.
1348         * posix/regexec.c (check_matching): Remove the handling
1349         OP_CONTEXT_NODE.
1350         (check_halt_node_context): Likewise.
1351         (proceed_next_node): Likewise.
1352         (pop_fail_stack): Fix the memory leak.
1353         (set_regs): Likewise.
1354         (free_fail_stack_return): New function.
1355         (sift_states_backward): Fix the memory leak.  Remove the handling
1356         OP_CONTEXT_NODE.
1357         (update_cur_sifted_state): Append some if clause to avoid redundant
1358         call.
1359         (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
1360         back reference.
1361         (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
1362         (check_subexp_limits): Likewise.
1363         (search_subexp): Likewise.
1364         (sift_states_bkref): Likewise.
1365         (transit_state_mb): Likewise.
1366         (transit_state_bkref_loop): Likewise.
1367         (transit_state_bkref_loop): Likewise.
1368         (group_nodes_into_DFAstates): Likewise.
1369         (check_node_accept): Likewise.
1370         (sift_ctx_init): Add initializing.
1371
1372 2002-10-12  Ulrich Drepper  <drepper@redhat.com>
1373
1374         * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
1375         __builtin_expect.
1376
1377 2002-10-11  Ulrich Drepper  <drepper@redhat.com>
1378
1379         * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
1380         duplicated variable c.
1381
1382         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
1383         if possible.
1384
1385         * sysdeps/unix/sysv/linux/i386/sysdep.h
1386         (INTERNAL_SYSCALL_ERROR_P): New define.
1387         (INTERNAL_SYSCALL_ERRNO): Likewise.
1388
1389         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1390         Add hack to prevent the compiler from clobbering the signal context.
1391
1392 2002-10-11  Roland McGrath  <roland@redhat.com>
1393
1394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1395         Fix typos.
1396
1397         * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
1398         * sysdeps/sh/dl-lookupcfg.h: File removed.
1399         * sysdeps/i386/dl-lookupcfg.h: File removed.
1400
1401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
1402         missing labels and ; from last change.
1403
1404         * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
1405         number literals, so they are doubles instead of ints.
1406
1407 2002-10-09  Roland McGrath  <roland@redhat.com>
1408
1409         * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
1410         changed from [USE_TLS && HAVE___THREAD].
1411
1412         * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
1413         Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
1414         * sysdeps/x86_64/dl-machine.h
1415         (elf_machine_type_class, elf_machine_rela): Likewise.
1416         * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
1417         Likewise.
1418
1419         * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
1420         * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
1421         (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
1422
1423         * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
1424         instead of ___tls_get_addr.
1425         (___tls_get_addr_internal): Add attribute_hidden to decl.
1426
1427         * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
1428         _dl_error_catch_tsd.
1429         * elf/rtld.c (startup_error_tsd): New function.
1430         (dl_main): Point _dl_error_catch_tsd at that.
1431         * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
1432         use new function pointer instead.
1433         * elf/dl-tsd.c: New file.
1434         * elf/Makefile (routines): Add it.
1435
1436 2002-10-07  Roland McGrath  <roland@redhat.com>
1437
1438         * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
1439         writev if it's available.  Otherwise if [RTLD_PRIVATE_ERRNO] then
1440         take _dl_load_lock around calling __writev.
1441
1442         * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
1443         (INLINE_SYSCALL): Use that.
1444
1445         * sysdeps/generic/dl-sysdep.h: New file.
1446         * sysdeps/mach/hurd/dl-sysdep.h: New file.
1447         * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
1448         * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
1449         [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
1450         access it directly.
1451         * elf/dl-minimal.c (__errno_location): Removed.
1452         * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
1453         Use GOTOFF access for errno.
1454         * sysdeps/unix/sysv/linux/i386/sysdep.h
1455         [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
1456
1457         * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
1458         Use PC-relative access for errno.
1459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1460         [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
1461
1462         * include/tls.h: New file.
1463         (USE___THREAD): New macro.
1464         Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
1465         libc or libpthread.
1466         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
1467         changed from [USE_TLS && HAVE___THREAD].
1468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1469         * sysdeps/unix/i386/sysdep.S: Likewise.
1470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1471         * include/errno.h: Likewise.
1472         * include/netdb.h: Likewise.
1473         * include/resolv.h: Likewise.
1474
1475         * sysdeps/generic/errno.c: New file.
1476         * csu/Makefile (aux): New variable, list errno.
1477         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
1478         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1479         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
1480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1482         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1483         * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
1484         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
1485         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1486         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
1487         * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
1488         * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
1489         * sysdeps/unix/alpha/sysdep.S: Likewise.
1490         * sysdeps/generic/start.c: Likewise.
1491         * sysdeps/unix/start.c: Likewise.
1492         * sysdeps/unix/arm/start.c: Likewise.
1493         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
1494         * sysdeps/unix/sparc/start.c: Likewise.
1495         * sysdeps/unix/sysv/irix4/start.c: Likewise.
1496         * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
1497
1498         * manual/search.texi (Tree Search Function, Hash Search Function):
1499         Mention search.h clearly.
1500
1501 2002-10-05  Roland McGrath  <roland@redhat.com>
1502
1503         * elf/dl-fxstat64.c: File removed.
1504         * elf/dl-xstat64.c: File removed.
1505         * elf/Makefile (rtld-routines): Remove them.
1506         * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
1507         Instead, use strong_alias instead of versioned_symbol in the
1508         !SHLIB_COMPAT case.
1509         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1510         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1511
1512         * include/shlib-compat.h
1513         (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
1514         [! NOT_IN_libc] (IS_IN_libc): Define it.
1515         * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
1516         * elf/Makefile (CPPFLAGS-.os): Likewise.
1517
1518         * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
1519         Return the status instead of calling exit.
1520
1521         * Makeconfig (CFLAGS): Prepend -std=gnu99.
1522         * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
1523         Remove superfluous rm command, whose @ plus make bugs hid
1524         all these commands from the make output.
1525
1526         * include/stubs-prologue.h: New file.  Give #error under #ifdef _LIBC.
1527         * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
1528         Use that file's contents instead of literal echo's for the prologue.
1529         * include/features.h: Include <gnu/stubs.h> unconditionally.
1530         * include/gnu/stubs.h: New file.
1531
1532 2002-09-30  Roland McGrath  <roland@redhat.com>
1533
1534         * elf/rtld-Rules: New file.
1535         * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
1536         $(objpfx)rtld-libc.a): New targets.
1537         (generated): Add them.
1538         (reloc-link): Remove -o $@ from the variable.
1539         ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
1540         (distribute): Add rtld-Rules.
1541         (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
1542         * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
1543         (common-mostlyclean, common-clean): Clean up rtld-* files.
1544         * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
1545
1546 2002-10-11  Roland McGrath  <roland@redhat.com>
1547
1548         * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
1549         now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
1550
1551         * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
1552         proper set of no-op insn prefixes.
1553
1554         * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
1555
1556 2002-10-11  Ulrich Drepper  <drepper@redhat.com>
1557
1558         * sysdeps/unix/sysv/linux/execve.c: Don't try calling
1559         __pthread_kill_other_threads_np.
1560
1561         * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
1562
1563 2002-10-08  Roland McGrath  <roland@redhat.com>
1564
1565         * locale/newlocale.c (__newlocale): If setting all categories to "C",
1566         just return &_nl_C_locobj instead of copying it.
1567         * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
1568         * locale/duplocale.c (__duplocale): Likewise.
1569
1570 2002-10-07  Roland McGrath  <roland@frob.com>
1571
1572         * config.h.in (HAVE_I386_SET_GDT): New #undef.
1573         * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
1574         * sysdeps/mach/configure: Regenerated.
1575
1576 2002-10-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1577
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
1579         Add all necessary register outputs for syscall-clobbered registers.
1580
1581 2002-10-02  David Mosberger  <davidm@hpl.hp.com>
1582
1583         * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
1584         Itanium 2 (and Itanium).
1585         Fix unwind directives and make it fit in 80 columns.
1586         * sysdeps/ia64/memset.S: Likewise.
1587         * sysdeps/ia64/memcpy.S: Likewise.
1588         Move jump table to .rodata section.
1589
1590 2002-10-03  Roland McGrath  <roland@frob.com>
1591
1592         * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
1593         clobbers to asm.
1594
1595 2002-10-10  Andreas Jaeger  <aj@suse.de>
1596
1597         * sysdeps/x86_64/_mcount.S: Restore correct registers.
1598
1599 2002-10-10  Ulrich Drepper  <drepper@redhat.com>
1600
1601         * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
1602
1603 2002-10-09  Ulrich Drepper  <drepper@redhat.com>
1604
1605         * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
1606         _dl_allocate_tls_init.  Add rtld_hidden_proto.
1607         * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
1608         rtld_hidden_def.
1609         * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
1610
1611         * version.h (VERSION): Bump to 2.3.1.
1612
1613         * Make-dist: Add back one of the tar invocations removed before.
1614
1615         * stdlib/Makefile (distribute): Add allocalim.h.
1616
1617         * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
1618         (__libc_tsd_address): Use correct variable name.
1619         Patch by Stefan Jones <stefan.jones@multigig.com>.
1620
1621         * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
1622         Reported by edwardsg@sgi.com [PR libc/4678].
1623
1624         * Versions.def (libc): Add GLIBC_2.3.1.
1625         (libpthread): Add GLIBC_2.3.1.
1626
1627         * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
1628         and __sigtimedwait.
1629         * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
1630         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
1631         libc_hidden_def.
1632         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1633         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1634
1635         * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
1636         * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
1637         and make old name an alias.
1638         * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
1639         and make old name an alias.
1640         * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
1641         __libc_msgsnd.
1642
1643         * include/sys/uio.h: Declare __libc_readv and __libc_writev.
1644         * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
1645         __libc_writev.
1646         * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
1647         old name an alias.
1648         * sysdeps/posix/readv.c: Likewise
1649         * sysdeps/unix/sysv/aix/readv.c: Likewise.
1650         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1651         * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
1652         old name an alias.
1653         * sysdeps/posix/writev.c: Likewise
1654         * sysdeps/unix/sysv/aix/writev.c: Likewise.
1655         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1656
1657         * include/sys/wait.h: Declare __waitid.
1658         * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
1659         * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
1660         name an alias.
1661         * sysdeps/posix/waitid.c: Likewise.
1662         * sysdeps/unix/sysv/aix/waitid.c: Likewise.
1663
1664         * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
1665
1666 2002-10-07  Jakub Jelinek  <jakub@redhat.com>
1667
1668         * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
1669         prototypes.
1670         (__MAX_ALLOCA_CUTOFF): Define.
1671         Include allocalim.h.
1672         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
1673         _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
1674         host_buffer depending on __libc_use_alloca.
1675         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
1676         _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
1677         net_buffer depending on __libc_use_alloca.
1678         * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
1679         buf depending on __libc_use_alloca.
1680         * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
1681         * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
1682         instead of hardcoded constants.
1683         Pass proper size argument to alloca and compute end for wide char
1684         version.
1685         * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
1686         instead of hardcoded constants.
1687         * string/strcoll.c (strcoll): Likewise.
1688         * string/strxfrm.c (strxfrm): Likewise.
1689         * sysdeps/posix/readv.c (__readv): Likewise.
1690         * sysdeps/posix/writev.c (__writev): Likewise.
1691         * sysdeps/generic/allocalim.h: New file.
1692
1693 2002-10-08  Roland McGrath  <roland@redhat.com>
1694
1695         * configure.in (aux_missing warning): Change "too old" to
1696         "incompatible versions", since for autoconf it's "too new" right now.
1697         * configure: Regenerated.
1698
1699         * configure.in (AUTOCONF): New check to set it.  Set to "no" if the
1700         one found doesn't work on our configure.in.
1701         * configure: Regenerated.
1702         * config.make.in (AUTOCONF): New substituted variable.
1703         * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
1704         (autoconf-it): ... here, use that instead of defining conditionally.
1705         Use $(AUTOCONF) instead of literal autoconf.
1706         [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
1707         with this condition.
1708         * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
1709
1710 2002-10-08  Ulrich Drepper  <drepper@redhat.com>
1711
1712         * Make-dist (dist): Cleanup a bit.  We are not interested in the
1713         14 char filename limit anymore.  Remove intermediate files and
1714         symlinks.
1715
1716 2002-10-05  Ulrich Drepper  <drepper@redhat.com>
1717
1718         * po/sk.po: Update from translation team.
1719         * po/tr.po: Likewise.
1720         * po/gl.po: Likewise.
1721
1722 2002-10-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1723
1724         * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
1725
1726 2002-10-03  Ulrich Drepper  <drepper@redhat.com>
1727
1728         * version.h (RELEASE): Change to stable.
1729
1730 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
1731
1732         * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
1733         __syscall_exit_group): New prototypes.
1734
1735 2002-10-03  Ulrich Drepper  <drepper@redhat.com>
1736
1737         * glibc 2.3 released.
1738
1739
1740 See ChangeLog.13 for earlier changes.