1 2003-01-06 Andreas Schwab <schwab@suse.de>
3 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make
4 sure this is always inlined.
5 (elf_machine_rela): Likewise.
7 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Increase inline limit.
9 2003-01-04 Roland McGrath <roland@redhat.com>
11 * Makeconfig (+mkdep): Add -MP flag.
12 Suggested by Art Haas <ahaas@airmail.net>.
14 2003-01-05 Andreas Schwab <schwab@suse.de>
16 * sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
18 2003-01-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
21 SYSCALL_ERROR_HANDLER.
22 * sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise.
23 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise.
24 Add support for cancellation handling.
25 * sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use
26 SYSCALL_ERROR_HANDLER.
27 * sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise.
28 * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise.
29 Add support for cancellation handling.
30 (SYSCALL_ERROR_HANDLER): Define PIC variants.
32 2003-01-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
34 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark
35 __syscall_pread64 and __syscall_pwrite64 cancelable.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37 (INTERNAL_SYSCALL): New macro.
38 (LOADARGS_0, LOADARGS_1): Fix.
40 2003-01-05 Ulrich Drepper <drepper@redhat.com>
42 * Makerules (build-shlip-helper): Unless told otherwise, add
43 -Wl,-z,defs to linker command line.
44 * rt/Makefile (librt.so): Link with ld.so.
45 * dlfcn/Makefile (libdl.so): Likewise.
47 2003-01-05 Jakub Jelinek <jakub@redhat.com>
49 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for
50 cancellation handling.
51 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.
54 2003-01-04 Ulrich Drepper <drepper@redhat.com>
56 * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct
57 order of parameters passed to kill.
59 2003-01-04 Andreas Schwab <schwab@suse.de>
61 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields.
63 2002-01-03 Paul Eggert <eggert@twinsun.com>
65 * malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
66 (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
67 when compiling Bison 1.875's `bitset bset = obstack_alloc
68 (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
70 2003-01-04 Ulrich Drepper <drepper@redhat.com>
72 * sysdeps/posix/system.c (do_system): Minor optimizations. Remove
74 Correct reference counter in case SIGQUIT handler installation failed.
76 2003-01-03 Ulrich Drepper <drepper@redhat.com>
78 * include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern):
79 Define using _Pragma(weak ...).
81 2003-01-03 Andreas Jaeger <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>
83 * resolv/res_libc.c: Provide declaration for __res_init_weak and
86 2003-01-03 Art Haas <ahaas@airmail.net>
88 * localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
89 initializer syntax to C99.
90 * localedata/tests-mbwc/dat_iswalpha.c: Likewise.
91 * localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
92 * localedata/tests-mbwc/dat_iswctype.c: Likewise.
93 * localedata/tests-mbwc/dat_iswdigit.c: Likewise.
94 * localedata/tests-mbwc/dat_iswgraph.c: Likewise.
95 * localedata/tests-mbwc/dat_iswlower.c: Likewise.
96 * localedata/tests-mbwc/dat_iswprint.c: Likewise.
97 * localedata/tests-mbwc/dat_iswpunct.c: Likewise.
98 * localedata/tests-mbwc/dat_iswspace.c: Likewise.
99 * localedata/tests-mbwc/dat_iswupper.c: Likewise.
100 * localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
101 * localedata/tests-mbwc/dat_mblen.c: Likewise.
102 * localedata/tests-mbwc/dat_mbrlen.c: Likewise.
103 * localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
104 * localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
105 * localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
106 * localedata/tests-mbwc/dat_mbtowc.c: Likewise.
107 * localedata/tests-mbwc/dat_strcoll.c: Likewise.
108 * localedata/tests-mbwc/dat_strfmon.c: Likewise.
109 * localedata/tests-mbwc/dat_strxfrm.c: Likewise.
110 * localedata/tests-mbwc/dat_swscanf.c: Likewise.
111 * localedata/tests-mbwc/dat_towctrans.c: Likewise.
112 * localedata/tests-mbwc/dat_towlower.c: Likewise.
113 * localedata/tests-mbwc/dat_towupper.c: Likewise.
114 * localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
115 * localedata/tests-mbwc/dat_wcscat.c: Likewise.
116 * localedata/tests-mbwc/dat_wcschr.c: Likewise.
117 * localedata/tests-mbwc/dat_wcscmp.c: Likewise.
118 * localedata/tests-mbwc/dat_wcscoll.c: Likewise.
119 * localedata/tests-mbwc/dat_wcscpy.c: Likewise.
120 * localedata/tests-mbwc/dat_wcscspn.c: Likewise.
121 * localedata/tests-mbwc/dat_wcslen.c: Likewise.
122 * localedata/tests-mbwc/dat_wcsncat.c: Likewise.
123 * localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
124 * localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
125 * localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
126 * localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
127 * localedata/tests-mbwc/dat_wcsspn.c: Likewise.
128 * localedata/tests-mbwc/dat_wcsstr.c: Likewise.
129 * localedata/tests-mbwc/dat_wcstod.c: Likewise.
130 * localedata/tests-mbwc/dat_wcstok.c: Likewise.
131 * localedata/tests-mbwc/dat_wcstombs.c: Likewise.
132 * localedata/tests-mbwc/dat_wcswidth.c: Likewise.
133 * localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
134 * localedata/tests-mbwc/dat_wctob.c: Likewise.
135 * localedata/tests-mbwc/dat_wctomb.c: Likewise.
136 * localedata/tests-mbwc/dat_wctrans.c: Likewise.
137 * localedata/tests-mbwc/dat_wctype.c: Likewise.
138 * localedata/tests-mbwc/dat_wcwidth.c: Likewise.
140 2003-01-03 Richard Henderson <rth@redhat.com>
142 * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
143 (inline_syscall_r0_constraint): New.
144 (inline_syscall[0-6]): Use them.
146 2003-01-03 Jakub Jelinek <jakub@redhat.com>
148 * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
149 Add rtld_hidden_proto.
150 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def.
151 (_dl_allocate_tls): Likewise. Remove INTDEF.
153 2002-07-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
155 * sysdeps/sh/memcpy.S: Optimize. Based on a patch by Toshiyasu
156 Morita <toshiyasu.morita@hsa.hitachi.com>.
157 * sysdeps/sh/memcpy.S: Likewise.
159 2003-01-02 Ulrich Drepper <drepper@redhat.com>
161 * sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove
162 any, but unify the test.
164 2003-01-02 Jakub Jelinek <jakub@redhat.com>
166 * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction,
167 sigaction): Protect weak_alias and libc_hidden_weak with
168 #ifndef LIBC_SIGACTION.
169 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction,
170 sigaction): Likewise.
171 * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction,
172 sigaction): Likewise.
173 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction,
174 sigaction): Likewise.
175 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction,
176 sigaction): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction,
178 sigaction): Likewise.
179 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction,
180 sigaction): Likewise.
181 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction,
182 sigaction): Likewise. Remove SIGCANCEL handling here.
183 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction):
186 2003-01-02 Art Haas <ahaas@airmail.net>
188 * login/tst-utmp.c: Convert GCC extension initializer syntax to C99.
190 2003-01-02 Ulrich Drepper <drepper@redhat.com>
192 * posix/getconf.c: Update copyright year.
193 * nss/getent.c: Likewise.
194 * nscd/nscd_nischeck.c: Likewise.
195 * iconv/iconvconfig.c: Likewise.
196 * iconv/iconv_prog.c: Likewise.
197 * elf/ldconfig.c: Likewise.
198 * catgets/gencat.c: Likewise.
199 * csu/version.c: Likewise.
200 * elf/ldd.bash.in: Likewise.
201 * elf/sprof.c (print_version): Likewise.
202 * locale/programs/locale.c: Likewise.
203 * locale/programs/localedef.c: Likewise.
204 * nscd/nscd.c (print_version): Likewise.
205 * debug/xtrace.sh: Likewise.
206 * malloc/memusage.sh: Likewise.
207 * malloc/mtrace.pl: Likewise.
209 2003-01-01 Jakub Jelinek <jakub@redhat.com>
211 * io/sys/stat.h: Include time.h with __need_timespec even if
212 __USE_MISC is defined but __USE_XOPEN is not.
214 2003-01-01 Andreas Jaeger <aj@suse.de>
216 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
217 type to avoid strict aliasing problem.
218 (_nss_dns_gethostbyname2_r): Likewise.
219 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
220 (_nss_dns_getnetbyname_r): Likewise.
221 * resolv/gethnamaddr.c (_gethtent): Likewise.
222 (gethostbyname2): Likewise.
224 2002-12-31 Ulrich Drepper <drepper@redhat.com>
226 * string/string-inlines.c: Define __memcpy_g and __strchr_g macros
227 to avoid using the exported symbols. Define aliases with the
228 original names separately.
230 * include/time.h: Add libc_hidden_proto for __strftime_l.
231 * include/wchar.h: Add libc_hidden_proto for __wcsftime_l.
232 * time/strftime.c: Always use libc_hidden_def if _LIBC.
234 * libio/libioP.h: Add libc_hidden_proto for _IO_file_open.
235 * libio/fileops.c: Add libc_hidden_def for _IO_file_open.
237 * malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for
240 * csu/Makefile (routines): Add dso_handle.
241 * csu/dso_handle.c: New file.
243 2002-12-31 Roland McGrath <roland@redhat.com>
245 * Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
246 Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
247 (S-CPPFLAGS): Add -DASSEMBLER here instead.
248 (generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).
250 2002-12-31 Ulrich Drepper <drepper@redhat.com>
252 * malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle
255 2002-12-31 Andreas Jaeger <aj@suse.de>
257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
259 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
260 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
261 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
263 * sysdeps/unix/sysv/linux/kernel_stat.h
264 (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
266 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add
267 __unused[1-3] since they're needed by some platforms. Handle
268 _HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
270 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
271 for structs stat and stat64.
272 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
273 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
274 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
275 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
277 * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
279 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
280 nsec resolution changes.
281 (xstat64_conv): Likewise.
282 (xstat32_conv): Likewise.
284 * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
287 * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
288 structs stat and stat64.
290 * time/time.h (__timespec_defined): Define for __USE_MISC.
292 2002-12-31 Ulrich Drepper <drepper@redhat.com>
294 * include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
295 and __libc_current_sigrtmax.
297 2002-12-31 Jakub Jelinek <jakub@redhat.com>
299 * include/errno.h (__errno_location): Add prototype.
300 Use libc_hidden_proto unconditionally.
301 * include/netdb.h (__h_errno_location): Use libc_hidden_proto
303 * include/resolv.h (__res_state): Likewise.
305 * hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
306 * include/sys/socket.h (accept): Add libc_hidden_proto.
307 * include/errno.h (__errno_location): Likewise.
308 * include/netdb.h (__h_errno_location): Likewise.
309 * include/resolv.h (__res_state): Likewise.
310 * include/unistd.h (__lseek): Likewise.
311 * sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
312 * sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
313 * sysdeps/generic/res-state.c (__res_state): Likewise.
314 * sysdeps/generic/accept.c (accept): Likewise.
315 * sysdeps/generic/lseek.c (__lseek): Likewise.
316 * sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
317 __libc_current_sigrtmax): Likewise.
318 * sysdeps/mach/hurd/accept.c (accept): Likewise.
319 * sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
320 * sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
321 * sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
322 * sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
323 * sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
324 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
325 * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
326 * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
328 (__GI_accept): New alias to accept.
329 * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
330 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
332 (__GI_accept): New alias to accept.
333 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
335 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
337 * sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.
339 * sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
340 strong_alias (name, __GI_name).
341 * sysdeps/arm/bsd-_setjmp.S : Likewise.
342 * sysdeps/hppa/bsd-_setjmp.S : Likewise.
343 * sysdeps/i386/bsd-_setjmp.S : Likewise.
344 * sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
345 * sysdeps/mips/bsd-_setjmp.S : Likewise.
346 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
347 * sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
348 * sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
349 * sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
350 * sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
351 * sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
352 * sysdeps/sh/bsd-_setjmp.S : Likewise.
353 * sysdeps/sparc/sparc32/setjmp.S : Likewise.
354 * sysdeps/unix/arm/fork.S : Likewise.
355 * sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
356 * sysdeps/unix/bsd/i386/vfork.S : Likewise.
357 * sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
358 * sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
359 * sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
360 * sysdeps/unix/bsd/vax/vfork.S : Likewise.
361 * sysdeps/unix/i386/fork.S : Likewise.
362 * sysdeps/unix/mips/fork.S : Likewise.
363 * sysdeps/unix/sparc/fork.S : Likewise.
364 * sysdeps/unix/sparc/vfork.S : Likewise.
365 * sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
366 * sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
367 * sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
368 * sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
369 * sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
370 * sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
371 * sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
372 * sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
373 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
374 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
375 * sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
376 * sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
377 * sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
378 * sysdeps/unix/fork.S : Likewise.
379 * sysdeps/vax/bsd-_setjmp.S : Likewise.
380 * sysdeps/x86_64/bsd-_setjmp.S : Likewise.
382 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
385 2002-12-31 Ulrich Drepper <drepper@redhat.com>
387 * include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
388 * sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
389 * sysdeps/mach/hurd/fork.c: Likewise.
390 * sysdeps/unix/sysv/aix/fork.c: Likewise.
391 * sysdeps/unix/fork.S: Add __GI___fork alias.
392 * sysdeps/unix/arm/fork.S: Likewise.
393 * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
394 * sysdeps/unix/i386/fork.S: Likewise.
395 * sysdeps/unix/mips/fork.S: Likewise.
396 * sysdeps/unix/sparc/fork.S: Likewise.
397 * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
398 * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
399 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
400 * sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
401 * sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
402 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
403 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
404 * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
405 * sysdeps/unix/bsd/vax/vfork.S: Likewise.
406 * sysdeps/unix/sparc/vfork.S: Likewise.
407 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
408 * sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
409 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
410 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
411 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
412 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
413 * sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
416 * include/time.h: Add libc_hidden_proto for __nanosleep.
417 * sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
418 * sysdeps/mach/nanosleep.c: Likewise.
419 * sysdeps/unix/sysv/aix/nanosleep.c: Likewise.
420 * sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.
422 * libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
423 _IO_list_unlock, and _IO_list_resetlock.
424 * libio/genops.c: Add libc_hidden_def for _IO_list_lock,
425 _IO_list_unlock, and _IO_list_resetlock.
427 * libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin,
428 _IO_iter_end, _IO_iter_next, and _IO_iter_file.
429 * libio/genops.c: Add libc_hidden_def for _IO_iter_begin,
430 _IO_iter_end, _IO_iter_next, and _IO_iter_file.
432 * include/setjmp.h: Add libc_hidden_proto for __libc_longjmp.
433 * sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp.
434 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
435 __GI___longjmp alias.
437 * include/setjmp.h: Add libc_hidden_proto for _setjmp.
438 * sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
439 * sysdeps/arm/bsd-_setjmp.S: Likewise.
440 * sysdeps/generic/bsd-_setjmp.c: Likewise.
441 * sysdeps/hppa/bsd-_setjmp.S: Likewise.
442 * sysdeps/i386/bsd-_setjmp.S: Likewise.
443 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
444 * sysdeps/mips/bsd-_setjmp.S: Likewise.
445 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
446 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
447 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
448 * sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
449 * sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
450 * sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
451 * sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
452 * sysdeps/sh/bsd-_setjmp.S: Likewise.
453 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
454 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
456 * sysdeps/vax/bsd-_setjmp.S: Likewise.
457 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
459 2002-12-30 Ulrich Drepper <drepper@redhat.com>
461 * malloc/thread-m.h (thread_atfork): Define using __register_atfork.
463 2002-12-30 Roland McGrath <roland@redhat.com>
465 * Rules (generated): Target removed.
466 * mach/Makefile (generated): Define it here instead.
468 * math/Makefile (generated): Add m_*l and m_*f variants too.
470 2002-12-30 Ulrich Drepper <drepper@redhat.com>
472 * elf/dl-close.c (_dl_close): Handle relocation dependencies among
473 the to-be-deleted objects right away instead of later separately.
474 The latter fails because the scope data structures of the DSO
475 might already be gone.
477 * elf/Makefile: Add rules to build and run reldep8 test.
478 * elf/reldep8.c: New file.
479 * elf/reldep8mod1.c: New file.
480 * elf/reldep8mod2.c: New file.
481 * elf/reldep8mod3.c: New file.
482 Contributed by Jakub Jelinek.
484 2002-12-24 GOTO Masanori <gotom@debian.or.jp>
486 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
487 checking of return value ENOSYS from getdents64.
489 2002-12-28 Andreas Schwab <schwab@suse.de>
491 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
492 ($(common-objpfx)s-%.d): Generalized from
493 $(common-objpfx)s-proto.d rule.
494 (common-generated): Add s-proto-cancel.d.
495 * sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for
496 cancellable syscalls.
497 * sysdeps/unix/s-proto-cancel.S: New file.
499 2002-12-29 Roland McGrath <roland@redhat.com>
501 * resolv/res_libc.c: Move _res defn magic after res_init defn
502 so _res macro is in effect for that code.
504 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
505 pattern for prepending $(..) so it doesn't affect $(foo).
507 * math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
509 2002-12-29 Jakub Jelinek <jakub@redhat.com>
511 * elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set
514 2002-12-28 Ulrich Drepper <drepper@redhat.com>
516 * misc/sys/cdefs.h (__attribute_deprecated__): New #define.
518 2002-12-28 Andreas Jaeger <aj@suse.de>
520 * sysdeps/generic/readelflib.c (process_elf_file): Cast value to
522 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
524 2002-12-27 Jakub Jelinek <jakub@redhat.com>
526 * inet/herrno.c (__h_errno_location): Remove.
527 * inet/Makefile (routines): Add herrno-loc.
528 * resolv/res_libc.c (__res_state): Remove.
529 * resolv/Makefile (routines): Add res-state.
530 * sysdeps/generic/herrno-loc.c: New file.
531 * sysdeps/generic/res-state.c: New file.
533 2002-12-27 Jakub Jelinek <jakub@redhat.com>
535 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
536 Only define if USE_DL_SYSINFO is defined.
538 2002-12-22 Jakub Jelinek <jakub@redhat.com>
540 * sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL,
541 INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR):
542 Define. Patch by Richard Henderson and Jes Sorensen.
543 (PSEUDO): Remove unnecessary ;;.
544 * elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments
545 are found unless TLS_INIT_TP_EXPENSIVE. Use NONTLS_INIT_TP.
546 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP
547 if not initializing thread pointer.
548 [!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New.
549 * sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't
550 make it weak also if NONTLS_INIT_TP.
551 * sysdeps/unix/common/pause.c: Handle cancellation.
552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1]
553 (LOADSYSCALL): Remove.
554 (SYSCALL_ERROR_HANDLER_ENTRY): Define.
555 (SYSCALL_ERROR_HANDLER): Use it.
556 (PSEUDO): Don't jump around error handler.
557 * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't
558 jump around error handler.
559 * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise.
560 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch
561 to __syscall_error_handler on failure.
562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1]
563 (LOADSYSCALL): Remove.
564 (SYSCALL_ERROR_HANDLER_ENTRY): Define.
565 (SYSCALL_ERROR_HANDLER): Use it.
566 (PSEUDO): Don't jump around error handler.
567 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't
568 jump around error handler.
569 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise.
570 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch
571 to __syscall_error_handler on failure.
573 2002-12-27 Roland McGrath <roland@redhat.com>
575 * scripts/gen-as-const.awk: New file.
576 * Makefile (distribute): Add it.
577 * Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
578 (before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
580 (+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).
582 2002-12-27 Andreas Schwab <schwab@suse.de>
584 * sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.
586 2002-12-27 Jakub Jelinek <jakub@redhat.com>
588 * malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
591 2002-12-27 Andreas Schwab <schwab@suse.de>
593 * Makerules ($(common-objpfx)%.make): Filter through
594 $(sed-remove-objpfx).
596 2002-12-23 Roland McGrath <roland@redhat.com>
598 * scripts/abilist.awk: Produce a more compact format, divided into
599 stanzas for each version set, the set name listed only once.
600 * scripts/extract-abilist.awk: New file.
601 * scripts/merge-abilist.awk: New file.
602 * Makerules (check-abi-%, update-abi-%): New pattern rules.
603 (update-abi, check-abi): New targets.
604 * Makefile (+subdir_targets): Add subdir_{check,update}-abi.
606 2002-12-19 Roland McGrath <roland@redhat.com>
608 * Makerules (%.symlist): Use LC_ALL=C when running awk script.
610 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
613 2002-12-21 Andreas Schwab <schwab@suse.de>
615 * elf/check-textrel.c (handle_file): Swap p_type.
617 2002-12-21 Andreas Schwab <schwab@suse.de>
619 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define.
620 (INLINE_SYSCALL): Use it.
621 (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
622 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
624 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL.
625 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
627 2002-12-20 Art Haas <ahaas@airmail.net>
629 * sysdeps/gnu/siglist.c: Convert GCC extension initializer
632 2002-12-21 Philip Blundell <philb@gnu.org>
634 * sysdeps/arm/elf/start.S (_start): Optimise a little. Push stack
635 top as seventh arg to __libc_start_main.
636 Reported by paulnash@wildseed.com.
638 * sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation.
640 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide
641 compatibility cruft when new enough kernel is assumed.
643 2002-12-20 Jakub Jelinek <jakub@redhat.com>
645 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL
646 instead of INLINE_SYSCALL.
648 2002-12-20 Ulrich Drepper <drepper@redhat.com>
650 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix
653 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB.
654 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
655 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
656 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
657 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
658 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
659 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
660 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
661 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
662 Patch by William Lee Irwin <wli@holomorphy.com>.
664 2002-12-20 Andreas Schwab <schwab@suse.de>
666 * locale/programs/ld-measurement.c (measurement_output): Fix
669 2002-12-20 Ulrich Drepper <drepper@redhat.com>
671 * include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]:
672 Redefine _IO_flockifle and _IO_funlockfile as inlines.
674 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS
675 builds add "tls" in the search path.
676 * elf/ldconfig.c (is_hwcap_platform): Also recognize "tls".
677 (path_hwcap): Recognize "tls".
679 2002-12-19 Ulrich Drepper <drepper@redhat.com>
681 * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use
682 __waitpid instead of waitpid.
684 * sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of
686 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
687 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
688 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO
691 information for system calls.
693 * sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only
696 * elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv.
698 2002-12-19 Roland McGrath <roland@redhat.com>
700 * iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
701 * iconvdata/ibm922.h: Likewise.
702 * iconvdata/ibm930.h: Likewise.
703 * iconvdata/ibm932.h: Likewise.
704 * iconvdata/ibm933.h: Likewise.
705 * iconvdata/ibm935.h: Likewise.
706 * iconvdata/ibm937.h: Likewise.
707 * iconvdata/ibm939.h: Likewise.
708 * iconvdata/ibm943.h: Likewise.
709 * iconvdata/isiri-3342.h: Likewise.
711 2002-12-19 Ulrich Drepper <drepper@redhat.com>
713 * test-skeleton.c (main): Make sure correct value is seen as
714 argv[0] after adjustment of argv, and argc.
716 * elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if
717 RTLD_CORRECT_DYNAMIC_WEAK is defined.
719 2002-12-19 Jakub Jelinek <jakub@redhat.com>
721 * nscd/connections.c (nscd_run): Shut up warning.
722 * tst-ungetc.c (assert): Undefined before redefining.
724 2002-12-19 Ulrich Drepper <drepper@redhat.com>
726 * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
729 2002-12-17 Art Haas <ahaas@airmail.net>
731 * iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
732 * iconvdata/cp775.h: Likewise.
733 * iconvdata/ibm1046.h: Likewise.
734 * iconvdata/ibm1124.h: Likewise.
735 * iconvdata/ibm1129.h: Likewise.
736 * iconvdata/ibm1132.h: Likewise.
737 * iconvdata/ibm1133.h: Likewise.
738 * iconvdata/ibm1160.h: Likewise.
739 * iconvdata/ibm1161.h: Likewise.
740 * iconvdata/ibm1162.h: Likewise.
741 * iconvdata/ibm1163.h: Likewise.
742 * iconvdata/ibm1164.h: Likewise.
744 2002-12-19 Ulrich Drepper <drepper@redhat.com>
746 * sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if
747 __ASSUME_CLONE_THREAD_FLAGS is defined.
748 * sysdeps/unix/sysv/linux/kernel-features.h
749 (__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.
751 2002-12-18 Ulrich Drepper <drepper@redhat.com>
753 * sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead
755 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
757 * elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize
759 [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
761 * elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of
763 [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
765 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
766 Check for AT_SYSINFO and set _dl_sysinfo appropriately.
767 * sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]:
770 2002-12-18 Jakub Jelinek <jakub@redhat.com>
772 * misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and
774 [libc: GLIBC_PRIVATE]: ...here.
775 * sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and
777 [libc: GLIBC_PRIVATE]: ...here.
779 2002-12-18 Ulrich Drepper <drepper@redhat.com>
781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
782 Use it instead of directly int $0x80.
783 * sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
784 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
785 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
786 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
787 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
788 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
790 2002-12-17 Ulrich Drepper <drepper@redhat.com>
792 * malloc/malloc.c (mALLOPt): Make sure malloc is initialized.
794 * elf/elf.h (AT_SYSINFO): New define.
795 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for
798 2002-12-17 Jakub Jelinek <jakub@redhat.com>
800 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd):
802 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgrcv, msgsnd):
804 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgrcv, msgsnd):
806 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgrcv, msgsnd):
808 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgrcv, msgsnd):
810 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise.
812 * malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock,
813 mutex_unlock): If not building NPTL, use __libc_maybe_call2 if
814 available, otherwise __libc_maybe_call.
815 * sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for
816 cancellation handling.
817 * sysdeps/unix/sysv/linux/x86_64/send.c: Likewise.
819 2002-12-17 Isamu Hasegawa <isamu@yamato.ibm.com>
821 * posix/regcomp.c (free_workarea_compile): Free the new member
823 (analyze): Initialize ORG_INDICES.
824 (duplicate_node_closure): Search for a existing node, which is
825 duplicated from the node ORG_DEST and satisfies the constraint
826 CONSTRAINT. And use it to avoid inifimite loop.
827 (search_duplicated_node): New function.
828 (duplicate_node): Store the index of the original node.
829 * posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES
831 * posix/regex_internal.h (re_dfa_t): Add new members.
833 2002-12-17 Ulrich Drepper <drepper@redhat.com>
835 * stdio-common/tst-fdopen.c: Undefine assert before redefining it.
837 2002-12-16 Ulrich Drepper <drepper@redhat.com>
839 * sysdeps/posix/system.c (do_system): Add support for installation
840 of cancellation handlers.
841 * sysdeps/unix/sysv/linux/i386/system.c: New file.
843 * stdlib/Makefile (tests): Add tst-system.
844 * stdlib/tst-system.c: New file.
846 * sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION &&
847 CENABLE]: Don't lose content of %ebx.
849 2002-12-17 Jakub Jelinek <jakub@redhat.com>
851 * sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P
852 macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly.
854 2002-12-16 Ulrich Drepper <drepper@redhat.com>
856 * sysdeps/posix/getaddrinfo.c (gaih_inet): If __nss_lookup_function
857 fails to return a function pointer don't use it.
859 2002-12-16 Art Haas <ahaas@airmail.net>
861 * io/ftw.c: Convert GCC extension initializer syntax to C99.
862 * iconvdata/iso-ir-165.c: Likewise.
863 * iconvdata/jis0208.c: Likewise.
864 * iconvdata/jis0212.c: Likewise.
866 2002-12-16 Ulrich Drepper <drepper@redhat.com>
868 * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create,
869 epoll_ctl, and epoll_wait.
870 * sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add
871 epoll_create, epoll_ctl, and epoll_wait.
872 * sysdeps/unix/sysv/linux/sys/epoll.h: New file. Written by
873 Davide Libenzi <davidel@xmailserver.org>.
874 * sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h.
875 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
878 2002-12-16 Art Haas <ahaas@airmail.net>
880 * sysdeps/generic/bp-semctl.h: Convert GCC extension initializer
882 * sysdeps/unix/sysv/aix/settimer.c: Likewise.
883 * sysdeps/unix/sysv/aix/sleep.c: Likewise.
884 * sysdeps/unix/sysv/aix/usleep.c: Likewise.
886 2002-12-16 Ulrich Drepper <drepper@redhat.com>
888 * stdio-common/Makefile (routines): Remove lockfile. Add
889 flockfile, ftrylockfile, and funlockfile.
890 * sysdeps/generic/lockfile.c: Removed. Each function has its own file.
891 * sysdeps/generic/flockfile.c: New file.
892 * sysdeps/generic/ftrylockfile.c: New file.
893 * sysdeps/generic/funlockfile.c: New file.
895 2002-12-16 Jakub Jelinek <jakub@redhat.com>
897 * sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE
898 macros instead of doing the calls directly.
899 * sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules.
900 * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-%
903 2002-12-16 Jakub Jelinek <jakub@redhat.com>
905 * sysdeps/i386/fpu/bits/mathinline.h: Backout last change.
906 * sysdeps/ieee754/bits/nan.h: Likewise.
908 * sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open,
909 __syscall_wait4, __syscall_ioctl, __syscall_write): Add.
911 2002-12-16 Roland McGrath <roland@redhat.com>
913 * sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type.
914 * sunrpc/xdr_rec.c (xdrrec_inline): Likewise.
915 * sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise.
917 * sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
918 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
920 * sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
921 * sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
922 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
923 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
924 * sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
925 * sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
926 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
927 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.
929 2002-12-13 Paul Eggert <eggert@twinsun.com>
931 * sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg
932 is now u_int, not int.
933 (struct XDR.x_handy): Now u_int, not int.
934 * sunrpc/xdr_mem.c: Include <limits.h>.
935 (xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes,
936 xdrmem_inline, xdrmem_getint32, xdrmem_putint32):
937 x_handy is now unsigned, not signed.
938 Do not decrement x_handy if no change is made.
939 (xdrmem_setpos): Check for int overflow.
940 * sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned.
941 (xdr_sizeof): Remove cast that is now unnecessary, now that
944 2002-12-15 Art Haas <ahaas@airmail.net>
946 * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.
947 * iconvdata/gap.awk: Likewise.
948 * iconvdata/gen-8bit-gap-1.sh: Likewise.
949 * iconvdata/gen-8bit-gap.sh: Likewise.
950 * locale/C-address.c: Likewise.
951 * locale/C-collate.c: Likewise.
952 * locale/C-ctype.c: Likewise.
953 * locale/C-identification.c: Likewise.
954 * locale/C-measurement.c: Likewise.
955 * locale/C-messages.c: Likewise.
956 * locale/C-monetary.c: Likewise.
957 * locale/C-name.c: Likewise.
958 * locale/C-numeric.c: Likewise.
959 * locale/C-paper.c: Likewise.
960 * locale/C-telephone.c: Likewise.
961 * locale/C-time.c: Likewise.
962 * nscd/connections.c: Likewise.
963 * nscd/grpcache.c: Likewise.
964 * nscd/hstcache.c: Likewise.
965 * nscd/pwdcache.c: Likewise.
966 * stdio-common/vfprintf.c: Likewise.
967 * stdlib/random.c: Likewise.
968 * sysdeps/generic/siglist.c: Likewise.
969 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
970 * sysdeps/ieee754/bits/nan.h: Likewise.
971 * sysdeps/posix/sprofil.c: Likewise.
972 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
973 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
974 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
976 2002-12-15 Roland McGrath <roland@redhat.com>
978 * sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
980 * sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
981 <tls.h> here, no need for it.
982 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
984 * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
985 parameter, not varargs parameter.
987 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
988 argument so it's not an unused variable.
990 * resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
991 __p_type_syms, __p_rcode_syms): Remove decls, never really intended
994 * resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.
996 2002-12-15 Ulrich Drepper <drepper@redhat.com>
998 * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the
999 original __libc_fcntl code. Just renamed.
1001 2002-12-15 Andreas Schwab <schwab@suse.de>
1003 * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit.
1005 2002-12-14 Olaf Hering <olh@suse.de>
1007 * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
1008 * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.
1010 2002-12-15 Ulrich Drepper <drepper@redhat.com>
1012 * sysdeps/unix/sysv/linux/libc_fatal.c: New file.
1014 * sysdeps/generic/sysdep-cancel.h: Add dummy definitions for
1015 SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET.
1017 * sysdeps/unix/sysv/linux/open64.c: New file.
1019 * sysdeps/generic/pselect.c: Add support for cancellation handling.
1020 * sysdeps/posix/open64.c: Likewise.
1021 * sysdeps/posix/sigpause.c: Likewise.
1022 * sysdeps/posix/sigwait.c: Likewise.
1023 * sysdeps/posix/system.c: Likewise.
1024 * sysdeps/posix/waitid.c: Likewise.
1025 * sysdeps/unix/sysv/linux/accept.S: Likewise.
1026 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1027 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1028 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1029 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1030 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1031 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1032 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1033 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1034 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1035 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1036 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1037 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1038 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1039 * sysdeps/unix/sysv/linux/send.S: Likewise.
1040 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1041 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1042 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1043 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1044 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1045 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1046 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
1047 * sysdeps/unix/sysv/linux/wait.c: Likewise.
1048 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
1049 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1050 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
1051 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1053 2002-12-14 Jakub Jelinek <jakub@redhat.com>
1055 * sysdeps/generic/sysdep-cancel.h: New file.
1056 * sysdeps/unix/make-syscalls.sh: Handle C at start of args as
1058 * sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom,
1059 recvmsg, send, sendmsg, sendto): Make cancelable.
1060 * sysdeps/unix/mman/syscalls.list (msync): Likewise.
1061 * sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread,
1062 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
1063 sendto, osf_select): Likewise.
1064 * sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv,
1065 recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
1066 * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread,
1067 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
1069 * sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv,
1070 recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
1071 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread,
1072 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
1074 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread,
1075 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
1076 sendto, select): Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread,
1078 pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto):
1080 * sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause,
1081 select, fcntl): Likewise.
1082 * sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise.
1083 * sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open,
1084 read, readv, select, sigsuspend, write, writev): Likewise.
1086 2002-12-14 Jakub Jelinek <jakub@redhat.com>
1088 * dirent/bug-readdir1.c: Include unistd.h.
1090 2002-12-13 Jakub Jelinek <jakub@redhat.com>
1092 * locale/programs/locale.c: Include locarchive.h.
1093 (ARCHIVE_NAME): Define.
1094 (write_archive_locales): New function.
1095 (write_locales): Use it. Ensure the same locale is not printed
1096 multiple times in verbose mode.
1097 Mode LC_IDENTIFICATION and LC_CTYPE printing into...
1098 (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper
1100 (struct nameent): New type.
1101 (nameentcmp): New function.
1103 2002-12-14 Jakub Jelinek <jakub@redhat.com>
1105 * posix/regex_internal.c (re_string_context_at): Guard wide char
1106 code with #ifdef RE_ENABLE_I18N.
1108 2002-11-22 Paolo Bonzini <bonzini@gnu.org>
1110 * posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap
1112 2002-12-13 Roland McGrath <roland@redhat.com>
1114 * posix/bug-regex15.c: New file.
1115 * posix/Makefile (tests): Add it.
1117 * test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB.
1118 (main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be).
1120 2002-12-13 Ulrich Drepper <drepper@redhat.com>
1122 * elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs.
1124 * misc/syslog.c (log_cleanup): Don't use parameter in
1125 __libc_lock_unlock call, use syslog_lock directly. Adjust callers to
1126 pass NULL instead of a pointer to syslog_lock.
1128 2002-12-12 Ulrich Drepper <drepper@redhat.com>
1130 * iconvdata/Makefile: iconv-rules: Add definition to use gconv.map
1131 linker map for all iconv modules.
1132 (distribute): Add gconv.map.
1133 * iconvdata/gconv.map: New file.
1135 * elf/Makefile: Also check all iconv modules for text relocations.
1137 * stdlib/Makefile: Remove code to automatically import GMP.
1139 * elf/Makefile (tests): Add rules to build and run check-textrel.
1140 * elf/check-textrel.c: New file.
1142 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size
1145 2002-12-11 Jakub Jelinek <jakub@redhat.com>
1147 * io/test-utime (main): If stnow.st[am]time is wrong, print it and
1150 2002-04-30 Bruno Haible <bruno@clisp.org>
1152 * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to
1153 the encoding if it already has slashes.
1154 Reported by Perry Rapp <prapp@erols.com>.
1156 2002-12-11 Roland McGrath <roland@redhat.com>
1158 * csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.
1159 (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables.
1160 Turn off PIC for compiling this file.
1162 2002-12-11 Ulrich Drepper <drepper@redhat.com>
1164 * malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER
1165 definitions. Not needed.
1166 [_LIBC]: Use definitions from libc-lock.h instead of referencing
1167 pthread routines directly.
1168 * malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to
1170 (arena_get2): Don't look at return value of mutex_lock.
1172 2002-12-11 Roland McGrath <roland@redhat.com>
1174 * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone
1175 elf-init.o instead of compiling a PIC version.
1177 2002-12-11 Bruno Haible <bruno@clisp.org>
1179 * intl/gettext.h: Renamed to ...
1180 * intl/gmo.h: ... here.
1181 * intl/Makefile (distribute): Add gmo.h, remove gettext.h.
1182 * intl/gettextP.h: Update.
1183 * intl/loadmsgcat.c: Update.
1185 * intl/gettextP.h (PARAMS): Make more portable.
1186 (attribute_hidden): Define as empty macro if not already defined.
1187 * intl/hash-string.h (PARAMS): Make more portable.
1188 * intl/loadinfo.h (PARAMS): Likewise.
1189 * intl/plural-exp.h (PARAMS): Likewise.
1190 (attribute_hidden): Move definition near the definition of
1193 * intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration.
1194 * intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration.
1196 2002-07-13 Bruno Haible <bruno@clisp.org>
1198 * intl/dcigettext.c (freea): New macro.
1199 (FREE_BLOCKS): Free also the registered blocks.
1200 (DCIGETTEXT): Free the 'search' variable.
1201 Reported by Andreas Fischer <a.fischer@asentics.de>.
1203 2002-04-27 Bruno Haible <bruno@clisp.org>
1205 * intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __.
1206 * intl/dcigettext.c: Likewise.
1207 * intl/dcgettext.c: Likewise.
1208 * intl/dgettext.c: Likewise.
1209 * intl/gettext.c: Likewise.
1210 * intl/dcngettext.c: Likewise.
1211 * intl/dngettext.c: Likewise.
1212 * intl/ngettext.c: Likewise.
1213 * intl/textdomain.c: Likewise.
1214 * intl/bindtextdom.c: Likewise.
1215 * intl/plural-exp.h: Likewise.
1217 2002-01-02 Bruno Haible <bruno@clisp.org>
1219 * intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl.
1221 2001-04-30 Bruno Haible <bruno@clisp.org>
1223 * intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide
1224 default macro definitions. Needed for mingw32.
1226 2002-12-10 Ulrich Drepper <drepper@redhat.com>
1228 * sysdeps/i386/bits/byteswap.h (__bswap_64): Apply
1229 __builtin_constant_p to macro parameter.
1231 * sysdeps/generic/sigpause.c: Define all functions as weak.
1232 * sysdeps/posix/sigpause.c: Likewise.
1234 * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of
1237 2002-12-10 Jakub Jelinek <jakub@redhat.com>
1239 * elf/tst-array1.c (preinit_array, init_array, fini_array):
1240 Explicitly align the array to sizeof (void *).
1241 * elf/tst-array2dep.c (init_array, fini_array): Likewise.
1243 * include/libc-symbols.h: Fix a comment typo.
1245 * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias.
1246 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend):
1248 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend):
1250 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
1251 (__libc_sigsuspend): Likewise.
1252 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c
1253 (__libc_sigsuspend): Likewise.
1254 * sysdeps/generic/creat.c (__libc_creat): Renamed from creat.
1255 (creat): New weak alias.
1257 2002-12-10 Roland McGrath <roland@redhat.com>
1259 * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that
1260 contributes a manual chapter.
1261 * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads
1264 * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to
1265 and move contents to ...
1266 (EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch.
1267 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use
1268 it instead of duplicating its contents.
1269 (EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch.
1271 2002-12-09 Jakub Jelinek <jakub@redhat.com>
1273 * elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if
1275 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New
1277 (EXTRA_LD_ENVVARS): Use it.
1278 (DL_OSVERSION_INIT): Define.
1279 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux
1281 (EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init.
1283 2002-12-10 Ulrich Drepper <drepper@redhat.com>
1285 * Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2.
1287 * sysdeps/unix/closedir.c (__closedir): Remove __libc_lock_lock
1288 call. It is not allowed to destroy pthread mutexes which are
1289 still in use even though it is safe for our implementations. If
1290 somebody still uses the descriptor it is a bug.
1292 2002-12-09 Richard Henderson <rth@redhat.com>
1294 * csu/abi-note.S: Use .p2align, not .align.
1296 2002-12-09 Ulrich Drepper <drepper@redhat.com>
1298 * sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and
1299 __libc_select aliases.
1301 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo
1304 * sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias.
1306 * sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias.
1308 * sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias.
1310 * sysdeps/unix/syscalls.list: Define __libc_select alias.
1312 * sysdeps/posix/waitid.c: Define __libc_waitid alias.
1314 * sysdeps/posix/sigpause.c: Define __libc_sigpause and
1315 __libc___xpg_sigpause aliases.
1317 * sysdeps/generic/pselect.c: Define __libc_pselect alias.
1319 * misc/error.c: Remove use of USE_IN_LIBIO.
1321 2002-12-08 Roland McGrath <roland@redhat.com>
1323 * elf/Makefile (tests): Uncomment tst-array[123].
1324 * Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
1325 * csu/elf-init.c: New file.
1326 * csu/Makefile (routines, static-only-routines): Add elf-init.
1327 * sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
1328 and __libc_csu_fini in place of _fini.
1329 * sysdeps/arm/elf/start.S: Likewise.
1330 * sysdeps/cris/elf/start.S: Likewise.
1331 * sysdeps/hppa/elf/start.S: Likewise.
1332 * sysdeps/i386/elf/start.S: Likewise.
1333 * sysdeps/ia64/elf/start.S: Likewise.
1334 * sysdeps/m68k/elf/start.S: Likewise.
1335 * sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
1336 * sysdeps/mips/elf/start.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
1338 * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
1339 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1340 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1341 * sysdeps/sh/elf/start.S: Likewise.
1342 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1343 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1344 * sysdeps/x86_64/elf/start.S: Likewise.
1346 * sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd
1347 struct containing function ptr and value, free it.
1348 (__aio_notify_only): Allocate that and copy values from SIGEV into it.
1349 It's not safe to let the new thread use the SIGEV pointer.
1351 2001-10-20 Paul Eggert <eggert@twinsun.com>
1353 * misc/error.c (strerror_r): Do not declare unless [!_LIBC].
1354 Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
1355 Use strerror_r that is only a macro, even if it is not a function.
1356 (strerror): Check for HAVE_DECL_STRERROR before declaring.
1357 (private_strerror): Use prototypes, not old-style function definition.
1358 (print_errno_message): New function.
1359 Support the POSIX 'int'-flavored strerror_r, as well as the traditional
1361 (error_tail, error, error_at_line): Use it.
1363 2002-12-07 Carlos O'Donell <carlos@baldric.uwo.ca>
1365 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.
1367 2002-12-08 Ulrich Drepper <drepper@redhat.com>
1369 * scripts/output-format.sed: Fix bug in one of the s expressions
1370 which used / for one too many things.
1372 * include/unistd.h: Declare __libc_close.
1374 2002-12-07 Ulrich Drepper <drepper@redhat.com>
1376 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
1378 2002-12-07 Roland McGrath <roland@redhat.com>
1380 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes
1381 from 2002-12-06, but remove unnecessary memset call without removing
1382 necessary copy of initialization image.
1384 * Makerules ($(common-objpfx)format.lds): New target.
1385 (common-generated): Add it.
1386 ($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
1387 * scripts/output-format.sed: New file.
1388 * Makefile (distribute): Add it.
1390 2002-12-07 Ulrich Drepper <drepper@redhat.com>
1392 * sysdeps/generic/libc-tls.c: Include <sys/param.h>.
1393 Reported by Art Haas <ahaas@airmail.net>.
1395 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>
1397 * sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec. Fix .recovery4.
1399 2002-12-07 Jakub Jelinek <jakub@redhat.com>
1401 * string/test-strncpy.c (do_random_tests): Improve test coverage.
1403 2002-12-06 Ulrich Drepper <drepper@redhat.com>
1405 * test-skeleton.c (timeout_handler): Allow expected signal to be
1408 * wctype/wcfuncs.c: Add libc_hidden_def for iswalnum.
1410 * sysdeps/posix/raise.c: Add libc_hidden_def for raise.
1412 2002-12-07 Jakub Jelinek <jakub@redhat.com>
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO]
1415 (SYSCALL_ERROR_HANDLER): Fix a pasto.
1416 Reported by Jeff Bailey <jbailey@nisa.net>.
1418 2002-12-06 Ulrich Drepper <drepper@redhat.com>
1420 * sysdeps/generic/libc-tls.c: Undo last patch.
1422 * include/wctype.h: Define iswalnum with libc_hidden_proto.
1424 * include/signal.h: Define raise with libc_hidden_proto.
1426 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and
1427 __execve instead of snprintf and execve.
1429 * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double
1432 2002-12-06 Jakub Jelinek <jakub@redhat.com>
1434 * posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.
1435 * posix/annexc.c (fmt, testfmt): Remove -D_LIBC.
1437 2002-12-06 Ulrich Drepper <drepper@redhat.com>
1439 * misc/syslog.c (log_cleanup): New function.
1440 (openlog): Use log_cleanup instead of __libc_mutex_unlock.
1441 (closelog): Likewise.
1443 * elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*.
1444 * elf/dl-iteratephdr.c: Likewise.
1445 * elf/dl-lookup.c: Likewise.
1446 * elf/dl-misc.c: Likewise.
1447 * elf/dl-open.c: Likewise.
1448 * elf/dl-support.c: Likewise.
1449 * elf/rtld.c: Likewise.
1450 * sysdeps/generic/ldsodefs.h: Likewise.
1451 * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros.
1452 * sysdeps/mach/bits/libc-lock.h: Likewise.
1453 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1455 2002-12-06 Roland McGrath <roland@redhat.com>
1457 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.
1459 * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]
1460 (malloc_starter, memalign_starter, free_starter): Don't define these.
1461 * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]:
1462 Don't declare them either.
1463 * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call
1464 __pthread_initialize, so no need to set hooks to *_starter.
1465 (ptmalloc_init_minimal): New function, broken out of ptmalloc_init.
1466 [_LIBC && SHARED && USE_TLS && !USE___THREAD]
1467 (__libc_malloc_pthread_startup): New function.
1468 * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.
1470 * malloc/hooks.c (memalign_starter): New function.
1471 * malloc/malloc.c: Declare it.
1472 * malloc/arena.c (save_memalign_hook): New variable.
1473 (ptmalloc_init): Set __memalign_hook to memalign_starter.
1475 * elf/dl-minimal.c (free): Clear the memory.
1476 (calloc): Just call malloc, knowing all memory it returns is cleared.
1478 * sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of
1479 malloc and memset; calloc can avoid the zeroing when redundant.
1480 (_dl_tls_setup): Likewise.
1481 * elf/dl-load.c (decompose_rpath): Likewise.
1482 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset
1483 call, since memory from sbrk at startup is already zero.
1485 * elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an
1486 error string for failure, null for success. Update callers.
1487 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise.
1488 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1490 2002-12-05 Jakub Jelinek <jakub@redhat.com>
1492 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
1494 (readahead): Change args to i:iii.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
1496 Change args to i:iii.
1497 * sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
1500 2002-12-05 Roland McGrath <roland@redhat.com>
1502 * stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument,
1503 call all functions rather than none.
1504 Reported by Mark P. Mitchell <mark@codesourcery.com>.
1506 2002-12-04 Roland McGrath <roland@redhat.com>
1508 * locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie
1509 on _nl_current_LC_* variables.
1511 2002-12-05 Ulrich Drepper <drepper@redhat.com>
1513 * dirent/bug-readdir1.c (main): Don't call closedir, just close
1514 the file descriptor. This is testing what the bug report was about.
1516 2002-12-04 Ulrich Drepper <drepper@redhat.com>
1518 * po/be.po: New file.
1520 * argp/Makefile (tests): Add tst-argp1.
1522 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent):
1523 Change type of _attribute to void*.
1524 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1525 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1526 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1528 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1530 2002-12-04 Roland McGrath <roland@redhat.com>
1532 * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
1533 members to the end, so a libpthread compiled with !USE_TLS will still
1534 find other members properly.
1536 * sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output
1537 operand for DEST memory. Fix dummy input operand to use SRC.
1538 Reported by Davin McCall <davmac@ozonline.com.au>.
1540 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB
1541 alignment when initializing the DTV entry.
1543 * elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment
1544 when TLS has not been set up, try to set it up if we can.
1545 * elf/tst-tls4.c: Revert last change.
1546 * elf/tst-tls5.c: Likewise.
1547 * elf/tst-tls6.c: Likewise.
1548 * elf/tst-tls7.c: Likewise.
1549 * elf/tst-tls8.c: Likewise.
1550 * elf/tst-tls9.c: Likewise.
1552 * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
1553 * sysdeps/generic/ldsodefs.h: Declare it.
1554 * elf/Versions (ld: GLIBC_PRIVATE): Add it.
1555 * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
1556 function, broken out of __libc_setup_tls.
1557 (init_static_tls): Likewise.
1558 (__libc_setup_tls): Call them.
1559 (_dl_tls_setup): New function, uses new subroutines.
1561 * elf/dl-close.c (free_slotinfo): Make argument pointer to pointer.
1562 Clear the pointer when returning true.
1563 (libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the
1564 first element of the slotinfo list too.
1566 * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if
1569 * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
1570 (_dl_determine_tlsoffset): Likewise.
1572 * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
1573 startup_error_tsd, made global.
1574 (dl_main): Update initialization.
1575 * elf/dl-tsd.c: Likewise.
1576 * sysdeps/generic/ldsodefs.h: Declare it.
1578 2002-12-03 Ulrich Drepper <drepper@redhat.com>
1580 * manual/texinfo.tex: Update from latest upstream version.
1582 2002-12-03 Roland McGrath <roland@redhat.com>
1584 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS
1585 area surplus in calculation for sbrk call.
1587 * iconvdata/cp1125.c: New file.
1588 * iconvdata/Makefile (distribute): Add it.
1589 (modules): Add CP1125.
1590 (gen-8bit-gap-modules): Add cp1125.
1591 * iconvdata/gconv-modules: Add CP1125, alias RUSCII.
1592 * iconvdata/tst-tables.sh: Add CP1125 to the list to test.
1594 2002-12-03 Andreas Jaeger <aj@suse.de>
1596 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1598 2002-12-03 Ulrich Drepper <drepper@redhat.com>
1600 * sysdeps/posix/system.c (do_system): Make signal handler
1601 installation thread safe.
1603 2002-12-02 Roland McGrath <roland@redhat.com>
1605 * sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
1606 caller from EXTRA to -.
1607 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1608 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1609 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1611 2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
1613 * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
1614 bits of RM are cleared.
1616 2002-12-02 Roland McGrath <roland@redhat.com>
1618 * elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy
1619 TLS setup is required.
1620 * elf/tst-tls5.c: Likewise.
1621 * elf/tst-tls6.c: Likewise.
1622 * elf/tst-tls7.c: Likewise.
1623 * elf/tst-tls8.c: Likewise.
1624 * elf/tst-tls9.c: Likewise.
1626 * elf/rtld.c (dl_main): Remove [! SHARED] conditional from
1627 `if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup.
1628 * elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list)
1629 for being null before calling free_slotinfo.
1630 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in
1631 dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero.
1633 2002-11-30 Bruno Haible <bruno@clisp.org>
1635 * iconv/gconv.h (__gconv_btowc_fct): New typedef.
1636 (struct __gconv_step): New field __btowc_fct.
1637 * wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible.
1638 * iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from
1640 (__gconv_btwoc_ascii): New declaration.
1641 * iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
1642 (__gconv_btwoc_ascii): New function.
1643 * iconv/gconv_builtin.h: Add BtowcFct argument to all
1644 BUILTIN_TRANSFORMATION invocations.
1645 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
1646 * iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise.
1647 * iconv/gconv_builtin.c (map): New field btowc_fct.
1648 (BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize
1650 (__gconv_get_builtin_trans): Initialize __btowc_fct field.
1651 * iconv/gconv_cache.c (find_module): Initialize __btowc_fct field.
1652 * iconv/gconv_db.c (gen_steps, increment_counter): Likewise.
1653 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise.
1654 * iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE.
1655 (gconv_init): Initialize __btowc_fct field.
1656 Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end.
1657 * iconv/loop.c: Document ONEBYTE_BODY.
1658 (gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined.
1659 Undefine ONEBYTE_BODY at the end.
1660 * iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro.
1661 * iconvdata/8bit-gap.c (NONNUL): New macro.
1662 (BODY for FROM_LOOP): Use it.
1663 (ONEBYTE_BODY): New macro.
1664 * iconvdata/isiri-3342.c (HAS_HOLES): Set to 1.
1665 (NONNUL): New macro.
1666 * iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro.
1667 * iconvdata/armscii-8.c (ONEBYTE_BODY): New macro.
1668 * iconvdata/cp1255.c (ONEBYTE_BODY): New macro.
1669 * iconvdata/cp1258.c (ONEBYTE_BODY): New macro.
1670 * iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro.
1671 * iconvdata/big5.c (ONEBYTE_BODY): New macro.
1672 * iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro.
1673 * iconvdata/euc-cn.c (ONEBYTE_BODY): New macro.
1674 * iconvdata/euc-jp.c (ONEBYTE_BODY): New macro.
1675 * iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro.
1676 * iconvdata/euc-kr.c (ONEBYTE_BODY): New macro.
1677 * iconvdata/euc-tw.c (ONEBYTE_BODY): New macro.
1678 * iconvdata/gbk.c (ONEBYTE_BODY): New macro.
1679 * iconvdata/gb18030.c (ONEBYTE_BODY): New macro.
1680 * iconvdata/ibm932.c: Include <stdbool.h>.
1681 (TRUE, FALSE): Remove macros.
1682 (BODY for FROM_LOOP): Remove unused variable rp1.
1683 (ONEBYTE_BODY): New macro.
1684 (BODY for TO_LOOP): Use bool.
1685 * iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array.
1686 * iconvdata/ibm943.c: Include <stdbool.h>.
1687 (TRUE, FALSE): Remove macros.
1688 (BODY for FROM_LOOP): Remove unused variable rp1.
1689 (ONEBYTE_BODY): New macro.
1690 (BODY for TO_LOOP): Use bool.
1691 * iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array.
1692 * iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro.
1693 * iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro.
1694 * iconvdata/iso_6937.c (ONEBYTE_BODY): New macro.
1695 * iconvdata/johab.c (ONEBYTE_BODY): New macro.
1696 * iconvdata/sjis.c (ONEBYTE_BODY): New macro.
1697 * iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro.
1698 * iconvdata/t.61.c (ONEBYTE_BODY): New macro.
1699 * iconvdata/uhc.c (ONEBYTE_BODY): New macro.
1700 * iconvdata/gbbig5.c: Tweak comment.
1702 2002-12-02 Ulrich Drepper <drepper@redhat.com>
1704 * po/fi.po: Update from translation team.
1706 2002-12-01 Roland McGrath <roland@redhat.com>
1708 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
1709 testing getdents64 return value.
1711 * scripts/versions.awk: Don't pass -n flag to sort command.
1713 * posix/bug-regex13.c: Include <string.h>.
1715 * sysdeps/generic/libc-start.c (__libc_start_main): Do
1716 DL_SYSDEP_OSCHECK here.
1717 * sysdeps/unix/sysv/linux/init-first.c (init): Not here.
1718 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.
1720 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
1721 argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.
1723 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
1724 instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.
1726 * include/link.h: Comment typo fix.
1728 2002-12-01 Roland McGrath <roland@frob.com>
1730 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
1731 (_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
1732 _POSIX_MEMORY_PROTECTION): Likewise.
1733 (_POSIX_POLL, _POSIX_SELECT): Removed.
1735 2002-11-28 Ulrich Drepper <drepper@redhat.com>
1737 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which
1738 require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT.
1740 2002-11-28 Jakub Jelinek <jakub@redhat.com>
1742 * sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to
1744 * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid
1747 2002-11-28 Ulrich Drepper <drepper@redhat.com>
1749 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's
1750 branch prediction buffers by using unpaired call/ret.
1752 2002-11-27 Ulrich Drepper <drepper@redhat.com>
1754 * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in
1755 first parameters constraint string.
1756 (ASMFMT_3): Likewise. Patch by stefan.lauterbach@mincom.de.
1758 2002-11-27 Isamu Hasegawa <isamu@yamato.ibm.com>
1760 * posix/regcomp.c (parse_expression): Set the bit since the back
1761 reference is used in the regular expression.
1762 * posix/regex_internal.c (re_node_set_init_1): Make it clean in case
1764 (re_node_set_init_copy): Likewise.
1765 * posix/regex_internal.h (state_array_t): New structure.
1766 (re_sub_match_last_t): Likewise.
1767 (re_sub_match_top_t): Likewise.
1768 (re_match_context_t): Add new members.
1769 (re_dfa_t): Likewise.
1770 * posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes
1771 to check the matching is really correct, and retry if failed.
1772 Move the routin pruning the impossible nodes from here, ...
1773 (prune_impossible_nodes): To this function.
1774 (check_matching): Invoke check_subexp_matching_top, and replace
1775 redundant checking with transit_state_bkref invocation.
1776 (proceed_next_node): Replace strncmp with memcmp. Reported by
1777 Paolo Bonzini <bonzini@gnu.org>.
1778 (update_cur_sifted_state): Remove search_subexp invocation.
1779 (search_subexp): Remove this function.
1780 (check_dst_limits_calc_pos): Use search_cur_bkref_entry for
1782 (sift_states_bkref): Use search_cur_bkref_entry for optimization.
1783 Remove unused invocation of match_ctx_add_entry.
1784 (transit_state): Invoke check_subexp_matching_top.
1785 (check_subexp_matching_top): New function.
1786 (transit_state_bkref): Remove unused array.
1787 Merge transit_state_bkref_loop.
1788 (transit_state_bkref_loop): Use get_subexp instead of
1789 sift_states_backward. Use search_cur_bkref_entry for optimization.
1790 Merge this function to transit_state_bkref.
1791 (get_subexp): New function.
1792 (get_subexp_sub): Likewise.
1793 (find_subexp_node): Likewise.
1794 (check_arrival): Likewise.
1795 (check_arrival_expand_ecl): Likewise.
1796 (check_arrival_expand_ecl_sub): Likewise.
1797 (expand_bkref_cache): Likewise.
1798 (match_ctx_init): Initialize new members.
1799 (match_ctx_clean): New function.
1800 (match_ctx_free): Release new members.
1801 (match_ctx_free_subtops): New function.
1802 (match_ctx_add_entry): Fix indent.
1803 (search_cur_bkref_entry): New function.
1804 (match_ctx_add_subtop): Likewise.
1805 (match_ctx_add_sublast): Likewise.
1807 2002-11-25 Ulrich Drepper <drepper@redhat.com>
1809 * iconv/Makefile (tests): Remove tst-iconv4.c
1810 * iconv/tst-iconv4.c: Moved to...
1811 * iconvdata/tst-iconv4.c: ...here. New file.
1812 * iconvdata/Makefile (tests): Add tst-iconv4. Add dependencies.
1814 2002-11-25 Roland McGrath <roland@redhat.com>
1816 * inet/test-ifaddrs.c (main: addr_string): Handle null SA.
1817 Grok AF_LINK if defined.
1818 From Momchil Velikov <velco@fadata.bg>.
1820 * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask,
1821 brdaddr, or dstaddr, just set those pointers to null and don't fail.
1822 Reported by Momchil Velikov <velco@fadata.bg>.
1824 * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len
1825 is > sizeof IFR->ifa_addr, advance past the whole longer length.
1826 (__ifreq): Count up NIFS that way too.
1827 Reported by Momchil Velikov <velco@fadata.bg>.
1829 * sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
1831 * sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h>
1832 and <fpu_control.h>.
1834 2002-11-24 Ulrich Drepper <drepper@redhat.com>
1836 * elf/elf.h (EM_ST19): Fix typo.
1838 2002-11-25 Jakub Jelinek <jakub@redhat.com>
1840 * include/errno.h (__set_errno): Define as errno = val
1843 2002-11-24 Roland McGrath <roland@redhat.com>
1845 * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
1846 * sysdeps/posix/writev.c: Likewise.
1847 From Momchil Velikov <velco@fadata.bg>.
1849 * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of
1850 calling *GL(dl_error_catch_tsd) for a thread-local location.
1851 * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT].
1852 (dl_main): Same for GL(dl_error_catch_tsd) initialization.
1853 * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT].
1855 * libio/iofflush.c: Add libc_hidden_def.
1856 * libio/iofwrite.c: Likewise.
1857 * sysdeps/generic/sigtimedwait.c: Likewise.
1858 * sysdeps/generic/sigwaitinfo.c: Likewise.
1859 * sysdeps/posix/sigwait.c: Likewise.
1860 Reported by Momchil Velikov <velco@fadata.bg>.
1862 * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t
1863 to match <arpa/inet.h> declaration.
1864 * inet/inet_netof.c (inet_netof): Likewise.
1865 * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types.
1866 Reported by Momchil Velikov <velco@fadata.bg>.
1868 * configure.in: Skip AUTOCONF check under --without-cvs.
1869 * configure: Regenerated.
1871 * posix/Makefile (headers): Add bits/pthreadtypes.h.
1872 * sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here.
1873 * sysdeps/unix/sysv/linux/Dist: Remove it from the list.
1875 2002-11-24 Andreas Schwab <schwab@suse.de>
1877 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall
1880 2002-11-19 Jim Meyering <jim@meyering.net>
1882 * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare
1884 * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'.
1886 2002-11-23 Roland McGrath <roland@redhat.com>
1888 * scripts/abilist.awk: Avoid strtonum function, not there in mawk.
1889 Just produce hex output for datum sizes.
1891 * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
1892 Reported by Luca Barbieri <ldb@ldb.ods.org>.
1894 2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
1896 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
1897 [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
1898 and __unused3 fields.
1899 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
1900 [__WORDSIZE == 32]: Only PPC32 requires __unused1
1901 and __unused2 fields.
1902 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
1903 [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
1904 __unused3, and __unused4 fields.
1906 * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
1907 obtain lowest address for profiling in __monstartup call.
1909 2002-11-21 Roland McGrath <roland@redhat.com>
1911 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
1912 $(calls) $(calls:=f) $(long-c-$(long-double-fcts)).
1914 * locale/localeinfo.h (struct locale_data): Revert last change.
1916 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
1917 From Ian Wienand <ianw@gelato.unsw.edu.au>.
1919 * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
1920 __NR_pread64 if not defined.
1921 (__NR_pwrite): Define to __NR_pwrite64 if not defined.
1922 From Ian Wienand <ianw@gelato.unsw.edu.au>.
1924 2002-11-21 Roland McGrath <roland@frob.com>
1926 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
1927 __libc_multiple_libcs here. Call __setfpucw.
1929 2002-11-21 Ulrich Drepper <drepper@redhat.com>
1931 * elf/Makefile (tests): Don't run test-arrayX tests for now.
1933 * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
1934 * sysdeps/unix/sysv/linux/i386/clone.S: Add support for
1935 CLONE_CHILD_*TID flags.
1937 2002-11-20 Andreas Jaeger <aj@suse.de>
1939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1940 We pass struct ucontext on x86-64.
1942 (GET_FRAME): Adjust.
1943 (GET_STACK): Adjust.
1945 2002-11-20 Roland McGrath <roland@redhat.com>
1947 * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
1948 conditionalize [! DO_VERSIONING] #error.
1950 * scripts/abilist.awk: Grok function descriptor symbols.
1952 * intl/tst-gettext.c (main): Check return values from setlocale.
1953 Add necessary unsetenv's to make LANG=existing-locale check work.
1955 * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally,
1956 so aborted prior runs don't confuse things.
1958 * locale/localeinfo.h (struct locale_data: union locale_data_value):
1959 Use uintptr_t instead of unsigned int for `word' member.
1960 (_NL_CURRENT_WORD): Cast to uint32_t.
1962 * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES
1965 2002-11-20 Ulrich Drepper <drepper@redhat.com>
1967 * elf/tls-macros.h: Add IA-64 definitions.
1968 Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
1970 * iconv/Makefile (tests): Add tst-iconv4.
1971 * iconv/tst-iconv4.c: New file.
1973 * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return
1974 __GCONV_EMPTY_INPUT only if input is really empty. Otherwise
1975 __GCONV_INCOMPLETE_INPUT.
1976 (ucs4le_internal_loop): Likewise.
1977 (ucs4le_internal_loop_unaligned): Likewise.
1978 * iconvdata/unicode.c (PREPARE_LOOP): Likewise.
1979 * iconvdata/utf-16.c (PREPARE_LOOP): Likewise.
1980 * iconvdata/utf-32.c (PREPARE_LOOP): Likewise.
1982 * iconv/loop.c (LOOPFCT): First test for empty input then for full
1985 * inet/getnameinfo.c: Use extend_alloca where appropriate.
1986 * sysdeps/posix/getaddrinfo.c: Likewise.
1988 * include/alloca.h (extend_alloca): New define. Based on stack
1989 direction it'll try to append to the previouls allocated buffer.
1991 2002-11-07 Thorsten Kukuk <kukuk@suse.de>
1993 * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set,
1994 use the same service for AF_INET and AF_INET6.
1996 2002-11-19 Ulrich Drepper <drepper@redhat.com>
1998 * intl/localealias.c (read_alias_file): Use only about 400 bytes
1999 of stack space instead of 16k.
2001 2002-11-18 Wolfram Gloger <wg@malloc.de>
2004 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
2005 nothing if not initialized. Bug report from Marcus Brinkmann
2006 <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2008 2002-11-19 Roland McGrath <roland@redhat.com>
2010 * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
2013 * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
2014 `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
2015 test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
2016 * configure: Regenerated.
2018 2002-11-19 Ulrich Drepper <drepper@redhat.com>
2020 * include/dlfcn.h: __libc_dlopen is now a macro calling
2021 __libc_dlopen_mode with the extra parameter RTLD_LAZY.
2022 (__libc_dlopen_mode): New prototype.
2023 * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add
2024 new parameter. Store new parameter in mode field of structure passed
2026 (struct do_dlopen_args): Add new field mode.
2027 (do_dlopen): Pass mode from parameter structure to _dl_open.
2029 2002-11-11 Randolf Chung <tausq@debian.org>
2031 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
2032 (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
2033 * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
2035 * sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
2037 * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
2038 Set -mdisable-fpregs for this file.
2040 2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
2042 * sysdeps/unix/sysv/linux/configure.in:
2043 Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
2044 from gcc-3.0 era for backwards compatibility.
2045 * sysdeps/unix/sysv/linux/configure: Regenerate.
2047 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
2048 Define mcontext_t as a sigcontext.
2050 2002-11-18 Roland McGrath <roland@redhat.com>
2052 * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
2053 Free memory in `last_result' if it was used.
2055 * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
2056 all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
2057 Do the parsing inline instead of copying strings and calling
2058 inet_network, and properly skip all alias names not matching the form.
2060 * manual/pattern.texi (Variable Substitution): Fix # and ## examples.
2062 2002-11-17 Ulrich Drepper <drepper@redhat.com>
2064 * manual/pattern.texi (Wordexp Example): Fix sample code.
2066 * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the
2067 childs stack which will be loaded into the %esi register.
2069 2002-11-14 Paul Eggert <eggert@twinsun.com>
2071 * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
2072 overflow when skipping the question part and when unpacking aliases.
2074 2002-11-15 Roland McGrath <roland@redhat.com>
2076 * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
2077 s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
2078 Instead add $(calls:s_%=m_%) to get m_* versions of them all.
2080 2002-11-15 Jakub Jelinek <jakub@redhat.com>
2082 * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
2083 * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
2085 2002-11-15 Roland McGrath <roland@redhat.com>
2087 * math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
2088 * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
2089 from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
2090 (+make-include-of-dep): New canned sequence.
2092 * stdlib/canonicalize.c (__realpath): Check for malloc failure.
2093 From Dmitry V. Levin <ldv@altlinux.org>.
2095 2002-11-14 Roland McGrath <roland@redhat.com>
2097 * sysdeps/generic/errno.c (__libc_errno): Remove alias.
2098 * inet/herrno.c (__libc_h_errno): Likewise.
2099 * resolv/res_libc.c (__libc_res): Likewise.
2100 [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
2101 (__res_state) [! USE___THREAD]: Don't define as weak.
2102 * csu/Versions: Revert last change.
2103 * resolv/Versions: Revert last change.
2105 * Makerules ($(common-objpfx)%.make): New pattern rule.
2106 * tls.make.c: New file.
2107 * Makefile (distribute): Add it.
2109 * sysdeps/generic/errno.c [! USE___THREAD]
2110 [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
2111 with compat_symbol so they are not link-time visible.
2112 [! USE___THREAD] (__libc_errno): New alias for errno.
2113 * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
2114 Add __libc_errno here.
2115 * inet/herrno.c [USE___THREAD]: Use this conditional
2116 in place of [USE_TLS && HAVE___THREAD].
2117 [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
2118 (h_errno, _h_errno): Declare these with compat_symbol so they are not
2120 [! USE___THREAD] (__libc_h_errno): New alias for h_errno.
2121 * resolv/res_libc.c [! USE___THREAD]
2122 [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
2123 (_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
2124 (__libc_res): Define as alias for _res.
2125 * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
2126 Add __libc_h_errno and __libc_res here.
2128 2002-11-14 Jakub Jelinek <jakub@redhat.com>
2130 * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now.
2131 * resolv/Versions (h_errno, _res): Likewise.
2133 2002-11-14 Roland McGrath <roland@redhat.com>
2135 * Makerules (%.dynsym): Remove $(objpfx) from target and dep.
2136 (%.symlist): Likewise.
2138 2002-11-13 Roland McGrath <roland@redhat.com>
2140 * scripts/abilist.awk: New file.
2141 * Makefile (distribute): Add it.
2142 * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
2143 (tests): Depend on .symlist file for each $(install-lib.so-versioned).
2144 [$(subdir) = elf] (tests): Depend on libc.symlist.
2145 (generated, common-generated): Add those files.
2147 * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
2148 * configure: Regenerated.
2149 * config.make.in (OBJDUMP): New variable, substituted by configure.
2151 * malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
2152 (mallochook, reallochook): Set them up.
2153 (checkhdr): Check HDR->magic2 value.
2154 (freehook): Reset HDR->magic2.
2155 (memalignhook): New static function.
2156 (old_memalign_hook): New static variable.
2157 (mcheck, reallochook): Set __memalign_hook to memalignhook.
2159 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
2162 2002-11-13 Andreas Jaeger <aj@suse.de>
2164 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
2166 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2168 2002-11-11 Paul Eggert <eggert@twinsun.com>
2170 * manual/crypt.texi (Cryptographic Functions): Mention that
2171 the MD5 one-way algorithm is compatible with BSD's.
2173 2002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com>
2175 * posix/regex_internal.c (re_string_skip_chars): Also return the last
2177 (re_string_reconstruct): Calculate the context by itself when the
2178 offset points out of the valid range.
2179 (re_string_context_at): Use wide character when MB_CUR_MAX > 1.
2180 * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
2181 (IS_WIDE_WORD_CHAR): New macro.
2182 (IS_WIDE_NEWLINE): New macro.
2184 2002-11-12 Andreas Jaeger <aj@suse.de>
2186 * sysdeps/x86_64/strchr.S: Don't use one register for two
2187 purposes, this fixes a bug noticed by test-strchr.c.
2189 * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer
2192 2002-11-12 Roland McGrath <roland@redhat.com>
2194 * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]
2195 (_G_IO_NO_BACKWARD_COMPAT): Define it.
2197 * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>
2198 instead of <pt-machine.h>.
2199 [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of
2201 From Ian Wienand <ianw@gelato.unsw.edu.au>.
2203 2002-11-10 Roland McGrath <roland@redhat.com>
2205 * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.
2206 Call fputs instead of fwprintf (simpler to follow in debugger).
2208 * crypt/md5-crypt.c: Doc fix.
2210 * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
2211 the beginning of generated target commands.
2213 * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
2214 dependencies for these in case implicit rule search skipped the
2215 nonexistent source directory.
2216 * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
2217 files with $(object-suffixes) as targets too.
2218 * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
2219 and a target for it using $(make-target-directory).
2221 * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.
2223 2002-11-10 Roland McGrath <roland@frob.com>
2225 * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
2226 * sysdeps/generic/bits/pthreadtypes.h: ... here.
2228 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with
2229 l_start == 0 and l_len == 1 as we do l_len == 0.
2231 2002-11-10 Ulrich Drepper <drepper@redhat.com>
2233 * po/da.po: Update from translation team.
2235 2002-11-10 Roland McGrath <roland@redhat.com>
2237 * config.make.in (includedir): New variable, substituted by configure.
2238 Reported missing by Jocelyn Fournier <joc@presence-pc.com>.
2239 * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
2241 2002-11-10 Andreas Jaeger <aj@suse.de>
2243 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
2244 REG_OLDMASK and REG_CR2 to synch with kernel header.
2247 * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
2249 * nss/getXXbyYY_r.c (INTERNAL): Likewise.
2250 * nss/getnssent_r.c (__nss_getent_r): Likewise.
2251 (__nss_setent): Likewise.
2252 (__nss_getent_r): Likewise.
2253 * inet/getnetgrent_r.c (innetgr): Likewise.
2254 (__internal_setnetgrent_reuse): Likewise.
2255 (internal_getnetgrent_r): Likewise.
2256 * inet/ether_hton.c (ether_hostton): Likewise.
2257 * inet/ether_ntoh.c (ether_ntohost): Likewise.
2258 * sunrpc/netname.c (netname2user): Likewise.
2259 * sunrpc/publickey.c (getpublickey): Likewise.
2260 (getsecretkey): Likewise.
2262 2002-11-09 Marcus Brinkmann <marcus@gnu.org>
2264 * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
2265 error in range calculation.
2267 2002-10-09 Jakub Jelinek <jakub@redhat.com>
2269 * string/test-strspn.c (do_test): Ensure zero termination.
2270 * string/test-strpbrk.c (do_test): Likewise.
2271 * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
2272 * string/test-strncpy.c (stupid_strncpy): Likewise.
2273 * string/test-stpncpy.c (stupid_stpncpy): Likewise.
2275 2002-10-08 Roland McGrath <roland@redhat.com>
2277 * string/test-string.h (test_init): Fill BUF1 and BUF2 with
2280 2002-09-22 H.J. Lu <hjl@gnu.org>
2282 * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
2283 from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT
2284 only if __NR_mmap2 is defined.
2286 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
2287 * sysdeps/unix/sysv/linux/mmap64.c: ... here.
2288 * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
2289 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
2291 2002-11-08 Jakub Jelinek <jakub@redhat.com>
2293 * posix/bug-regex13.c (tests): Add new test.
2295 * string/test-strchr.c (stupid_strchr): New function.
2296 (do_random_tests): Make sure the string is zero terminated.
2297 * string/test-strpbrk.c (stupid_strpbrk): New function.
2298 (do_random_tests): Make sure the string is zero terminated.
2299 * string/test-strcmp.c (stupid_strcmp): New function.
2300 (do_random_tests): Make sure the strings are zero terminated.
2301 * string/test-strspn.c (stupid_strspn): New function.
2302 (simple_strspn): Rename rej argument to acc.
2303 (do_random_tests): Make sure the string is zero terminated.
2304 * string/test-strcspn.c (stupid_strcspn): New function.
2305 * string/test-strncpy.c (stupid_strncpy): New function.
2306 * string/test-stpncpy.c (stupid_stpncpy): New function.
2307 * string/test-strncmp.c (stupid_strncmp): New function.
2308 (do_random_tests): Make sure the strings are zero terminated.
2309 * string/test-string.h (impl_t): Change test into long.
2310 (IMPL): Add __attribute__((aligned (sizeof (void *)))).
2312 2002-11-08 Roland McGrath <roland@redhat.com>
2314 * sysdeps/ia64/elf/configure.in: Add TLS check.
2315 From Ian Wienand <ianw@cse.unsw.edu.au>.
2316 * sysdeps/ia64/elf/configure: Regenerated.
2318 2002-11-07 Roland McGrath <roland@redhat.com>
2320 * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in
2321 place of _IO_new_do_write.
2322 [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and
2323 #undef before versioned_symbol use.
2325 2002-11-07 Richard Henderson <rth@redhat.com>
2327 * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
2328 * configure: Regenerated.
2329 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
2330 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
2331 (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
2332 _dl_fini via gp-relative relocations.
2333 * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
2335 * elf/tls-macros.h: Add alpha versions.
2336 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
2337 * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
2338 * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
2339 * sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
2340 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2341 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2342 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2343 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2344 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2345 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2346 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
2347 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2348 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2349 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2350 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
2351 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2352 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2353 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2355 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
2356 Kill argument registers across the inline syscall.
2358 * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
2360 * linuxthreads/sysdeps/alpha/tls.h: New file.
2361 * sysdeps/alpha/dl-tls.h: New file.
2363 2002-10-29 David Mosberger <davidm@hpl.hp.com>
2365 * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY]
2366 (gmon_initializer): New function.
2367 (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call
2368 __gmon_start__ here. Call it from gmon_initializer() instead.
2370 2002-03-12 H.J. Lu <hjl@gnu.org>
2372 * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1,
2373 tst-array2, and tst-array3.
2374 [$(have-initfini-array) = yes] (tests-static): Add tst-array3.
2375 [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep.
2376 ($(objpfx)tst-array1.out): New target.
2377 ($(objpfx)tst-array2): Likewise.
2378 ($(objpfx)tst-array2.out): Likewise.
2379 ($(objpfx)tst-array3.out): Likewise.
2380 * elf/tst-array1.c: New file.
2381 * elf/tst-array1.exp: Likewise.
2382 * elf/tst-array2.c: Likewise.
2383 * elf/tst-array2dep.c: Likewise.
2384 * elf/tst-array2.exp: Likewise.
2385 * elf/tst-array3.c: Likewise.
2387 2002-10-28 David Mosberger <davidm@hpl.hp.com>
2389 * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order.
2390 Don't add L->l_addr to array entry values.
2392 2002-11-07 Jakub Jelinek <jakub@redhat.com>
2394 * string/test-string.h: New file.
2395 * string/test-strlen.c: New file.
2396 * string/test-string.h: New file.
2397 * string/test-strcmp.c: New file.
2398 * string/test-strchr.c: New file.
2399 * string/test-strrchr.c: New file.
2400 * string/test-strcpy.c: New file.
2401 * string/test-stpcpy.c: New file.
2402 * string/test-strncpy.c: New file.
2403 * string/test-stpncpy.c: New file.
2404 * string/test-strpbrk.c: New file.
2405 * string/test-strcspn.c: New file.
2406 * string/test-strspn.c: New file.
2407 * string/test-strcat.c: New file.
2408 * string/test-strncmp.c: New file.
2409 * string/test-memchr.c: New file.
2410 * string/test-memcmp.c: New file.
2411 * string/test-memset.c: New file.
2412 * string/test-memcpy.c: New file.
2413 * string/test-mempcpy.c: New file.
2414 * string/test-memmove.c: New file.
2415 * string/Makefile (strop-tests): New variable.
2416 (tests): Add strop-tests.
2417 (distribute): Add test-string.h.
2419 2002-11-06 Ulrich Drepper <drepper@redhat.com>
2421 * posix/regcomp.c: Use tabs instead of spaces.
2422 * posix/regexec.c: Likewise.
2423 * posix/regex_internal.h: Likewise.
2425 * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
2427 2002-11-06 Jakub Jelinek <jakub@redhat.com>
2429 * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
2431 (regcomp): Don't set can_be_null here.
2432 (re_comp): Clear whole re_comp_buf with the exception of fastmap.
2433 (re_compile_internal): Clear can_be_null, set regs_allocated.
2435 * posix/regcomp.c (re_set_fastmap): New function.
2436 (re_compile_fastmap_iter): Use it. Remove redundant type ==
2437 COMPLEX_BRACKET check.
2438 * posix/regexec.c (re_search_internal): Optimize searching with
2439 fastmap. Call re_string_reconstruct even if match_first is
2440 smaller than raw_mbs_idx.
2442 2002-11-06 Isamu Hasegawa <isamu@yamato.ibm.com>
2444 * posix/regcomp (free_dfa_content): Use free_state.
2445 * posix/regex_internal.c (re_string_realloc_buffers): Don't edit
2446 pointers in case that realloc failed.
2447 (re_node_set_merge): Likewise.
2448 (register_state): Likewise.
2449 (create_newstate_common): Invoke memory release functions in case of
2451 (create_ci_newstate): Likewise.
2452 (create_cd_newstate): Likewise.
2453 (free_state): New function.
2454 * posix/regexec.c (re_search_internal): Invoke memory release
2455 functions in case of error conditions.
2456 (sift_states_backward): Likewise.
2457 (merge_state_array): Likewise.
2458 (add_epsilon_src_nodes): Likewise.
2459 (sub_epsilon_src_nodes): Likewise.
2460 (search_subexp): Likewise.
2461 (sift_states_bkref): Likewise.
2462 (transit_state_sb): Likewise.
2463 (transit_state_mb): Likewise.
2464 (transit_state_bkref_loop): Likewise.
2465 (group_nodes_into_DFAstates): Likewise.
2466 (push_fail_stack): Don't edit pointers in case that realloc failed.
2467 (extend_buffers): Likewise.
2468 (match_ctx_add_entry): Likewise.
2470 2002-11-06 Roland McGrath <roland@redhat.com>
2472 * sysdeps/unix/sysv/linux/mips/configure.in: File removed.
2473 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2475 * configure.in: Add checks on as and ld for binutils 2.13 or later.
2476 * configure: Regenerated.
2478 2002-11-06 Ulrich Drepper <drepper@redhat.com>
2480 * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail.
2481 If re_compile_internal failed free fastmap buffer.
2482 (free_dfa_content): Broken out of regfree function. Frees all dfa
2484 (regfree): Add free_dfa_content.
2485 (re_compile_internal): If any of the called functions fails free
2486 all dfa related memory.
2488 2002-11-05 Ulrich Drepper <drepper@redhat.com>
2490 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
2491 warnings from the kernel headers.
2493 2002-11-05 Roland McGrath <roland@redhat.com>
2495 * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
2496 From Johannes Stezenbach <js@convergence.de>.
2498 * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
2499 #errlist-compat magic comment to give 123 as size.
2500 (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
2501 (libc: GLIBC_2.2): ... here.
2502 (libc: GLIBC_2.3): Likewise.
2504 2002-11-05 Ulrich Drepper <drepper@redhat.com>
2506 * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount
2507 which happens at the beginning so that we can unload modules in
2510 2002-11-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2512 * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
2513 under [__USE_MISC || _ASM].
2515 * elf/elf.h: Remove the obsolete SH TLS relocations.
2517 2002-11-05 Ulrich Drepper <drepper@redhat.com>
2519 * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
2521 2002-11-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
2524 __NR_pread64 and __NR_pwrite64.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2526 * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
2528 Revert change to use INLINE_SYSCALL.
2529 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2530 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2532 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
2534 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
2537 Update clobber list and add a comment about the syscall ABI.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
2540 s_pwrite64, s_ftruncate, s_truncate): Re-add.
2542 2002-11-05 Jakub Jelinek <jakub@redhat.com>
2544 * iconv/gconv_dl.c (free_mem): Clear loaded.
2545 * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's
2548 2002-11-05 Ulrich Drepper <drepper@redhat.com>
2550 * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>.
2552 * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same
2553 as old code without locking. _IO_seekoff calls this function after
2555 * libio/ioseekpos.c: Likewise for _IO_seekpos.
2556 * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal
2557 prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked
2559 * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead
2560 of _IO_seekoff_internal.
2561 (_IO_rewind): Likewise.
2562 * libio/ioftell.c: Likewise.
2563 * libio/ftello.c: Likewise.
2564 * libio/ftello64.c: Likewise.
2565 * libio/iofgetpos.c: Likewise.
2566 * libio/iofgetpos64.c: Likewise.
2567 * libio/oldiofgetpos.c: Likewise.
2568 * libio/oldiofgetpos64.c: Likewise.
2569 * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of
2570 _IO_seekpos_internal.
2571 * libio/iofsetpos64.c: Likewise.
2572 * libio/oldiofsetpos.c: Likewise.
2573 * libio/oldiofsetpos64.c: Likewise.
2575 2002-11-04 Roland McGrath <roland@redhat.com>
2577 * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro.
2578 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise.
2581 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2583 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2584 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise.
2585 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2586 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl,
2588 s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64,
2589 sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev):
2590 Remove these, no longer used.
2592 2002-11-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
2595 s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
2596 s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
2597 s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
2598 s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
2599 s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
2602 * sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
2603 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2604 * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
2606 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
2609 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2611 2002-11-03 Roland McGrath <roland@redhat.com>
2613 * sysdeps/generic/ldsodefs.h (struct rtld_global): New member
2614 `_dl_tls_static_used'.
2615 * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
2616 (__libc_setup_tls): Initialize it. Let the initial value of
2617 _dl_tls_static_size indicate some surplus space in the computed value.
2618 * elf/dl-open.c (_dl_tls_static_size): New variable.
2619 * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize
2620 _dl_tls_static_used. Add some surplus space into _dl_tls_static_size.
2621 * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
2622 (CHECK_STATIC_TLS): Use it.
2623 * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the
2624 closed objects occupied a trailing contiguous chunk of static TLS area.
2626 2002-10-18 Bruno Haible <bruno@clisp.org>
2628 * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0.
2630 2002-11-04 Ulrich Drepper <drepper@redhat.com>
2632 * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and
2633 _wide_data->_IO_read_end if adjustment can be made in the current
2636 * sysdeps/unix/sysv/linux/fexecve.c: New file.
2638 * libio/bug-wfflush.c (do_test): Using fseek is not allowed when
2639 wide oriented streams are used.
2641 * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the
2642 service hasn't been used [PR libc/4744].
2644 * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
2645 Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766].
2647 * manual/examples/dir.c: Don't include <stddef.h>.
2648 * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
2649 Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.
2651 2002-11-02 H.J. Lu <hjl@gnu.org>
2653 * stdio-common/reg-printf.c: Include <stddef.h>.
2655 2002-11-03 Ulrich Drepper <drepper@redhat.com>
2657 * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used.
2659 * po/ca.po: Update from translation team.
2660 * po/es.po: Likewise.
2662 * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF
2663 is defined write out memory map.
2664 * sysdeps/unix/sysv/linux/segfault.c: New file.
2666 2002-11-02 Roland McGrath <roland@redhat.com>
2668 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for
2669 pointers that can alias.
2670 Reported by Daniel Jacobowitz <drow@mvista.com>.
2672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.
2674 2002-11-02 Roland McGrath <roland@redhat.com>
2676 * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
2677 description to be clearer and to say that *RESULT is set to ENTRY.
2679 2002-10-30 Jakub Jelinek <jakub@redhat.com>
2681 * posix/regexec.c (build_trtable): Alloca or malloc dests_node and
2682 dests_ch arrays together. Alloca or malloc dest_states,
2683 dest_states_word and dest_states_nl arrays together. Free memory on
2686 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
2688 * crypt/crypt_util.c (__init_des_r): Initialize current_salt
2689 and current_saltbits.
2691 2002-11-02 Roland McGrath <roland@redhat.com>
2693 * stdio-common/reg-printf.c: Include <stdlib.h>.
2695 2002-11-02 H.J. Lu <hjl@gnu.org>
2697 * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
2698 caller to EXTRA instead of execve.
2700 2002-11-01 Roland McGrath <roland@redhat.com>
2702 * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
2703 in place of [!(USE_TLS && HAVE___THREAD)].
2704 (__errno_location) [! USE___THREAD]: Define as strong, not weak.
2706 2002-10-31 Roger Sayle <roger@eyesopen.com>
2708 * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
2710 * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
2712 * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
2713 without defining FP_ROUNDMODE.
2715 2002-10-29 Jakub Jelinek <jakub@redhat.com>
2717 * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
2718 (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
2720 * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
2721 (OLD_SIGLIST_SIZE): Define.
2722 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
2723 (OLD_SIGLIST_SIZE): Define.
2724 * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
2726 2002-11-01 Jakub Jelinek <jakub@redhat.com>
2728 * sysdeps/ia64/strncpy.S: Fix recovery code.
2730 2002-10-30 Jakub Jelinek <jakub@redhat.com>
2732 * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
2734 * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
2736 * elf/dl-libc.c (free_mem): Likewise.
2737 * iconv/gconv_conf.c (free_mem): Likewise.
2738 * iconv/gconv_db.c (free_mem): Likewise.
2739 * iconv/gconv_dl.c (free_mem): Likewise.
2740 * iconv/gconv_cache.c (free_mem): Likewise.
2741 * intl/finddomain.c (free_mem): Likewise.
2742 * intl/dcigettext.c (free_mem): Likewise.
2743 * locale/setlocale.c (free_mem): Likewise.
2744 * misc/fstab.c (fstab_free): Likewise.
2745 * nss/nsswitch.c (free_mem): Likewise.
2746 * posix/regcomp.c (free_mem): Likewise.
2747 * resolv/gai_misc.c (free_res): Likewise.
2748 * stdlib/fmtmsg.c (free_mem): Likewise.
2749 * sunrpc/clnt_perr.c (free_mem): Likewise.
2750 * sysdeps/generic/setenv.c (free_mem): Likewise.
2751 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
2752 * sysdeps/pthread/aio_misc.c (free_res): Likewise.
2753 * time/tzset.c (free_mem): Likewise.
2754 * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
2755 * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
2756 * malloc/set-freeres.c (__libc_freeres): Likewise.
2758 * login/getutent.c: Include stdlib.h instead of stddef.h.
2759 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
2760 (__getutent): Allocate buffer the first time it is run.
2761 * login/getutid.c: Include stdlib.h instead of stddef.h.
2762 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
2763 (__getutid): Allocate buffer the first time it is run.
2764 * login/getutline.c: Include stdlib.h instead of stddef.h.
2765 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
2766 (__getutline): Allocate buffer the first time it is run.
2767 * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
2768 (mtrace): Allocate malloc_trace_buffer.
2769 * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
2770 * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
2771 * string/strerror.c: Include libintl.h and errno.h.
2772 (buf): New variable.
2773 (strerror): Only allocate buffer if actually needed (unknown error).
2774 * time/tzfile.c (transitions): Add libc_freeres_ptr.
2777 2002-10-25 Jakub Jelinek <jakub@redhat.com>
2779 * include/libc-symbols.h (libc_freeres_ptr): New macro.
2780 * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
2782 (__libc_freeres): Free all pointers in that section.
2783 * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
2784 commands when creating .lds script.
2785 (LDSEDCMD-c.so): New variable.
2786 * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
2787 (rcmd_af): Use strdup to allocate ahostbuf.
2788 * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
2789 (rexec_af): Use strdup to allocate ahostbuf.
2790 * stdio-common/reg-printf.c (printf_funcs): Remove.
2791 (__printf_arginfo_table): Change into printf_arginfo_function **.
2792 Add libc_freeres_ptr.
2793 (__register_printf_function): Allocate __printf_arginfo_table
2794 and __printf_function_table the first time it is called.
2795 * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
2796 printf_arginfo_function **.
2797 (parse_one_spec): Add __builtin_expect.
2798 * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
2800 * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
2802 * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
2803 (string_space, map): Add libc_freeres_ptr.
2805 * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
2807 * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
2809 * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
2810 (buffer): Add libc_freeres_ptr.
2811 (free_mem): Remove for _LIBC.
2812 * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
2814 * nss/getXXent.c (buffer): Add libc_freeres_ptr.
2816 * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
2818 * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
2820 * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
2822 * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
2824 * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
2827 * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
2831 2002-10-30 Jakub Jelinek <jakub@redhat.com>
2833 * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
2834 instead of duplicating the whole function in libc.
2836 2002-10-31 Roland McGrath <roland@redhat.com>
2838 * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
2839 Renamed from __bswap_16 (typo fix). Reported by <dens@stl.sarov.ru>.
2841 2002-10-30 Jakub Jelinek <jakub@redhat.com>
2843 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
2844 32bit-predefine when creating .new32 list and -U for each
2845 32bit-predefine when creating .new64 list.
2846 * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
2848 2002-10-29 Andreas Schwab <schwab@suse.de>
2850 * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
2851 "testrtsig.h". Reported by Daniel Jacobowitz <dan@debian.org>.
2853 2002-10-25 Roland McGrath <roland@redhat.com>
2855 * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
2856 * sysdeps/unix/sysv/linux/configure: Regenerated.
2858 * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
2859 _dl_starting_up decl.
2861 2002-10-20 H.J. Lu <hjl@gnu.org>
2863 * sysdeps/unix/sysv/linux/configure.in: Don't check
2864 /lib/modules/`uname -r`/build/include for kernel headers if
2866 * sysdeps/unix/sysv/linux/configure: Regenerated.
2868 2002-10-25 Roland McGrath <roland@redhat.com>
2870 * math/math.h (M_LOG2El): Correct the value.
2871 From Stephen L Moshier <steve@moshier.net>.
2873 * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
2874 conditional from __libc_multiple_libcs access. Remove kludge for weak
2875 symbol access with old compilers we no longer support.
2876 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
2877 * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
2879 2002-10-25 Roland McGrath <roland@redhat.com>
2881 * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
2882 implement SV_RESETHAND by translating it to SA_RESETHAND.
2884 2002-10-23 Alexandre Oliva <aoliva@redhat.com>
2886 * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
2887 type on ELF64 platforms.
2889 2002-10-24 Ulrich Drepper <drepper@redhat.com>
2891 * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
2893 * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
2895 2002-10-24 Jakub Jelinek <jakub@redhat.com>
2897 * elf/dl-misc.c: Include <sysdep.h>.
2898 (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
2900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
2901 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
2902 (INLINE_SYSCALL): Use that.
2903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
2904 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
2905 (INLINE_SYSCALL): Use that.
2906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
2907 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
2908 (INLINE_SYSCALL): Use that.
2909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
2911 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
2912 (__INTERNAL_SYSCALL_STRING): Define.
2913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
2915 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
2916 (__INTERNAL_SYSCALL_STRING): Define.
2917 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
2918 __SYSCALL_STRING to inline_syscall*.
2919 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
2921 (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
2922 inline_syscall4, inline_syscall5, inline_syscall6): Add string
2925 2002-10-24 Roland McGrath <roland@redhat.com>
2927 * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
2928 * sysdeps/unix/sysv/linux/init-first.c: Not here.
2929 * sysdeps/powerpc/elf/libc-start.c: Or here.
2930 * sysdeps/unix/sysv/aix/libc-start.c: Or here.
2931 * sysdeps/unix/sysv/aix/start-libc.c: Or here.
2932 * sysdeps/unix/sysv/aix/init-first.c: Or here.
2933 * sysdeps/generic/libc-start.c: Or here.
2934 * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
2935 access with [! SHARED].
2936 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
2938 * libio/bug-wfflush.c: New file.
2939 * libio/Makefile (tests): Add bug-wfflush.
2941 2002-10-23 Roland McGrath <roland@redhat.com>
2943 * stdio-common/tst-fphex.c: New file.
2944 * stdio-common/Makefile (tests): Add tst-fphex.
2945 * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
2946 of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad
2947 chars always before the value digits.
2948 Reported by James Antill <james.antill@redhat.com>.
2950 2002-10-24 Jakub Jelinek <jakub@redhat.com>
2952 * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
2953 (free_mem): New function.
2954 * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem
2955 if not cross compiling.
2956 (generated): Add bug-regex14-mem and bug-regex14.mtrace.
2957 (bug-regex14-ENV): Set.
2958 (bug-regex14-mem): New target.
2959 * posix/bug-regex14.c: New file.
2961 2002-10-23 Roland McGrath <roland@redhat.com>
2963 * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
2964 target, so we don't touch it when the link fails.
2966 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
2967 Check for the result overflowing off_t and fail with EOVERFLOW.
2968 * libio/ioftell.c (_IO_ftell): Likewise.
2969 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2971 * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
2972 use a temporary timeval on the stack for gettimeofday and copy it.
2973 * login/logout.c (logout): Likewise.
2974 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
2976 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
2977 Use __SWORD_TYPE instead of int for member types.
2978 (struct statfs64): Likewise.
2979 * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
2980 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
2981 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
2982 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
2983 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
2985 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
2986 * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
2987 (ST_NODIRATIME): Restore fixed value of 2048.
2988 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
2989 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
2991 Rearranged <bits/types.h> definitions to reduce duplication.
2992 * sysdeps/generic/bits/types.h: Rewritten, using macros from
2993 <bits/wordsize.h> and new header <bits/typesizes.h>.
2994 * posix/Makefile (headers): Add bits/typesizes.h here.
2995 * sysdeps/generic/bits/typesizes.h: New file.
2996 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
2997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
2998 * sysdeps/mach/hurd/bits/typesizes.h: New file.
2999 * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
3000 * sysdeps/unix/sysv/linux/bits/types.h: File removed.
3001 * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
3002 * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
3003 * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
3004 * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
3005 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
3006 * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
3007 <bits/pthreadtypes.h> here, not in <bits/types.h>.
3008 * signal/signal.h: Likewise.
3010 * streams/stropts.h: Include <bits/xtitypes.h>.
3011 * streams/Makefile (headers): Add bits/xtitypes.h here.
3012 * sysdeps/generic/bits/xtitypes.h: New file.
3013 * sysdeps/s390/bits/xtitypes.h: New file.
3014 * sysdeps/ia64/bits/xtitypes.h: New file.
3015 * sysdeps/x86_64/bits/xtitypes.h: New file.
3017 * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
3018 * sysdeps/generic/bits/ipctypes.h: New file.
3019 * sysdeps/mips/bits/ipctypes.h: New file.
3020 * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
3021 * sysdeps/gnu/bits/msq.h: Likewise.
3022 * sysvipc/sys/ipc.h: Likewise.
3024 2002-10-22 Ulrich Drepper <drepper@redhat.com>
3026 * elf/dl-load.c (struct filebuf): For buf element to have the
3027 alignment of ElfXX_Ehdr since this is what will be stored in it.
3029 2002-10-22 Jakub Jelinek <jakub@redhat.com>
3031 * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
3032 into pointer to locrec_offset.
3033 (add_locale_to_archive): Adjust callers. Free normalized_name right
3034 before returning, not immediately after add_locale, pass it to
3035 add_alias if not NULL instead of name. Rename second normalized_name
3036 occurence to nnormalized_codeset_name.
3038 * locale/programs/locarchive.c (enlarge_archive): Make sure
3039 string_size is always a multiple of 4.
3040 Reported by Andreas Schwab <schwab@suse.de>.
3042 2002-10-21 Andreas Schwab <schwab@suse.de>
3044 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
3045 caller to EXTRA instead of execve, since the latter has a
3046 higher-priority implementation in linuxthreads.
3048 2002-10-21 Roland McGrath <roland@redhat.com>
3050 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
3051 slotinfo list's len member to the proper size, not just 1.
3052 Initialize static_map.l_tls_initimage.
3054 * elf/dl-open.c (dl_open_worker): Fix loop searching for
3055 dtv_slotinfo_list element containing new modules' l_tls_modid.
3057 * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
3058 * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
3059 * elf/Makefile (tests): Add tst-tls9.
3060 (tests-static): Add tst-tls9-static.
3061 (tst-tls9-static-ENV): New variable.
3062 ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
3064 * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
3065 modids used by partially loaded modules being closed can't be known.
3067 2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com>
3069 * posix/Makefile: Add a test case for the bug reported by Aharon
3070 Robbins <arnold@skeeve.com>.
3071 * posix/bug-regex13.c: New file.
3072 * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
3074 2002-10-21 Ulrich Drepper <drepper@redhat.com>
3076 * csu/gmon-start.c: Pretty printing.
3078 2002-10-19 Art Haas <ahaas@neosoft.com>
3080 * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
3081 add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
3082 add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
3083 * configure: Regenerated.
3085 2002-10-19 Roland McGrath <roland@redhat.com>
3087 * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
3088 and then set $subdirs directly, because the new Autoconf breaks
3089 compatibility in every way imaginable and insists on whining
3090 about usage that worked since the dawn of time.
3091 * configure: Regenerated.
3093 * configure: Regenerated (using Autoconf 2.54).
3094 * sysdeps/alpha/elf/configure: Likewise.
3095 * sysdeps/generic/configure: Likewise.
3096 * sysdeps/i386/elf/configure: Likewise.
3097 * sysdeps/ia64/elf/configure: Likewise.
3098 * sysdeps/mach/hurd/configure: Likewise.
3099 * sysdeps/mach/configure: Likewise.
3100 * sysdeps/unix/configure: Likewise.
3101 * sysdeps/unix/common/configure: Likewise.
3102 * sysdeps/unix/sysv/aix/configure: Likewise.
3103 * sysdeps/unix/sysv/linux/configure: Likewise.
3104 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3105 * sysdeps/x86_64/elf/configure: Likewise.
3107 * config.make.in: Nix completely-soft nonsense.
3108 * configure.in: Likewise. Under --without-fp, use nofpu subdirectory
3109 of machine directories instead of fpu subdirectory.
3110 * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
3111 * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
3112 * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
3113 * sysdeps/powerpc/nofpu/sim-full.c: ... here.
3114 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
3115 * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
3116 * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
3117 * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
3118 * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
3119 * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
3120 * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
3121 * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
3122 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
3123 * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
3124 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
3125 * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
3126 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
3127 * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
3128 * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
3129 * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
3130 * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
3131 * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
3132 * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
3133 * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
3134 * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
3135 * sysdeps/powerpc/nofpu/fegetround.c: ... here.
3136 * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
3137 * sysdeps/powerpc/nofpu/fesetround.c: ... here.
3138 * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
3139 * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
3140 * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
3141 * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
3142 * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
3143 * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
3144 * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
3145 * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
3146 * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
3147 * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
3148 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
3149 * sysdeps/powerpc/nofpu/Versions: ... here, new file.
3151 2002-10-19 Bruno Haible <bruno@clisp.org>
3153 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
3155 2002-10-18 Roland McGrath <roland@redhat.com>
3157 * io/Makefile (routines): Add lchmod.
3158 * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
3159 * sysdeps/generic/lchmod.c: New file.
3160 * sysdeps/mach/hurd/lchmod.c: New file.
3161 * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
3163 2002-10-18 Art Haas <ahaas@neosoft.com>
3165 * configure.in: Remove remaining AC_FD_CC macros, and replace
3166 AC_FD_MSG with AS_MESSAGE_FD.
3168 2002-10-18 Roland McGrath <roland@redhat.com>
3170 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
3171 typos: VALUE -> FINALADDR.
3173 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
3174 (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
3175 (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
3176 (inline_syscall6): Move these macros ...
3177 * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
3179 * configure.in (libc_link_dests, libc_link_sources): Remove these
3180 variables and the AC_LINK_FILES call.
3182 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
3183 change to put new symbols here instead of in GLIBC_2.2.
3184 * sysdeps/powerpc/Subdirs: Move this file ...
3185 * sysdeps/powerpc/soft-fp/Subdirs: ... here.
3187 2002-10-07 Roland McGrath <roland@redhat.com>
3189 * sysdeps/generic/bits/time.h: Replaced with contents of the
3190 sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following
3191 files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
3192 and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
3193 macros is ok even for architectures that don't now implement them.
3194 * sysdeps/mach/hurd/bits/time.h: File removed.
3195 * sysdeps/unix/sysv/linux/bits/time.h: File removed.
3196 * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
3197 * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
3198 * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
3199 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
3201 2002-10-18 Jeff Bailey <jbailey@gnu.org>
3203 * configure.in: Replace obsolete AC_OUTPUT syntax with
3204 AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
3206 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
3207 _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
3209 * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
3210 * sysdeps/alpha/elf/configure.in: Likewise.
3211 * sysdeps/i386/elf/configure.in: Likewise.
3212 * sysdeps/mach/hurd/configure.in: Likewise.
3213 * sysdeps/x86_64/elf/configure.in: Likewise.
3215 * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
3217 * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
3218 * sysdeps/generic/configure.in: Likewise.
3219 * sysdeps/i386/elf/configure.in: Likewise.
3220 * sysdeps/ia64/elf/configure.in: Likewise.
3221 * sysdeps/mach/configure.in: Likewise.
3222 * sysdeps/mach/hurd/configure.in: Likewise.
3223 * sysdeps/unix/configure.in: Likewise.
3224 * sysdeps/unix/common/configure.in: Likewise.
3225 * sysdeps/unix/sysv/aix/configure.in: Likewise.
3226 * sysdeps/unix/sysv/linux/configure.in: Likewise.
3227 * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
3228 * sysdeps/x86_64/elf/configure.in: Likewise.
3230 * aclocal.m4: Use just the bits from AS_INIT that are needed for the
3231 GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so
3232 that it's obvious when extra autoconf machinery is being dragged in.
3234 2002-10-18 Roland McGrath <roland@redhat.com>
3236 * configure.in: Remove bogus echo included in
3237 2002-10-08 Aldy Hernandez <aldyh@redhat.com> change.
3238 * configure: Regenerated.
3240 2002-10-18 Jakub Jelinek <jakub@redhat.com>
3242 * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
3243 (statfs_filesize_max): New function.
3244 * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
3245 JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
3246 ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
3247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
3248 statfs_filesize_max.
3249 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3250 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
3251 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
3253 2002-10-17 Roland McGrath <roland@redhat.com>
3255 * configure.in (MIG): Just AC_SUBST it here.
3256 * configure: Regenerated.
3257 * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
3258 Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
3259 * sysdeps/mach/configure: Regenerated.
3261 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
3262 and AC_PROVIDE([_AS_CR_PREPARE]).
3264 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
3265 Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
3267 * elf/dl-support.c: Move _dl_tls_* variables to ...
3268 * sysdeps/generic/libc-tls.c: ... here.
3270 * elf/dl-close.c (remove_slotinfo): Take new argument. If false,
3271 allow IDX to be one past the current last slotinfo entry.
3272 (_dl_close): Pass IMAP->l_init_called for that parameter.
3274 2002-10-07 Andreas Schwab <schwab@suse.de>
3276 * aclocal.m4: Fix for autoconf 2.53.
3277 * configure.in: Likewise. Require autoconf 2.53.
3279 2002-10-08 Richard Henderson <rth@redhat.com>
3281 * soft-fp/op-4.h: Handle carry correctly in
3282 __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
3283 __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
3284 * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
3286 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
3288 * configure.in: Compute completely-soft.
3289 * config.make.in: Make completely-soft available to sub-makes.
3290 * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
3291 gcc-double-routines. Add sim-full.c. Add fenv_const and
3292 fe_nomask to libm-support.
3293 * sysdeps/powerpc/soft-fp/sim-full.c: New file.
3294 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
3295 * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
3296 * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
3297 * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
3298 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
3299 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
3300 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
3301 * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
3302 * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
3303 * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
3304 * sysdeps/powerpc/soft-fp/fegetround.c: New file.
3305 * sysdeps/powerpc/soft-fp/fesetround.c: New file.
3306 * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
3307 * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
3308 * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
3309 * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
3310 * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
3311 * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
3312 symbols. Add __sim_disabled_exceptions, __sim_exceptions,
3314 * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
3315 * sysdeps/powerpc/soft-float/sfp-machine.h: Define
3316 FP_HANDLE_EXCEPTIONS.
3317 Define FP_ROUNDMODE.
3318 Redefine FP_* macros to correspond to the FE_* bit positions.
3319 Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
3320 Define externs for __sim_exceptions, __sim_disabled_exceptions,
3321 __sim_round_mode, __simulate_exceptions.
3322 * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
3323 * sysdeps/powerpc/bits/fenv.h: ...to here.
3325 2002-10-06 Jakub Jelinek <jakub@redhat.com>
3327 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3328 Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
3329 Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix
3330 R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
3333 2002-10-15 Jakub Jelinek <jakub@redhat.com>
3335 * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
3336 __libc_res_nsend): New prototypes.
3337 * resolv/res_query.c (QUERYSIZE): Define.
3338 (__libc_res_nquery): Renamed from res_nquery. Added answerp
3339 argument. Allocate only QUERYSIZE bytes first, if res_nmkquery
3340 fails use MAXPACKET buffer. Call __libc_res_nsend instead of
3341 res_nsend, pass answerp.
3342 (res_nquery): Changed into wrapper around __libc_res_nquery.
3343 (__libc_res_nsearch): Renamed from res_nsearch. Added answerp
3344 argument. Call __libc_res_nquerydomain and __libc_res_nquery
3345 instead of the non-__libc_ variants, pass them answerp.
3346 (res_nsearch): Changed into wrapper around __libc_res_nsearch.
3347 (__libc_res_nquerydomain): Renamed from res_nquerydomain.
3348 Added answerp argument. Call __libc_res_nquery instead of
3349 res_nquery, pass answerp.
3350 (res_nquerydomain): Changed into wrapper around
3351 __libc_res_nquerydomain.
3352 * resolv/res_send.c: Include sys/ioctl.h.
3353 (MAXPACKET): Define.
3354 (send_vc): Change arguments. Reallocate answer buffer if it is
3356 (send_dg): Likewise.
3357 (__libc_res_nsend): Renamed from res_nsend. Added ansp argument.
3358 Reallocate answer buffer if it is too small and hooks are in use.
3359 Adjust calls to send_vc and send_dg.
3360 (res_nsend): Changed into wrapper around __libc_res_nsend.
3361 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
3362 just 1K answer buffer on the stack, use __libc_res_nsearch instead
3364 (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
3365 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
3366 (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
3367 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
3368 (gethostbyaddr): Similarly with __libc_res_nquery.
3369 * resolv/Versions (libresolv): Export __libc_res_nquery and
3370 __libc_res_nsearch at GLIBC_PRIVATE.
3372 2002-10-17 Roland McGrath <roland@redhat.com>
3374 * configure.in: Grok --without-__thread and disable HAVE___THREAD.
3375 * configure: Regenerated.
3377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
3378 before performing the reloc, not after.
3379 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3381 2002-10-17 Ulrich Drepper <drepper@redhat.com>
3383 * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
3384 * locale/programs/linereader.c (lr_open): Likewise.
3385 * locale/programs/charmap-dir.c (charmap_open): Likewise.
3386 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3388 2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
3390 * posix/bug-regex11.c: Add a test case for the bug reported by
3391 Paolo Bonzini <bonzini@gnu.org>.
3392 * posix/regexec.c (sift_states_bkref): Use correct destination of
3395 2002-10-17 Roland McGrath <roland@redhat.com>
3397 * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
3398 * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
3399 to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
3400 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
3401 Call it after performing TPOFF relocs.
3402 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3403 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3404 * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
3406 * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
3407 when closing a partially-initialized object.
3409 * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
3410 instead of _dl_fatal_printf when we see PT_TLS.
3412 * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
3413 instead of $(libof-$<).
3415 2002-10-16 Roland McGrath <roland@redhat.com>
3417 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
3418 instead of += to append, to be sure $(lib) gets expanded at defn time.
3419 (libof-$(cpp-src)): New variable, define this instead.
3420 * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
3421 (lib): Don't use override.
3422 (CPPFLAGS-$(lib)): New variable, put -D's here.
3423 * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
3424 Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
3425 LIB found by $(libof-*) for basename, target, or source.
3426 * Makerules (CPPFLAGS-nonlib): New variable.
3427 * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
3428 * locale/Makefile (lib): Likewise.
3429 * sunrpc/Makefile (lib): Likewise.
3431 * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
3432 * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
3433 * sysdeps/unix/sysv/linux/pathconf.h: New file.
3434 (statfs_link_max): New function, guts from fpathconf.c.
3435 * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
3436 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3437 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
3438 to use the linux/pathconf.c code by #include rather than duplication.
3439 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
3441 2002-10-16 Jakub Jelinek <jakub@redhat.com>
3443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3444 Use __libc_errno only for libc itself.
3446 2002-10-16 Andreas Jaeger <aj@suse.de>
3448 * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
3450 2002-10-16 Ulrich Drepper <drepper@redhat.com>
3452 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3453 Use __libc_errno only for libc itself.
3455 2002-10-15 Roland McGrath <roland@redhat.com>
3456 Jakub Jelinek <jakub@redhat.com>
3458 * sysdeps/unix/sysv/linux/Makefile
3459 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
3460 sparc/Makefile to produce a bi-arch file as needed.
3461 That's now parameterized by the variable $(64bit-predefine).
3462 Use LC_ALL=C for `comm' commands in that rule.
3463 No longer conditional on [$(no_syscall_list_h)].
3464 * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
3465 (64bit-predefine): New variable.
3466 * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
3467 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3468 * sysdeps/unix/sysv/linux/powerpc/Makefile
3469 (64bit-predefine): New variable.
3471 2002-10-15 Roland McGrath <roland@redhat.com>
3473 * sysdeps/unix/sysv/linux/Makefile
3474 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
3476 * login/utmp-private.h: Declare __libc_utmp_lock.
3477 * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
3478 and call __libc_utmp_jump_table functions directly, instead of using
3481 * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
3482 * sysdeps/unix/sysv/linux/configure: Regenerated.
3484 * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
3485 (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
3486 Use int32_t for ll_time.
3487 (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
3488 Use int32_t instead of long int for ut_session.
3489 Use an anonymous struct with 32-bit fields for ut_tv.
3490 * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
3491 (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
3492 here as in utmp.h for `struct utmp'.
3493 * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
3494 * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
3495 * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
3496 * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
3497 * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
3498 * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
3500 * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
3501 of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
3502 All the following files were identical or equivalent to it.
3503 * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
3504 * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
3505 * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
3506 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
3507 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
3508 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
3509 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
3510 * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
3511 * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
3512 * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
3514 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
3515 instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
3516 Other than the previously incorrect sign of msg_iovlen, this is a
3517 no-op on 32-bit platforms. On 64-bit platforms it makes this header
3518 match their layouts as well, so the following are now identical to it.
3519 * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
3520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
3521 * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
3522 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
3523 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
3525 2002-10-15 Ulrich Drepper <drepper@redhat.com>
3527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
3528 Define for 2.4+ kernels.
3530 * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
3531 are known to have the vfork syscall. Don't confuse the CPUs
3532 branch prediction unit by jumping to the return address.
3534 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
3535 support for reiserfs and xfs.
3537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
3539 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
3541 Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
3543 2002-10-16 Jakub Jelinek <jakub@redhat.com>
3545 * include/libc-symbols.h (attribute_tls_model_ie): Define.
3546 * include/errno.h (errno): Define to __libc_errno in libc.so.
3547 Add attribute_tls_model_ie.
3548 * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
3549 Add attribute_tls_model_ie.
3550 * include/resolv.h (_res): Define to __libc_res in libc.so. Add
3551 attribute_tls_model_ie.
3552 * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
3554 * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
3556 * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
3557 attribute_tls_model_ie.
3558 * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
3560 * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
3561 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
3562 __libc_errno in USE___THREAD case.
3563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3565 * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
3566 __attribute__((tls_model (""))).
3567 * configure: Rebuilt.
3568 * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
3570 2002-10-15 Ulrich Drepper <drepper@redhat.com>
3572 * timezone/asia: Update from tzdata2002d.
3573 * timezone/australasia: Likewise.
3574 * timezone/iso3166.tab: Likewise.
3575 * timezone/southamerica: Likewise.
3576 * timezone/zone-tab: Likewise.
3578 2002-10-15 Roland McGrath <roland@redhat.com>
3580 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
3581 Adjust TCB pointer before calling free, so we get the whole block.
3583 2002-10-14 Roland McGrath <roland@redhat.com>
3585 * sysdeps/unix/sysv/linux/x86_64/sigaction.c
3586 [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
3587 extern using attribute_hidden instead of static, avoids warning.
3589 2002-10-09 Jakub Jelinek <jakub@redhat.com>
3591 * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
3592 * sysdeps/unix/sysv/linux/configure: Rebuilt.
3594 2002-10-14 Ulrich Drepper <drepper@redhat.com>
3596 * po/sv.po: Update from translation team.
3598 2002-10-12 H.J. Lu <hjl@gnu.org>
3600 * sunrpc/thrsvc.c (PROCQUIT): New.
3601 (struct rpc_arg): New.
3602 (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
3603 (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
3604 (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
3605 (main): Modified for struct rpc_arg *.
3607 2002-10-14 Ulrich Drepper <drepper@redhat.com>
3609 * dirent/scandir.c: Rearrange code a bit to reduce binary size.
3611 2002-10-14 Jakub Jelinek <jakub@redhat.com>
3613 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
3614 (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
3615 in ld.so even if __thread is supported.
3617 2002-10-13 Jakub Jelinek <jakub@redhat.com>
3619 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3620 Add hack to prevent the compiler from clobbering the signal context.
3621 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3623 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
3626 2002-10-14 Andreas Jaeger <aj@suse.de>
3628 * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
3629 Guido Guenther <agx@sigxcpu.org>.
3631 2002-10-14 Ulrich Drepper <drepper@redhat.com>
3633 * po/sk.po: Update from translation team.
3635 2002-09-26 Roland McGrath <roland@redhat.com>
3637 * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
3639 * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
3640 DL_DST_LIB based on $(slibdir).
3642 2002-10-13 Roland McGrath <roland@frob.com>
3644 * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
3646 * sysdeps/mach/hurd/getresuid.c: New file.
3647 * sysdeps/mach/hurd/getresgid.c: New file.
3648 * sysdeps/mach/hurd/setresuid.c: New file.
3649 * sysdeps/mach/hurd/setresgid.c: New file.
3651 * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
3652 setresgid): Declare them.
3655 (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
3656 add libc_hidden_proto.
3657 * posix/Versions (libc: GLIBC_2.3.2): New set. Add
3658 getresuid, getresgid, setresuid, setresgid here.
3659 * Versions.def (libc): Define GLIBC_2.3.2 set.
3660 * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
3661 Add libc_hidden_def.
3662 * sysdeps/generic/getresgid.c (__getresgid): Likewise.
3663 * sysdeps/generic/setresgid.c: New file.
3664 * sysdeps/generic/setresuid.c: New file.
3665 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3666 (sysdep_routines): Don't add getresuid and getresgid here.
3667 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
3668 (sysdep_routines): Don't add setresuid and setresgid here.
3669 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
3670 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
3671 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
3672 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
3673 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
3674 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3675 * posix/Makefile (routines): Add them all here instead.
3676 * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
3677 __getresuid. Add libc_hidden_def for that, and weak alias to old name.
3678 * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
3679 __getresgid. Add libc_hidden_def for that, and weak alias to old name.
3680 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
3681 [! __NR_setresuid]: Include generic file.
3682 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
3683 __setresgid. Add libc_hidden_def for that, and weak alias to old name.
3684 [! __NR_setresuid]: Include generic file.
3685 * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
3686 Caller is - now, not EXTRA.
3687 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
3688 (setresuid, setresgid, getresuid, getresgid): Likewise.
3689 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
3690 Add these calls here.
3691 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
3692 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3694 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3695 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3698 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3699 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3701 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3702 (sysdep_routines): Add setfsuid and setfsgid here.
3703 * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
3704 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
3705 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
3706 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
3707 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
3708 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
3709 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
3710 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3712 * hurd/errno.c: Renamed to ...
3713 * hurd/errno-loc.c: ... this.
3714 * hurd/Makefile (routines): errno -> errno-loc
3716 2002-10-13 Ulrich Drepper <drepper@redhat.com>
3718 * po/de.po: Update from translation team.
3720 * MakeTAGS: Add -E flag to xgettext runs.
3722 2002-10-12 Ulrich Drepper <drepper@redhat.com>
3724 * po/fr.po: Update from translation team.
3726 * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
3727 Optimize a bit for use in glibc.
3729 2002-10-12 Roland McGrath <roland@redhat.com>
3731 * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
3732 Some machines are slow. Guido Guenther <agx@sigxcpu.org> has one.
3734 2002-10-12 Ulrich Drepper <drepper@redhat.com>
3736 * po/sv.po: Update from translation team.
3738 2002-10-11 Isamu Hasegawa <isamu@yamato.ibm.com>
3740 * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
3742 (regfree): Likewise.
3743 (create_initial_state): Likewise.
3744 (analyze): Remove the substitutions which became useless.
3745 (calc_first): Likewise.
3746 (calc_epsdest): Use edests of OP_BACK_REF in case that it has
3747 epsilon destination.
3748 (duplicate_node_closure): New function.
3749 (duplicate_node): Remove the handling OP_CONTEXT_NODE.
3750 (calc_inveclosure): Likewise.
3751 (calc_eclosure): Likewise.
3752 (calc_eclosure_iter): Invoke duplicate_node_closure instead of
3753 direct invocation of duplicate_node.
3754 (parse): Don't use comma operator in the return to avoid compiler
3756 (parse_reg_exp): Likewise.
3757 (parse_branch): Likewise.
3758 (parse_expression): Likewise.
3759 (parse_sub_exp): Likewise.
3760 (parse_dup_op): Likewise.
3761 * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
3762 which became useless.
3763 (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
3764 (create_cd_newstate): Likewise.
3765 * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
3766 (re_token_t): Likewise.
3767 (re_dfa_t): Likewise.
3768 (re_node_set_remove): New macro.
3769 * posix/regexec.c (check_matching): Remove the handling
3771 (check_halt_node_context): Likewise.
3772 (proceed_next_node): Likewise.
3773 (pop_fail_stack): Fix the memory leak.
3774 (set_regs): Likewise.
3775 (free_fail_stack_return): New function.
3776 (sift_states_backward): Fix the memory leak. Remove the handling
3778 (update_cur_sifted_state): Append some if clause to avoid redundant
3780 (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
3782 (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
3783 (check_subexp_limits): Likewise.
3784 (search_subexp): Likewise.
3785 (sift_states_bkref): Likewise.
3786 (transit_state_mb): Likewise.
3787 (transit_state_bkref_loop): Likewise.
3788 (transit_state_bkref_loop): Likewise.
3789 (group_nodes_into_DFAstates): Likewise.
3790 (check_node_accept): Likewise.
3791 (sift_ctx_init): Add initializing.
3793 2002-10-12 Ulrich Drepper <drepper@redhat.com>
3795 * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
3798 2002-10-11 Ulrich Drepper <drepper@redhat.com>
3800 * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
3801 duplicated variable c.
3803 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
3806 * sysdeps/unix/sysv/linux/i386/sysdep.h
3807 (INTERNAL_SYSCALL_ERROR_P): New define.
3808 (INTERNAL_SYSCALL_ERRNO): Likewise.
3810 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3811 Add hack to prevent the compiler from clobbering the signal context.
3813 2002-10-11 Roland McGrath <roland@redhat.com>
3815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3818 * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
3819 * sysdeps/sh/dl-lookupcfg.h: File removed.
3820 * sysdeps/i386/dl-lookupcfg.h: File removed.
3822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
3823 missing labels and ; from last change.
3825 * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
3826 number literals, so they are doubles instead of ints.
3828 2002-10-09 Roland McGrath <roland@redhat.com>
3830 * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
3831 changed from [USE_TLS && HAVE___THREAD].
3833 * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
3834 Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
3835 * sysdeps/x86_64/dl-machine.h
3836 (elf_machine_type_class, elf_machine_rela): Likewise.
3837 * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
3840 * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
3841 * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
3842 (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
3844 * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
3845 instead of ___tls_get_addr.
3846 (___tls_get_addr_internal): Add attribute_hidden to decl.
3848 * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
3849 _dl_error_catch_tsd.
3850 * elf/rtld.c (startup_error_tsd): New function.
3851 (dl_main): Point _dl_error_catch_tsd at that.
3852 * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
3853 use new function pointer instead.
3854 * elf/dl-tsd.c: New file.
3855 * elf/Makefile (routines): Add it.
3857 2002-10-07 Roland McGrath <roland@redhat.com>
3859 * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
3860 writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then
3861 take _dl_load_lock around calling __writev.
3863 * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
3864 (INLINE_SYSCALL): Use that.
3866 * sysdeps/generic/dl-sysdep.h: New file.
3867 * sysdeps/mach/hurd/dl-sysdep.h: New file.
3868 * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
3869 * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
3870 [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
3872 * elf/dl-minimal.c (__errno_location): Removed.
3873 * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
3874 Use GOTOFF access for errno.
3875 * sysdeps/unix/sysv/linux/i386/sysdep.h
3876 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
3878 * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
3879 Use PC-relative access for errno.
3880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3881 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
3883 * include/tls.h: New file.
3884 (USE___THREAD): New macro.
3885 Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
3887 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
3888 changed from [USE_TLS && HAVE___THREAD].
3889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3890 * sysdeps/unix/i386/sysdep.S: Likewise.
3891 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3892 * include/errno.h: Likewise.
3893 * include/netdb.h: Likewise.
3894 * include/resolv.h: Likewise.
3896 * sysdeps/generic/errno.c: New file.
3897 * csu/Makefile (aux): New variable, list errno.
3898 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
3899 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3900 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
3901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3903 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
3904 * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
3905 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
3906 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3907 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
3909 * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
3910 * sysdeps/unix/alpha/sysdep.S: Likewise.
3911 * sysdeps/generic/start.c: Likewise.
3912 * sysdeps/unix/start.c: Likewise.
3913 * sysdeps/unix/arm/start.c: Likewise.
3914 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
3915 * sysdeps/unix/sparc/start.c: Likewise.
3916 * sysdeps/unix/sysv/irix4/start.c: Likewise.
3917 * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
3919 * manual/search.texi (Tree Search Function, Hash Search Function):
3920 Mention search.h clearly.
3922 2002-10-05 Roland McGrath <roland@redhat.com>
3924 * elf/dl-fxstat64.c: File removed.
3925 * elf/dl-xstat64.c: File removed.
3926 * elf/Makefile (rtld-routines): Remove them.
3927 * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
3928 Instead, use strong_alias instead of versioned_symbol in the
3930 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3931 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3933 * include/shlib-compat.h
3934 (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
3935 [! NOT_IN_libc] (IS_IN_libc): Define it.
3936 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
3937 * elf/Makefile (CPPFLAGS-.os): Likewise.
3939 * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
3940 Return the status instead of calling exit.
3942 * Makeconfig (CFLAGS): Prepend -std=gnu99.
3943 * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
3944 Remove superfluous rm command, whose @ plus make bugs hid
3945 all these commands from the make output.
3947 * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC.
3948 * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
3949 Use that file's contents instead of literal echo's for the prologue.
3950 * include/features.h: Include <gnu/stubs.h> unconditionally.
3951 * include/gnu/stubs.h: New file.
3953 2002-09-30 Roland McGrath <roland@redhat.com>
3955 * elf/rtld-Rules: New file.
3956 * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
3957 $(objpfx)rtld-libc.a): New targets.
3958 (generated): Add them.
3959 (reloc-link): Remove -o $@ from the variable.
3960 ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
3961 (distribute): Add rtld-Rules.
3962 (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
3963 * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
3964 (common-mostlyclean, common-clean): Clean up rtld-* files.
3965 * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
3967 2002-10-11 Roland McGrath <roland@redhat.com>
3969 * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
3970 now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
3972 * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
3973 proper set of no-op insn prefixes.
3975 * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
3977 2002-10-11 Ulrich Drepper <drepper@redhat.com>
3979 * sysdeps/unix/sysv/linux/execve.c: Don't try calling
3980 __pthread_kill_other_threads_np.
3982 * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
3984 2002-10-08 Roland McGrath <roland@redhat.com>
3986 * locale/newlocale.c (__newlocale): If setting all categories to "C",
3987 just return &_nl_C_locobj instead of copying it.
3988 * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
3989 * locale/duplocale.c (__duplocale): Likewise.
3991 2002-10-07 Roland McGrath <roland@frob.com>
3993 * config.h.in (HAVE_I386_SET_GDT): New #undef.
3994 * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
3995 * sysdeps/mach/configure: Regenerated.
3997 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
4000 Add all necessary register outputs for syscall-clobbered registers.
4002 2002-10-02 David Mosberger <davidm@hpl.hp.com>
4004 * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
4005 Itanium 2 (and Itanium).
4006 Fix unwind directives and make it fit in 80 columns.
4007 * sysdeps/ia64/memset.S: Likewise.
4008 * sysdeps/ia64/memcpy.S: Likewise.
4009 Move jump table to .rodata section.
4011 2002-10-03 Roland McGrath <roland@frob.com>
4013 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
4016 2002-10-10 Andreas Jaeger <aj@suse.de>
4018 * sysdeps/x86_64/_mcount.S: Restore correct registers.
4020 2002-10-10 Ulrich Drepper <drepper@redhat.com>
4022 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
4024 2002-10-09 Ulrich Drepper <drepper@redhat.com>
4026 * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
4027 _dl_allocate_tls_init. Add rtld_hidden_proto.
4028 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
4030 * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
4032 * version.h (VERSION): Bump to 2.3.1.
4034 * Make-dist: Add back one of the tar invocations removed before.
4036 * stdlib/Makefile (distribute): Add allocalim.h.
4038 * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
4039 (__libc_tsd_address): Use correct variable name.
4040 Patch by Stefan Jones <stefan.jones@multigig.com>.
4042 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
4043 Reported by edwardsg@sgi.com [PR libc/4678].
4045 * Versions.def (libc): Add GLIBC_2.3.1.
4046 (libpthread): Add GLIBC_2.3.1.
4048 * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
4050 * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
4051 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
4053 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4054 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4056 * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
4057 * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
4058 and make old name an alias.
4059 * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
4060 and make old name an alias.
4061 * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
4064 * include/sys/uio.h: Declare __libc_readv and __libc_writev.
4065 * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
4067 * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
4069 * sysdeps/posix/readv.c: Likewise
4070 * sysdeps/unix/sysv/aix/readv.c: Likewise.
4071 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4072 * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
4074 * sysdeps/posix/writev.c: Likewise
4075 * sysdeps/unix/sysv/aix/writev.c: Likewise.
4076 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4078 * include/sys/wait.h: Declare __waitid.
4079 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
4080 * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
4082 * sysdeps/posix/waitid.c: Likewise.
4083 * sysdeps/unix/sysv/aix/waitid.c: Likewise.
4085 * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
4087 2002-10-07 Jakub Jelinek <jakub@redhat.com>
4089 * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
4091 (__MAX_ALLOCA_CUTOFF): Define.
4092 Include allocalim.h.
4093 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
4094 _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
4095 host_buffer depending on __libc_use_alloca.
4096 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
4097 _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
4098 net_buffer depending on __libc_use_alloca.
4099 * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
4100 buf depending on __libc_use_alloca.
4101 * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
4102 * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
4103 instead of hardcoded constants.
4104 Pass proper size argument to alloca and compute end for wide char
4106 * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
4107 instead of hardcoded constants.
4108 * string/strcoll.c (strcoll): Likewise.
4109 * string/strxfrm.c (strxfrm): Likewise.
4110 * sysdeps/posix/readv.c (__readv): Likewise.
4111 * sysdeps/posix/writev.c (__writev): Likewise.
4112 * sysdeps/generic/allocalim.h: New file.
4114 2002-10-08 Roland McGrath <roland@redhat.com>
4116 * configure.in (aux_missing warning): Change "too old" to
4117 "incompatible versions", since for autoconf it's "too new" right now.
4118 * configure: Regenerated.
4120 * configure.in (AUTOCONF): New check to set it. Set to "no" if the
4121 one found doesn't work on our configure.in.
4122 * configure: Regenerated.
4123 * config.make.in (AUTOCONF): New substituted variable.
4124 * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
4125 (autoconf-it): ... here, use that instead of defining conditionally.
4126 Use $(AUTOCONF) instead of literal autoconf.
4127 [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
4128 with this condition.
4129 * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
4131 2002-10-08 Ulrich Drepper <drepper@redhat.com>
4133 * Make-dist (dist): Cleanup a bit. We are not interested in the
4134 14 char filename limit anymore. Remove intermediate files and
4137 2002-10-05 Ulrich Drepper <drepper@redhat.com>
4139 * po/sk.po: Update from translation team.
4140 * po/tr.po: Likewise.
4141 * po/gl.po: Likewise.
4143 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4145 * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
4147 2002-10-03 Ulrich Drepper <drepper@redhat.com>
4149 * version.h (RELEASE): Change to stable.
4151 2002-10-03 Jakub Jelinek <jakub@redhat.com>
4153 * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
4154 __syscall_exit_group): New prototypes.
4156 2002-10-03 Ulrich Drepper <drepper@redhat.com>
4158 * glibc 2.3 released.
4161 See ChangeLog.13 for earlier changes.