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