1 2002-11-02 Roland McGrath <roland@redhat.com>
3 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.
5 2002-11-02 Roland McGrath <roland@redhat.com>
7 * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
8 description to be clearer and to say that *RESULT is set to ENTRY.
10 2002-10-30 Jakub Jelinek <jakub@redhat.com>
12 * posix/regexec.c (build_trtable): Alloca or malloc dests_node and
13 dests_ch arrays together. Alloca or malloc dest_states,
14 dest_states_word and dest_states_nl arrays together. Free memory on
17 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
19 * crypt/crypt_util.c (__init_des_r): Initialize current_salt
22 2002-11-02 Roland McGrath <roland@redhat.com>
24 * stdio-common/reg-printf.c: Include <stdlib.h>.
26 2002-11-02 H.J. Lu <hjl@gnu.org>
28 * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
29 caller to EXTRA instead of execve.
31 2002-11-01 Roland McGrath <roland@redhat.com>
33 * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
34 in place of [!(USE_TLS && HAVE___THREAD)].
35 (__errno_location) [! USE___THREAD]: Define as strong, not weak.
37 2002-10-31 Roger Sayle <roger@eyesopen.com>
39 * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
41 * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
43 * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
44 without defining FP_ROUNDMODE.
46 2002-10-29 Jakub Jelinek <jakub@redhat.com>
48 * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
49 (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
51 * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
52 (OLD_SIGLIST_SIZE): Define.
53 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
54 (OLD_SIGLIST_SIZE): Define.
55 * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
57 2002-11-01 Jakub Jelinek <jakub@redhat.com>
59 * sysdeps/ia64/strncpy.S: Fix recovery code.
61 2002-10-30 Jakub Jelinek <jakub@redhat.com>
63 * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
65 * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
67 * elf/dl-libc.c (free_mem): Likewise.
68 * iconv/gconv_conf.c (free_mem): Likewise.
69 * iconv/gconv_db.c (free_mem): Likewise.
70 * iconv/gconv_dl.c (free_mem): Likewise.
71 * iconv/gconv_cache.c (free_mem): Likewise.
72 * intl/finddomain.c (free_mem): Likewise.
73 * intl/dcigettext.c (free_mem): Likewise.
74 * locale/setlocale.c (free_mem): Likewise.
75 * misc/fstab.c (fstab_free): Likewise.
76 * nss/nsswitch.c (free_mem): Likewise.
77 * posix/regcomp.c (free_mem): Likewise.
78 * resolv/gai_misc.c (free_res): Likewise.
79 * stdlib/fmtmsg.c (free_mem): Likewise.
80 * sunrpc/clnt_perr.c (free_mem): Likewise.
81 * sysdeps/generic/setenv.c (free_mem): Likewise.
82 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
83 * sysdeps/pthread/aio_misc.c (free_res): Likewise.
84 * time/tzset.c (free_mem): Likewise.
85 * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
86 * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
87 * malloc/set-freeres.c (__libc_freeres): Likewise.
89 * login/getutent.c: Include stdlib.h instead of stddef.h.
90 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
91 (__getutent): Allocate buffer the first time it is run.
92 * login/getutid.c: Include stdlib.h instead of stddef.h.
93 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
94 (__getutid): Allocate buffer the first time it is run.
95 * login/getutline.c: Include stdlib.h instead of stddef.h.
96 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
97 (__getutline): Allocate buffer the first time it is run.
98 * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
99 (mtrace): Allocate malloc_trace_buffer.
100 * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
101 * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
102 * string/strerror.c: Include libintl.h and errno.h.
104 (strerror): Only allocate buffer if actually needed (unknown error).
105 * time/tzfile.c (transitions): Add libc_freeres_ptr.
108 2002-10-25 Jakub Jelinek <jakub@redhat.com>
110 * include/libc-symbols.h (libc_freeres_ptr): New macro.
111 * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
113 (__libc_freeres): Free all pointers in that section.
114 * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
115 commands when creating .lds script.
116 (LDSEDCMD-c.so): New variable.
117 * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
118 (rcmd_af): Use strdup to allocate ahostbuf.
119 * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
120 (rexec_af): Use strdup to allocate ahostbuf.
121 * stdio-common/reg-printf.c (printf_funcs): Remove.
122 (__printf_arginfo_table): Change into printf_arginfo_function **.
123 Add libc_freeres_ptr.
124 (__register_printf_function): Allocate __printf_arginfo_table
125 and __printf_function_table the first time it is called.
126 * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
127 printf_arginfo_function **.
128 (parse_one_spec): Add __builtin_expect.
129 * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
131 * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
133 * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
134 (string_space, map): Add libc_freeres_ptr.
136 * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
138 * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
140 * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
141 (buffer): Add libc_freeres_ptr.
142 (free_mem): Remove for _LIBC.
143 * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
145 * nss/getXXent.c (buffer): Add libc_freeres_ptr.
147 * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
149 * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
151 * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
153 * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
155 * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
158 * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
162 2002-10-30 Jakub Jelinek <jakub@redhat.com>
164 * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
165 instead of duplicating the whole function in libc.
167 2002-10-31 Roland McGrath <roland@redhat.com>
169 * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
170 Renamed from __bswap_16 (typo fix). Reported by <dens@stl.sarov.ru>.
172 2002-10-30 Jakub Jelinek <jakub@redhat.com>
174 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
175 32bit-predefine when creating .new32 list and -U for each
176 32bit-predefine when creating .new64 list.
177 * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
179 2002-10-29 Andreas Schwab <schwab@suse.de>
181 * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
182 "testrtsig.h". Reported by Daniel Jacobowitz <dan@debian.org>.
184 2002-10-25 Roland McGrath <roland@redhat.com>
186 * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
187 * sysdeps/unix/sysv/linux/configure: Regenerated.
189 * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
190 _dl_starting_up decl.
192 2002-10-20 H.J. Lu <hjl@gnu.org>
194 * sysdeps/unix/sysv/linux/configure.in: Don't check
195 /lib/modules/`uname -r`/build/include for kernel headers if
197 * sysdeps/unix/sysv/linux/configure: Regenerated.
199 2002-10-25 Roland McGrath <roland@redhat.com>
201 * math/math.h (M_LOG2El): Correct the value.
202 From Stephen L Moshier <steve@moshier.net>.
204 * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
205 conditional from __libc_multiple_libcs access. Remove kludge for weak
206 symbol access with old compilers we no longer support.
207 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
208 * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
210 2002-10-25 Roland McGrath <roland@redhat.com>
212 * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
213 implement SV_RESETHAND by translating it to SA_RESETHAND.
215 2002-10-23 Alexandre Oliva <aoliva@redhat.com>
217 * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
218 type on ELF64 platforms.
220 2002-10-24 Ulrich Drepper <drepper@redhat.com>
222 * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
224 * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
226 2002-10-24 Jakub Jelinek <jakub@redhat.com>
228 * elf/dl-misc.c: Include <sysdep.h>.
229 (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
231 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
232 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
233 (INLINE_SYSCALL): Use that.
234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
235 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
236 (INLINE_SYSCALL): Use that.
237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
238 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
239 (INLINE_SYSCALL): Use that.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
242 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
243 (__INTERNAL_SYSCALL_STRING): Define.
244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
246 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
247 (__INTERNAL_SYSCALL_STRING): Define.
248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
249 __SYSCALL_STRING to inline_syscall*.
250 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
252 (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
253 inline_syscall4, inline_syscall5, inline_syscall6): Add string
256 2002-10-24 Roland McGrath <roland@redhat.com>
258 * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
259 * sysdeps/unix/sysv/linux/init-first.c: Not here.
260 * sysdeps/powerpc/elf/libc-start.c: Or here.
261 * sysdeps/unix/sysv/aix/libc-start.c: Or here.
262 * sysdeps/unix/sysv/aix/start-libc.c: Or here.
263 * sysdeps/unix/sysv/aix/init-first.c: Or here.
264 * sysdeps/generic/libc-start.c: Or here.
265 * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
266 access with [! SHARED].
267 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
269 * libio/bug-wfflush.c: New file.
270 * libio/Makefile (tests): Add bug-wfflush.
272 2002-10-23 Roland McGrath <roland@redhat.com>
274 * stdio-common/tst-fphex.c: New file.
275 * stdio-common/Makefile (tests): Add tst-fphex.
276 * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
277 of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad
278 chars always before the value digits.
279 Reported by James Antill <james.antill@redhat.com>.
281 2002-10-24 Jakub Jelinek <jakub@redhat.com>
283 * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
284 (free_mem): New function.
285 * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem
286 if not cross compiling.
287 (generated): Add bug-regex14-mem and bug-regex14.mtrace.
288 (bug-regex14-ENV): Set.
289 (bug-regex14-mem): New target.
290 * posix/bug-regex14.c: New file.
292 2002-10-23 Roland McGrath <roland@redhat.com>
294 * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
295 target, so we don't touch it when the link fails.
297 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
298 Check for the result overflowing off_t and fail with EOVERFLOW.
299 * libio/ioftell.c (_IO_ftell): Likewise.
300 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
302 * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
303 use a temporary timeval on the stack for gettimeofday and copy it.
304 * login/logout.c (logout): Likewise.
305 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
307 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
308 Use __SWORD_TYPE instead of int for member types.
309 (struct statfs64): Likewise.
310 * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
311 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
312 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
313 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
314 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
316 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
317 * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
318 (ST_NODIRATIME): Restore fixed value of 2048.
319 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
320 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
322 Rearranged <bits/types.h> definitions to reduce duplication.
323 * sysdeps/generic/bits/types.h: Rewritten, using macros from
324 <bits/wordsize.h> and new header <bits/typesizes.h>.
325 * posix/Makefile (headers): Add bits/typesizes.h here.
326 * sysdeps/generic/bits/typesizes.h: New file.
327 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
329 * sysdeps/mach/hurd/bits/typesizes.h: New file.
330 * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
331 * sysdeps/unix/sysv/linux/bits/types.h: File removed.
332 * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
333 * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
334 * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
335 * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
336 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
337 * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
338 <bits/pthreadtypes.h> here, not in <bits/types.h>.
339 * signal/signal.h: Likewise.
341 * streams/stropts.h: Include <bits/xtitypes.h>.
342 * streams/Makefile (headers): Add bits/xtitypes.h here.
343 * sysdeps/generic/bits/xtitypes.h: New file.
344 * sysdeps/s390/bits/xtitypes.h: New file.
345 * sysdeps/ia64/bits/xtitypes.h: New file.
346 * sysdeps/x86_64/bits/xtitypes.h: New file.
348 * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
349 * sysdeps/generic/bits/ipctypes.h: New file.
350 * sysdeps/mips/bits/ipctypes.h: New file.
351 * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
352 * sysdeps/gnu/bits/msq.h: Likewise.
353 * sysvipc/sys/ipc.h: Likewise.
355 2002-10-22 Ulrich Drepper <drepper@redhat.com>
357 * elf/dl-load.c (struct filebuf): For buf element to have the
358 alignment of ElfXX_Ehdr since this is what will be stored in it.
360 2002-10-22 Jakub Jelinek <jakub@redhat.com>
362 * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
363 into pointer to locrec_offset.
364 (add_locale_to_archive): Adjust callers. Free normalized_name right
365 before returning, not immediately after add_locale, pass it to
366 add_alias if not NULL instead of name. Rename second normalized_name
367 occurence to nnormalized_codeset_name.
369 * locale/programs/locarchive.c (enlarge_archive): Make sure
370 string_size is always a multiple of 4.
371 Reported by Andreas Schwab <schwab@suse.de>.
373 2002-10-21 Andreas Schwab <schwab@suse.de>
375 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
376 caller to EXTRA instead of execve, since the latter has a
377 higher-priority implementation in linuxthreads.
379 2002-10-21 Roland McGrath <roland@redhat.com>
381 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
382 slotinfo list's len member to the proper size, not just 1.
383 Initialize static_map.l_tls_initimage.
385 * elf/dl-open.c (dl_open_worker): Fix loop searching for
386 dtv_slotinfo_list element containing new modules' l_tls_modid.
388 * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
389 * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
390 * elf/Makefile (tests): Add tst-tls9.
391 (tests-static): Add tst-tls9-static.
392 (tst-tls9-static-ENV): New variable.
393 ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
395 * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
396 modids used by partially loaded modules being closed can't be known.
398 2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com>
400 * posix/Makefile: Add a test case for the bug reported by Aharon
401 Robbins <arnold@skeeve.com>.
402 * posix/bug-regex13.c: New file.
403 * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
405 2002-10-21 Ulrich Drepper <drepper@redhat.com>
407 * csu/gmon-start.c: Pretty printing.
409 2002-10-19 Art Haas <ahaas@neosoft.com>
411 * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
412 add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
413 add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
414 * configure: Regenerated.
416 2002-10-19 Roland McGrath <roland@redhat.com>
418 * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
419 and then set $subdirs directly, because the new Autoconf breaks
420 compatibility in every way imaginable and insists on whining
421 about usage that worked since the dawn of time.
422 * configure: Regenerated.
424 * configure: Regenerated (using Autoconf 2.54).
425 * sysdeps/alpha/elf/configure: Likewise.
426 * sysdeps/generic/configure: Likewise.
427 * sysdeps/i386/elf/configure: Likewise.
428 * sysdeps/ia64/elf/configure: Likewise.
429 * sysdeps/mach/hurd/configure: Likewise.
430 * sysdeps/mach/configure: Likewise.
431 * sysdeps/unix/configure: Likewise.
432 * sysdeps/unix/common/configure: Likewise.
433 * sysdeps/unix/sysv/aix/configure: Likewise.
434 * sysdeps/unix/sysv/linux/configure: Likewise.
435 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
436 * sysdeps/x86_64/elf/configure: Likewise.
438 * config.make.in: Nix completely-soft nonsense.
439 * configure.in: Likewise. Under --without-fp, use nofpu subdirectory
440 of machine directories instead of fpu subdirectory.
441 * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
442 * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
443 * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
444 * sysdeps/powerpc/nofpu/sim-full.c: ... here.
445 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
446 * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
447 * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
448 * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
449 * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
450 * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
451 * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
452 * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
453 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
454 * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
455 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
456 * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
457 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
458 * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
459 * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
460 * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
461 * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
462 * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
463 * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
464 * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
465 * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
466 * sysdeps/powerpc/nofpu/fegetround.c: ... here.
467 * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
468 * sysdeps/powerpc/nofpu/fesetround.c: ... here.
469 * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
470 * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
471 * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
472 * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
473 * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
474 * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
475 * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
476 * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
477 * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
478 * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
479 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
480 * sysdeps/powerpc/nofpu/Versions: ... here, new file.
482 2002-10-19 Bruno Haible <bruno@clisp.org>
484 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
486 2002-10-18 Roland McGrath <roland@redhat.com>
488 * io/Makefile (routines): Add lchmod.
489 * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
490 * sysdeps/generic/lchmod.c: New file.
491 * sysdeps/mach/hurd/lchmod.c: New file.
492 * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
494 2002-10-18 Art Haas <ahaas@neosoft.com>
496 * configure.in: Remove remaining AC_FD_CC macros, and replace
497 AC_FD_MSG with AS_MESSAGE_FD.
499 2002-10-18 Roland McGrath <roland@redhat.com>
501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
502 typos: VALUE -> FINALADDR.
504 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
505 (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
506 (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
507 (inline_syscall6): Move these macros ...
508 * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
510 * configure.in (libc_link_dests, libc_link_sources): Remove these
511 variables and the AC_LINK_FILES call.
513 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
514 change to put new symbols here instead of in GLIBC_2.2.
515 * sysdeps/powerpc/Subdirs: Move this file ...
516 * sysdeps/powerpc/soft-fp/Subdirs: ... here.
518 2002-10-07 Roland McGrath <roland@redhat.com>
520 * sysdeps/generic/bits/time.h: Replaced with contents of the
521 sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following
522 files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
523 and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
524 macros is ok even for architectures that don't now implement them.
525 * sysdeps/mach/hurd/bits/time.h: File removed.
526 * sysdeps/unix/sysv/linux/bits/time.h: File removed.
527 * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
528 * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
529 * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
530 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
532 2002-10-18 Jeff Bailey <jbailey@gnu.org>
534 * configure.in: Replace obsolete AC_OUTPUT syntax with
535 AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
537 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
538 _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
540 * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
541 * sysdeps/alpha/elf/configure.in: Likewise.
542 * sysdeps/i386/elf/configure.in: Likewise.
543 * sysdeps/mach/hurd/configure.in: Likewise.
544 * sysdeps/x86_64/elf/configure.in: Likewise.
546 * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
548 * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
549 * sysdeps/generic/configure.in: Likewise.
550 * sysdeps/i386/elf/configure.in: Likewise.
551 * sysdeps/ia64/elf/configure.in: Likewise.
552 * sysdeps/mach/configure.in: Likewise.
553 * sysdeps/mach/hurd/configure.in: Likewise.
554 * sysdeps/unix/configure.in: Likewise.
555 * sysdeps/unix/common/configure.in: Likewise.
556 * sysdeps/unix/sysv/aix/configure.in: Likewise.
557 * sysdeps/unix/sysv/linux/configure.in: Likewise.
558 * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
559 * sysdeps/x86_64/elf/configure.in: Likewise.
561 * aclocal.m4: Use just the bits from AS_INIT that are needed for the
562 GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so
563 that it's obvious when extra autoconf machinery is being dragged in.
565 2002-10-18 Roland McGrath <roland@redhat.com>
567 * configure.in: Remove bogus echo included in
568 2002-10-08 Aldy Hernandez <aldyh@redhat.com> change.
569 * configure: Regenerated.
571 2002-10-18 Jakub Jelinek <jakub@redhat.com>
573 * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
574 (statfs_filesize_max): New function.
575 * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
576 JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
577 ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
580 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
581 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
582 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
584 2002-10-17 Roland McGrath <roland@redhat.com>
586 * configure.in (MIG): Just AC_SUBST it here.
587 * configure: Regenerated.
588 * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
589 Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
590 * sysdeps/mach/configure: Regenerated.
592 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
593 and AC_PROVIDE([_AS_CR_PREPARE]).
595 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
596 Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
598 * elf/dl-support.c: Move _dl_tls_* variables to ...
599 * sysdeps/generic/libc-tls.c: ... here.
601 * elf/dl-close.c (remove_slotinfo): Take new argument. If false,
602 allow IDX to be one past the current last slotinfo entry.
603 (_dl_close): Pass IMAP->l_init_called for that parameter.
605 2002-10-07 Andreas Schwab <schwab@suse.de>
607 * aclocal.m4: Fix for autoconf 2.53.
608 * configure.in: Likewise. Require autoconf 2.53.
610 2002-10-08 Richard Henderson <rth@redhat.com>
612 * soft-fp/op-4.h: Handle carry correctly in
613 __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
614 __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
615 * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
617 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
619 * configure.in: Compute completely-soft.
620 * config.make.in: Make completely-soft available to sub-makes.
621 * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
622 gcc-double-routines. Add sim-full.c. Add fenv_const and
623 fe_nomask to libm-support.
624 * sysdeps/powerpc/soft-fp/sim-full.c: New file.
625 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
626 * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
627 * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
628 * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
629 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
630 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
631 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
632 * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
633 * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
634 * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
635 * sysdeps/powerpc/soft-fp/fegetround.c: New file.
636 * sysdeps/powerpc/soft-fp/fesetround.c: New file.
637 * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
638 * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
639 * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
640 * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
641 * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
642 * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
643 symbols. Add __sim_disabled_exceptions, __sim_exceptions,
645 * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
646 * sysdeps/powerpc/soft-float/sfp-machine.h: Define
647 FP_HANDLE_EXCEPTIONS.
649 Redefine FP_* macros to correspond to the FE_* bit positions.
650 Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
651 Define externs for __sim_exceptions, __sim_disabled_exceptions,
652 __sim_round_mode, __simulate_exceptions.
653 * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
654 * sysdeps/powerpc/bits/fenv.h: ...to here.
656 2002-10-06 Jakub Jelinek <jakub@redhat.com>
658 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
659 Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
660 Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix
661 R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
664 2002-10-15 Jakub Jelinek <jakub@redhat.com>
666 * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
667 __libc_res_nsend): New prototypes.
668 * resolv/res_query.c (QUERYSIZE): Define.
669 (__libc_res_nquery): Renamed from res_nquery. Added answerp
670 argument. Allocate only QUERYSIZE bytes first, if res_nmkquery
671 fails use MAXPACKET buffer. Call __libc_res_nsend instead of
672 res_nsend, pass answerp.
673 (res_nquery): Changed into wrapper around __libc_res_nquery.
674 (__libc_res_nsearch): Renamed from res_nsearch. Added answerp
675 argument. Call __libc_res_nquerydomain and __libc_res_nquery
676 instead of the non-__libc_ variants, pass them answerp.
677 (res_nsearch): Changed into wrapper around __libc_res_nsearch.
678 (__libc_res_nquerydomain): Renamed from res_nquerydomain.
679 Added answerp argument. Call __libc_res_nquery instead of
680 res_nquery, pass answerp.
681 (res_nquerydomain): Changed into wrapper around
682 __libc_res_nquerydomain.
683 * resolv/res_send.c: Include sys/ioctl.h.
685 (send_vc): Change arguments. Reallocate answer buffer if it is
688 (__libc_res_nsend): Renamed from res_nsend. Added ansp argument.
689 Reallocate answer buffer if it is too small and hooks are in use.
690 Adjust calls to send_vc and send_dg.
691 (res_nsend): Changed into wrapper around __libc_res_nsend.
692 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
693 just 1K answer buffer on the stack, use __libc_res_nsearch instead
695 (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
696 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
697 (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
698 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
699 (gethostbyaddr): Similarly with __libc_res_nquery.
700 * resolv/Versions (libresolv): Export __libc_res_nquery and
701 __libc_res_nsearch at GLIBC_PRIVATE.
703 2002-10-17 Roland McGrath <roland@redhat.com>
705 * configure.in: Grok --without-__thread and disable HAVE___THREAD.
706 * configure: Regenerated.
708 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
709 before performing the reloc, not after.
710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
712 2002-10-17 Ulrich Drepper <drepper@redhat.com>
714 * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
715 * locale/programs/linereader.c (lr_open): Likewise.
716 * locale/programs/charmap-dir.c (charmap_open): Likewise.
717 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
719 2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
721 * posix/bug-regex11.c: Add a test case for the bug reported by
722 Paolo Bonzini <bonzini@gnu.org>.
723 * posix/regexec.c (sift_states_bkref): Use correct destination of
726 2002-10-17 Roland McGrath <roland@redhat.com>
728 * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
729 * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
730 to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
731 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
732 Call it after performing TPOFF relocs.
733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
734 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
735 * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
737 * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
738 when closing a partially-initialized object.
740 * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
741 instead of _dl_fatal_printf when we see PT_TLS.
743 * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
744 instead of $(libof-$<).
746 2002-10-16 Roland McGrath <roland@redhat.com>
748 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
749 instead of += to append, to be sure $(lib) gets expanded at defn time.
750 (libof-$(cpp-src)): New variable, define this instead.
751 * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
752 (lib): Don't use override.
753 (CPPFLAGS-$(lib)): New variable, put -D's here.
754 * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
755 Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
756 LIB found by $(libof-*) for basename, target, or source.
757 * Makerules (CPPFLAGS-nonlib): New variable.
758 * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
759 * locale/Makefile (lib): Likewise.
760 * sunrpc/Makefile (lib): Likewise.
762 * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
763 * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
764 * sysdeps/unix/sysv/linux/pathconf.h: New file.
765 (statfs_link_max): New function, guts from fpathconf.c.
766 * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
767 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
768 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
769 to use the linux/pathconf.c code by #include rather than duplication.
770 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
772 2002-10-16 Jakub Jelinek <jakub@redhat.com>
774 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
775 Use __libc_errno only for libc itself.
777 2002-10-16 Andreas Jaeger <aj@suse.de>
779 * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
781 2002-10-16 Ulrich Drepper <drepper@redhat.com>
783 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
784 Use __libc_errno only for libc itself.
786 2002-10-15 Roland McGrath <roland@redhat.com>
787 Jakub Jelinek <jakub@redhat.com>
789 * sysdeps/unix/sysv/linux/Makefile
790 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
791 sparc/Makefile to produce a bi-arch file as needed.
792 That's now parameterized by the variable $(64bit-predefine).
793 Use LC_ALL=C for `comm' commands in that rule.
794 No longer conditional on [$(no_syscall_list_h)].
795 * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
796 (64bit-predefine): New variable.
797 * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
798 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
799 * sysdeps/unix/sysv/linux/powerpc/Makefile
800 (64bit-predefine): New variable.
802 2002-10-15 Roland McGrath <roland@redhat.com>
804 * sysdeps/unix/sysv/linux/Makefile
805 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
807 * login/utmp-private.h: Declare __libc_utmp_lock.
808 * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
809 and call __libc_utmp_jump_table functions directly, instead of using
812 * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
813 * sysdeps/unix/sysv/linux/configure: Regenerated.
815 * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
816 (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
817 Use int32_t for ll_time.
818 (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
819 Use int32_t instead of long int for ut_session.
820 Use an anonymous struct with 32-bit fields for ut_tv.
821 * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
822 (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
823 here as in utmp.h for `struct utmp'.
824 * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
825 * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
826 * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
827 * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
828 * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
829 * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
831 * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
832 of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
833 All the following files were identical or equivalent to it.
834 * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
835 * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
836 * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
837 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
838 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
839 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
840 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
841 * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
842 * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
843 * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
845 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
846 instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
847 Other than the previously incorrect sign of msg_iovlen, this is a
848 no-op on 32-bit platforms. On 64-bit platforms it makes this header
849 match their layouts as well, so the following are now identical to it.
850 * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
852 * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
853 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
854 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
856 2002-10-15 Ulrich Drepper <drepper@redhat.com>
858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
859 Define for 2.4+ kernels.
861 * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
862 are known to have the vfork syscall. Don't confuse the CPUs
863 branch prediction unit by jumping to the return address.
865 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
866 support for reiserfs and xfs.
868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
870 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
872 Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
874 2002-10-16 Jakub Jelinek <jakub@redhat.com>
876 * include/libc-symbols.h (attribute_tls_model_ie): Define.
877 * include/errno.h (errno): Define to __libc_errno in libc.so.
878 Add attribute_tls_model_ie.
879 * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
880 Add attribute_tls_model_ie.
881 * include/resolv.h (_res): Define to __libc_res in libc.so. Add
882 attribute_tls_model_ie.
883 * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
885 * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
887 * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
888 attribute_tls_model_ie.
889 * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
891 * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
892 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
893 __libc_errno in USE___THREAD case.
894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
896 * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
897 __attribute__((tls_model (""))).
898 * configure: Rebuilt.
899 * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
901 2002-10-15 Ulrich Drepper <drepper@redhat.com>
903 * timezone/asia: Update from tzdata2002d.
904 * timezone/australasia: Likewise.
905 * timezone/iso3166.tab: Likewise.
906 * timezone/southamerica: Likewise.
907 * timezone/zone-tab: Likewise.
909 2002-10-15 Roland McGrath <roland@redhat.com>
911 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
912 Adjust TCB pointer before calling free, so we get the whole block.
914 2002-10-14 Roland McGrath <roland@redhat.com>
916 * sysdeps/unix/sysv/linux/x86_64/sigaction.c
917 [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
918 extern using attribute_hidden instead of static, avoids warning.
920 2002-10-09 Jakub Jelinek <jakub@redhat.com>
922 * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
923 * sysdeps/unix/sysv/linux/configure: Rebuilt.
925 2002-10-14 Ulrich Drepper <drepper@redhat.com>
927 * po/sv.po: Update from translation team.
929 2002-10-12 H.J. Lu <hjl@gnu.org>
931 * sunrpc/thrsvc.c (PROCQUIT): New.
932 (struct rpc_arg): New.
933 (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
934 (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
935 (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
936 (main): Modified for struct rpc_arg *.
938 2002-10-14 Ulrich Drepper <drepper@redhat.com>
940 * dirent/scandir.c: Rearrange code a bit to reduce binary size.
942 2002-10-14 Jakub Jelinek <jakub@redhat.com>
944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
945 (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
946 in ld.so even if __thread is supported.
948 2002-10-13 Jakub Jelinek <jakub@redhat.com>
950 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
951 Add hack to prevent the compiler from clobbering the signal context.
952 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
954 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
957 2002-10-14 Andreas Jaeger <aj@suse.de>
959 * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
960 Guido Guenther <agx@sigxcpu.org>.
962 2002-10-14 Ulrich Drepper <drepper@redhat.com>
964 * po/sk.po: Update from translation team.
966 2002-09-26 Roland McGrath <roland@redhat.com>
968 * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
970 * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
971 DL_DST_LIB based on $(slibdir).
973 2002-10-13 Roland McGrath <roland@frob.com>
975 * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
977 * sysdeps/mach/hurd/getresuid.c: New file.
978 * sysdeps/mach/hurd/getresgid.c: New file.
979 * sysdeps/mach/hurd/setresuid.c: New file.
980 * sysdeps/mach/hurd/setresgid.c: New file.
982 * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
983 setresgid): Declare them.
986 (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
987 add libc_hidden_proto.
988 * posix/Versions (libc: GLIBC_2.3.2): New set. Add
989 getresuid, getresgid, setresuid, setresgid here.
990 * Versions.def (libc): Define GLIBC_2.3.2 set.
991 * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
993 * sysdeps/generic/getresgid.c (__getresgid): Likewise.
994 * sysdeps/generic/setresgid.c: New file.
995 * sysdeps/generic/setresuid.c: New file.
996 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
997 (sysdep_routines): Don't add getresuid and getresgid here.
998 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
999 (sysdep_routines): Don't add setresuid and setresgid here.
1000 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
1001 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
1002 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
1003 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
1004 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1005 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1006 * posix/Makefile (routines): Add them all here instead.
1007 * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
1008 __getresuid. Add libc_hidden_def for that, and weak alias to old name.
1009 * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
1010 __getresgid. Add libc_hidden_def for that, and weak alias to old name.
1011 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
1012 [! __NR_setresuid]: Include generic file.
1013 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
1014 __setresgid. Add libc_hidden_def for that, and weak alias to old name.
1015 [! __NR_setresuid]: Include generic file.
1016 * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
1017 Caller is - now, not EXTRA.
1018 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1019 (setresuid, setresgid, getresuid, getresgid): Likewise.
1020 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
1021 Add these calls here.
1022 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
1023 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1024 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1025 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1026 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1029 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1030 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1032 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1033 (sysdep_routines): Add setfsuid and setfsgid here.
1034 * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
1035 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1036 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
1037 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
1038 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
1039 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
1040 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1041 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1043 * hurd/errno.c: Renamed to ...
1044 * hurd/errno-loc.c: ... this.
1045 * hurd/Makefile (routines): errno -> errno-loc
1047 2002-10-13 Ulrich Drepper <drepper@redhat.com>
1049 * po/de.po: Update from translation team.
1051 * MakeTAGS: Add -E flag to xgettext runs.
1053 2002-10-12 Ulrich Drepper <drepper@redhat.com>
1055 * po/fr.po: Update from translation team.
1057 * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
1058 Optimize a bit for use in glibc.
1060 2002-10-12 Roland McGrath <roland@redhat.com>
1062 * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
1063 Some machines are slow. Guido Guenther <agx@sigxcpu.org> has one.
1065 2002-10-12 Ulrich Drepper <drepper@redhat.com>
1067 * po/sv.po: Update from translation team.
1069 2002-10-11 Isamu Hasegawa <isamu@yamato.ibm.com>
1071 * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
1073 (regfree): Likewise.
1074 (create_initial_state): Likewise.
1075 (analyze): Remove the substitutions which became useless.
1076 (calc_first): Likewise.
1077 (calc_epsdest): Use edests of OP_BACK_REF in case that it has
1078 epsilon destination.
1079 (duplicate_node_closure): New function.
1080 (duplicate_node): Remove the handling OP_CONTEXT_NODE.
1081 (calc_inveclosure): Likewise.
1082 (calc_eclosure): Likewise.
1083 (calc_eclosure_iter): Invoke duplicate_node_closure instead of
1084 direct invocation of duplicate_node.
1085 (parse): Don't use comma operator in the return to avoid compiler
1087 (parse_reg_exp): Likewise.
1088 (parse_branch): Likewise.
1089 (parse_expression): Likewise.
1090 (parse_sub_exp): Likewise.
1091 (parse_dup_op): Likewise.
1092 * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
1093 which became useless.
1094 (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
1095 (create_cd_newstate): Likewise.
1096 * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
1097 (re_token_t): Likewise.
1098 (re_dfa_t): Likewise.
1099 (re_node_set_remove): New macro.
1100 * posix/regexec.c (check_matching): Remove the handling
1102 (check_halt_node_context): Likewise.
1103 (proceed_next_node): Likewise.
1104 (pop_fail_stack): Fix the memory leak.
1105 (set_regs): Likewise.
1106 (free_fail_stack_return): New function.
1107 (sift_states_backward): Fix the memory leak. Remove the handling
1109 (update_cur_sifted_state): Append some if clause to avoid redundant
1111 (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
1113 (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
1114 (check_subexp_limits): Likewise.
1115 (search_subexp): Likewise.
1116 (sift_states_bkref): Likewise.
1117 (transit_state_mb): Likewise.
1118 (transit_state_bkref_loop): Likewise.
1119 (transit_state_bkref_loop): Likewise.
1120 (group_nodes_into_DFAstates): Likewise.
1121 (check_node_accept): Likewise.
1122 (sift_ctx_init): Add initializing.
1124 2002-10-12 Ulrich Drepper <drepper@redhat.com>
1126 * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
1129 2002-10-11 Ulrich Drepper <drepper@redhat.com>
1131 * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
1132 duplicated variable c.
1134 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
1137 * sysdeps/unix/sysv/linux/i386/sysdep.h
1138 (INTERNAL_SYSCALL_ERROR_P): New define.
1139 (INTERNAL_SYSCALL_ERRNO): Likewise.
1141 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1142 Add hack to prevent the compiler from clobbering the signal context.
1144 2002-10-11 Roland McGrath <roland@redhat.com>
1146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1149 * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
1150 * sysdeps/sh/dl-lookupcfg.h: File removed.
1151 * sysdeps/i386/dl-lookupcfg.h: File removed.
1153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
1154 missing labels and ; from last change.
1156 * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
1157 number literals, so they are doubles instead of ints.
1159 2002-10-09 Roland McGrath <roland@redhat.com>
1161 * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
1162 changed from [USE_TLS && HAVE___THREAD].
1164 * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
1165 Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
1166 * sysdeps/x86_64/dl-machine.h
1167 (elf_machine_type_class, elf_machine_rela): Likewise.
1168 * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
1171 * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
1172 * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
1173 (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
1175 * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
1176 instead of ___tls_get_addr.
1177 (___tls_get_addr_internal): Add attribute_hidden to decl.
1179 * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
1180 _dl_error_catch_tsd.
1181 * elf/rtld.c (startup_error_tsd): New function.
1182 (dl_main): Point _dl_error_catch_tsd at that.
1183 * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
1184 use new function pointer instead.
1185 * elf/dl-tsd.c: New file.
1186 * elf/Makefile (routines): Add it.
1188 2002-10-07 Roland McGrath <roland@redhat.com>
1190 * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
1191 writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then
1192 take _dl_load_lock around calling __writev.
1194 * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
1195 (INLINE_SYSCALL): Use that.
1197 * sysdeps/generic/dl-sysdep.h: New file.
1198 * sysdeps/mach/hurd/dl-sysdep.h: New file.
1199 * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
1200 * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
1201 [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
1203 * elf/dl-minimal.c (__errno_location): Removed.
1204 * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
1205 Use GOTOFF access for errno.
1206 * sysdeps/unix/sysv/linux/i386/sysdep.h
1207 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
1209 * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
1210 Use PC-relative access for errno.
1211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1212 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
1214 * include/tls.h: New file.
1215 (USE___THREAD): New macro.
1216 Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
1218 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
1219 changed from [USE_TLS && HAVE___THREAD].
1220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1221 * sysdeps/unix/i386/sysdep.S: Likewise.
1222 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1223 * include/errno.h: Likewise.
1224 * include/netdb.h: Likewise.
1225 * include/resolv.h: Likewise.
1227 * sysdeps/generic/errno.c: New file.
1228 * csu/Makefile (aux): New variable, list errno.
1229 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
1230 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1231 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
1232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1234 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1235 * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
1236 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
1237 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1238 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
1239 * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
1240 * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
1241 * sysdeps/unix/alpha/sysdep.S: Likewise.
1242 * sysdeps/generic/start.c: Likewise.
1243 * sysdeps/unix/start.c: Likewise.
1244 * sysdeps/unix/arm/start.c: Likewise.
1245 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
1246 * sysdeps/unix/sparc/start.c: Likewise.
1247 * sysdeps/unix/sysv/irix4/start.c: Likewise.
1248 * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
1250 * manual/search.texi (Tree Search Function, Hash Search Function):
1251 Mention search.h clearly.
1253 2002-10-05 Roland McGrath <roland@redhat.com>
1255 * elf/dl-fxstat64.c: File removed.
1256 * elf/dl-xstat64.c: File removed.
1257 * elf/Makefile (rtld-routines): Remove them.
1258 * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
1259 Instead, use strong_alias instead of versioned_symbol in the
1261 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1262 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1264 * include/shlib-compat.h
1265 (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
1266 [! NOT_IN_libc] (IS_IN_libc): Define it.
1267 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
1268 * elf/Makefile (CPPFLAGS-.os): Likewise.
1270 * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
1271 Return the status instead of calling exit.
1273 * Makeconfig (CFLAGS): Prepend -std=gnu99.
1274 * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
1275 Remove superfluous rm command, whose @ plus make bugs hid
1276 all these commands from the make output.
1278 * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC.
1279 * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
1280 Use that file's contents instead of literal echo's for the prologue.
1281 * include/features.h: Include <gnu/stubs.h> unconditionally.
1282 * include/gnu/stubs.h: New file.
1284 2002-09-30 Roland McGrath <roland@redhat.com>
1286 * elf/rtld-Rules: New file.
1287 * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
1288 $(objpfx)rtld-libc.a): New targets.
1289 (generated): Add them.
1290 (reloc-link): Remove -o $@ from the variable.
1291 ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
1292 (distribute): Add rtld-Rules.
1293 (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
1294 * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
1295 (common-mostlyclean, common-clean): Clean up rtld-* files.
1296 * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
1298 2002-10-11 Roland McGrath <roland@redhat.com>
1300 * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
1301 now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
1303 * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
1304 proper set of no-op insn prefixes.
1306 * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
1308 2002-10-11 Ulrich Drepper <drepper@redhat.com>
1310 * sysdeps/unix/sysv/linux/execve.c: Don't try calling
1311 __pthread_kill_other_threads_np.
1313 * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
1315 2002-10-08 Roland McGrath <roland@redhat.com>
1317 * locale/newlocale.c (__newlocale): If setting all categories to "C",
1318 just return &_nl_C_locobj instead of copying it.
1319 * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
1320 * locale/duplocale.c (__duplocale): Likewise.
1322 2002-10-07 Roland McGrath <roland@frob.com>
1324 * config.h.in (HAVE_I386_SET_GDT): New #undef.
1325 * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
1326 * sysdeps/mach/configure: Regenerated.
1328 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
1331 Add all necessary register outputs for syscall-clobbered registers.
1333 2002-10-02 David Mosberger <davidm@hpl.hp.com>
1335 * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
1336 Itanium 2 (and Itanium).
1337 Fix unwind directives and make it fit in 80 columns.
1338 * sysdeps/ia64/memset.S: Likewise.
1339 * sysdeps/ia64/memcpy.S: Likewise.
1340 Move jump table to .rodata section.
1342 2002-10-03 Roland McGrath <roland@frob.com>
1344 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
1347 2002-10-10 Andreas Jaeger <aj@suse.de>
1349 * sysdeps/x86_64/_mcount.S: Restore correct registers.
1351 2002-10-10 Ulrich Drepper <drepper@redhat.com>
1353 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
1355 2002-10-09 Ulrich Drepper <drepper@redhat.com>
1357 * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
1358 _dl_allocate_tls_init. Add rtld_hidden_proto.
1359 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
1361 * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
1363 * version.h (VERSION): Bump to 2.3.1.
1365 * Make-dist: Add back one of the tar invocations removed before.
1367 * stdlib/Makefile (distribute): Add allocalim.h.
1369 * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
1370 (__libc_tsd_address): Use correct variable name.
1371 Patch by Stefan Jones <stefan.jones@multigig.com>.
1373 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
1374 Reported by edwardsg@sgi.com [PR libc/4678].
1376 * Versions.def (libc): Add GLIBC_2.3.1.
1377 (libpthread): Add GLIBC_2.3.1.
1379 * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
1381 * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
1382 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
1384 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1385 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1387 * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
1388 * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
1389 and make old name an alias.
1390 * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
1391 and make old name an alias.
1392 * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
1395 * include/sys/uio.h: Declare __libc_readv and __libc_writev.
1396 * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
1398 * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
1400 * sysdeps/posix/readv.c: Likewise
1401 * sysdeps/unix/sysv/aix/readv.c: Likewise.
1402 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1403 * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
1405 * sysdeps/posix/writev.c: Likewise
1406 * sysdeps/unix/sysv/aix/writev.c: Likewise.
1407 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1409 * include/sys/wait.h: Declare __waitid.
1410 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
1411 * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
1413 * sysdeps/posix/waitid.c: Likewise.
1414 * sysdeps/unix/sysv/aix/waitid.c: Likewise.
1416 * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
1418 2002-10-07 Jakub Jelinek <jakub@redhat.com>
1420 * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
1422 (__MAX_ALLOCA_CUTOFF): Define.
1423 Include allocalim.h.
1424 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
1425 _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
1426 host_buffer depending on __libc_use_alloca.
1427 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
1428 _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
1429 net_buffer depending on __libc_use_alloca.
1430 * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
1431 buf depending on __libc_use_alloca.
1432 * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
1433 * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
1434 instead of hardcoded constants.
1435 Pass proper size argument to alloca and compute end for wide char
1437 * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
1438 instead of hardcoded constants.
1439 * string/strcoll.c (strcoll): Likewise.
1440 * string/strxfrm.c (strxfrm): Likewise.
1441 * sysdeps/posix/readv.c (__readv): Likewise.
1442 * sysdeps/posix/writev.c (__writev): Likewise.
1443 * sysdeps/generic/allocalim.h: New file.
1445 2002-10-08 Roland McGrath <roland@redhat.com>
1447 * configure.in (aux_missing warning): Change "too old" to
1448 "incompatible versions", since for autoconf it's "too new" right now.
1449 * configure: Regenerated.
1451 * configure.in (AUTOCONF): New check to set it. Set to "no" if the
1452 one found doesn't work on our configure.in.
1453 * configure: Regenerated.
1454 * config.make.in (AUTOCONF): New substituted variable.
1455 * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
1456 (autoconf-it): ... here, use that instead of defining conditionally.
1457 Use $(AUTOCONF) instead of literal autoconf.
1458 [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
1459 with this condition.
1460 * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
1462 2002-10-08 Ulrich Drepper <drepper@redhat.com>
1464 * Make-dist (dist): Cleanup a bit. We are not interested in the
1465 14 char filename limit anymore. Remove intermediate files and
1468 2002-10-05 Ulrich Drepper <drepper@redhat.com>
1470 * po/sk.po: Update from translation team.
1471 * po/tr.po: Likewise.
1472 * po/gl.po: Likewise.
1474 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1476 * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
1478 2002-10-03 Ulrich Drepper <drepper@redhat.com>
1480 * version.h (RELEASE): Change to stable.
1482 2002-10-03 Jakub Jelinek <jakub@redhat.com>
1484 * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
1485 __syscall_exit_group): New prototypes.
1487 2002-10-03 Ulrich Drepper <drepper@redhat.com>
1489 * glibc 2.3 released.
1492 See ChangeLog.13 for earlier changes.