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