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