1 2002-10-29 Jakub Jelinek <jakub@redhat.com>
3 * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
4 (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
6 * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
7 (OLD_SIGLIST_SIZE): Define.
8 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
9 (OLD_SIGLIST_SIZE): Define.
10 * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
12 2002-11-01 Jakub Jelinek <jakub@redhat.com>
14 * sysdeps/ia64/strncpy.S: Fix recovery code.
16 2002-10-30 Jakub Jelinek <jakub@redhat.com>
18 * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
20 * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
22 * elf/dl-libc.c (free_mem): Likewise.
23 * iconv/gconv_conf.c (free_mem): Likewise.
24 * iconv/gconv_db.c (free_mem): Likewise.
25 * iconv/gconv_dl.c (free_mem): Likewise.
26 * iconv/gconv_cache.c (free_mem): Likewise.
27 * intl/finddomain.c (free_mem): Likewise.
28 * intl/dcigettext.c (free_mem): Likewise.
29 * locale/setlocale.c (free_mem): Likewise.
30 * misc/fstab.c (fstab_free): Likewise.
31 * nss/nsswitch.c (free_mem): Likewise.
32 * posix/regcomp.c (free_mem): Likewise.
33 * resolv/gai_misc.c (free_res): Likewise.
34 * stdlib/fmtmsg.c (free_mem): Likewise.
35 * sunrpc/clnt_perr.c (free_mem): Likewise.
36 * sysdeps/generic/setenv.c (free_mem): Likewise.
37 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
38 * sysdeps/pthread/aio_misc.c (free_res): Likewise.
39 * time/tzset.c (free_mem): Likewise.
40 * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
41 * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
42 * malloc/set-freeres.c (__libc_freeres): Likewise.
44 * login/getutent.c: Include stdlib.h instead of stddef.h.
45 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
46 (__getutent): Allocate buffer the first time it is run.
47 * login/getutid.c: Include stdlib.h instead of stddef.h.
48 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
49 (__getutid): Allocate buffer the first time it is run.
50 * login/getutline.c: Include stdlib.h instead of stddef.h.
51 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
52 (__getutline): Allocate buffer the first time it is run.
53 * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
54 (mtrace): Allocate malloc_trace_buffer.
55 * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
56 * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
57 * string/strerror.c: Include libintl.h and errno.h.
59 (strerror): Only allocate buffer if actually needed (unknown error).
60 * time/tzfile.c (transitions): Add libc_freeres_ptr.
63 2002-10-25 Jakub Jelinek <jakub@redhat.com>
65 * include/libc-symbols.h (libc_freeres_ptr): New macro.
66 * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
68 (__libc_freeres): Free all pointers in that section.
69 * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
70 commands when creating .lds script.
71 (LDSEDCMD-c.so): New variable.
72 * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
73 (rcmd_af): Use strdup to allocate ahostbuf.
74 * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
75 (rexec_af): Use strdup to allocate ahostbuf.
76 * stdio-common/reg-printf.c (printf_funcs): Remove.
77 (__printf_arginfo_table): Change into printf_arginfo_function **.
79 (__register_printf_function): Allocate __printf_arginfo_table
80 and __printf_function_table the first time it is called.
81 * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
82 printf_arginfo_function **.
83 (parse_one_spec): Add __builtin_expect.
84 * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
86 * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
88 * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
89 (string_space, map): Add libc_freeres_ptr.
91 * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
93 * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
95 * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
96 (buffer): Add libc_freeres_ptr.
97 (free_mem): Remove for _LIBC.
98 * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
100 * nss/getXXent.c (buffer): Add libc_freeres_ptr.
102 * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
104 * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
106 * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
108 * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
110 * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
113 * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
117 2002-10-30 Jakub Jelinek <jakub@redhat.com>
119 * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
120 instead of duplicating the whole function in libc.
122 2002-10-31 Roland McGrath <roland@redhat.com>
124 * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
125 Renamed from __bswap_16 (typo fix). Reported by <dens@stl.sarov.ru>.
127 2002-10-30 Jakub Jelinek <jakub@redhat.com>
129 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
130 32bit-predefine when creating .new32 list and -U for each
131 32bit-predefine when creating .new64 list.
132 * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
134 2002-10-29 Andreas Schwab <schwab@suse.de>
136 * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
137 "testrtsig.h". Reported by Daniel Jacobowitz <dan@debian.org>.
139 2002-10-25 Roland McGrath <roland@redhat.com>
141 * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
142 * sysdeps/unix/sysv/linux/configure: Regenerated.
144 * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
145 _dl_starting_up decl.
147 2002-10-20 H.J. Lu <hjl@gnu.org>
149 * sysdeps/unix/sysv/linux/configure.in: Don't check
150 /lib/modules/`uname -r`/build/include for kernel headers if
152 * sysdeps/unix/sysv/linux/configure: Regenerated.
154 2002-10-25 Roland McGrath <roland@redhat.com>
156 * math/math.h (M_LOG2El): Correct the value.
157 From Stephen L Moshier <steve@moshier.net>.
159 * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
160 conditional from __libc_multiple_libcs access. Remove kludge for weak
161 symbol access with old compilers we no longer support.
162 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
163 * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
165 2002-10-25 Roland McGrath <roland@redhat.com>
167 * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
168 implement SV_RESETHAND by translating it to SA_RESETHAND.
170 2002-10-23 Alexandre Oliva <aoliva@redhat.com>
172 * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
173 type on ELF64 platforms.
175 2002-10-24 Ulrich Drepper <drepper@redhat.com>
177 * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
179 * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
181 2002-10-24 Jakub Jelinek <jakub@redhat.com>
183 * elf/dl-misc.c: Include <sysdep.h>.
184 (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
187 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
188 (INLINE_SYSCALL): Use that.
189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
190 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
191 (INLINE_SYSCALL): Use that.
192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
193 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
194 (INLINE_SYSCALL): Use that.
195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
197 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
198 (__INTERNAL_SYSCALL_STRING): Define.
199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
201 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
202 (__INTERNAL_SYSCALL_STRING): Define.
203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
204 __SYSCALL_STRING to inline_syscall*.
205 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
207 (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
208 inline_syscall4, inline_syscall5, inline_syscall6): Add string
211 2002-10-24 Roland McGrath <roland@redhat.com>
213 * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
214 * sysdeps/unix/sysv/linux/init-first.c: Not here.
215 * sysdeps/powerpc/elf/libc-start.c: Or here.
216 * sysdeps/unix/sysv/aix/libc-start.c: Or here.
217 * sysdeps/unix/sysv/aix/start-libc.c: Or here.
218 * sysdeps/unix/sysv/aix/init-first.c: Or here.
219 * sysdeps/generic/libc-start.c: Or here.
220 * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
221 access with [! SHARED].
222 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
224 * libio/bug-wfflush.c: New file.
225 * libio/Makefile (tests): Add bug-wfflush.
227 2002-10-23 Roland McGrath <roland@redhat.com>
229 * stdio-common/tst-fphex.c: New file.
230 * stdio-common/Makefile (tests): Add tst-fphex.
231 * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
232 of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad
233 chars always before the value digits.
234 Reported by James Antill <james.antill@redhat.com>.
236 2002-10-24 Jakub Jelinek <jakub@redhat.com>
238 * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
239 (free_mem): New function.
240 * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem
241 if not cross compiling.
242 (generated): Add bug-regex14-mem and bug-regex14.mtrace.
243 (bug-regex14-ENV): Set.
244 (bug-regex14-mem): New target.
245 * posix/bug-regex14.c: New file.
247 2002-10-23 Roland McGrath <roland@redhat.com>
249 * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
250 target, so we don't touch it when the link fails.
252 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
253 Check for the result overflowing off_t and fail with EOVERFLOW.
254 * libio/ioftell.c (_IO_ftell): Likewise.
255 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
257 * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
258 use a temporary timeval on the stack for gettimeofday and copy it.
259 * login/logout.c (logout): Likewise.
260 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
262 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
263 Use __SWORD_TYPE instead of int for member types.
264 (struct statfs64): Likewise.
265 * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
266 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
267 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
268 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
269 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
271 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
272 * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
273 (ST_NODIRATIME): Restore fixed value of 2048.
274 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
275 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
277 Rearranged <bits/types.h> definitions to reduce duplication.
278 * sysdeps/generic/bits/types.h: Rewritten, using macros from
279 <bits/wordsize.h> and new header <bits/typesizes.h>.
280 * posix/Makefile (headers): Add bits/typesizes.h here.
281 * sysdeps/generic/bits/typesizes.h: New file.
282 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
284 * sysdeps/mach/hurd/bits/typesizes.h: New file.
285 * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
286 * sysdeps/unix/sysv/linux/bits/types.h: File removed.
287 * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
288 * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
289 * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
290 * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
291 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
292 * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
293 <bits/pthreadtypes.h> here, not in <bits/types.h>.
294 * signal/signal.h: Likewise.
296 * streams/stropts.h: Include <bits/xtitypes.h>.
297 * streams/Makefile (headers): Add bits/xtitypes.h here.
298 * sysdeps/generic/bits/xtitypes.h: New file.
299 * sysdeps/s390/bits/xtitypes.h: New file.
300 * sysdeps/ia64/bits/xtitypes.h: New file.
301 * sysdeps/x86_64/bits/xtitypes.h: New file.
303 * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
304 * sysdeps/generic/bits/ipctypes.h: New file.
305 * sysdeps/mips/bits/ipctypes.h: New file.
306 * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
307 * sysdeps/gnu/bits/msq.h: Likewise.
308 * sysvipc/sys/ipc.h: Likewise.
310 2002-10-22 Ulrich Drepper <drepper@redhat.com>
312 * elf/dl-load.c (struct filebuf): For buf element to have the
313 alignment of ElfXX_Ehdr since this is what will be stored in it.
315 2002-10-22 Jakub Jelinek <jakub@redhat.com>
317 * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
318 into pointer to locrec_offset.
319 (add_locale_to_archive): Adjust callers. Free normalized_name right
320 before returning, not immediately after add_locale, pass it to
321 add_alias if not NULL instead of name. Rename second normalized_name
322 occurence to nnormalized_codeset_name.
324 * locale/programs/locarchive.c (enlarge_archive): Make sure
325 string_size is always a multiple of 4.
326 Reported by Andreas Schwab <schwab@suse.de>.
328 2002-10-21 Andreas Schwab <schwab@suse.de>
330 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
331 caller to EXTRA instead of execve, since the latter has a
332 higher-priority implementation in linuxthreads.
334 2002-10-21 Roland McGrath <roland@redhat.com>
336 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
337 slotinfo list's len member to the proper size, not just 1.
338 Initialize static_map.l_tls_initimage.
340 * elf/dl-open.c (dl_open_worker): Fix loop searching for
341 dtv_slotinfo_list element containing new modules' l_tls_modid.
343 * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
344 * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
345 * elf/Makefile (tests): Add tst-tls9.
346 (tests-static): Add tst-tls9-static.
347 (tst-tls9-static-ENV): New variable.
348 ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
350 * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
351 modids used by partially loaded modules being closed can't be known.
353 2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com>
355 * posix/Makefile: Add a test case for the bug reported by Aharon
356 Robbins <arnold@skeeve.com>.
357 * posix/bug-regex13.c: New file.
358 * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
360 2002-10-21 Ulrich Drepper <drepper@redhat.com>
362 * csu/gmon-start.c: Pretty printing.
364 2002-10-19 Art Haas <ahaas@neosoft.com>
366 * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
367 add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
368 add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
369 * configure: Regenerated.
371 2002-10-19 Roland McGrath <roland@redhat.com>
373 * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
374 and then set $subdirs directly, because the new Autoconf breaks
375 compatibility in every way imaginable and insists on whining
376 about usage that worked since the dawn of time.
377 * configure: Regenerated.
379 * configure: Regenerated (using Autoconf 2.54).
380 * sysdeps/alpha/elf/configure: Likewise.
381 * sysdeps/generic/configure: Likewise.
382 * sysdeps/i386/elf/configure: Likewise.
383 * sysdeps/ia64/elf/configure: Likewise.
384 * sysdeps/mach/hurd/configure: Likewise.
385 * sysdeps/mach/configure: Likewise.
386 * sysdeps/unix/configure: Likewise.
387 * sysdeps/unix/common/configure: Likewise.
388 * sysdeps/unix/sysv/aix/configure: Likewise.
389 * sysdeps/unix/sysv/linux/configure: Likewise.
390 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
391 * sysdeps/x86_64/elf/configure: Likewise.
393 * config.make.in: Nix completely-soft nonsense.
394 * configure.in: Likewise. Under --without-fp, use nofpu subdirectory
395 of machine directories instead of fpu subdirectory.
396 * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
397 * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
398 * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
399 * sysdeps/powerpc/nofpu/sim-full.c: ... here.
400 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
401 * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
402 * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
403 * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
404 * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
405 * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
406 * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
407 * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
408 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
409 * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
410 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
411 * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
412 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
413 * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
414 * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
415 * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
416 * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
417 * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
418 * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
419 * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
420 * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
421 * sysdeps/powerpc/nofpu/fegetround.c: ... here.
422 * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
423 * sysdeps/powerpc/nofpu/fesetround.c: ... here.
424 * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
425 * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
426 * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
427 * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
428 * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
429 * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
430 * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
431 * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
432 * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
433 * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
434 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
435 * sysdeps/powerpc/nofpu/Versions: ... here, new file.
437 2002-10-19 Bruno Haible <bruno@clisp.org>
439 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
441 2002-10-18 Roland McGrath <roland@redhat.com>
443 * io/Makefile (routines): Add lchmod.
444 * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
445 * sysdeps/generic/lchmod.c: New file.
446 * sysdeps/mach/hurd/lchmod.c: New file.
447 * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
449 2002-10-18 Art Haas <ahaas@neosoft.com>
451 * configure.in: Remove remaining AC_FD_CC macros, and replace
452 AC_FD_MSG with AS_MESSAGE_FD.
454 2002-10-18 Roland McGrath <roland@redhat.com>
456 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
457 typos: VALUE -> FINALADDR.
459 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
460 (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
461 (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
462 (inline_syscall6): Move these macros ...
463 * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
465 * configure.in (libc_link_dests, libc_link_sources): Remove these
466 variables and the AC_LINK_FILES call.
468 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
469 change to put new symbols here instead of in GLIBC_2.2.
470 * sysdeps/powerpc/Subdirs: Move this file ...
471 * sysdeps/powerpc/soft-fp/Subdirs: ... here.
473 2002-10-07 Roland McGrath <roland@redhat.com>
475 * sysdeps/generic/bits/time.h: Replaced with contents of the
476 sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following
477 files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
478 and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
479 macros is ok even for architectures that don't now implement them.
480 * sysdeps/mach/hurd/bits/time.h: File removed.
481 * sysdeps/unix/sysv/linux/bits/time.h: File removed.
482 * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
483 * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
484 * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
485 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
487 2002-10-18 Jeff Bailey <jbailey@gnu.org>
489 * configure.in: Replace obsolete AC_OUTPUT syntax with
490 AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
492 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
493 _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
495 * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
496 * sysdeps/alpha/elf/configure.in: Likewise.
497 * sysdeps/i386/elf/configure.in: Likewise.
498 * sysdeps/mach/hurd/configure.in: Likewise.
499 * sysdeps/x86_64/elf/configure.in: Likewise.
501 * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
503 * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
504 * sysdeps/generic/configure.in: Likewise.
505 * sysdeps/i386/elf/configure.in: Likewise.
506 * sysdeps/ia64/elf/configure.in: Likewise.
507 * sysdeps/mach/configure.in: Likewise.
508 * sysdeps/mach/hurd/configure.in: Likewise.
509 * sysdeps/unix/configure.in: Likewise.
510 * sysdeps/unix/common/configure.in: Likewise.
511 * sysdeps/unix/sysv/aix/configure.in: Likewise.
512 * sysdeps/unix/sysv/linux/configure.in: Likewise.
513 * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
514 * sysdeps/x86_64/elf/configure.in: Likewise.
516 * aclocal.m4: Use just the bits from AS_INIT that are needed for the
517 GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so
518 that it's obvious when extra autoconf machinery is being dragged in.
520 2002-10-18 Roland McGrath <roland@redhat.com>
522 * configure.in: Remove bogus echo included in
523 2002-10-08 Aldy Hernandez <aldyh@redhat.com> change.
524 * configure: Regenerated.
526 2002-10-18 Jakub Jelinek <jakub@redhat.com>
528 * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
529 (statfs_filesize_max): New function.
530 * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
531 JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
532 ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
533 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
535 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
536 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
537 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
539 2002-10-17 Roland McGrath <roland@redhat.com>
541 * configure.in (MIG): Just AC_SUBST it here.
542 * configure: Regenerated.
543 * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
544 Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
545 * sysdeps/mach/configure: Regenerated.
547 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
548 and AC_PROVIDE([_AS_CR_PREPARE]).
550 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
551 Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
553 * elf/dl-support.c: Move _dl_tls_* variables to ...
554 * sysdeps/generic/libc-tls.c: ... here.
556 * elf/dl-close.c (remove_slotinfo): Take new argument. If false,
557 allow IDX to be one past the current last slotinfo entry.
558 (_dl_close): Pass IMAP->l_init_called for that parameter.
560 2002-10-07 Andreas Schwab <schwab@suse.de>
562 * aclocal.m4: Fix for autoconf 2.53.
563 * configure.in: Likewise. Require autoconf 2.53.
565 2002-10-08 Richard Henderson <rth@redhat.com>
567 * soft-fp/op-4.h: Handle carry correctly in
568 __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
569 __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
570 * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
572 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
574 * configure.in: Compute completely-soft.
575 * config.make.in: Make completely-soft available to sub-makes.
576 * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
577 gcc-double-routines. Add sim-full.c. Add fenv_const and
578 fe_nomask to libm-support.
579 * sysdeps/powerpc/soft-fp/sim-full.c: New file.
580 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
581 * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
582 * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
583 * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
584 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
585 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
586 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
587 * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
588 * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
589 * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
590 * sysdeps/powerpc/soft-fp/fegetround.c: New file.
591 * sysdeps/powerpc/soft-fp/fesetround.c: New file.
592 * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
593 * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
594 * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
595 * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
596 * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
597 * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
598 symbols. Add __sim_disabled_exceptions, __sim_exceptions,
600 * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
601 * sysdeps/powerpc/soft-float/sfp-machine.h: Define
602 FP_HANDLE_EXCEPTIONS.
604 Redefine FP_* macros to correspond to the FE_* bit positions.
605 Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
606 Define externs for __sim_exceptions, __sim_disabled_exceptions,
607 __sim_round_mode, __simulate_exceptions.
608 * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
609 * sysdeps/powerpc/bits/fenv.h: ...to here.
611 2002-10-06 Jakub Jelinek <jakub@redhat.com>
613 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
614 Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
615 Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix
616 R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
619 2002-10-15 Jakub Jelinek <jakub@redhat.com>
621 * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
622 __libc_res_nsend): New prototypes.
623 * resolv/res_query.c (QUERYSIZE): Define.
624 (__libc_res_nquery): Renamed from res_nquery. Added answerp
625 argument. Allocate only QUERYSIZE bytes first, if res_nmkquery
626 fails use MAXPACKET buffer. Call __libc_res_nsend instead of
627 res_nsend, pass answerp.
628 (res_nquery): Changed into wrapper around __libc_res_nquery.
629 (__libc_res_nsearch): Renamed from res_nsearch. Added answerp
630 argument. Call __libc_res_nquerydomain and __libc_res_nquery
631 instead of the non-__libc_ variants, pass them answerp.
632 (res_nsearch): Changed into wrapper around __libc_res_nsearch.
633 (__libc_res_nquerydomain): Renamed from res_nquerydomain.
634 Added answerp argument. Call __libc_res_nquery instead of
635 res_nquery, pass answerp.
636 (res_nquerydomain): Changed into wrapper around
637 __libc_res_nquerydomain.
638 * resolv/res_send.c: Include sys/ioctl.h.
640 (send_vc): Change arguments. Reallocate answer buffer if it is
643 (__libc_res_nsend): Renamed from res_nsend. Added ansp argument.
644 Reallocate answer buffer if it is too small and hooks are in use.
645 Adjust calls to send_vc and send_dg.
646 (res_nsend): Changed into wrapper around __libc_res_nsend.
647 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
648 just 1K answer buffer on the stack, use __libc_res_nsearch instead
650 (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
651 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
652 (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
653 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
654 (gethostbyaddr): Similarly with __libc_res_nquery.
655 * resolv/Versions (libresolv): Export __libc_res_nquery and
656 __libc_res_nsearch at GLIBC_PRIVATE.
658 2002-10-17 Roland McGrath <roland@redhat.com>
660 * configure.in: Grok --without-__thread and disable HAVE___THREAD.
661 * configure: Regenerated.
663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
664 before performing the reloc, not after.
665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
667 2002-10-17 Ulrich Drepper <drepper@redhat.com>
669 * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
670 * locale/programs/linereader.c (lr_open): Likewise.
671 * locale/programs/charmap-dir.c (charmap_open): Likewise.
672 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
674 2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
676 * posix/bug-regex11.c: Add a test case for the bug reported by
677 Paolo Bonzini <bonzini@gnu.org>.
678 * posix/regexec.c (sift_states_bkref): Use correct destination of
681 2002-10-17 Roland McGrath <roland@redhat.com>
683 * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
684 * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
685 to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
686 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
687 Call it after performing TPOFF relocs.
688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
689 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
690 * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
692 * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
693 when closing a partially-initialized object.
695 * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
696 instead of _dl_fatal_printf when we see PT_TLS.
698 * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
699 instead of $(libof-$<).
701 2002-10-16 Roland McGrath <roland@redhat.com>
703 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
704 instead of += to append, to be sure $(lib) gets expanded at defn time.
705 (libof-$(cpp-src)): New variable, define this instead.
706 * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
707 (lib): Don't use override.
708 (CPPFLAGS-$(lib)): New variable, put -D's here.
709 * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
710 Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
711 LIB found by $(libof-*) for basename, target, or source.
712 * Makerules (CPPFLAGS-nonlib): New variable.
713 * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
714 * locale/Makefile (lib): Likewise.
715 * sunrpc/Makefile (lib): Likewise.
717 * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
718 * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
719 * sysdeps/unix/sysv/linux/pathconf.h: New file.
720 (statfs_link_max): New function, guts from fpathconf.c.
721 * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
722 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
723 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
724 to use the linux/pathconf.c code by #include rather than duplication.
725 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
727 2002-10-16 Jakub Jelinek <jakub@redhat.com>
729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
730 Use __libc_errno only for libc itself.
732 2002-10-16 Andreas Jaeger <aj@suse.de>
734 * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
736 2002-10-16 Ulrich Drepper <drepper@redhat.com>
738 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
739 Use __libc_errno only for libc itself.
741 2002-10-15 Roland McGrath <roland@redhat.com>
742 Jakub Jelinek <jakub@redhat.com>
744 * sysdeps/unix/sysv/linux/Makefile
745 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
746 sparc/Makefile to produce a bi-arch file as needed.
747 That's now parameterized by the variable $(64bit-predefine).
748 Use LC_ALL=C for `comm' commands in that rule.
749 No longer conditional on [$(no_syscall_list_h)].
750 * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
751 (64bit-predefine): New variable.
752 * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
753 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
754 * sysdeps/unix/sysv/linux/powerpc/Makefile
755 (64bit-predefine): New variable.
757 2002-10-15 Roland McGrath <roland@redhat.com>
759 * sysdeps/unix/sysv/linux/Makefile
760 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
762 * login/utmp-private.h: Declare __libc_utmp_lock.
763 * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
764 and call __libc_utmp_jump_table functions directly, instead of using
767 * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
768 * sysdeps/unix/sysv/linux/configure: Regenerated.
770 * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
771 (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
772 Use int32_t for ll_time.
773 (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
774 Use int32_t instead of long int for ut_session.
775 Use an anonymous struct with 32-bit fields for ut_tv.
776 * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
777 (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
778 here as in utmp.h for `struct utmp'.
779 * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
780 * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
781 * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
782 * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
783 * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
784 * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
786 * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
787 of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
788 All the following files were identical or equivalent to it.
789 * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
790 * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
791 * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
792 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
793 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
794 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
795 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
796 * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
797 * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
798 * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
800 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
801 instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
802 Other than the previously incorrect sign of msg_iovlen, this is a
803 no-op on 32-bit platforms. On 64-bit platforms it makes this header
804 match their layouts as well, so the following are now identical to it.
805 * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
807 * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
808 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
809 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
811 2002-10-15 Ulrich Drepper <drepper@redhat.com>
813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
814 Define for 2.4+ kernels.
816 * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
817 are known to have the vfork syscall. Don't confuse the CPUs
818 branch prediction unit by jumping to the return address.
820 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
821 support for reiserfs and xfs.
823 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
825 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
827 Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
829 2002-10-16 Jakub Jelinek <jakub@redhat.com>
831 * include/libc-symbols.h (attribute_tls_model_ie): Define.
832 * include/errno.h (errno): Define to __libc_errno in libc.so.
833 Add attribute_tls_model_ie.
834 * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
835 Add attribute_tls_model_ie.
836 * include/resolv.h (_res): Define to __libc_res in libc.so. Add
837 attribute_tls_model_ie.
838 * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
840 * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
842 * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
843 attribute_tls_model_ie.
844 * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
846 * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
847 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
848 __libc_errno in USE___THREAD case.
849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
851 * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
852 __attribute__((tls_model (""))).
853 * configure: Rebuilt.
854 * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
856 2002-10-15 Ulrich Drepper <drepper@redhat.com>
858 * timezone/asia: Update from tzdata2002d.
859 * timezone/australasia: Likewise.
860 * timezone/iso3166.tab: Likewise.
861 * timezone/southamerica: Likewise.
862 * timezone/zone-tab: Likewise.
864 2002-10-15 Roland McGrath <roland@redhat.com>
866 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
867 Adjust TCB pointer before calling free, so we get the whole block.
869 2002-10-14 Roland McGrath <roland@redhat.com>
871 * sysdeps/unix/sysv/linux/x86_64/sigaction.c
872 [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
873 extern using attribute_hidden instead of static, avoids warning.
875 2002-10-09 Jakub Jelinek <jakub@redhat.com>
877 * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
878 * sysdeps/unix/sysv/linux/configure: Rebuilt.
880 2002-10-14 Ulrich Drepper <drepper@redhat.com>
882 * po/sv.po: Update from translation team.
884 2002-10-12 H.J. Lu <hjl@gnu.org>
886 * sunrpc/thrsvc.c (PROCQUIT): New.
887 (struct rpc_arg): New.
888 (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
889 (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
890 (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
891 (main): Modified for struct rpc_arg *.
893 2002-10-14 Ulrich Drepper <drepper@redhat.com>
895 * dirent/scandir.c: Rearrange code a bit to reduce binary size.
897 2002-10-14 Jakub Jelinek <jakub@redhat.com>
899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
900 (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
901 in ld.so even if __thread is supported.
903 2002-10-13 Jakub Jelinek <jakub@redhat.com>
905 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
906 Add hack to prevent the compiler from clobbering the signal context.
907 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
909 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
912 2002-10-14 Andreas Jaeger <aj@suse.de>
914 * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
915 Guido Guenther <agx@sigxcpu.org>.
917 2002-10-14 Ulrich Drepper <drepper@redhat.com>
919 * po/sk.po: Update from translation team.
921 2002-09-26 Roland McGrath <roland@redhat.com>
923 * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
925 * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
926 DL_DST_LIB based on $(slibdir).
928 2002-10-13 Roland McGrath <roland@frob.com>
930 * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
932 * sysdeps/mach/hurd/getresuid.c: New file.
933 * sysdeps/mach/hurd/getresgid.c: New file.
934 * sysdeps/mach/hurd/setresuid.c: New file.
935 * sysdeps/mach/hurd/setresgid.c: New file.
937 * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
938 setresgid): Declare them.
941 (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
942 add libc_hidden_proto.
943 * posix/Versions (libc: GLIBC_2.3.2): New set. Add
944 getresuid, getresgid, setresuid, setresgid here.
945 * Versions.def (libc): Define GLIBC_2.3.2 set.
946 * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
948 * sysdeps/generic/getresgid.c (__getresgid): Likewise.
949 * sysdeps/generic/setresgid.c: New file.
950 * sysdeps/generic/setresuid.c: New file.
951 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
952 (sysdep_routines): Don't add getresuid and getresgid here.
953 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
954 (sysdep_routines): Don't add setresuid and setresgid here.
955 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
956 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
957 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
958 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
959 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
960 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
961 * posix/Makefile (routines): Add them all here instead.
962 * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
963 __getresuid. Add libc_hidden_def for that, and weak alias to old name.
964 * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
965 __getresgid. Add libc_hidden_def for that, and weak alias to old name.
966 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
967 [! __NR_setresuid]: Include generic file.
968 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
969 __setresgid. Add libc_hidden_def for that, and weak alias to old name.
970 [! __NR_setresuid]: Include generic file.
971 * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
972 Caller is - now, not EXTRA.
973 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
974 (setresuid, setresgid, getresuid, getresgid): Likewise.
975 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
976 Add these calls here.
977 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
978 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
979 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
980 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
981 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
984 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
985 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
987 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
988 (sysdep_routines): Add setfsuid and setfsgid here.
989 * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
990 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
991 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
992 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
993 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
994 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
995 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
996 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
998 * hurd/errno.c: Renamed to ...
999 * hurd/errno-loc.c: ... this.
1000 * hurd/Makefile (routines): errno -> errno-loc
1002 2002-10-13 Ulrich Drepper <drepper@redhat.com>
1004 * po/de.po: Update from translation team.
1006 * MakeTAGS: Add -E flag to xgettext runs.
1008 2002-10-12 Ulrich Drepper <drepper@redhat.com>
1010 * po/fr.po: Update from translation team.
1012 * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
1013 Optimize a bit for use in glibc.
1015 2002-10-12 Roland McGrath <roland@redhat.com>
1017 * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
1018 Some machines are slow. Guido Guenther <agx@sigxcpu.org> has one.
1020 2002-10-12 Ulrich Drepper <drepper@redhat.com>
1022 * po/sv.po: Update from translation team.
1024 2002-10-11 Isamu Hasegawa <isamu@yamato.ibm.com>
1026 * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
1028 (regfree): Likewise.
1029 (create_initial_state): Likewise.
1030 (analyze): Remove the substitutions which became useless.
1031 (calc_first): Likewise.
1032 (calc_epsdest): Use edests of OP_BACK_REF in case that it has
1033 epsilon destination.
1034 (duplicate_node_closure): New function.
1035 (duplicate_node): Remove the handling OP_CONTEXT_NODE.
1036 (calc_inveclosure): Likewise.
1037 (calc_eclosure): Likewise.
1038 (calc_eclosure_iter): Invoke duplicate_node_closure instead of
1039 direct invocation of duplicate_node.
1040 (parse): Don't use comma operator in the return to avoid compiler
1042 (parse_reg_exp): Likewise.
1043 (parse_branch): Likewise.
1044 (parse_expression): Likewise.
1045 (parse_sub_exp): Likewise.
1046 (parse_dup_op): Likewise.
1047 * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
1048 which became useless.
1049 (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
1050 (create_cd_newstate): Likewise.
1051 * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
1052 (re_token_t): Likewise.
1053 (re_dfa_t): Likewise.
1054 (re_node_set_remove): New macro.
1055 * posix/regexec.c (check_matching): Remove the handling
1057 (check_halt_node_context): Likewise.
1058 (proceed_next_node): Likewise.
1059 (pop_fail_stack): Fix the memory leak.
1060 (set_regs): Likewise.
1061 (free_fail_stack_return): New function.
1062 (sift_states_backward): Fix the memory leak. Remove the handling
1064 (update_cur_sifted_state): Append some if clause to avoid redundant
1066 (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
1068 (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
1069 (check_subexp_limits): Likewise.
1070 (search_subexp): Likewise.
1071 (sift_states_bkref): Likewise.
1072 (transit_state_mb): Likewise.
1073 (transit_state_bkref_loop): Likewise.
1074 (transit_state_bkref_loop): Likewise.
1075 (group_nodes_into_DFAstates): Likewise.
1076 (check_node_accept): Likewise.
1077 (sift_ctx_init): Add initializing.
1079 2002-10-12 Ulrich Drepper <drepper@redhat.com>
1081 * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
1084 2002-10-11 Ulrich Drepper <drepper@redhat.com>
1086 * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
1087 duplicated variable c.
1089 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
1092 * sysdeps/unix/sysv/linux/i386/sysdep.h
1093 (INTERNAL_SYSCALL_ERROR_P): New define.
1094 (INTERNAL_SYSCALL_ERRNO): Likewise.
1096 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1097 Add hack to prevent the compiler from clobbering the signal context.
1099 2002-10-11 Roland McGrath <roland@redhat.com>
1101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1104 * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
1105 * sysdeps/sh/dl-lookupcfg.h: File removed.
1106 * sysdeps/i386/dl-lookupcfg.h: File removed.
1108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
1109 missing labels and ; from last change.
1111 * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
1112 number literals, so they are doubles instead of ints.
1114 2002-10-09 Roland McGrath <roland@redhat.com>
1116 * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
1117 changed from [USE_TLS && HAVE___THREAD].
1119 * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
1120 Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
1121 * sysdeps/x86_64/dl-machine.h
1122 (elf_machine_type_class, elf_machine_rela): Likewise.
1123 * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
1126 * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
1127 * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
1128 (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
1130 * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
1131 instead of ___tls_get_addr.
1132 (___tls_get_addr_internal): Add attribute_hidden to decl.
1134 * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
1135 _dl_error_catch_tsd.
1136 * elf/rtld.c (startup_error_tsd): New function.
1137 (dl_main): Point _dl_error_catch_tsd at that.
1138 * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
1139 use new function pointer instead.
1140 * elf/dl-tsd.c: New file.
1141 * elf/Makefile (routines): Add it.
1143 2002-10-07 Roland McGrath <roland@redhat.com>
1145 * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
1146 writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then
1147 take _dl_load_lock around calling __writev.
1149 * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
1150 (INLINE_SYSCALL): Use that.
1152 * sysdeps/generic/dl-sysdep.h: New file.
1153 * sysdeps/mach/hurd/dl-sysdep.h: New file.
1154 * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
1155 * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
1156 [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
1158 * elf/dl-minimal.c (__errno_location): Removed.
1159 * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
1160 Use GOTOFF access for errno.
1161 * sysdeps/unix/sysv/linux/i386/sysdep.h
1162 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
1164 * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
1165 Use PC-relative access for errno.
1166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1167 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
1169 * include/tls.h: New file.
1170 (USE___THREAD): New macro.
1171 Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
1173 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
1174 changed from [USE_TLS && HAVE___THREAD].
1175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1176 * sysdeps/unix/i386/sysdep.S: Likewise.
1177 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1178 * include/errno.h: Likewise.
1179 * include/netdb.h: Likewise.
1180 * include/resolv.h: Likewise.
1182 * sysdeps/generic/errno.c: New file.
1183 * csu/Makefile (aux): New variable, list errno.
1184 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
1185 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
1187 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1189 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1190 * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
1191 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
1192 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
1194 * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
1195 * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
1196 * sysdeps/unix/alpha/sysdep.S: Likewise.
1197 * sysdeps/generic/start.c: Likewise.
1198 * sysdeps/unix/start.c: Likewise.
1199 * sysdeps/unix/arm/start.c: Likewise.
1200 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
1201 * sysdeps/unix/sparc/start.c: Likewise.
1202 * sysdeps/unix/sysv/irix4/start.c: Likewise.
1203 * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
1205 * manual/search.texi (Tree Search Function, Hash Search Function):
1206 Mention search.h clearly.
1208 2002-10-05 Roland McGrath <roland@redhat.com>
1210 * elf/dl-fxstat64.c: File removed.
1211 * elf/dl-xstat64.c: File removed.
1212 * elf/Makefile (rtld-routines): Remove them.
1213 * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
1214 Instead, use strong_alias instead of versioned_symbol in the
1216 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1217 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1219 * include/shlib-compat.h
1220 (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
1221 [! NOT_IN_libc] (IS_IN_libc): Define it.
1222 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
1223 * elf/Makefile (CPPFLAGS-.os): Likewise.
1225 * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
1226 Return the status instead of calling exit.
1228 * Makeconfig (CFLAGS): Prepend -std=gnu99.
1229 * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
1230 Remove superfluous rm command, whose @ plus make bugs hid
1231 all these commands from the make output.
1233 * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC.
1234 * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
1235 Use that file's contents instead of literal echo's for the prologue.
1236 * include/features.h: Include <gnu/stubs.h> unconditionally.
1237 * include/gnu/stubs.h: New file.
1239 2002-09-30 Roland McGrath <roland@redhat.com>
1241 * elf/rtld-Rules: New file.
1242 * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
1243 $(objpfx)rtld-libc.a): New targets.
1244 (generated): Add them.
1245 (reloc-link): Remove -o $@ from the variable.
1246 ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
1247 (distribute): Add rtld-Rules.
1248 (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
1249 * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
1250 (common-mostlyclean, common-clean): Clean up rtld-* files.
1251 * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
1253 2002-10-11 Roland McGrath <roland@redhat.com>
1255 * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
1256 now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
1258 * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
1259 proper set of no-op insn prefixes.
1261 * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
1263 2002-10-11 Ulrich Drepper <drepper@redhat.com>
1265 * sysdeps/unix/sysv/linux/execve.c: Don't try calling
1266 __pthread_kill_other_threads_np.
1268 * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
1270 2002-10-08 Roland McGrath <roland@redhat.com>
1272 * locale/newlocale.c (__newlocale): If setting all categories to "C",
1273 just return &_nl_C_locobj instead of copying it.
1274 * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
1275 * locale/duplocale.c (__duplocale): Likewise.
1277 2002-10-07 Roland McGrath <roland@frob.com>
1279 * config.h.in (HAVE_I386_SET_GDT): New #undef.
1280 * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
1281 * sysdeps/mach/configure: Regenerated.
1283 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
1286 Add all necessary register outputs for syscall-clobbered registers.
1288 2002-10-02 David Mosberger <davidm@hpl.hp.com>
1290 * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
1291 Itanium 2 (and Itanium).
1292 Fix unwind directives and make it fit in 80 columns.
1293 * sysdeps/ia64/memset.S: Likewise.
1294 * sysdeps/ia64/memcpy.S: Likewise.
1295 Move jump table to .rodata section.
1297 2002-10-03 Roland McGrath <roland@frob.com>
1299 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
1302 2002-10-10 Andreas Jaeger <aj@suse.de>
1304 * sysdeps/x86_64/_mcount.S: Restore correct registers.
1306 2002-10-10 Ulrich Drepper <drepper@redhat.com>
1308 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
1310 2002-10-09 Ulrich Drepper <drepper@redhat.com>
1312 * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
1313 _dl_allocate_tls_init. Add rtld_hidden_proto.
1314 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
1316 * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
1318 * version.h (VERSION): Bump to 2.3.1.
1320 * Make-dist: Add back one of the tar invocations removed before.
1322 * stdlib/Makefile (distribute): Add allocalim.h.
1324 * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
1325 (__libc_tsd_address): Use correct variable name.
1326 Patch by Stefan Jones <stefan.jones@multigig.com>.
1328 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
1329 Reported by edwardsg@sgi.com [PR libc/4678].
1331 * Versions.def (libc): Add GLIBC_2.3.1.
1332 (libpthread): Add GLIBC_2.3.1.
1334 * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
1336 * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
1337 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
1339 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1340 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1342 * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
1343 * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
1344 and make old name an alias.
1345 * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
1346 and make old name an alias.
1347 * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
1350 * include/sys/uio.h: Declare __libc_readv and __libc_writev.
1351 * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
1353 * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
1355 * sysdeps/posix/readv.c: Likewise
1356 * sysdeps/unix/sysv/aix/readv.c: Likewise.
1357 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1358 * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
1360 * sysdeps/posix/writev.c: Likewise
1361 * sysdeps/unix/sysv/aix/writev.c: Likewise.
1362 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1364 * include/sys/wait.h: Declare __waitid.
1365 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
1366 * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
1368 * sysdeps/posix/waitid.c: Likewise.
1369 * sysdeps/unix/sysv/aix/waitid.c: Likewise.
1371 * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
1373 2002-10-07 Jakub Jelinek <jakub@redhat.com>
1375 * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
1377 (__MAX_ALLOCA_CUTOFF): Define.
1378 Include allocalim.h.
1379 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
1380 _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
1381 host_buffer depending on __libc_use_alloca.
1382 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
1383 _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
1384 net_buffer depending on __libc_use_alloca.
1385 * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
1386 buf depending on __libc_use_alloca.
1387 * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
1388 * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
1389 instead of hardcoded constants.
1390 Pass proper size argument to alloca and compute end for wide char
1392 * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
1393 instead of hardcoded constants.
1394 * string/strcoll.c (strcoll): Likewise.
1395 * string/strxfrm.c (strxfrm): Likewise.
1396 * sysdeps/posix/readv.c (__readv): Likewise.
1397 * sysdeps/posix/writev.c (__writev): Likewise.
1398 * sysdeps/generic/allocalim.h: New file.
1400 2002-10-08 Roland McGrath <roland@redhat.com>
1402 * configure.in (aux_missing warning): Change "too old" to
1403 "incompatible versions", since for autoconf it's "too new" right now.
1404 * configure: Regenerated.
1406 * configure.in (AUTOCONF): New check to set it. Set to "no" if the
1407 one found doesn't work on our configure.in.
1408 * configure: Regenerated.
1409 * config.make.in (AUTOCONF): New substituted variable.
1410 * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
1411 (autoconf-it): ... here, use that instead of defining conditionally.
1412 Use $(AUTOCONF) instead of literal autoconf.
1413 [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
1414 with this condition.
1415 * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
1417 2002-10-08 Ulrich Drepper <drepper@redhat.com>
1419 * Make-dist (dist): Cleanup a bit. We are not interested in the
1420 14 char filename limit anymore. Remove intermediate files and
1423 2002-10-05 Ulrich Drepper <drepper@redhat.com>
1425 * po/sk.po: Update from translation team.
1426 * po/tr.po: Likewise.
1427 * po/gl.po: Likewise.
1429 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1431 * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
1433 2002-10-03 Ulrich Drepper <drepper@redhat.com>
1435 * version.h (RELEASE): Change to stable.
1437 2002-10-03 Jakub Jelinek <jakub@redhat.com>
1439 * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
1440 __syscall_exit_group): New prototypes.
1442 2002-10-03 Ulrich Drepper <drepper@redhat.com>
1444 * glibc 2.3 released.
1447 See ChangeLog.13 for earlier changes.