1 2003-09-16 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/unix/sysv/linux/Dist: Remove internal_statvfs.c.
4 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
6 * sysdeps/unix/sysv/linux/fstatvfs.c: Call __internal_statvfs
7 instead of including "internal_statvfs.c".
8 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
9 * sysdeps/unix/sysv/linux/internal_statvfs.c: Make it a real function.
10 Add code to avoid the stat calls on all the reported mount points
11 when we can determine mismatch in advance.
12 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add AUTOFS_SUPER_MAGIC and
15 2003-09-16 Jakub Jelinek <jakub@redhat.com>
17 * posix/Versions (sched_getaffinity, sched_setaffinity): Change
18 from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version.
20 2003-09-16 Bruno Haible <bruno@clisp.org>
22 * intl/tst-gettext2.sh: Set GCONV_PATH and LOCPATH only after
23 invoking msgfmt, not before.
25 2003-09-15 Jakub Jelinek <jakub@redhat.com>
27 * argp/argp.h (argp_parse, __argp_parse): Remove __THROW.
28 * argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add
30 * dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise.
31 * elf/Makefile (CFLAGS-dl-iterate-phdr.c,
32 CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks).
33 * elf/dl-iteratephdr.c (cancel_handler): New function.
34 (__dl_iterate_phdr): Add __libc_cleanup_{push,pop}.
35 * elf/link.h (dl_iterate_phdr): Remove __THROW.
36 * io/Makefile (CFLAGS-fts.c): Merge into one assignment.
37 Add $(uses-callbacks).
38 (CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks).
39 * misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change
40 $(exceptions) to $(uses-callbacks).
41 * Makeconfig (uses-callbacks): Set to $(exceptions).
42 * posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add
44 * stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c):
47 2003-09-15 Andreas Schwab <schwab@suse.de>
49 * sysdeps/m68k/setjmp.c: Add hidden_def.
51 2003-09-14 Ulrich Drepper <drepper@redhat.com>
53 * libio/memstream.c (open_memstream): Don't allow wide char operations.
55 * dirent/dirent.h: Remove __THROW from scandir.
57 2003-09-14 Philip Blundell <philb@gnu.org>
59 * sysdeps/unix/sysv/linux/arm/mmap.S: Use sys_mmap2 if it's known
62 * sysdeps/unix/sysv/linux/arm/mmap64.S: Optimise code a little.
64 * sysdeps/arm/memset.S: Rewrite.
66 2003-09-12 Jakub Jelinek <jakub@redhat.com>
68 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New.
69 (__SSIZE_T_TYPE): Define to __SWORD_TYPE for gcc 2.95.x and
70 __SLONGWORD_TYPE otherwise.
72 2003-09-14 Ulrich Drepper <drepper@redhat.com>
74 * io/Makefile (CFLAGS-ftw.c): Add -fexceptions.
75 (CFLAGS-ftw64.c): Likewise.
77 2003-09-13 Ulrich Drepper <drepper@redhat.com>
79 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Add -fexceptions.
80 (CFLAGS-nscd_getgr_r.c): Likewise.
81 (CFLAGS-nscd_gethst_r.c): Likewise.
83 2003-09-12 Ulrich Drepper <drepper@redhat.com>
85 * sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable
88 * grp/Makefile (CFLAGS-getgrgid_r.c, CFLAGS-getgrnam_r.c,
89 CFLAGS-fgetgrent.c, CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c,
90 CFLAGS-initgroups.c, CFLAGS-getgrgid.c): Add -fexceptions.
91 * inet/Makefile (CFLAGS-either_ntoh.c, CFLAGS-either_hton.c,
92 CFLAGS-getnetgrent.c, CFLAGS-getnetgrent_r.c): Likewise.
93 * io/Makefile (CFLAGS-posix_fallocate.c, CFLAGS-posix_fallocate64.c):
95 * misc/Makefile (CFLAGS-err.c): Likewise.
96 * posix/Makefile (CFLAGS-getaddrinfo.c, CFLAGS-spawn.c,
97 CFLAGS-spawnp.c, CFLAGS-spawni.c, CFLAGS-pause.c, CFLAGS-glob.c,
98 CFLAGS-glob64.c): Likewise.
99 * pwd/Makefile (CFLAGS-getpw.c): Likewise.
100 * shadow/Makefile (CFLAGS-fgetspent.c, CFLAGS-fgetspent_r.c,
101 CFLAGS-putspent.c, CFLAGS-getspnam.c, CFLAGS-getspnam_r.c): Likewise.
102 * stdio-common/Makefile (CFLAGS-cuserid.c): Likewise.
103 * sunrpc/Makefile (CFLAGS-openchild.c): Likewise.
105 * stdlib/Makefile (CFLAGS-mkstemp.c): Remove definition.
107 * libio/stdio.h: Remove __THROW from cuserid prototype.
109 * locale/loadarchive.c: Use only non-cancelable interfaces.
110 * resolv/herror.c (herror): Likewise.
112 * malloc/hooks.c: Before using IO stream mark stream so it uses
113 only non-cancelable interfaces.
114 * malloc/malloc.c: Likewise.
115 * posix/getopt.c: Likewise.
118 2003-09-11 Jakub Jelinek <jakub@redhat.com>
120 * Makerules (LDFLAGS-c.so): Remove -u __register_frame.
122 2003-09-12 Ulrich Drepper <drepper@redhat.com>
124 * stdio-common/stdio_ext.h: Mark most functions with __THROW.
126 * misc/err.h: Remove __THROW from all prototypes.
128 * posix/getopt.h (__THROW): Define if not already defined. Add
129 __THROW to the getopt functions.
131 2003-09-11 Ulrich Drepper <drepper@redhat.com>
133 * io/Makefile (CFLAGS-lockf.c): Add -fexceptions.
134 (CFLAGS-fts.c): Likewise.
135 * io/fcntl.h: Remove __THROW from lockf prototypes.
136 * io/fts.h: Remove most __THROW.
138 2003-09-11 H.J. Lu <hongjiu.lu@intel.com>
140 * elf/tls-macros.h (TLS_IE): Add a stop bit for ia64.
144 2003-09-11 Jakub Jelinek <jakub@redhat.com>
146 * libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
147 _IO_free_backup_area call.
149 2003-09-10 Chris Demetriou <cgd@broadcom.com>
151 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix
153 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
154 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
155 Also, only assert off_t size is 4 for N32 and O32, and clean up
157 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
159 2003-09-10 Roland McGrath <roland@redhat.com>
161 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):
162 Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED].
163 Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED].
164 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
165 Reported by Daniel Jacobowitz <drow@mvista.com>.
167 2003-09-10 Jakub Jelinek <jakub@redhat.com>
169 * string/Makefile (strop-tests): Add memccpy.
170 * string/test-memccpy.c: New test.
172 2003-09-09 Jakub Jelinek <jakub@redhat.com>
174 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add
175 siginfo_t * argument before, change into struct ucontext *.
176 (SIGCONTEXT_EXTRA_ARGS): Define to _si,.
177 (GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer
178 instead of structure.
179 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP):
182 2003-09-09 Ulrich Drepper <drepper@redhat.com>
184 * string/stratcliff.c (main): Check memccpy.
186 2003-04-11 Jes Sorensen <jes@wildopensource.com>
188 * sysdeps/ia64/memccpy.S: When recovering for src_aligned and the
189 character is found during recovery, use correct register when
190 determining the position of the found character.
192 2003-04-01 Jes Sorensen <jes@wildopensource.com>
194 * sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to
195 avoid segfaults when reading from unmapped pages. For aligned
196 reload and continue, for misaligned, roll back and use byte copy.
197 Save ar.ec on entry and restore on exit.
199 2003-09-09 Chris Demetriou <cgd@broadcom.com>
201 * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
203 2003-09-08 Chris Demetriou <cgd@broadcom.com>
205 * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
207 * sysdeps/mips/mips64/n64/Implies: Likewise.
209 2003-09-08 Roland McGrath <roland@frob.com>
211 * sysdeps/unix/sysv/linux/speed.c
212 (cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
213 (cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
214 * sysdeps/unix/sysv/linux/bits/termios.h
215 (_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
216 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
219 2003-09-08 Ulrich Drepper <drepper@redhat.com>
221 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change.
222 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
224 2003-09-08 Jakub Jelinek <jakub@redhat.com>
226 * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit.
227 (__u_quad_t): Make unsigned long int if 64-bit.
228 (__SQUAD_TYPE): Make long int if 64-bit.
229 (__UQUAD_TYPE): Make unsigned long int if 64-bit.
230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove.
232 2003-09-08 Ulrich Drepper <drepper@redhat.com>
234 * Makefile (tests): Run check-c++-types.sh if possible.
235 * scripts/check-c++-types.h: New file.
236 * scripts/data/c++-types-i386-linux-gnu.data: New file.
238 2003-09-08 Andreas Jaeger <aj@suse.de>
240 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
241 Use struct sigcontext.
243 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
244 Use struct sigcontext.
246 (GET_FRAME): Likewise.
247 (GET_STACK): Likewise.
249 2003-09-08 Wolfram Gloger <wg@malloc.de>
251 * malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into
252 contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>.
253 (mALLOPt): Avoid requirement of C99.
255 2003-09-08 Ulrich Drepper <drepper@redhat.com>
257 * libio/bug-ftell.c: Include <sys/types.h>.
258 (main): Mark cp as const.
260 2003-09-07 Jakub Jelinek <jakub@redhat.com>
262 * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
263 * sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove.
265 2003-09-05 Roland McGrath <roland@redhat.com>
267 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed
269 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field.
270 (cfsetispeed): Set c_ispeed field.
271 * sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally
272 to match corresponding speed.c code.
274 2003-09-06 Ulrich Drepper <drepper@redhat.com>
276 * libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the
277 narrow character buffer.
278 * libio/Makefile: Add rules to build and run bug-ftell.
279 * libio/bug-ftell.c: New file.
281 * stdio-common/vfprintf.c: Don't use the first grouping number twice.
283 * stdio-common/vfscanf.c (vfscanf): Fix recognition of characters
284 matching the decimal point and possibly leading the thousands
285 separator. This caused the recognition of thousands separators to
288 2003-09-05 Ulrich Drepper <drepper@redhat.com>
290 * libio/fileops.c (_IO_new_file_overflow): Handle switching to
291 write mode from read in backup buffer.
292 * libio/Makefile (tests): Add bug-ungetc2.
293 * libio/bug-ungetc2.c: New file.
295 2003-09-05 Roland McGrath <roland@redhat.com>
297 * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.
299 2003-09-04 Roland McGrath <roland@frob.com>
301 * sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID,
302 EOPNOTSUPP, or ENOSYS, change it to ENODEV.
304 2003-09-04 H.J. Lu <hongjiu.lu@intel.com>
306 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ):
309 2003-09-05 Andreas Jaeger <aj@suse.de>
311 * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler
312 to make it conforming C.
313 * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.
315 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change
316 prototype to use variable argument lists and get the possible one
318 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
319 * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New.
321 2003-09-04 Ulrich Drepper <drepper@redhat.com>
323 * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf.
325 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
326 Report correct value for vxfs.
327 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC.
329 * gmon/gmon.c: Use only not-cancelable syscalls to write profiling
332 * sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all
333 over the place. It would be allowed to have these functions as
334 cancellation points but the cleanup would be ugly and a lot of
337 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define.
338 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define.
340 * include/fcntl.h (__fcntl_nocancel): Declare.
341 * sysdeps/unix/sysv/linux/fcntl.c: New file.
342 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable
343 cancellation if absolutely needed.
344 (__fcntl_nocancel): Define.
346 * posix/unistd.h (gethostid): Remove __THROW. Clarify comment.
347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add
349 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use
352 * resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status
355 * nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts. Remove
356 unnecessary errno handling.
358 * nss/getXXbyYY_r.c (INTERNAL): Use better variable name.
359 Initialize it in all cases. Change it to be a bit more like the
362 2003-09-04 Jakub Jelinek <jakub@redhat.com>
364 * libio/fileops.c (_IO_file_read, _IO_new_file_write): Add
366 (_IO_file_open): Likewise. Use close_not_cancel.
368 2003-09-04 Ulrich Drepper <drepper@redhat.com>
370 * libio/libio.h: Define _IO_FLAGS2_NOTCANCEL.
371 * libio/fileops.c [_LIBC]: Remove close macro.
372 (_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel.
373 (_IO_new_file_open): Recognize 'c' flag in mode string.
374 (_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel.
375 (_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use
377 * iconv/gconv_conf.c: Use fopen with 'c' mode flag.
378 * inet/rcmd.c: Likewise.
379 * inet/ruserpass.c: Likewise.
380 * intl/localealias.c: Likewise.
381 * malloc/mtrace.c: Likewise.
382 * misc/getpass.c: Likewise.
383 * misc/getttyent.c: Likewise.
384 * misc/mntent_r.c: Likewise.
385 * misc/getusershell.c: Likewise.
386 * nss/nsswitch.c: Likewise.
387 * resolv/res_hconf.c: Likewise.
388 * resolv/res_init.c: Likewise.
389 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
390 * time/getdate.c: Likewise.
391 * time/tzfile.c: Likewise.
392 * misc/fstab.h: Undo last change.
393 * misc/mntent.h: Likewise.
394 * misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and
395 CFLAGS-fstab.c definition.
397 2003-09-04 Jakub Jelinek <jakub@redhat.com>
399 * sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype.
401 2003-09-03 Ulrich Drepper <drepper@redhat.com>
403 * nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid
404 returning ERANGE if this wasn't intended.
406 2003-09-03 Jakub Jelinek <jakub@redhat.com>
408 * intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as
409 function-like macros.
411 2003-09-03 Ulrich Drepper <drepper@redhat.com>
413 * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions.
414 (CFLAGS-getgrent.c): Likewise.
415 * pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions.
416 (CFLAGS-getpwent.c): Likewise.
417 * shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions.
418 (CFLAGS-getspent.c): Likewise.
420 * inet/Makefile: Add -fexceptions to CFLAGS for the various
421 getXXent and getXXbyYY functions.
423 * locale/loadlocale.c: Use not-cancelable variants of open, close,
426 2003-09-02 Jakub Jelinek <jakub@redhat.com>
428 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
429 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and
431 * sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction):
433 * sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove
434 unused __syscall_ stubs.
435 * sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove
437 * sysdeps/unix/sysv/linux/cris/Makefile: Removed.
438 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list
439 (__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
440 * sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove
441 unused __syscall_ stubs.
442 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
444 (__syscall_*): Remove unused __syscall_ stubs.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
446 (__syscall_*): Likewise.
447 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove
449 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*):
450 Remove unused __syscall_ stubs.
451 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*.
452 * sysdeps/unix/sysv/linux/rt_sigaction.c: Removed.
453 * sysdeps/unix/sysv/linux/rt_sigpending.c: Removed.
454 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed.
455 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed.
456 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed.
457 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed.
458 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed.
459 * sysdeps/unix/sysv/linux/s_pread64.c: Removed.
460 * sysdeps/unix/sysv/linux/s_pwrite64.c: Removed.
461 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused
462 __syscall_* prototypes.
463 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Likewise.
464 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
465 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
466 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
467 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
468 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
469 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
470 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
471 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
472 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
473 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
474 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
475 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
476 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
477 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
478 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
479 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
480 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
482 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
483 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
484 * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
485 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
486 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
487 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
488 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
489 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
490 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
491 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
492 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
493 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
494 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
495 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
496 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
497 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
498 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
499 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
500 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
501 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
502 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
503 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
504 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
505 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
506 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
507 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
508 * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
509 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
510 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
511 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
512 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
513 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
514 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
515 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
516 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
517 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
518 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
519 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise.
520 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise.
521 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise.
522 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
523 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
524 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise.
525 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
528 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
529 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
530 * sysdeps/unix/sysv/linux/execve.c: Likewise.
531 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
532 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
533 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
534 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
535 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
536 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
537 * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
538 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
539 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
540 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
541 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
542 * sysdeps/unix/sysv/linux/readv.c: Likewise.
543 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
544 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
545 * sysdeps/unix/sysv/linux/ipc_priv.h: Likewise.
546 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
547 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
548 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
549 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
550 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
551 * sysdeps/unix/sysv/linux/poll.c: Likewise.
552 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
553 * sysdeps/unix/sysv/linux/writev.c: Likewise.
554 * sysdeps/unix/sysv/linux/pread.c: Likewise.
555 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
556 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
557 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
558 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
559 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
560 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
561 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
562 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
563 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
564 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
566 2003-09-02 Jakub Jelinek <jakub@redhat.com>
568 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change.
569 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file.
570 * sysdeps/unix/sysv/linux/sparc/syscalls.list: New file.
572 2003-09-02 Ulrich Drepper <drepper@redhat.com>
574 * stdio-common/Makefile (CFLAGS-vprintf.c): Add -fexceptions.
576 * intl/loadmsgcat.c: For _LIBC, call not cancelable versions of
577 open, close, and read.
579 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define
582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid.
584 * libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions.
585 * sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove.
586 * libio/oldtmpfile.c (__old_tmpfile): Likewise.
588 * misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions.
590 * io/Makefile (CFLAGS-statfs.c): Add -fexceptions.
591 (CFLAGS-fstatfs.c): Likewise.
592 (CFLAGS-statvfs.c): Likewise.
593 (CFLAGS-fstatvfs.c): Likewise.
595 2003-09-01 Ulrich Drepper <drepper@redhat.com>
597 * misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions.
598 * posix/unistd.h: Remove __THROW from pathconf, fpathconf,
600 * posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions.
601 (CFLAGS-pathconf.c): Likewise.
602 (CFLAGS-fpathconf.c): Likewise.
604 * misc/Makefile (CFLAGS-fstab.c): Add -fexceptions.
605 * misc/fstab.h: Remove all __THROW.
606 * misc/Makefile (CFLAGS-mntent.c): Add -fexceptions.
607 (CFLAGS-mntent_r.c): Likewise.
608 * misc/mntent.h: Remove most __THROW.
610 * misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions.
611 (CFLAGS-mkstemp64.c): Likewise.
613 * sysdeps/generic/wordexp.c (parse_comm): Disable cancellation
614 around call to exec_comm.
615 * posix/wordexp.h: Remove __THROW from wordexp.
616 * posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions.
618 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use
619 not-cancelable functions.
621 * libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions.
622 (CFLAGS-iofopen.c): Likewise.
623 (CFLAGS-iofopen64.c): Likewise.
625 * stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output
627 * stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions.
628 * stdlib/fmtmsg.h: Remove __THROW from fmtmsg.
630 * stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt.
631 * login/Makefile (CFLAGS-getpt.c): Add -fexceptions.
633 2003-09-01 Thorsten Kukuk <kukuk@suse.de>
635 * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return
636 NSS_STATUS_SUCCESS if entry was found.
637 (getspent_next_file): Store user in blacklist after entry
638 was found, use innetgr.
640 2003-09-01 Jakub Jelinek <jakub@redhat.com>
642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New.
645 * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset
646 computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for
649 2003-08-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
651 * sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and
652 posix_fallocate64 at GLIBC_2.3.3.
653 * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define.
654 (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
656 2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
658 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_
661 2003-08-31 Ulrich Drepper <drepper@redhat.com>
663 * libio/libioP.h (_IO_acquire_lock_fct): Define as inline function.
664 Code by Richard Henderson.
666 2003-08-31 Philip Blundell <philb@gnu.org>
668 * sysdeps/unix/sysv/linux/arm/Versions: Add posix_fadvise64 and
669 posix_fallocate64 at GLIBC_2.3.3.
671 2003-08-31 Ulrich Drepper <drepper@redhat.com>
673 * sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET.
674 * include/setjmp.h: Add libc_hidden_proto for __sigsetjmp.
676 2003-08-30 Jakub Jelinek <jakub@redhat.com>
678 * sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define.
679 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be
680 included multiple times.
681 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass
682 ptid, tls, ctid arguments to the kernel.
683 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize):
684 Use INTERNAL_SYSCALL instead of __syscall_getpagesize.
685 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
686 (__libc_sigaction): Use INLINE_SYSCALL instead of
687 __syscall_rt_sigaction.
688 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
689 (__syscall_getgroups, __syscall_getpagesize, __syscall__llseek,
690 __syscall_setfsgid, __syscall_setfsuid, __syscall_setgid,
691 __syscall_setgroups, __syscall_setregid, __syscall_setreuid,
692 __syscall_ipc, __syscall_setuid, __syscall_rt_sigaction,
693 __syscall_rt_sigpending, __syscall_rt_sigprocmask,
694 __syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend,
695 __syscall_rt_sigtimedwait): Remove unneeded syscall stubs.
696 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines):
697 Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
698 rt_sigqueueinfo, rt_sigaction and rt_sigpending.
699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
700 (__CLONE_SYSCALL_STRING): Define.
701 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add
703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
704 (__CLONE_SYSCALL_STRING): Define.
705 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL):
707 * sysdeps/unix/sysv/linux/sparc/system.c: New file.
709 2003-08-30 Ulrich Drepper <drepper@redhat.com>
711 * sunrpc/rpc/clnt.h: Remove a few __THROW.
712 * sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions.
713 (CFLAGS-key_call.c): Likewise.
714 (CFLAGS-pmap_rmt.c): Likewise.
715 (CFLAGS-clnt_perr.c): Likewise.
716 * sunrpc/rpc/auth.h: Remove serveral __THROW.
718 * inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions.
719 (CFLAGS-gethstbynm_r.c): Likewise.
720 (CFLAGS-gethstbynm2_r.c): Likewise.
721 (CFLAGS-rcmd.c): Likewise.
722 * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions.
724 * argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions.
725 (CFLAGS-argp-fmtstream.c): Likewise.
726 * argp/argp.h: Remove a number of __THROW.
728 * misc/sys/syslog.h (vsyslog): Remove __THROW.
730 * misc/Makefile (CFLAGS-getpass.c): Add -fexceptions.
731 * misc/getpass.c (getpass): Add cleanup handler to ensure the
732 stream is closed even if the thread is canceled.
733 (call_fclose): New function.
734 * posix/unistd.h: Remove __THROW from getpass prototype.
736 * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions.
738 * signal/signal.h (psignal): Remove __THROW.
739 * stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions.
741 * misc/Makefile (CFLAGS-error.c): Define.
742 * misc/error.c (error): Disable cancellation handling around the
743 actual output. The message should in any case be printed.
744 (error_at_line): Likewise.
746 * misc/error.h: Protect parameter names with leading __.
748 2003-08-28 Carlos O'Donell <carlos@baldric.uwo.ca>
750 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop.
752 2003-08-29 Jakub Jelinek <jakub@redhat.com>
754 * libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the
757 2003-08-29 Ulrich Drepper <drepper@redhat.com>
759 * libio/stdio.h: Remove a few more __THROW.
761 2003-08-29 Jakub Jelinek <jakub@redhat.com>
763 * libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c,
764 fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c,
765 getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c,
766 iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c,
767 iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c,
768 iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c,
769 ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c,
770 oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c,
771 oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c,
772 putwchar.c and rewind.c with exceptions.
773 * sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock,
774 _IO_release_lock): Define.
775 * libio/fileops.c (_IO_new_file_underflow): Use it.
776 * libio/fputc.c (fputc): Likewise.
777 * libio/fputwc.c (fputwc): Likewise.
778 * libio/freopen64.c (freopen64):
779 * libio/freopen.c (freopen): Likewise.
780 * libio/fseek.c (fseek): Likewise.
781 * libio/fseeko64.c (fseeko64): Likewise.
782 * libio/fseeko.c (fseeko): Likewise.
783 * libio/ftello64.c (ftello64): Likewise.
784 * libio/ftello.c (ftello): Likewise.
785 * libio/fwide.c (fwide): Likewise.
786 * libio/getc.c (_IO_getc): Likewise.
787 * libio/getchar.c (getchar): Likewise.
788 * libio/getwc.c (_IO_getwc): Likewise.
789 * libio/getwchar.c (getwchar): Likewise.
790 * libio/iofclose.c (_IO_new_fclose):
791 * libio/iofflush.c (_IO_fflush): Likewise.
792 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
793 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
794 * libio/iofgets.c (_IO_fgets): Likewise.
795 * libio/iofgetws.c (fgetws): Likewise.
796 * libio/iofputs.c (_IO_fputs): Likewise.
797 * libio/iofputws.c (fputws): Likewise.
798 * libio/iofread.c (_IO_fread): Likewise.
799 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
800 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
801 * libio/ioftell.c (_IO_ftell): Likewise.
802 * libio/iofwrite.c (_IO_fwrite): Likewise.
803 * libio/iogetdelim.c (_IO_getdelim): Likewise.
804 * libio/iogets.c (_IO_gets): Likewise.
805 * libio/ioputs.c (_IO_puts): Likewise.
806 * libio/ioseekoff.c (_IO_seekoff): Likewise.
807 * libio/ioseekpos.c (_IO_seekpos): Likewise.
808 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
809 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
810 * libio/ioungetc.c (_IO_ungetc): Likewise.
811 * libio/ioungetwc.c (ungetwc): Likewise.
812 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
813 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
814 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
815 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
816 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
817 * libio/peekc.c (_IO_peekc_locked): Likewise.
818 * libio/putc.c (_IO_putc): Likewise.
819 * libio/putchar.c (putchar): Likewise.
820 * libio/putwc.c (putwc): Likewise.
821 * libio/putwchar.c (putwchar): Likewise.
822 * libio/rewind.c (rewind): Likewise.
823 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
825 2003-08-29 Ulrich Drepper <drepper@redhat.com>
827 * signal/signal.h: sighold, sigrelse, sigignore, sigset were
830 2003-08-27 Phil Knirsch <pknirsch@redhat.com>
831 Jakub Jelinek <jakub@redhat.com>
833 * sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit
834 big endian arches. Don't read beyond end of fds_bits array.
836 2003-04-27 Bruno Haible <bruno@clisp.org>
838 * manual/message.texi (Advanced gettext functions): Add information
839 about Korean, Portuguese, Latvian. Gaeilge is also known as Irish.
840 Add section about Lithuanian, reported by Ricardas Cepas
841 <rch@richard.eu.org>.
842 Add information about Croatian.
843 Ukrainian is like Russian, reported by Andy Rysin <arysin@yahoo.com>.
844 Remove remark about continuation lines that is not true for PO files.
845 Fix formula for Slovenian, reported by Roman Maurer
846 <roman.maurer@amis.net>.
848 2003-08-27 Ulrich Drepper <drepper@redhat.com>
850 * math/math_private.h: Declare __copysignf.
851 * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of
854 * sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf,
855 __signbit, and __signbitl inline functions.
857 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use
858 HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit().
860 * sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp.
861 * sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp.
863 2003-08-27 Jakub Jelinek <jakub@redhat.com>
865 * inet/inet_mkadr.c (inet_makeaddr): Optimize.
867 2003-08-27 Ulrich Drepper <drepper@redhat.com>
869 * include/stdio.h: Add declarations for __builtin_fwrite and
870 __builtin_fwrite_unlocked.
872 2003-08-27 Jakub Jelinek <jakub@redhat.com>
874 * sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64
875 fits into allocation. Add padding on 32-bit arches so that
876 dirp->data is enough aligned for struct dirent64.
877 Avoid clearing of the buffer, just clear DIR structure.
879 2003-08-26 Ulrich Drepper <drepper@redhat.com>
881 * nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function.
882 * nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function.
884 2003-08-26 Steven Munroe <sjmunroe@us.ibm.com>
886 * sysdeps/powerpc/powerpc64/elf/Makefile: New file.
888 2003-08-26 Jakub Jelinek <jakub@redhat.com>
890 * login/programs/utmpdump.c (print_entry): Cast tv_usec to long
891 to match format string.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add
894 (__new_semctl): Shut up warning.
895 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
896 (_dl_string_hwcap): Add __attribute__ ((always_inline)).
898 2003-08-26 Jakub Jelinek <jakub@redhat.com>
900 * elf/ldconfig.c (search_dir): When checking for GNU-style .so
901 link file use the real file name, not the resolved name we got by
902 following the symlinks.
904 2003-08-25 Ulrich Drepper <drepper@redhat.com>
906 * libio/oldfileops.c (_IO_old_file_init): Initialize _mode field
907 if the object size is large enough.
909 2003-08-25 Jakub Jelinek <jakub@redhat.com>
911 * elf/ldconfig.c (search_dir): Treat symlink as regular file
912 if it won't point to itself unless it is .so symlink for the linker.
914 2003-08-25 Ulrich Drepper <drepper@redhat.com>
916 * libio/libio.h (_IO_fwide): In the mode==0 optimization, don't
917 use _mode if _IO_fwide_maybe_incompatible.
918 * libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after
919 the compatibility test.
921 2003-08-25 Jakub Jelinek <jakub@redhat.com>
923 * elf/cache.c (save_cache): Don't write beyond end of file_entries
925 Duplicate last old cache entry if the count would be odd.
927 2003-08-25 Andreas Jaeger <aj@suse.de>
929 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of
930 __LONG_LONG_PAIR to long.
932 2003-08-25 Philip Blundell <philb@gnu.org>
934 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define.
935 (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
937 2003-08-18 Alfred M. Szmidt <ams@kemisten.nu>
939 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine
940 and use __libc_cleanup_region_end instead.
942 2003-08-25 Ulrich Drepper <drepper@redhat.com>
944 * elf/ldconfig.c (search_dir): Revert patch of 2003-7-21.
946 2003-08-22 Ulrich Drepper <drepper@redhat.com>
948 * io/fcntl.h (posix_fallocate): Change type of third parameter to
950 (posix_fallocate64): Change type of third parameter to off64_t.
951 * sysdeps/generic/posix_fallocate.c: Adjust for type change.
952 * sysdeps/posix/posix_fallocate.c: Likewise.
953 * sysdeps/generic/posix_fallocate64.c: Likewise.
954 * sysdeps/posix/posix_fallocate64.c: Likewise. Add compatibility
955 code for 32-bit platforms.
956 * sysdeps/unix/sysv/linux/i386/Versions: Add new version for
958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise.
959 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
960 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
962 2003-08-19 Ulrich Drepper <drepper@redhat.com>
964 * string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to
965 the type, not to name.
967 * stdio-common/test-vfprintf.c (main): Don't write temporary file
968 into source directory.
970 * malloc/malloc.c (_int_free): Add cheap test for some invalid
973 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in
976 2003-08-18 Ulrich Drepper <drepper@redhat.com>
978 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error
981 2003-08-18 H.J. Lu <hongjiu.lu@intel.com>
983 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
984 (elf_machine_lazy_rel): Likewise.
986 2003-08-18 Art Haas <ahaas@airmail.net>
988 * malloc/malloc.h: Remove unneeded ';' where closing the C++
991 2003-08-18 Ulrich Drepper <drepper@redhat.com>
993 * sysdeps/ia64/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Support
994 loading big binaries where @gprel(sym) cannot be handled in 'add'
995 but instead has to be used with 'movl'.
997 2003-08-17 Juergen Kreileder <jk@blackdown.de>
998 Andreas Jaeger <aj@suse.de>
1000 * sysdeps/x86_64/bits/byteswap.h: New file.
1002 2003-08-17 Andreas Jaeger <aj@suse.de>
1004 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo.
1006 2003-08-16 Jakub Jelinek <jakub@redhat.com>
1008 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_ERRVAL,
1009 PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
1010 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_ERRVAL,
1011 PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
1012 * sysdeps/unix/alpha/sysdep.h (PSEUDO_ERRVAL,
1013 ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
1014 * sysdeps/unix/mips/sysdep.h (PSEUDO_ERRVAL,
1015 ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
1016 * sysdeps/unix/sparc/sysdep.h (PSEUDO_ERRVAL,
1017 ret_ERRVAL): Define.
1018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_ERRVAL,
1019 PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
1020 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO_ERRVAL,
1021 PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
1022 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO_ERRVAL):
1024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_ERRVAL,
1025 PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
1026 * sysdeps/unix/sysdep.h (PSEUDO_END_ERRVAL): Define.
1028 * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64,
1029 posix_fadvise64_64): Remove.
1030 * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Add
1032 * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64):
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1035 (posix_fadvise64): Likewise.
1036 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
1037 (posix_fadvise64): Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
1039 (posix_fadvise64): Likewise.
1040 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64):
1042 * sysdeps/unix/sysv/linux/i386/posix_fadvise64_64.S: Moved to...
1043 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: ...here.
1044 (__posix_fadvise64_l64): Fix a typo in fadvise64 syscall invocation.
1045 (__posix_fadvise64_l32): New function.
1046 * sysdeps/unix/sysv/linux/i386/Makefile: Revert last change.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Export
1048 posix_fadvise64@@GLIBC_2.3.3.
1049 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise.
1051 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Return
1053 * sysdeps/unix/sysv/linux/posix_fadvise64.c: New file.
1055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1056 (SYSCALL_ERROR_HANDLER): Use TLS errno/__libc_errno if USE___THREAD.
1058 2003-08-15 Jakub Jelinek <jakub@redhat.com>
1060 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Remove.
1061 (elf_machine_matches_host): Remove weak extern stuff.
1062 Use GL(dl_hwcap) unconditionally and GL(dl_hwcap_mask) if SHARED.
1063 (elf_machine_runtime_setup, sparc_fixup_plt): Remove weak extern
1064 stuff. Use GL(dl_hwcap) unconditionally.
1066 2003-08-16 Alan Modra <amodra@bigpond.net.au>
1068 * sysdeps/powerpc/powerpc64/elf/start.S: Add a nop after
1069 __libc_start_main branch.
1071 2003-08-16 Jakub Jelinek <jakub@redhat.com>,
1072 Andreas Jaeger <aj@suse.de>
1074 * sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS
1075 instead of setting errno.
1076 * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
1078 2003-08-16 Andreas Jaeger <aj@suse.de>
1080 * sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
1081 * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
1083 2003-08-15 Ulrich Drepper <drepper@redhat.com>
1085 * io/fcntl.h (posix_fadvise64): Change type of third parameter to
1087 * sysdeps/unix/sysv/linux/posix_fadvise.c: Adjust definition.
1088 * sysdeps/unix/make-syscalls.sh: Recognize V prefix to the parameter
1089 description indicating the error value is returned, not -1.
1090 * sysdeps/unix/sysv/linux/kernel-features.h: Add definition of
1091 __ASSUME_FADVISE64_64_SYSCALL.
1092 * sysdeps/unix/sysv/linux/syscalls.list: Don't define madvise and
1093 posix_madvise in one file. Have posix_madvise defined with error
1095 Define posix_fadvise64_64 entry. Add version info to posix_fadvise64
1097 * sysdeps/unix/sysv/linux/i386/posix_fadvise.S: New file.
1098 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_ERRVAL,
1099 PSEUDO_END_ERRVAL, and ret_ERRVAL.
1100 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1102 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.3.3]: Add
1105 * posix/Makefile (routines): Add posix_madvise.
1106 * sysdeps/generic/madvise.c: Don't define posix_madvise.
1107 * sysdeps/generic/posix_madvise.c: New file.
1108 * sysdeps/unix/sysv/aix/posix_madvise.c: New file.
1109 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (subdir_routines):
1110 Add posix_fadvise64_64.
1112 2003-08-15 Jakub Jelinek <jakub@redhat.com>
1114 * assert/assert.h (assert_perror): Use __builtin_expect for gcc >=
1115 3.0, not for !gcc or gcc < 3.0.
1117 2003-08-11 Carlos O'Donell <carlos@baldric.uwo.ca>
1119 * dlfcn/default.c (main): Cast dlsym loaded value to same type as main.
1120 Address passed to test_in_mod1 and test_in_mod2 without casting.
1121 * dlfcn/defaultmod1.c: Change prototype of test_in_mod1.
1122 (test_in_mod1): Cast dlsym loaded value to same type as mainp.
1123 * dlfcn/defaultmod2.c: Change prototype of test_in_mod2.
1124 (test_in_mod2): Cast dlsym loaded value to same type as mainp.
1126 2003-08-15 Jakub Jelinek <jakub@redhat.com>
1128 * sysdeps/sparc/sparc32/elf/configure.in (libc_cv_sparc32_tls):
1129 Change quotes before using [].
1131 * sysdeps/unix/sysv/linux/sparc/sys/user.h: New file.
1133 * sysdeps/sparc/sparc32/bits/atomic.h (__sparc32_atomic_lock):
1135 (__sparc32_atomic_locks): ...this. Change into 64-byte array.
1136 (__sparc32_atomic_do_lock, __sparc32_atomic_do_unlock): Add addr
1137 argument. Select one of 64 locks from address bits.
1138 (atomic_compare_and_exchange_val_acq,
1139 atomic_compare_and_exchange_bool_acq): Pass memory address to
1140 __sparc32_atomic_do_{,un}lock.
1142 2003-08-14 Ulrich Drepper <drepper@redhat.com>
1144 * assert/assert.h (assert): Use !! in front of expression to allow
1147 * iconvdata/cp932.c: Fixed checking of a few border of code areas.
1148 Changed conversion of JIS X 0201 from using a table to calculating.
1149 * iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote
1150 conversion routine. Changed CHARSET_NAME definition from EUCJP-MS to
1152 * iconvdata/tst-tables.sh: Add CP932 and EUC-JP-MS.
1153 * iconvdata/CP932.irreversible: New file.
1154 * iconvdata/EUC-JP-MS.irreversible: New file.
1155 Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>.
1157 2003-08-13 Ulrich Drepper <drepper@redhat.com>
1159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add time syscall.
1161 * elf/Makefile: Use LC_ALL=C in a few cases where we call external
1162 text processing tools.
1164 * sysdeps/pthread/aio_misc.h (struct waitlist): Don't add caller_pid
1165 element unless BROKEN_THREAD_SIGNALS is defined.
1166 (struct requestlist): Likewise.
1167 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Don't fill in
1168 caller_pid of new request unless BROKEN_THREAD_SIGNALS is defined.
1169 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1170 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Remove caller_pid
1171 parameter unless BROKEN_THREAD_SIGNALS is defined. Adjust callers.
1172 Pass current PID to __aio_sigqueue.
1173 * sysdeps/pthread/lio_listio.c (lio_listio): Adjust __aio_notify_only
1174 call. Don't initialize caller_pid field of waitlist element.
1176 2003-08-12 Jakub Jelinek <jakub@redhat.com>
1178 * libio/libioP.h (_IO_vtable_offset): Define.
1179 * libio/freopen.c (freopen): Use it.
1180 * libio/ioputs.c (_IO_puts): Likewise.
1181 * libio/freopen64.c (freopen64): Likewise.
1182 * libio/genops.c (__underflow, __uflow, _IO_flush_all_lockp):
1184 * libio/iofclose.c (_IO_new_fclose): Likewise.
1185 * libio/iofputs.c (_IO_fputs): Likewise.
1186 * libio/ioftell.c (_IO_ftell): Likewise.
1187 * libio/iofwrite.c (_IO_fwrite): Likewise.
1188 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1189 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1190 * stdio-common/vfprintf.c (ORIENT, vfprintf): Likewise.
1191 * stdio-common/vfscanf.c (ORIENT): Likewise.
1193 2003-08-11 Ulrich Drepper <drepper@redhat.com>
1195 * assert/assert.h: Use __builtin_expect in assert and
1196 assert_perror definitions if possible.
1198 2003-08-07 Jakub Jelinek <jakub@redhat.com>
1200 * sysdeps/generic/ldsodefs.h (_rtld_global): Add
1201 _dl_rtld_lock_recursive and _dl_rtld_unlock_recursive.
1202 * elf/rtld.c (rtld_lock_default_lock_recursive,
1203 rtld_lock_default_unlock_recursive): New functions.
1204 (dl_main): Initialize _dl_rtld_lock_recursive and
1205 _dl_rtld_unlock_recursive.
1207 2003-08-05 Jakub Jelinek <jakub@redhat.com>
1209 * elf/ldconfig.c (main): Append SLIBDIR and LIBDIR to
1210 config_file directories instead of prepending.
1212 2003-08-02 Ulrich Drepper <drepper@redhat.com>
1214 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1215 __ASSUME_CLONE_STOPPED.
1217 2003-08-01 Ulrich Drepper <drepper@redhat.com>
1219 * sysdeps/generic/bits/libc-lock.h
1220 (__libc_cleanup_push,__libc_cleanup_pop): Define even here.
1222 2003-08-01 Roland McGrath <roland@frob.com>
1224 * sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c.
1226 2003-07-31 Jakub Jelinek <jakub@redhat.com>
1228 * sysdeps/generic/bits/types.h (__ssize_t): Use __SSIZE_T_TYPE
1229 instead of __SWORD_TYPE.
1230 * sysdeps/generic/bits/typesizes.h (__SSIZE_T_TYPE): Define.
1231 * sysdeps/mach/hurd/bits/typesizes.h (__SSIZE_T_TYPE): Define.
1232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h (__SSIZE_T_TYPE):
1234 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__SSIZE_T_TYPE):
1236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SSIZE_T_TYPE):
1238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New file.
1240 * dlfcn/dlerror.c (once): New.
1241 (dlerror): Call __libc_once.
1242 (_dlerror_run): Remove once.
1244 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1245 Sync with 2.5.7 and 2.5.73 kernel changes.
1247 * dlfcn/eval.c (funcall): Add noinline attribute to shut up warnings.
1248 * elf/rtld.c (dl_main): Cast ElfW(Addr) arguments with %Zx/%Zd
1250 * elf/dl-lookup.c (_dl_debug_bindings): Likewise.
1251 * elf/tst-tls6.c (do_test): Use %zd format for l_tls_modid.
1252 * elf/tst-tls8.c (do_test): Use %zd format for modid1 and modid2.
1253 * gmon/tst-sprofil.c (main): Add parens to shut up warning.
1254 * iconv/tst-iconv3.c (main): Use %td instead of %zd for pointer
1255 difference argument.
1256 * stdio-common/tst-wc-printf.c (main): Cast arguments with %C
1258 * stdlib/tst-limits.c (main): For WORD_BIT and LONG_BIT, use
1259 %d format and cast expected value to int.
1260 * sysdeps/generic/libc-start.c (STATIC): Add
1261 __attribute__((always_inline) if LIBC_START_MAIN is already defined.
1262 * sysdeps/powerpc/fpu/w_sqrt.c (a_nan, a_inf): Change from uint32_t
1263 to ieee_float_shape_type.
1264 (__sqrt): Avoid type punning.
1265 * sysdeps/powerpc/fpu/w_sqrtf.c (a_nan, a_inf): Change from uint32_t
1266 to ieee_float_shape_type.
1267 (__sqrtf): Avoid type punning.
1268 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Don't define
1269 refsym if in dl-conflict.c.
1270 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
1271 * sysdeps/unix/sysv/linux/i386/semctl.c (union semun): Add __old_buf.
1272 (__new_semctl): Shut up warning.
1273 * sysdeps/unix/sysv/linux/semctl.c (union semun): Add __old_buf.
1274 (__new_semctl): Shut up warning.
1275 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Wrap long lines.
1276 Change old into union of __old_shmid_ds and __old_shminfo structs.
1278 * wcsmbs/wcsmbs-tst1.c (main): Cast arguments with %C format to wint_t.
1280 * sysdeps/unix/sysv/linux/utimes.c (__utimes): Fix actime and
1281 modtime computation.
1282 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
1283 * sysdeps/posix/utimes.c (__utimes): Likewise.
1285 2003-07-30 Jakub Jelinek <jakub@redhat.com>
1287 * elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value,
1288 call dl_signal_error directly. If already relocated, call
1289 GL(dl_init_static_tls) directly, otherwise queue it for later.
1290 (CHECK_STATIC_TLS): Undo 2003-07-24 change.
1291 * elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls).
1292 * elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls
1293 for all static TLS initializations delayed in _dl_allocate_static_tls.
1294 * elf/dl-support.c (_dl_init_static_tls): New variable.
1295 * include/link.h (struct link_map): Add l_need_tls_init.
1296 * sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls.
1297 (_dl_nothread_init_static_tls): New prototype.
1298 (_dl_allocate_static_tls): Adjust prototype.
1300 * elf/tls-macros.h (VAR_INT_DEF): Add alignment directive.
1302 2003-07-31 Alexandre Oliva <aoliva@redhat.com>
1304 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
1305 elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
1306 reloc_addr is aligned.
1307 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
1308 elf_machine_rela_relative): Adjust.
1309 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
1310 elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
1311 * sysdeps/cris/dl-machine.h (elf_machine_rela,
1312 elf_machine_rela_relative): Adjust.
1313 * sysdeps/hppa/dl-machine.h (elf_machine_rela,
1314 elf_machine_rela_relative): Adjust.
1315 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
1316 elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
1317 * sysdeps/ia64/dl-machine.h (elf_machine_rela,
1318 elf_machine_rela_relative): Adjust.
1319 * sysdeps/m68k/dl-machine.h (elf_machine_rela,
1320 elf_machine_rela_relative): Adjust.
1321 * sysdeps/mips/dl-machine.h (elf_machine_rela,
1322 elf_machine_rela_relative): Adjust.
1323 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
1324 elf_machine_rela_relative): Adjust.
1325 * sysdeps/powerpc/powerpc64/dl-machine.h
1326 (elf_machine_rela_relative, elf_machine_rela): Adjust.
1327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
1328 elf_machine_rela_relative): Adjust.
1329 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
1330 elf_machine_rela_relative): Adjust.
1331 * sysdeps/sh/dl-machine.h (elf_machine_rela,
1332 elf_machine_rela_relative): Adjust.
1333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1334 elf_machine_rela_relative): Adjust.
1335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1336 elf_machine_rela_relative): Adjust.
1337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela,
1338 elf_machine_rela_relative): Adjust.
1340 2003-07-29 Ulrich Drepper <drepper@redhat.com>
1342 * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Restore
1343 alignment of TCB used before the last change so that it matches
1344 ld's output for IE code.
1346 2003-07-29 Jakub Jelinek <jakub@redhat.com>
1348 * include/ctype.h (__ctype_b_loc, __ctype_toupper_loc,
1349 __ctype_tolower_loc): Avoid "dereferencing type-punned pointer will
1350 break strict-aliasing rules" warnings.
1352 2003-07-29 Roland McGrath <roland@redhat.com>
1354 * elf/Makefile: Revert accidental changes in last commit.
1355 * elf/dl-support.c: Likewise.
1357 * rt/tst-timer2.c: New file.
1358 * rt/Makefile (tests): Add it.
1360 2003-07-25 Jakub Jelinek <jakub@redhat.com>
1362 * elf/dl-support.c (_dl_hwcap): Add nocommon attribute.
1364 2003-07-29 Roland McGrath <roland@redhat.com>
1366 * elf/Makefile (tests) [$(build-shared) = yes]:
1367 Depend on $(test-modules).
1368 * dlfcn/Makefile: Likewise.
1370 2003-07-28 Roland McGrath <roland@redhat.com>
1372 * sysdeps/generic/bits/types.h (__STD_TYPE): New macro.
1373 Use that instead of `typedef' when using __*_TYPE macros in rhs.
1375 * elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this.
1376 * elf/tst-tlsmod14a.c: Likewise.
1378 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h>
1379 before <linux/sysctl.h>.
1381 2003-07-27 Ulrich Drepper <drepper@redhat.com>
1383 * sysdeps/unix/sysv/syscalls.list: time syscall never fails.
1384 * sysdeps/unix/sysv/linux/x86_64/time.S: time syscall never fails.
1385 * sysdeps/unix/sysv/i386/time.S: time syscall never fails.
1386 * sysdeps/unix/syscalls.list: umask syscall never fails.
1388 2003-07-27 Andreas Jaeger <aj@suse.de>
1390 * sysdeps/unix/sysv/linux/init-first.c: Mark init as used.
1392 2003-07-25 Jakub Jelinek <jakub@redhat.com>
1394 * sysdeps/unix/sysv/linux/a.out.h: Replace with i386 version.
1395 Include bits/a.out.h.
1396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1398 * sysdeps/unix/sysv/linux/bits/a.out.h: New file.
1399 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: New file.
1400 * sysdeps/unix/sysv/linux/m68k/bits/a.out.h: New file.
1401 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: New file.
1402 * sysdeps/unix/sysv/linux/alpha/a.out.h: New file.
1403 * sysdeps/unix/sysv/linux/alpha/bits/a.out.h: New file.
1404 * sysdeps/unix/sysv/linux/sparc/a.out.h: New file.
1405 * sysdeps/unix/sysv/linux/sparc/bits/a.out.h: New file.
1407 2003-07-24 Jakub Jelinek <jakub@redhat.com>
1409 * sysdeps/pthread/aio_cancel.c (aio_cancel): Return AIO_ALLDONE
1410 if aiocbp != NULL and has already completed. Return -1/EINVAL if
1411 aiocbp->aio_fildes does not match fildes.
1413 2003-07-24 Ulrich Drepper <drepper@redhat.com>
1415 * timezone/zic.c (rpytime): Replace cheap overflow check with a
1418 * include/link.h (struct link_map): Add l_tls_firstbyte_offset field.
1419 * sysdeps/generic/dl-tls.c [TLS_TCB_AT_TP] (_dl_determine_tlsoffset):
1420 Fix calculation of offsets to take misalignment of first byte in
1422 * elf/dl-load.c (_dl_map_object_from_fd): Initialize
1423 l_tls_firstbyte_offset field.
1424 * elf/rtld.c (_dl_start_final, _dl_start, dl_main): Likewise.
1425 * elf/dl-reloc.c (_dl_allocate_static_tls): Change return type to int.
1426 Take l_tls_firstbyte_offset information into account.
1427 (CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now.
1428 * sysdeps/generic/ldsodefs.h: Adjust _dl_allocate_static_tls prototype.
1429 * elf/Makefile: Add rules to build and run tst-tls14.
1430 * elf/tst-tls14.c: New file.
1431 * elf/tst-tlsmod14a.c: New file.
1432 * elf/tst-tlsmod14b.c: New file.
1434 2003-07-23 Jakub Jelinek <jakub@redhat.com>
1436 * sysdeps/pthread/lio_listio.c (LIO_OPCODE_BASE): Define.
1437 (lio_listio): Use it.
1438 * sysdeps/pthread/lio_listio64.c: Include lio_listio.c instead of
1439 after few defines to avoid duplication.
1441 2003-07-22 Jakub Jelinek <jakub@redhat.com>
1443 * include/stdio.h (__libc_fatal): Add libc_hidden_proto.
1444 * include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
1446 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
1447 Add libc_hidden_def.
1448 * sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise.
1449 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1450 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise.
1451 * elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE,
1452 __libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE.
1453 * libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE.
1454 * sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last
1456 * sysdeps/generic/unwind.inc: Removed.
1458 * include/resolv.h (__resp): Declare. Define to __libc_resp
1460 (_res): If USE___THREAD, define to (*__resp).
1461 * resolv/res_libc.c (_res): Normal .bss variable with compat_symbol
1462 even if USE___THREAD.
1463 (__resp): New __thread variable.
1464 (__libc_resp): New alias.
1465 * resolv/Versions (libc): Export _res@GLIBC_2.0 even if
1466 USE_TLS && HAVE___THREAD. Export __resp@@GLIBC_PRIVATE.
1467 * sysdeps/generic/res-state.c (__res_state): Return __resp
1470 2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
1472 * elf/dl-support.c (_dl_hwcap): New variable.
1473 (_dl_aux_init): Initialize GL(dl_hwcap) for static binaries.
1475 * sysdeps/i386/fpu/fclrexcpt.c: Include <unistd.h>, <ldsodefs.h>
1476 and <dl-procinfo.h>.
1477 (__feclearexcept): Clear MXCSR if needed.
1478 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1480 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Document
1481 that newer hardware needs more than these macros.
1483 * sysdeps/i386/setfpucw.c: New file.
1485 2003-07-22 Jakub Jelinek <jakub@redhat.com>
1487 * elf/Makefile (CFLAGS-ldconfig.c): Define IS_IN_ldconfig.
1488 * elf/ldconfig.c: Include dl-procinfo.c.
1489 (PROCINFO_CLASS): Define.
1490 * sysdeps/generic/ldsodefs.h (PROCINFO_CLASS): Define.
1491 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: New file.
1492 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: New file.
1493 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (PROCINFO_CLASS):
1494 Define if not yet defined. Use it instead of EXTERN. Undefine
1495 at the end of the file.
1496 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (PROCINFO_CLASS):
1498 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c
1499 (PROCINFO_CLASS): Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c
1501 (PROCINFO_CLASS): Likewise.
1503 2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
1505 * elf/ldconfig.c (main): Issue a fatal error if relative path
1506 is used to build cache.
1508 2003-07-22 Ulrich Drepper <drepper@redhat.com>
1510 * elf/readlib.c (process_file): Avoid possible overflow in assignment.
1512 2003-07-21 Art Haas <ahaas@airmail.net>
1514 * manual/charset.texi (Converting a Character): Fix example code so a
1515 valid pointer is returned.
1517 2003-07-22 Andreas Jaeger <aj@suse.de>
1519 * elf/readlib.c (process_file): Check that file is a shared
1522 * elf/sofini.c (__FRAME_END__): Use attribute used so that gcc
1523 will not optimize it away.
1524 (__DTOR_END__): Likewise.
1525 (__CTOR_END__): Likewise.
1527 * include/libc-symbols.h (_elf_set_element): Use attribute used so
1528 that gcc will not optimize it away.
1529 (link_warning): Likewise.
1531 2003-07-22 Ulrich Drepper <drepper@redhat.com>
1533 * wcsmbs/wcpncpy.c (__wcpncpy): Correct destination pointer handling.
1534 * wcsmbs/Makefile (tests): Add tst-wcpncpy.
1535 * wcsmbs/tst-wcpncpy.c: New file.
1537 2003-07-21 Ulrich Drepper <drepper@redhat.com>
1539 * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define.
1541 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Reverse use of
1542 stmxcsr and ldmxcsr.
1544 * Makerules (build-module-helper): Add -z defs unless explicitly said
1546 * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs
1547 which has undefined symbols.
1548 * elf/Makefile: Likewise.
1550 * sysdeps/i386/fpu/fedisblxcpt.c: Use dl_hwcap, not dl_hwcap_mask.
1551 * sysdeps/i386/fpu/feenablxcpt.c: Likewise.
1552 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
1553 * sysdeps/i386/fpu/fesetround.c: Likewise.
1554 * sysdeps/i386/fpu/ftestexcept.c: Likewise.
1556 2003-07-21 HJ Lu <hongjiu.lu@intel.com>
1558 * elf/ldconfig.c (search_dir): Treat symlink as regular file
1559 if it won't point to itself.
1561 2003-07-20 Ulrich Drepper <drepper@redhat.com>
1563 * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.
1565 2003-07-20 Andreas Jaeger <aj@suse.de>
1567 * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called
1568 STANDARD_TO_LOOP_ERR_HANDLER.
1569 * iconvdata/euc-jp-ms.c (BODY): Likewise.
1571 2003-07-19 Ulrich Drepper <drepper@redhat.com>
1573 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo.
1575 * sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls.
1577 2003-07-16 Daniel Jacobowitz <drow@mvista.com>
1578 Andreas Jaeger <aj@suse.de>
1580 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
1581 256K, remove unneeded declaration of __getpagesize.
1583 2003-07-16 Andreas Schwab <schwab@suse.de>
1585 * sysdeps/unix/sysv/linux/futimes.c: Include <string.h>.
1587 2003-07-15 Ulrich Drepper <drepper@redhat.com>
1589 * io/test-utime.c (main): Make test yet more robust.
1591 2003-07-14 Ulrich Drepper <drepper@redhat.com>
1593 More cancellation handling fixups.
1594 * sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel.
1595 * sysdeps/generic/not-cancel.h: Likewise.
1596 * catgets/open_catalog.c: Use not-cancelable syscalls.
1597 * time/Makefile (CFLAGS-getdate.c): Add -fexceptions.
1598 * sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable.
1599 * sysdeps/unix/syscalls.list: Don't mark lseek as cancelable.
1600 * dlfcn/dlfcn.h: Mark dlopen with __THROW again.
1601 * io/fcntl.h: Don't mark posix_fallocate with __THROW.
1602 * libio/fileops.c: Use not-cancelable syscalls for fclose.
1603 * libio/iopopen.c: Use no-cancelable syscalls.
1604 * libio/stdio.h: Mark popen and pclose with __THROW again.
1605 * misc/Makefile (CFLAGS-syslog.c): Add -fexceptions.
1606 * misc/syslog.c: Fix locking and cancellation cleanup handling.
1607 * posix/unistd.h: Mark ttyname and ttyname_r again with __THROW.
1608 * stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c,
1609 CFLAGS-tempname.c): Add -fexceptions.
1610 * stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions.
1611 * string/string.h: Mark strerror and strerror_r with _THROW again.
1612 * sysdeps/generic/unwind.inc: New file. Copied from gcc.
1613 * sysdeps/generic/unwind-dw2.c: Update from gcc version. Remove
1614 #ifs since we now need all the code compiled.
1615 * sysdeps/posix/spawni.c: Use close_not_cancel instead of close.
1616 * sysdeps/unix/closedir.c: Use not-cancelable syscalls.
1617 * sysdeps/unix/opendir.c: Likewise.
1619 * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS.
1620 Add rule for EUC-JP-MS dependency.
1621 * iconvdata/cp932.c: New file.
1622 * iconvdata/eucjp-ms.c: New file.
1623 * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS.
1624 Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>.
1626 2003-07-15 Jakub Jelinek <jakub@redhat.com>
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add
1631 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1633 * sysdeps/unix/sysv/linux/kernel-features.h
1634 (__ASSUME_FIXED_CLONE_SYSCALL): New macro.
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it.
1637 * sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h.
1639 2003-07-14 Ulrich Drepper <drepper@redhat.com>
1641 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1642 __ASSUME_TGKILL for Alpha appropriately.
1644 2003-07-12 Ulrich Drepper <drepper@redhat.com>
1646 * sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define.
1647 * sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE):
1649 * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE):
1652 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1653 __ASSUME_UTIMES for x86 and kernels > 2.5.75.
1655 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with
1656 second parameter == NULL.
1657 * sysdeps/unix/sysv/linux/utimes.c: New file.
1659 2003-07-12 Jakub Jelinek <jakub@redhat.com>
1661 * sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h.
1662 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix
1665 2003-07-12 Ulrich Drepper <drepper@redhat.com>
1667 * time/sys/time.h: Namespace cleanup.
1668 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1669 __ASSUME_UTIMES for the architectures which always had the syscall.
1670 * sysdeps/unix/sysv/linux/futimes.c: New file.
1672 2003-07-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1674 * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR
1675 register across CENABLE and CDISABLE.
1677 2003-07-11 Jakub Jelinek <jakub@redhat.com>
1679 * sysdeps/unix/sysv/linux/sigwait.c: Include string.h.
1680 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1681 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1682 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned
1683 int before assigning to max to avoid warnings.
1685 2003-07-11 Jakub Jelinek <jakub@redhat.com>
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add
1689 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise.
1690 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
1692 2003-07-10 Jakub Jelinek <jakub@redhat.com>
1694 * sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of
1695 .data.rel.ro.local to "aw".
1697 2003-07-10 Ulrich Drepper <drepper@redhat.com>
1699 * sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition.
1700 * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag.
1701 (PIC-ccflag): Define.
1703 2003-07-04 Jakub Jelinek <jakub@redhat.com>
1705 * sysdeps/s390/s390-32/elf/start.S: Emit position independent code
1707 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1709 2003-07-07 Jakub Jelinek <jakub@redhat.com>
1711 * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address)
1712 into .data.rel.ro.local section if PIC to avoid DT_TEXTREL.
1714 2003-07-07 Ulrich Drepper <drepper@redhat.com>
1716 * sysdeps/unix/sysv/linux/kernel-features.h: Version
1717 __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible.
1719 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
1720 compilation with HAVE_AUX_SECURE defined.
1722 2003-07-05 Richard Henderson <rth@redhat.com>
1724 * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
1726 2003-07-03 Ulrich Drepper <drepper@redhat.com>
1728 * configure.in: Also check for .cfi_rel_offset pseudo-op.
1730 2003-07-03 Jakub Jelinek <jakub@redhat.com>
1732 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a
1735 2003-07-03 Ulrich Drepper <drepper@redhat.com>
1737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_CLKTCK):
1739 * sysdeps/unix/sysv/linux/prof-freq.h: New file.
1741 2003-07-02 Jakub Jelinek <jakub@redhat.com>
1743 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo
1744 decl and use with #ifdef NEED_DL_SYSINFO.
1746 2003-07-02 Ulrich Drepper <drepper@redhat.com>
1748 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set
1749 GL(dl_sysinfo) unles GL(dl_sysinfo_dso) is also set.
1750 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1751 __ASSUME_VSYSCALL only for 2.5.69 and up since this is when the
1752 vsyscall DSO was added.
1754 * posix/bits/posix1_lim.h (_POSIX_NGROUPS_MAX): Define to 8 or 0
1755 depending on selected standard.
1756 (NGROUPS_MAX): Define to 8 if not defined.
1758 2003-07-02 Andreas Jaeger <aj@suse.de>
1760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file.
1762 2003-05-04 H.J. Lu <hongjiu.lu@intel.com>
1764 * malloc/arena.c (arena_get2): Add atomic_write_barrier.
1765 * malloc/thread-m.h: Include <atomic.h>.
1766 (atomic_full_barrier): Provide default.
1767 (atomic_read_barrier): Likewise.
1768 (atomic_write_barrier): Likewise.
1769 * sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define.
1771 2003-06-30 Ulrich Drepper <drepper@redhat.com>
1773 * sysdeps/generic/sysdep.h: Define cfi_rel_offset and CFI_REL_OFFSET.
1775 2003-06-30 Richard Henderson <rth@redhat.com>
1777 * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
1778 Invert the sense of the return value.
1779 (__arch_exchange_16_int): Fix paste-o.
1780 (__arch_exchange_{32,64}_int): Fix think-o.
1782 * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
1784 2003-06-30 Richard Henderson <rth@redhat.com>
1786 * include/sys/resource.h (__getrusage): Mark hidden.
1787 * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise.
1788 * include/sys/wait.h (__wait4): Likewise.
1790 2003-06-17 Guido Guenther <agx@sigxcpu.org>
1792 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
1794 (xstat_conv): Rename to __xstat_conv and remove static inline.
1795 (xstat64_conv): Likewise.
1797 2003-06-29 Ulrich Drepper <drepper@redhat.com>
1799 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Handle parameter
1800 values which cannot be handled in one nanosleep call.
1802 2003-06-25 Alfred M. Szmidt <ams@kemisten.nu>
1804 * sysdeps/generic/bits/in.h (IPV6_HOPOPTS, IPV6_DSTOPTS): New macros.
1805 (IPV6_RXHOPOPTS, IPV6_RXDSTOPTS): Use them.
1807 * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: Typo fix.
1809 2003-06-04 Thorsten Kukuk <kukuk@suse.de>
1811 * sysdeps/unix/sysv/linux/net/if_arp.h: Sync with kernel header,
1814 2003-06-26 Steven Munroe <sjmunroe@us.ibm.com>
1816 * sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]:
1817 Conditionalize function definitions that use struct kernel_stat.
1818 * sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern.
1819 * sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern.
1820 * sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern.
1822 2003-06-28 Ulrich Drepper <drepper@redhat.com>
1824 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real
1827 2003-06-07 Thorsten Kukuk <kukuk@suse.de>
1829 * nis/nss_compat/compat-grp.c: Remove unused nis_first variable.
1830 (getgrent_next_file): Don't store group name to early in blacklist.
1832 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result
1833 and use memcpy instead of strcpy.
1835 2003-06-28 Ulrich Drepper <drepper@redhat.com>
1837 * nis/nss_compat/compat-grp.c: Optimize several little things. Use
1839 * nis/nss_compat/compat-initgroups.c: Likewise.
1840 * nis/nss_compat/compat-pwd.c: Likewise.
1841 * nis/nss_compat/compat-spwd.c: Likewise.
1843 2003-06-27 Thorsten Kukuk <kukuk@suse.de>
1845 * nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+
1846 functions, dlopen corresponding NSS module instead.
1848 2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
1850 * sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
1851 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1852 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1853 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
1855 2003-06-27 Ulrich Drepper <drepper@redhat.com>
1857 * rt/Makefile (CFLAGS-librt-cancellation.c): Define.
1859 2003-06-26 Roland McGrath <roland@frob.com>
1861 * sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.
1862 * sysdeps/mach/configure: Regenerated.
1863 * sysdeps/mach/hurd/times.c (times_init): Function removed.
1864 (__times): Assume `creation_time' field is available.
1865 * sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines):
1866 Don't append set-init.
1867 * sysdeps/mach/hurd/set-init.c: File removed.
1869 2003-06-26 Roland McGrath <roland@redhat.com>
1871 * elf/elf.h (AT_SECURE): New macro.
1872 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it,
1873 set __libc_enable_secure.
1874 (_dl_show_auxv): Add AT_SECURE to name table.
1875 * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set
1876 __libc_enable_secure and __libc_enable_secure_decided.
1877 * sysdeps/unix/sysv/linux/ldsodefs.h
1878 [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it.
1879 * sysdeps/unix/sysv/linux/kernel-features.h
1880 [__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it.
1882 2003-06-26 Ulrich Drepper <drepper@redhat.com>
1884 * io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower
1885 boundary test to take rounding of nanoseconds into account.
1887 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC.
1888 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1889 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1890 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1891 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1892 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1893 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
1895 2003-06-26 Andreas Schwab <schwab@suse.de>
1897 * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
1898 * sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
1899 * sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
1901 2003-06-17 Thorsten Kukuk <kukuk@suse.de>
1903 * nis/Makefile: Remove NIS/NIS+ files from nss_compat module.
1904 * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions,
1905 dlopen corresponding NSS module instead.
1906 * nis/nss_compat/compat-pwd.c: Likewise.
1907 * nis/nss_compat/compat-spwd.c: Likewise.
1908 * nis/nss_compat/compat-initgroups.c: Disabled for now.
1909 * nss/Versions: Export __nss_lookup_function.
1911 2003-06-19 Daniel Jacobowitz <drow@mvista.com>
1913 * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features
1914 for the SH architecture.
1916 2003-06-25 Thorsten Kukuk <kukuk@suse.de>
1918 * csu/Makefile: Use CPPFLAGS to find correct linux/version.h.
1920 2003-06-25 Andreas Jaeger <aj@suse.de>
1922 * stdlib/tst-strtod.c (main): Declare constant long double as
1923 suggested by Jakub Jelinek and Andreas Schwab.
1925 * posix/tst-nanosleep.c: Include <time.h> for nanosleep
1928 * stdio-common/tst-fphex.c: Fix format string.
1930 * posix/transbug.c: Include <string.h> for memset and strlen
1933 * stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration.
1935 * stdlib/tst-strtod.c (main): Pass long double value.
1937 * test-skeleton.c: Include <time.h> for nanosleep declaration.
1939 2003-06-25 Ulrich Drepper <drepper@redhat.com>
1941 * include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is
1944 2003-06-11 Jakub Jelinek <jakub@redhat.com>
1946 * elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE.
1947 * elf/dl-libc.c (struct dl_open_hook): New.
1948 (_dl_open_hook): New variable.
1949 (do_dlsym_private): New function.
1950 (__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE
1951 and initialize it if found.
1952 (__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL,
1953 call dlopen_mode hook.
1954 (__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL,
1956 (__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL,
1959 2003-06-25 Ulrich Drepper <drepper@redhat.com>
1961 * sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast
1962 result to long int so that extensions to long long int work.
1963 Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.
1965 2003-06-19 Jakub Jelinek <jakub@redhat.com>
1967 * elf/ldconfig.c (main): Use add_system_dir instead of add_dir.
1968 * sysdeps/generic/dl-cache.h (add_system_dir): Define.
1969 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc
1971 * sysdeps/unix/sysv/linux/s390/dl-cache.h: New file.
1972 * sysdeps/unix/sysv/linux/mips/dl-cache.h: New file.
1973 * sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file.
1974 * sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file.
1976 2003-06-19 Jakub Jelinek <jakub@redhat.com>
1978 * test-skeleton.c (timeout_handler): If waitpid returned 0,
1979 retry once after a second. If killed == 0, assume
1980 WTERMSIG (status) == SIGKILL.
1982 2003-06-18 Roland McGrath <roland@redhat.com>
1984 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized
1985 elements in the table instead of printing an empty name string.
1987 2003-06-05 Roland McGrath <roland@redhat.com>
1989 * elf/elf.h (PT_GNU_STACK): New macro.
1991 2003-06-24 Ulrich Drepper <drepper@redhat.com>
1993 * include/time.h: Define CLOCK_IDFIELD_SIZE.
1994 * sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs.
1995 * sysdeps/unix/clock_gettime.c: Likewise.
1996 * sysdeps/unix/clock_settime.c: Likewise.
1997 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new
1998 clock id for thread CPU clocks.
2000 * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support
2001 for the fstatfs64 syscall.
2002 * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for
2003 the statfs64 syscall.
2005 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2006 __ASSUME_STATFS64 appropriately.
2008 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field
2009 from statfs structure if it has been filled in.
2011 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize
2013 (struct statfs64): Likewise.
2014 * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise.
2015 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
2017 2003-06-24 Richard Henderson <rth@redhat.com>
2019 * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
2020 the 64-bit syscall name.
2022 * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.
2024 * sysdeps/alpha/fpu/bits/mathinline.h: Honor
2025 __LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit.
2027 * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
2028 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
2030 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2031 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
2034 * sysdeps/alpha/bits/atomic.h: New file.
2036 2003-06-24 Andreas Schwab <schwab@suse.de>
2038 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2040 2003-06-24 Andreas Jaeger <aj@suse.de>
2042 * sysdeps/unix/sysv/linux/x86_64/stat.h (_STAT_VER_LINUX): Avoid
2043 redeclaration with 32-bit code.
2045 2003-05-19 Ed Connell <ed.connell@sas.com>
2047 * sysdeps/unix/sysv/linux/i386/getcontext.S (getcontext): Retain
2048 floating point mask.
2049 * sysdeps/i386/fpu/fegetenv.c (fegetenv): Likewise.
2051 2003-06-23 Ulrich Drepper <drepper@redhat.com>
2053 * sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex,
2054 __aio_enqueue_request, __aio_find_req, __aio_find_req_fd,
2055 __aio_free_request, __aio_notify, and __aio_sigqueue as hidden.
2057 * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result
2058 of pthread_cond_wait if there was an error. Use pthread_cleanup_*
2059 instead of __libc_cleanup_region_*.
2061 2003-06-20 Richard Henderson <rth@redhat.com>
2063 * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
2064 * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.
2066 2003-06-20 Richard Henderson <rth@redhat.com>
2068 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
2069 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
2071 (__ASSUME_TIMEVAL64): Set for alpha.
2072 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
2073 adjtimex, osf_sigprocmask, old_adjtimex.
2074 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
2075 __ASSUME_TIMEVAL64. Reorg tv64 functions to avoid uninit variable.
2076 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
2077 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2078 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2079 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2080 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2081 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2082 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2083 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2084 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline
2086 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2087 * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
2088 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
2089 * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
2090 * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
2091 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
2092 sys_ustat, sys_mknod, adjtimex, old_adjtimex.
2093 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
2094 defer to __syscall_name; error for rt_sigaction.
2095 * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.
2097 2003-06-18 Ulrich Drepper <drepper@redhat.com>
2099 * malloc/malloc.c (public_mALLINFo): Initialize malloc if it
2100 hasn't happened yet.
2102 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
2103 Fix completely broken implementation. The second parameter is of
2104 type struct ucontext*.
2106 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always
2109 * sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash.
2110 * sysdeps/generic/dl-hash.h: Likewise.
2112 * sysdeps/generic/memcmp.c: Remove inline from
2113 memcmp_common_alignment and memcmp_not_common_alignment definition.
2115 * intl/localealias.c (read_alias_file): Determine whether line is
2116 read incompletely early, before we modify the line.
2118 2003-06-17 Jakub Jelinek <jakub@redhat.com>
2120 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela)
2121 <case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.
2123 2003-06-17 Paul Mackerras <paulus@samba.org>
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file.
2130 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust.
2132 2003-06-17 Jakub Jelinek <jakub@redhat.com>
2134 * posix/regcomp.c (build_word_op): Use alnum instead of alpha class.
2136 2003-06-17 Ulrich Drepper <drepper@redhat.com>
2138 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep
2139 takes care of enabling cancellation.
2141 * sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend
2142 cancelable. It's not correct to disable cancellation. Instead of
2145 * sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined
2146 and part of the incoming set, create a temporary set without this
2148 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2149 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2151 * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before
2152 returning because seconds==0. Add __builtin_expect.
2154 2003-06-16 Ulrich Drepper <drepper@redhat.com>
2156 * sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information.
2158 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result
2161 2003-06-16 Thorsten Kukuk <kukuk@suse.de>
2163 * include/libc-symbols.h: Add static_link_warning macro.
2164 * grp/initgroups.c: Print linker warning if this function
2165 is called in a static linked binary.
2166 * nss/getXXbyYY.c: Likewise.
2167 * nss/getXXbyYY_r.c: Likewise.
2168 * nss/getXXent.c: Likewise.
2169 * nss/getXXent_r.c: Likewise.
2170 * sysdeps/posix/getaddrinfo.c: Likewise.
2172 2003-06-16 Bruno Haible <bruno@clisp.org>
2174 * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15,
2176 (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16.
2177 (IBM1047): Add alias IBM-1047.
2178 (GBK): Add aliases MS936, WINDOWS-936.
2180 2003-06-16 Jakub Jelinek <jakub@redhat.com>
2182 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if
2183 defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64.
2184 (__xstat64_conv): Change xstat_conv to __xstat_conv.
2186 2003-06-16 Ulrich Drepper <drepper@redhat.com>
2188 * locale/iso-639.def: Update from current official ISO 639.
2190 * math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed.
2192 2003-06-15 Andreas Jaeger <aj@suse.de>
2194 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting
2196 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2198 Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.
2200 * math/tgmath.h (carg): Handle real arguments.
2206 * math/Makefile (CFLAGS-test-tgmath-ret.c): New.
2207 (tests): Add test-tgmath-ret.
2208 * math/test-tgmath-ret.c: New file.
2210 * math/tgmath.h (ilogb): Return always an int.
2212 2003-06-16 Ulrich Drepper <drepper@redhat.com>
2214 * elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr
2215 computation so that prelinking works.
2217 2003-06-15 Ulrich Drepper <drepper@redhat.com>
2219 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic
2221 * elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the
2222 dynamic linker's map.
2224 Fix cancellation point handling wrt exception based cleanup.
2225 * io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions.
2226 * misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c
2228 * posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c,
2229 sleep.c, wait.c, waitid.c, and waitpid.c with exceptions.
2230 * rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with
2232 * signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c,
2233 sigwait.c, and sigwaitinfo.c with exceptions.
2234 * stdlib/Makefile: Compile system.c with exceptions.
2235 * sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions.
2236 * termios/Makefile: Compile tcdrain.c with exceptions.
2237 * sysdeps/generic/lockf.c: Add comment explaining the cancellation
2239 * sysdeps/generic/pselect.c: Likewise.
2240 * sysdeps/posix/sigpause.c: Likewise.
2241 * sysdeps/posix/system.c: Likewise.
2242 * sysdeps/posix/waitid.c: Likewise.
2243 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2244 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
2245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of
2246 INTERNAL_SYSCALL to not use push inside asm statement so that
2247 unwind info is correct around the syscall.
2248 * sysdeps/unix/clock_nanosleep.c: Add cancellation support.
2249 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2251 2003-06-15 Andreas Jaeger <aj@suse.de>
2253 * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2256 2003-06-15 Guido Guenther <agx@sigxcpu.org>
2258 * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and
2261 2003-06-14 Ulrich Drepper <drepper@redhat.com>
2263 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close,
2266 * inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def.
2267 * include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto
2270 * inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define.
2271 * inet/netinet/in.h: Add prototypes for inet6_option_* functions.
2272 * inet/Makefile (routines): Add inet6_option.
2273 * inet/inet6_option.c: New file.
2274 * inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space,
2275 inet6_option_init, inet6_option_append, inet6_option_alloc,
2276 inet6_option_next, and inet6_option_find.
2278 2003-06-13 Ulrich Drepper <drepper@redhat.com>
2280 * inet/netinet/ip6.h (struct ip6_ext): Define.
2282 * sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc.
2284 Fixing gcc 3.3 warnings, part II.
2285 * argp/argp-help.c (hol_entry_long_iterate): Always inline.
2286 * elf/dl-load.c (cache_rpath): Don't inline.
2287 * iconvdata/cns11642l2.h: Always inline all functions.
2288 * iconvdata/iso-ir-165.h: Likewise.
2289 * locale/Makefile (aux): Add coll-lookup.
2290 * locale/coll-lookup.c: New file.
2291 * locale/coll-lookup.h (collidx_table_lookup): Do not define here.
2292 (collseq_table_lookup): Likewise.
2293 * locale/weightwc.h: Adjust collidx_table_lookup calls for name change.
2294 * posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name
2296 * posix/regcomp.c: Likewise.
2297 * posix/regexec.c: Likewise.
2298 * locale/programs/3level.h (*_get): Always inline.
2299 * locale/programs/locfile.h: Move definition of handle_copy to...
2300 * locale/programs/locfile.c: ...here.
2301 * locale/programs/ld-collate.c (obstack_int32_grow): Always inline.
2302 (obstack_int32_grow_fast): Likewise.
2303 (utf8_encode): Likewise.
2304 (find_element): Avoid aliasing problems.
2305 (insert_value): Likewise.
2306 (collate_read): Likewise.
2307 * nss/getent.c (print_hosts): Don't inline
2308 (print_networks): Likewise.
2309 (print_shadow): Likewise.
2310 (build_doc): Likewise.
2311 * nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't
2313 * posix/regcomp.c (re_set_fastmap): Always inline.
2314 (seek_collating_symbol_entry): Likewise.
2315 (lookup_collation_sequence_value): Likewise.
2316 (build_range_exp): Likewise.
2317 (build_collating_symbol): Likewise.
2318 * posix/regexec.c (acquire_init_state_context): Don't inline.
2319 (clean_state_log_if_need): Likewise.
2320 * resolv/res_send.c (eConsIovec): Rewrite to not return struct and
2322 (evConsTime): Likewise.
2323 (evAddTime): Likewise.
2324 (evSubTime): Likewise.
2325 (evNowTime): Likewise.
2326 (evTimeSpec): Removed.
2327 (__libc_res_nsend): Avoid aliasing problem.
2328 * sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to..
2329 * sysdeps/unix/sysv/linux/ifreq.c: ...here.
2330 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap):
2332 (_dl_string_platform): Likewise.
2333 * wctype/wchar-lookup.h (wctype_table_lookup): Always inline.
2334 (wcwidth_table_lookup): Likewise.
2335 (wctrans_table_lookup): Likewise.
2337 * sysdeps/unix/sysv/linux/sys/epoll.h: Include <stdint.h>.
2339 2003-06-12 Ulrich Drepper <drepper@redhat.com>
2341 * wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034].
2343 2003-05-29 Jim Meyering <jim@meyering.net>
2345 * time/strftime.c (my_strftime) [!defined _NL_CURRENT
2346 && HAVE_STRFTIME]: Use underlying_strftime for %r.
2347 Suggested by Daniel Yacob <locales@geez.org>.
2349 2003-06-12 Steven Munroe <sjmunroe@us.ibm.com>
2351 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace
2352 @got notation with @toc.
2353 * sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise.
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise.
2356 2003-06-12 Ulrich Drepper <drepper@redhat.com>
2358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also
2359 if only PF_INET address is needed.
2361 * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in
2364 * scripts/config.guess: Update from upstream version.
2365 * scripts/config.sub: Likewise.
2367 2003-06-12 Jakub Jelinek <jakub@redhat.com>
2369 * locale/programs/ld-time.c (time_output): Also copy the era format,
2372 2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
2374 * posix/transbug.c (run_test): Return 1 for failure.
2375 (do_test): Compare only if run_test is successful.
2377 2003-06-12 Simon Josefsson <jas@extundo.com>
2379 * argp/argp.h [!__THROW]: Define if undefined.
2381 2003-06-12 Ulrich Drepper <drepper@redhat.com>
2383 * sysdeps/unix/sysv/linux/cris/sysdep.h: Fix handling of syscalls with
2384 more than four parameters.
2385 Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.
2387 2003-06-12 Jakub Jelinek <jakub@redhat.com>
2389 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
2390 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2391 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: New file.
2393 * stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h.
2395 2003-06-12 Roland McGrath <roland@redhat.com>
2397 * Makerules ($(objpfx)stubs): Rewrite sed magic.
2399 2003-02-28 Isamu Hasegawa <isamu@yamato.ibm.com>
2401 * posix/regcomp.c (parse_expression): Deliver translation to
2402 build_word_op, and build_charclass.
2403 (build_charclass): Apply translation for character classes too.
2404 (build_word_op): Deliver translation to build_charclass.
2405 * posix/transbug.c: New file.
2406 * posix/Makefile (tests): Add transbug.
2408 2003-06-04 Paolo Bonzini <bonzini@gnu.org>
2410 * posix/regexec.c (group_nodes_into_DFAstates): Check for
2411 NEXT_ENDBUF_CONSTRAINT. Move check for constraints which do a
2412 'continue' before the others.
2414 2003-06-11 Ulrich Drepper <drepper@redhat.com>
2416 * dirent/scandir.c (SCANDIR): Reset errno after calling selector
2417 function [PR libc/5045].
2419 * sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction
2422 * time/tzfile.c: Add a couple of __builtin_expect.
2424 Remove warnings gcc 3.3 shows.
2425 * argp/argp-help.c (hol_entry_short_iterate): Don't inline.
2426 * elf/dl-load.c (fillin_rpath): Likewise.
2427 (add_path): Likewise.
2428 * elf/dl-version.c (find_needed): Always inline.
2429 * elf/do-lookup.c (FCT): Don't inline.
2430 * iconv/Makefile: Extend vpath to intl subdir.
2431 (iconvconfig-modules): Add hash-string.
2432 * iconv/gconv_charset.h (strip): Don't inline.
2433 (upstr): Always inline.
2434 Move __gconv_compare_alias prototype to...
2435 * iconv/gconv_int.h: ...here.
2436 * iconv/gconv_db.c: Don't include gconv_charset.h.
2437 * iconv/gconv_conf.c (add_alias): Don't inline.
2438 (insert_module): Likewise.
2439 * iconv/gconv_simple.c (internal_ucs4_loop): Always inline.
2440 (internal_ucs4_loop_unaligned): Likewise.
2441 (internal_ucs4_loop_single): Likewise.
2442 (ucs4_internal_loop): Likewise.
2443 (ucs4_internal_loop_unaligned): Likewise.
2444 (ucs4_internal_loop_single): Likewise.
2445 (internal_ucs4le_loop): Always inline.
2446 (internal_ucs4le_loop_unaligned): Likewise.
2447 (internal_ucs4le_loop_single): Likewise.
2448 (ucs4le_internal_loop): Likewise.
2449 (ucs4le_internal_loop_unaligned): Likewise.
2450 (ucs4le_internal_loop_single): Likewise.
2451 * iconv/loop.c: Always inline the defined functions.
2452 * iconvdata/cns11642.h: Likewise.
2453 * iconvdata/cns11642l1.h: Likewise.
2454 * iconvdata/euc-kr.c: Likewise.
2455 * iconvdata/gb2312.h: Likewise.
2456 * iconvdata/jis0201.h: Likewise.
2457 * iconvdata/jis0208.h: Likewise.
2458 * iconvdata/jis0212.h: Likewise.
2459 * iconvdata/jisx0213.h: Likewise.
2460 * iconvdata/ksc5601.h: Likewise.
2461 * iconvdata/utf-7.c (base64): Don't inline.
2462 * include/libc-symbols.h (symbol_set_first_element): Add cast
2463 (symbol_set_end_p): Likewise.
2464 * include/set-hooks (RUN_HOOK): Likewise.
2465 * inet/Makefile (aux): Add ifreq.
2466 * intl/Makefile (aux): Add some entries from routines. Add
2468 * intl/hash-string.c: New file.
2469 * intl/hash-string.h: Remove hash_string definition. Declare
2471 * iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller.
2472 * iconv/iconvconfig.c (new_name): Likewise.
2473 * intl/dcigettext.c (_nl_find_msg): Likewise.
2474 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2475 * io/ftw.c (open_dir_stream): Always inline.
2476 (process_entry): Don't inline.
2477 * locale/findlocale.c: Include gconv_int.h.
2478 * locale/setlocale.c (new_composite_name): Don't inline.
2479 * locale/weight.h (findidx): Always inline.
2480 * locale/weightwc.h (findidx): Likewise.
2481 * locale/programs/linereader.c (lr_ignore_rest): Define here.
2482 * locale/programs/linereader.h (lr_ignore_rest): Don't define here,
2484 (lr_getc): Always inline.
2485 (lr_ungetc): Likewise.
2486 * nss/nss_files/files-parse.c (parse_list): Likewise.
2487 * stdio-common/Makefile (aux): Add printf-parsemb and
2489 * stdio-common/_itoa.h (_itoa_word): Always inline.
2490 (_fitoa_word, _fitoa): Don't define here, only declare.
2491 * stdio-common/_itoa.c (_iftoa_word): Add here.
2493 * stdio-common/_itowa.h (_itowa_word): Always inline.
2494 * stdio-common/printf-parse.h (read_int): Don't inline.
2495 (find_spec): Don't define.
2496 Declare __find_specmb and __find_specwc.
2497 (parse_one_spec): Don't define.
2498 Declare __parse_one_specmb and __parse_one_specwc.
2499 * stdio-common/printf-parsemb.c: New file.
2500 * stdio-common/printf-parsewc.c: New file.
2501 * stdio-common/vfprintf.c: Update calls to find_spec and
2502 parse_one_spec for new names.
2503 * stdio-common/printf-prs.c: Likewise. Define DONT_NEED_READ_INT.
2504 * stdlib/Makefile (aux): Add grouping and groupingwc.
2505 * stdlib/grouping.c: New file.
2506 * stdlib/groupingwc.c: New file.
2507 * stdlib/grouping.h (correctly_grouped_prefix): Don't define here.
2509 * stdlib/rpmatch.c (try): Don't inline.
2510 * stdlib/strtod.c (round_and_return): Don't line.
2511 (str_to_mpn): Likewise.
2512 (__mpn_lshift_1): Always inline. Optimize only for constant count.
2513 Adjust for name change of correctly_grouped_prefix.
2514 * sysdeps/generic/strtol.c: Adjust for name change of
2515 correctly_grouped_prefix.
2516 * string/strxfrm.c (utf8_encode): Don't inline.
2517 * sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp.
2518 * sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp.
2519 * sysdeps/generic/ifreq.c: New file.
2520 * sysdeps/unix/sysv/linux/ifreq.c: New file.
2521 * sysdeps/generic/ifreq.h (__ifreq): Only declare here.
2522 * sysdeps/unix/sysv/linux/ifreq.h: Likewise.
2523 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline.
2524 * sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline.
2525 (fde_split): Likewise.
2526 (fde_merge): Likewise.
2527 (end_fde_sort): Likewise.
2528 (init_object): Likewise.
2529 (binary_search_unencoded_fdes): Likewise.
2530 (binary_search_single_encoding_fdes): Likewise.
2531 (binary_search_mixed_encoding_fdes): Likewise.
2532 * sysdeps/generic/wordexp.c (w_addchar): Don't inline.
2533 * sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline.
2534 * sysdeps/posix/sprofil.c (profil_count): Don't inline.
2535 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
2537 * sysdeps/unix/sysv/linux/xstatconv.h: New file.
2538 * sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function.
2539 Export them. Prepend __ to name.
2540 * sysdeps/unix/sysv/linux/Dist: Add xstatconv.h.
2541 * sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of
2542 conversion functions.
2543 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2544 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2545 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2546 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2547 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2548 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2549 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2550 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2551 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max,
2552 __statfs_filesize_max, __statfs_symlinks): Define here. __ prepended
2553 to name. Change callers.
2554 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max,
2555 __statfs_filesize_max, __statfs_symlinks): Don't define here, just
2557 * sysdeps/unix/sysv/linux/fpathconf.c: Change all callers.
2558 * time/tzfile.c (decode): Always inline.
2559 * wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*.
2560 Remove cast in tomb function call.
2561 * wcsmbs/wcsrtombs.c Likewise.
2562 * wcsmbs/wcstob.c: Introduce new temp variable to take pointer in
2565 2003-06-10 Ulrich Drepper <drepper@redhat.com>
2567 * po/zh_CN.po: Update from translation team.
2569 2003-06-10 Jakub Jelinek <jakub@redhat.com>
2571 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_V6ONLY, IPV6_JOIN_ANYCAST,
2572 IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define.
2574 2003-06-10 Ulrich Drepper <drepper@redhat.com>
2576 * inet/Makefile (aux): Add check_pf.
2577 * include/ifaddrs.h: Add prototype for __check_pf.
2578 * sysdeps/generic/check_pf.c: New file.
2579 * sysdeps/unix/sysv/linux/check_pf.c: New file.
2580 * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed
2581 from no_netlink_support. Export.
2582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs,
2585 * sysdeps/generic/ifaddrs.h: Add libc_hidden_def.
2587 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory
2588 from getifaddr calls.
2590 2003-06-09 Jakub Jelinek <jakub@redhat.com>
2592 * sysdeps/unix/sysv/linux/kernel-features.h
2593 (__ASSUME_SETRESGID_SYSCALL): Define.
2594 * sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL
2595 instead of __ASSUME_SETRESUID_SYSCALL.
2596 (setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is
2598 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32
2599 inline syscall if __NR_setresuid32 is defined.
2600 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use
2601 __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL.
2602 * sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes.
2603 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2604 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect
2605 code handling non-existant setresgid32 syscall with
2606 #if __ASSUME_SETRESGID_SYSCALL == 0.
2608 2003-06-09 Andreas Schwab <schwab@suse.de>
2610 * sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d.
2611 ($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on
2612 $(objpfx)rpc-proto.d.
2613 (rpcsvc-dt-files, rpcsvc-depfiles): Define. Include
2614 $(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d.
2615 ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules.
2617 2003-06-08 Ulrich Drepper <drepper@redhat.com>
2619 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32
2620 syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is
2621 defined drop compatibility code.
2622 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32
2623 syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is
2624 defined drop compatibility code.
2625 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use
2626 setresuid32 syscall directly if possible.
2627 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use
2628 setresgid32 syscall directly if possible.
2629 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX
2630 compliant. Don't change sgid.
2631 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX
2632 compliant. Don't change suid.
2634 * config.h.in: Add have-forced-unwind.
2635 * configure.in: Add AC_SUBST(libc_cv_forced_unwind).
2637 2003-06-07 Ulrich Drepper <drepper@redhat.com>
2639 * test-skeleton.c (main): If EXPECTED_STATUS is defined check that
2640 returned status from child matches.
2642 * Makeconfig (gnulib): Add -lgcc_eh once again.
2644 2003-06-06 Ulrich Drepper <drepper@redhat.com>
2646 * test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid.
2648 * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow
2649 %edx for first parameter. This means no pushl and therefore the
2650 unwind info isn't screwed up.
2652 2003-06-04 Richard Henderson <rth@redhat.com>
2654 * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
2655 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2656 * sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation.
2657 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
2658 entry sequence and explicit relocs. Add unwind info for sigreturn
2660 * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
2662 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
2663 Annotate some parameters.
2664 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.
2666 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
2668 * include/libc-symbols.h (symbol_set_declare): Use arrays
2669 of unspecified size.
2671 2003-06-04 Jakub Jelinek <jakub@redhat.com>
2673 * config.make.in (ASFLAGS-config): New.
2674 * Makeconfig (ASFLAGS): Append $(ASFLAGS-config).
2675 * configure.in (libc_cv_as_noexecstack): New check.
2676 (ASFLAGS_config): Substitute.
2678 2003-06-04 Jakub Jelinek <jakub@redhat.com>
2680 * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh,
2681 hypot, logb): Protect with #ifdef __FAST_MATH__.
2683 2003-06-04 Thorsten Kukuk <kukuk@suse.de>
2685 * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with
2686 #ifdef __FAST_MATH__.
2688 2003-06-03 Ulrich Drepper <drepper@redhat.com>
2690 * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow
2691 DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043].
2692 * posix/globtest.sh: Adjust for this change.
2694 * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname
2695 to get the actual PID value used in the records passed up.
2696 (getifaddrs): Don't initialize nh.pid here.
2698 2003-06-02 Ulrich Drepper <drepper@redhat.com>
2700 * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor
2703 * po/zh_CN.po: Update from translation team.
2705 * posix/getconf.c (main): Also recognize names without the
2708 * elf/Makefile (CFLAGS-dl-lookup.c): Define.
2710 2003-06-02 Bernd Schmidt <bernds@redhat.com>
2712 * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp,
2713 ldexpf, ldexpl): Only define if __FAST_MATH__.
2715 2003-06-02 Richard C. Bilson <rcbilson@plg.uwaterloo.ca>
2717 Replace hard-coded offsets into struct sigcontext with generated file.
2718 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file.
2719 * sysdeps/unix/sysv/linux/ia64/Makefile
2720 [$(subdir) = stdlib] (gen-as-const-headers): Add it.
2721 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of
2722 defining SC_* macros here.
2724 2003-06-02 Jakub Jelinek <jakub@redhat.com>
2726 * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.
2728 2003-06-01 Jakub Jelinek <jakub@redhat.com>
2730 * sysdeps/i386/dl-machine.h: Include <sysdep.h>.
2732 2003-06-01 Ulrich Drepper <drepper@redhat.com>
2734 * test-skeleton.c (main): Request getopt to not reorder the
2737 * elf/Makefile (CFLAGS-dl-runtime.c): Define.
2739 * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match
2742 2003-05-31 Ulrich Drepper <drepper@redhat.com>
2744 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define.
2746 2003-05-31 Jakub Jelinek <jakub@redhat.com>
2748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict):
2750 (elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid
2751 RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined,
2752 call elf_machine_plt_conflict instead of elf_machine_fixup_plt.
2754 2003-05-31 Ulrich Drepper <drepper@redhat.com>
2756 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add
2759 * csu/Makefile: Fix Makefile warnings regarding Scrt1.o.
2761 * libio/fileops.c (_IO_file_open): Don't mark as inline.
2763 * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with
2766 2003-05-30 Ulrich Drepper <drepper@redhat.com>
2768 * scripts/config.guess: Update from master copy.
2769 * scripts/config.sub: Likewise.
2771 2003-05-30 Guido Guenther <agx@sigxcpu.org>
2773 * sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for
2774 SETUP_GP64 and friends.
2775 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register
2776 names in internal_syscall{6,7}.
2777 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2778 * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix
2779 number of syscall arguments.
2780 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2781 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2782 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2784 2003-05-30 Andreas Jaeger <aj@suse.de>
2786 * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2789 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI
2792 * sysdeps/generic/sysdep.h: Add CFI_* macros for C files.
2794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2797 2003-05-30 Jakub Jelinek <jakub@redhat.com>
2799 * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with
2802 2003-05-11 Andreas Schwab <schwab@suse.de>
2804 * Makerules: Always use -MP together with -MD.
2805 (sed-remove-dotot): Substitute $(..) also at start of line.
2806 ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES.
2807 Generated defines with a single compiler call.
2808 Use $(sed-remove-dotdot).
2809 * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead
2810 of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx).
2811 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
2812 Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx).
2813 * sysdeps/unix/sysv/linux/mips/Makefile
2814 ($(objpfx)syscall-%.h): Likewise.
2816 2003-05-28 Roland McGrath <roland@redhat.com>
2818 * malloc/malloc.h [! __GNUC__] (__const): Define if undefined.
2820 2003-05-26 Aldy Hernandez <aldyh@redhat.com>
2822 * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.
2824 2003-05-28 Roland McGrath <roland@redhat.com>
2826 * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
2827 rt_sigprocmask system call.
2828 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value.
2829 From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.
2831 2003-05-28 Ulrich Drepper <drepper@redhat.com>
2833 * include/libc-symbols.h: Define hidden attribute for real also if
2834 LIBC_NONSHARED is defined. Patch by Jakub Jelinek.
2836 * csu/Makefile: Add rules to build Scrt1.o.
2837 * sysdeps/i386/elf/start.S: Make code compilable with SHARED.
2838 * sysdeps/x86_64/elf/start.S: Likewise.
2840 2003-05-27 Jakub Jelinek <jakub@redhat.com>
2842 * stdio-common/vfprintf.c (process_arg, process_string_arg): Use
2843 pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char.
2844 * stdio-common/printf-parse.h (union printf_arg): Remove pa_char,
2845 pa_short_int, pa_u_short_int and pa_float.
2847 2003-05-26 Jakub Jelinek <jakub@redhat.com>
2849 * libio/strops.c (_IO_str_init_static): Change into a wrapper around
2850 _IO_str_init_static_internal.
2851 (_IO_str_init_static_internal): Moved from _IO_str_init_static,
2852 change size argument to _IO_size_t, don't limit sprintf to 64M.
2853 (_IO_str_init_readonly): Call _IO_str_init_static_internal.
2854 * libio/wstrops.c (_IO_wstr_init_static): Change size argument to
2855 _IO_size_t, don't limit swprintf to 256M.
2856 (_IO_wstr_init_readonly): Remove.
2857 * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static):
2859 (_IO_wstr_init_readonly): Remove prototype.
2860 * libio/iovsprintf.c (_IO_vsprintf): Use
2861 _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static).
2862 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2863 * libio/memstream.c (open_memstream): Likewise.
2864 * libio/obprintf.c (_IO_obstack_vfprintf): Likewise.
2865 * libio/vasprintf.c (_IO_vasprintf): Likewise.
2866 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2867 * stdio-common/tst-sprintf.c (main): Add new test.
2869 2003-05-26 Ulrich Drepper <drepper@redhat.com>
2871 * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some
2872 other implementation in respect of multiple uses of parameter with
2875 2003-05-25 Ulrich Drepper <drepper@redhat.com>
2877 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2878 __ASSUME_FUTEX_REQUEUE for >= 2.5.70.
2880 2003-05-22 Andreas Jaeger <aj@suse.de>
2882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI
2884 * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise.
2885 * sysdeps/x86_64/strtok.S: Likewise.
2887 2003-05-20 Guido Guenther <agx@sigxcpu.org>
2889 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
2890 to -60 and define SI_TKILL.
2892 2003-05-21 H.J. Lu <hongjiu.lu@intel.com>
2894 * math/test-fenv.c (feexcp_nomask_test): Fix comment.
2895 (feexcp_mask_test): Likewise.
2897 2003-05-21 Ulrich Drepper <drepper@redhat.com>
2899 * locale/programs/locale.c (main): Fix typo in last patch.
2901 * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end,
2902 __init_array_start, __init_array_end, __fini_array_start, and
2903 __fini_array_end as hidden.
2905 2003-05-21 Petter Reinholdtsen <pere@hungry.com>
2907 * locale/programs/locale.c (main): Report an error if setlocale()
2908 fails [PR libc/2254].
2910 2003-05-21 Jakub Jelinek <jakub@redhat.com>
2912 * sysdeps/unix/sysv/linux/s390/system.c: New file.
2914 2003-05-21 Jakub Jelinek <jakub@redhat.com>
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0,
2917 LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
2918 LOADARGS_6): Don't error if syscall argument is a string literal.
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0,
2920 LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
2921 LOADARGS_6): Likewise.
2923 2003-05-21 Andreas Jaeger <aj@suse.de>
2925 * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
2926 cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register,
2927 cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define.
2929 * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives.
2933 * configure.in: Test for asm cfi directives.
2935 * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.
2937 2003-05-17 Andreas Jaeger <aj@suse.de>
2939 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.
2941 * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.
2943 2003-05-16 Ulrich Drepper <drepper@redhat.com>
2945 * rt/Makefile (tests): Add tst-clock_nanosleep.
2946 * rt/tst-clock_nanosleep.c: New file.
2947 * posix/Makefile (tests): Add tst-nanosleep.
2948 * posix/tst-nanosleep.c: New file.
2950 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.
2952 * include/features.h (__USE_XOPEN2K): Define also for
2953 _POSIX_C_SOURCE>=200112L.
2955 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold
2956 SI_TKILL code into SI_USER.
2957 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
2959 * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
2961 2003-05-15 Jakub Jelinek <jakub@redhat.com>
2963 * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow):
2964 Remove sym argument, always use refsym.
2965 (__process_machine_rela): Adjust callers.
2966 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
2968 * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow):
2970 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2972 2003-05-15 Ulrich Drepper <drepper@redhat.com>
2974 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo
2975 (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known
2976 print numeric values.
2978 2003-05-12 Thorsten Kukuk <kukuk@suse.de>
2980 * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD.
2982 2003-05-14 Andreas Schwab <schwab@suse.de>
2984 * sysdeps/unix/sysv/linux/ia64/umount.c: New file.
2986 2003-05-14 Jakub Jelinek <jakub@redhat.com>
2988 * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope
2989 even if no DT_NEEDED is present.
2991 2003-05-13 David Mosberger <davidm@hpl.hp.com>
2993 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from
2994 2003-03-27: setjmp is NOT a leaf-routine (due to the call to
2995 __sigjmp_save) so we can't keep the saved unat value in a scratch
2996 register (r16). Use loc2 instead.
2998 2003-05-13 Ulrich Drepper <drepper@redhat.com>
3000 * csu/Makefile: Do compile elf-init with PIC flag since in dynamic
3001 binaries it has to be relocatable.
3003 * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available.
3005 2003-05-12 Steven Munroe <sjmunroe@us.ibm.com>
3007 * sysdeps/powerpc/bits/atomic.h
3008 (__arch_compare_and_exchange_bool_8_rel): Define.
3009 (__arch_compare_and_exchange_bool_16_rel): Define.
3010 (__ARCH_REL_INSTR): Define if not already defined.
3011 (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list.
3012 (__arch_atomic_decrement_if_positive_32):
3013 Add "memory" to clobber list.
3014 (__arch_compare_and_exchange_val_32_acq): Remove release sync.
3015 (__arch_compare_and_exchange_val_32_rel): Define.
3016 (__arch_atomic_exchange_32): Remove.
3017 (__arch_atomic_exchange_32_acq): Define.
3018 (__arch_atomic_exchange_32_rel): Define.
3019 (atomic_compare_and_exchange_val_rel): Define.
3020 (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms.
3021 (atomic_exchange_rel): Define.
3022 * sysdeps/powerpc/powerpc32/bits/atomic.h
3023 (__arch_compare_and_exchange_bool_32_acq): Remove release sync.
3024 (__arch_compare_and_exchange_bool_32_rel): Define.
3025 (__arch_compare_and_exchange_bool_64_rel): Define.
3026 (__arch_compare_and_exchange_val_64_rel): Define.
3027 (__arch_atomic_exchange_64): Remove.
3028 (__arch_atomic_exchange_64_acq): Define.
3029 (__arch_atomic_exchange_64_rel): Define.
3030 * sysdeps/powerpc/powerpc64/bits/atomic.h
3031 (__arch_compare_and_exchange_bool_32_rel): Define.
3032 (__arch_compare_and_exchange_bool_64_acq): Remove release sync.
3033 (__arch_compare_and_exchange_bool_64_rel): Define.
3034 (__arch_compare_and_exchange_val_64_acq): Remove release sync.
3035 (__arch_compare_and_exchange_val_64_rel): Define.
3036 (__arch_atomic_exchange_64): Remove.
3037 (__arch_atomic_exchange_64_acq): Define.
3038 (__arch_atomic_exchange_64_rel): Define.
3039 (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list.
3040 (__arch_atomic_decrement_if_positive_64):
3041 Add "memory" to clobber list.
3042 [!UP](__ARCH_REL_INSTR): Define as lwsync.
3044 2003-05-11 Andreas Schwab <schwab@suse.de>
3046 * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names.
3048 2003-05-11 Ulrich Drepper <drepper@redhat.com>
3050 * time/tst-strftime.c (do_test): Add tests for - flag.
3052 2003-05-11 Jim Meyering <jim@meyering.net>
3054 * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect
3055 the space-padded-by-default conversion specifiers, %e, %k, %l.
3057 2003-05-11 Andreas Schwab <schwab@suse.de>
3059 * sysdeps/generic/sched_setaffinity.c: Fix parameter name.
3061 2003-05-10 Ulrich Drepper <drepper@redhat.com>
3063 * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not
3064 already defined and when really needed.
3065 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3067 2003-05-09 Thorsten Kukuk <kukuk@suse.de>
3069 * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel
3070 headers, add defines from kernel header, move it from here...
3071 * inet/netinet/igmp.h: ... to here.
3072 * inet/Makefile (headers): Add netinet/igmp.h.
3073 * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h.
3074 * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h.
3076 2003-05-10 Ulrich Drepper <drepper@redhat.com>
3078 * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL,
3079 use dummy sigevent structure with SIGEV_NONE [PR libc/5015].
3081 2003-05-09 Thorsten Kukuk <kukuk@suse.de>
3083 * libio/bits/stdio.h: Sync prototypes with libio/stdio.h
3084 (remove __THROW from possible cancellation points).
3086 2003-05-10 Ulrich Drepper <drepper@redhat.com>
3088 * posix/sched.h (CPU_SETSIZE): Define.
3090 2003-05-09 Ulrich Drepper <drepper@redhat.com>
3092 * Makeconfig (gnulib): Remove -lgcc_eh again.
3094 * posix/sched.h: Change prototypes of sched_getaffinity and
3095 sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO.
3096 * sysdeps/generic/sched_getaffinity.c: Adjust definition.
3097 * sysdeps/generic/sched_setaffinity.c: Likewise.
3098 * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS,
3099 __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET,
3100 __CPU_CLR, and __CPU_ISSET.
3101 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3102 * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file.
3103 * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file.
3105 * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange.
3106 (atomic_exchange_rel): New #define.
3107 * sysdeps/ia64/bits/atomic.h: Likewise.
3108 * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from
3110 * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
3111 * sysdeps/powerpc/bits/atomic.h: Likewise.
3112 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise.
3113 * sysdeps/sparc/sparc64/bits/atomic.h: Likewise.
3114 * sysdeps/x86_64/bits/atomic.h: Likewise.
3115 * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.
3117 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file.
3119 2003-05-08 Ulrich Drepper <drepper@redhat.com>
3121 * malloc/thread-m.h: Remove special handling of thread_atfork if
3122 HAVE_register_atfork_malloc is defined.
3124 2003-05-07 Andreas Jaeger <aj@suse.de>
3126 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind
3129 2003-05-06 Ulrich Drepper <drepper@redhat.com>
3131 * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init.
3132 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3133 * libio/libioP.h: Declare _IO_old_init.
3134 * libio/genops.c (_IO_no_init): Split in two. New function
3137 2003-05-05 Ulrich Drepper <drepper@redhat.com>
3139 * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New
3141 (__libc_init_secure): Don't do anything if __libc_enable_secure_decided
3143 * include/unistd.h: Declare __libc_enable_secure_decided.
3144 * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID,
3145 and AT_EGID. If all found, set __libc_enable_secure and
3146 __libc_enable_secure_decided.
3148 * sysdeps/generic/libc-start.c [!SHARED]: Call
3149 __libc_check_standard_fds after __libc_init_first.
3151 2003-05-05 Roland McGrath <roland@redhat.com>
3153 * Makerules (common-before-compile): New variable.
3154 ($(common-objpfx)%.make): Depend on that instead of $(before-compile).
3155 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule
3156 to after all setting of before-compile.
3158 2003-05-05 Jakub Jelinek <jakub@redhat.com>
3160 * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
3161 __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type.
3162 * sysdeps/powerpc/powerpc32/bits/atomic.h
3163 (__arch_compare_and_exchange_val_64_acq): Likewise.
3164 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3165 (__arch_compare_and_exchange_val_8_acq,
3166 __arch_compare_and_exchange_val_16_acq,
3167 __arch_compare_and_exchange_val_64_acq): Likewise.
3168 * sysdeps/sparc/sparc64/bits/atomic.h
3169 (__arch_compare_and_exchange_val_8_acq,
3170 __arch_compare_and_exchange_val_16_acq): Likewise.
3171 * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
3172 __arch_compare_and_exchange_val_16_acq,
3173 __arch_compare_and_exchange_val_64_acq): Likewise.
3174 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3175 (__arch_compare_and_exchange_val_64_acq): Likewise.
3176 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut
3178 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise.
3180 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3181 (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0):
3182 Return long instead of int.
3183 (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace
3184 0xfffff001u with -4095UL.
3186 2003-05-05 Andreas Jaeger <aj@suse.de>
3188 * sysdeps/x86_64/fpu_control.h: New from i386.
3190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop):
3191 Define if not defined.
3193 * sunrpc/Makefile (generated-dirs): New variable.
3194 * resolv/Makefile (generated): New variable.
3196 2003-05-04 Roland McGrath <roland@redhat.com>
3198 * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.
3199 Depend on $(before-compile).
3201 * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
3202 pattern rule. The implicit rule could be ruled out when $(objpfx)
3203 didn't exist at the time of its consideration (ugh!).
3205 * Makerules (+make-deps): Fix target matching.
3206 Use $(sed-remove-dotdot).
3208 2003-05-03 Ulrich Drepper <drepper@redhat.com>
3210 * nscd/nscd.c (main): Parse config file right after parsing
3211 parameters. Then, if get_stats is true, call receive_print_stats.
3212 Drop parameter from nscd_init call.
3213 (get_stats): New variable.
3214 (parse_opt): Set get_stats, don't call receive_print_stats here.
3215 * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init
3217 * nscd/connections.c (stat_user, stat_uid): New variables.
3219 (nscd_init): Don't read configuration file here. Drop parameter.
3220 (handle_request): Cleanup handling of non-database lookup requests.
3221 * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry.
3222 Get UID of the specified user. Use xstrdup instead of strdup.
3223 * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero,
3225 * nscd/Makefile (nscd-modules): Add xstrdup.
3226 * nscd/nscd.conf: Document stat-user entry.
3228 2003-05-03 H.J. Lu <hongjiu.lu@intel.com>
3230 * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define
3233 2003-04-22 Roland McGrath <roland@redhat.com>
3235 * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
3236 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3237 dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead.
3238 * elf/dl-support.c: Update defn.
3239 * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases.
3240 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3241 Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR.
3242 (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME.
3243 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is
3244 set, set up a link_map for the preloaded, prelinked object.
3246 2003-05-03 Roland McGrath <roland@redhat.com>
3248 * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
3249 * stdio-common/Makefile: ... not here.
3251 * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile).
3252 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3254 2003-05-02 Ulrich Drepper <drepper@redhat.com>
3256 * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file.
3258 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define.
3260 * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for
3261 comparing ftab elements.
3262 (_dl_unmap): Fix typo in test.
3263 (_dl_make_fptr): Fix typos introduced in last change.
3265 * sysdeps/generic/dl-fptr.c: Put back one optimization from the
3266 original patch. Use non-exported symbols. Mark translatable
3267 strings. Pretty printing.
3269 2003-05-02 Roland McGrath <roland@redhat.com>
3271 * Makerules (do-stamp): Do $(make-target-directory).
3273 2003-04-07 H.J. Lu <hjl@gnu.org>
3275 * sysdeps/generic/dl-fptr.c: Modify to remove the lock.
3277 2003-04-03 H.J. Lu <hjl@gnu.org>
3279 * sysdeps/ia64/dl-fptr.c: Moved to ...
3280 * sysdeps/generic/dl-fptr.c: Here.
3282 * sysdeps/generic/dl-fptr.h: New.
3283 * sysdeps/ia64/dl-fptr.h: New.
3285 * sysdeps/ia64/dl-symaddr.c: Moved to ...
3286 * sysdeps/generic/dl-symaddr.c: here.
3288 * sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>.
3289 (IA64_BOOT_FPTR_TABLE_LEN): Removed.
3290 (ia64_fdesc): Likewise.
3291 (ia64_fdesc_table): Likewise.
3292 (__ia64_make_fptr): Likewise.
3293 (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table
3294 with _dl_boot_fptr_table.
3295 (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with
3297 (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr.
3299 2003-05-01 Roland McGrath <roland@redhat.com>
3301 * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].
3302 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3304 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
3305 Use $(make-target-directory).
3306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3308 * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d.
3309 (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags).
3310 (compile-command.s, compile-command.c): Likewise.
3311 ($(objpfx)%.d): All such pattern rules removed.
3312 ($(+sysdir_pfx)sysd-rules): Don't generate them.
3313 ($(common-objpfx)dummy.d): Target removed.
3314 (make-dummy-dep): Variable removed.
3315 (generate-md5): Likewise.
3316 (%.d: %.dt): New pattern rule.
3317 (+depfiles): Use $(wildcard) function to get just existing *.d files
3318 and .d files for existing *.dt files.
3319 (common-clean): Remove all *.d and *.dt files.
3320 (before-compile): Add $(objpfx). when it doesn't exist,
3321 regardless of $(no_deps).
3322 * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed.
3323 (rtld-depfiles): Use .os.d instead of .d names.
3324 Include existing *.d files and .d files for existing *.dt files.
3326 * Makerules ($(common-objpfx)%.make): Protect with [! subdir].
3327 Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.
3329 * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack.
3330 Do s-*.d includes only if we have some syscall routines in this subdir.
3332 * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of
3333 @nobits. The former is accepted by gas on any ELF platform.
3335 2003-05-01 Ulrich Drepper <drepper@redhat.com>
3337 * sysdeps/unix/sysv/linux/semtimedop.c: New file.
3339 * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary.
3341 2003-04-29 Andreas Schwab <schwab@suse.de>
3343 * string/test-strcat.c (do_one_test): Fix attribute name.
3345 2003-04-30 Alexandre Oliva <aoliva@redhat.com>
3347 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
3348 uc_flags long for all ABIs.
3350 2003-04-30 Andreas Jaeger <aj@suse.de>
3352 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h
3353 (DR_CONTROL_RESERVED): Use correct value for 64-bit.
3354 Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>.
3355 Add bi-arch support.
3357 2003-04-30 Ulrich Drepper <drepper@redhat.com>
3359 * malloc/malloc.c (mEMALIGn): Define alias __memalign_internal.
3360 (__posix_memalign): Use __memalign_internal instead of memalign.
3362 2003-04-29 Roland McGrath <roland@redhat.com>
3364 * configure.in: Search for AUTOCONF unconditionally.
3365 Just don't complain about missing it under --without-cvs.
3367 * include/libc-symbols.h (__symbol_set_attribute): New macro,
3368 give hidden for [SHARED] and weak for [! SHARED].
3369 (symbol_set_declare): Use that. Never need weak_extern these days.
3370 * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE.
3371 Depend on $(..)Makerules.
3373 2003-04-29 Ulrich Drepper <drepper@redhat.com>
3375 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected
3376 variants of socket, bind, recvmsg, and sendto.
3378 * sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word.
3380 * include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset.
3381 * signal/sigaddset.c: Add libc_hidden_def.
3382 * signal/sigdelset.c: Likewise.
3384 2003-04-29 Jakub Jelinek <jakub@redhat.com>
3386 * sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move
3387 to the end of the file.
3389 * configure.in: Change __oline__ to $LINENO.
3390 (HAVE_BUILTIN_REDIRECTION): New check.
3391 * config.h.in (HAVE_BUILTIN_REDIRECTION): Add.
3392 * include/libc-symbols.h (libc_hidden_builtin_proto,
3393 libc_hidden_builtin_def, libc_hidden_builtin_weak,
3394 libc_hidden_builtin_ver): Define.
3395 * include/string.h (memchr, memcpy, memmove, memset, strcat, strchr,
3396 strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr,
3397 strspn, strstr): Add libc_hidden_builtin_proto.
3398 * intl/plural.y: Include string.h.
3399 * sysdeps/alpha/alphaev6/memchr.S (memchr): Add
3400 libc_hidden_builtin_def.
3401 * sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise.
3402 * sysdeps/alpha/alphaev6/memset.S (memset): Likewise.
3403 * sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise.
3404 * sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise.
3405 * sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise.
3406 * sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise.
3407 * sysdeps/alpha/memchr.S (memchr): Likewise.
3408 * sysdeps/alpha/memset.S (memset): Likewise.
3409 * sysdeps/alpha/strcat.S (strcat): Likewise.
3410 * sysdeps/alpha/strchr.S (strchr): Likewise.
3411 * sysdeps/alpha/strcmp.S (strcmp): Likewise.
3412 * sysdeps/alpha/strcpy.S (strcpy): Likewise.
3413 * sysdeps/alpha/strlen.S (strlen): Likewise.
3414 * sysdeps/alpha/strncmp.S (strncmp): Likewise.
3415 * sysdeps/alpha/strncpy.S (strncpy): Likewise.
3416 * sysdeps/alpha/strrchr.S (strrchr): Likewise.
3417 * sysdeps/arm/memset.S (memset): Likewise.
3418 * sysdeps/arm/strlen.S (strlen): Likewise.
3419 * sysdeps/generic/memchr.c (memchr): Likewise.
3420 * sysdeps/generic/memcpy.c (memcpy): Likewise.
3421 * sysdeps/generic/memmove.c (memmove): Likewise.
3422 * sysdeps/generic/memset.c (memset): Likewise.
3423 * sysdeps/generic/strcat.c (strcat): Likewise.
3424 * sysdeps/generic/strchr.c (strchr): Likewise.
3425 * sysdeps/generic/strcmp.c (strcmp): Likewise.
3426 * sysdeps/generic/strcpy.c (strcpy): Likewise.
3427 * sysdeps/generic/strcspn.c (strcspn): Likewise.
3428 * sysdeps/generic/strlen.c (strlen): Likewise.
3429 * sysdeps/generic/strncmp.c (strncmp): Likewise.
3430 * sysdeps/generic/strncpy.c (strncpy): Likewise.
3431 * sysdeps/generic/strpbrk.c (strpbrk): Likewise.
3432 * sysdeps/generic/strrchr.c (strrchr): Likewise.
3433 * sysdeps/generic/strspn.c (strspn): Likewise.
3434 * sysdeps/generic/strstr.c (strstr): Likewise.
3435 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3436 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3437 * sysdeps/i386/i586/memcpy.S (memcpy): Likewise.
3438 * sysdeps/i386/i586/memset.S (memset): Likewise.
3439 * sysdeps/i386/i586/strchr.S (strchr): Likewise.
3440 * sysdeps/i386/i586/strcpy.S (strcpy): Likewise.
3441 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3442 * sysdeps/i386/i686/memcpy.S (memcpy): Likewise.
3443 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3444 * sysdeps/i386/i686/memset.S (memset): Likewise.
3445 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3446 * sysdeps/i386/memchr.S (memchr): Likewise.
3447 * sysdeps/i386/memset.c (memset): Likewise.
3448 * sysdeps/i386/strchr.S (strchr): Likewise.
3449 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3450 * sysdeps/i386/strlen.c (strlen): Likewise.
3451 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3452 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3453 * sysdeps/i386/strspn.S (strspn): Likewise.
3454 * sysdeps/ia64/memchr.S (memchr): Likewise.
3455 * sysdeps/ia64/memcpy.S (memcpy): Likewise.
3456 * sysdeps/ia64/memmove.S (memmove): Likewise.
3457 * sysdeps/ia64/memset.S (memset): Likewise.
3458 * sysdeps/ia64/strcat.S (strcat): Likewise.
3459 * sysdeps/ia64/strchr.S (strchr): Likewise.
3460 * sysdeps/ia64/strcmp.S (strcmp): Likewise.
3461 * sysdeps/ia64/strcpy.S (strcpy): Likewise.
3462 * sysdeps/ia64/strlen.S (strlen): Likewise.
3463 * sysdeps/ia64/strncmp.S (strncmp): Likewise.
3464 * sysdeps/ia64/strncpy.S (strncpy): Likewise.
3465 * sysdeps/m68k/memchr.S (memchr): Likewise.
3466 * sysdeps/m68k/strchr.S (strchr): Likewise.
3467 * sysdeps/mips/mips64/memcpy.S (memcpy): Likewise.
3468 * sysdeps/mips/mips64/memset.S (memset): Likewise.
3469 * sysdeps/mips/memcpy.S (memcpy): Likewise.
3470 * sysdeps/mips/memset.S (memset): Likewise.
3471 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
3472 * sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise.
3473 * sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise.
3474 * sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise.
3475 * sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise.
3476 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
3477 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
3478 * sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise.
3479 * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise.
3480 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise.
3481 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise.
3482 * sysdeps/powerpc/strcat.c (strcat): Likewise.
3483 * sysdeps/sparc/sparc32/memchr.S (memchr): Likewise.
3484 * sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise.
3485 * sysdeps/sparc/sparc32/memset.S (memset): Likewise.
3486 * sysdeps/sparc/sparc32/strcat.S (strcat): Likewise.
3487 * sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise.
3488 * sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise.
3489 * sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise.
3490 * sysdeps/sparc/sparc32/strlen.S (strlen): Likewise.
3491 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise.
3492 * sysdeps/sparc/sparc64/memchr.S (memchr): Likewise.
3493 * sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise.
3494 * sysdeps/sparc/sparc64/memset.S (memset): Likewise.
3495 * sysdeps/sparc/sparc64/strcat.S (strcat): Likewise.
3496 * sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise.
3497 * sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise.
3498 * sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise.
3499 * sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise.
3500 * sysdeps/sparc/sparc64/strlen.S (strlen): Likewise.
3501 * sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise.
3502 * sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise.
3503 * sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise.
3504 * sysdeps/sparc/sparc64/strspn.S (strspn): Likewise.
3505 * sysdeps/sh/memcpy.S (memcpy): Likewise.
3506 * sysdeps/sh/memset.S (memset): Likewise.
3507 * sysdeps/sh/strlen.S (strlen): Likewise.
3508 * sysdeps/s390/s390-32/memchr.S (memchr): Likewise.
3509 * sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise.
3510 * sysdeps/s390/s390-32/memset.S (memset): Likewise.
3511 * sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise.
3512 * sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise.
3513 * sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise.
3514 * sysdeps/s390/s390-64/memchr.S (memchr): Likewise.
3515 * sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise.
3516 * sysdeps/s390/s390-64/memset.S (memset): Likewise.
3517 * sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise.
3518 * sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise.
3519 * sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise.
3520 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
3521 * sysdeps/x86_64/memset.S (memset): Likewise.
3522 * sysdeps/x86_64/strcat.S (strcat): Likewise.
3523 * sysdeps/x86_64/strchr.S (strchr): Likewise.
3524 * sysdeps/x86_64/strcmp.S (strcmp): Likewise.
3525 * sysdeps/x86_64/strcpy.S (strcpy): Likewise.
3526 * sysdeps/x86_64/strcspn.S (strcspn): Likewise.
3527 * sysdeps/x86_64/strlen.S (strlen): Likewise.
3528 * sysdeps/x86_64/strspn.S (strspn): Likewise.
3529 * string/string-inlines.c: Move...
3530 * sysdeps/generic/string-inlines.c: ...here.
3531 (__memcpy_g, __strchr_g): Remove.
3532 (__NO_INLINE__): Define before including <string.h>,
3533 undefine after. Include bits/string.h and bits/string2.h.
3534 * sysdeps/i386/i486/string-inlines.c: New file.
3535 * sysdeps/i386/string-inlines.c: New file.
3536 * sysdeps/i386/i486/Versions: Remove.
3537 All GLIBC_2.1.1 symbols moved...
3538 * sysdeps/i386/Versions (libc): ...here.
3540 2003-04-29 Ulrich Drepper <drepper@redhat.com>
3542 * sysdeps/i386/fpu/Makefile: New file.
3543 * sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word.
3544 * sysdeps/i386/fpu/feenablxcpt.c: Likewise.
3545 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
3546 * sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode
3549 2003-04-28 Ulrich Drepper <drepper@redhat.com>
3551 * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect.
3552 * nscd/nscd_getpw_r.c: Likewise.
3553 * nscd/nscd_gethst_r.c: Likewise.
3555 2003-04-27 Ulrich Drepper <drepper@redhat.com>
3557 * nscd/pwdcache.c: Initialize .version element in result.
3558 * nscd/grpcache.c: Likewise.
3559 * nscd/pwdcache.c: Likewise.
3561 2003-04-27 Andreas Schwab <schwab@suse.de>
3563 * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
3566 2003-04-27 Andreas Schwab <schwab@suse.de>
3568 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file.
3570 2003-04-27 Ulrich Drepper <drepper@redhat.com>
3572 * nscd/connections.c (client_queued): New variable.
3573 (nscd_run): Revamp the loop. Don't call poll except for cleanup
3574 threads. Keep track of the number of delays caused because of busy
3576 * nscd/nscd.h: Declare client_queued.
3577 * nscd/nscd_stat.c: Transmit and print client_queued information.
3579 * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX.
3581 * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to
3582 define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs.
3584 2003-04-26 Ulrich Drepper <drepper@redhat.com>
3586 * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement
3587 tracking of freed memory in static TLS block.
3588 * elf/Makefile: Add rules to build and run tst-tls13.
3589 * elf/tst-tls13.c: New file.
3590 * elf/tst-tlsmod13.c: New file.
3591 * elf/tst-tlsmod13a.c: New file.
3593 * elf/tst-tls8.c: Adjust types of variables to avoid warnings.
3595 * elf/dl-reloc.c: Pretty printing.
3597 2003-04-26 Roland McGrath <roland@redhat.com>
3599 * Makerules ($(common-objpfx)shlib.lds): New target.
3600 (common-generated): Add it.
3601 (build-shlib, build-module): Use that instead of generating every time.
3602 ($(common-objpfx)libc.so): Depend on it.
3603 (lib%.so rule): Likewise.
3604 (build-module-helper-objlist): Remove %.lds.
3605 (LDSEDCMD-c.so): Variable removed.
3606 * iconvdata/extra-module.mk ($(objpfx)$(mod).so):
3607 Depend on $(common-objpfx)shlib.lds.
3608 * dlfcn/Makefile ($(test-modules)): Likewise.
3610 2003-04-26 Roland McGrath <roland@frob.com>
3612 * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.
3614 2003-04-26 Andreas Schwab <schwab@suse.de>
3616 * elf/dl-close.c (remove_slotinfo): Fix missing parens.
3618 2003-04-25 Ulrich Drepper <drepper@redhat.com>
3620 * nscd/cache.c (cache_search): Keep track of how many chain links
3621 we searched and update table statistics.
3622 (cache_add): Keep track of how many values are in the table.
3623 (prune_cache): Likewise. Keep track of locking success.
3624 Print messages about removed entries in separate pass.
3625 * nscd/connections.c (handle_request): Don't print debug message here.
3626 The caller will do it. Keep track of locking success.
3627 (nscd_run): Print debug message. Also print PID of the client process.
3628 * nscd/nscd.c (start_time): New variable.
3629 (main): Remember start time.
3630 * nscd/nscd.h: Declare start_time.
3631 (struct database): Add more members for new statistics.
3632 * nscd/nscd_stat.c: Add support for sending, receiving, and printing
3635 * sysdeps/posix/getaddrinfo.c: Include <stdbool.h>.
3637 2003-04-22 Jakub Jelinek <jakub@redhat.com>
3639 * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined.
3640 * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET.
3641 * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to
3643 * elf/rtld.c (_dl_start_final, _dl_start): Likewise.
3644 * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET.
3645 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise.
3646 * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract
3649 2003-04-24 Ulrich Drepper <drepper@redhat.com>
3651 * nss/getent.c: Implement alternative host database lookup via
3654 * include/ifaddrs.h: New file.
3655 * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and
3657 * resolv/netdb.h: ...here.
3658 * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate.
3659 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3660 * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and
3663 2003-04-24 Roland McGrath <roland@redhat.com>
3665 * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.
3667 2003-04-24 Jakub Jelinek <jakub@redhat.com>
3669 * elf/dl-reloc.c (allocate_static_tls): Rename to...
3670 (_dl_allocate_static_tls): ... this function. No longer static.
3671 (CHECK_STATIC_TLS): Adjust.
3672 * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype.
3673 * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela):
3674 Add SYM_MAP argument.
3675 (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally.
3676 Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit
3677 TLS relocs here. #ifdef out relocs which never appear in
3678 .gnu.conflict section from dl-conflict.c processing.
3679 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3680 Add SYM_MAP argument. Handle 16-bit TLS relocs here.
3682 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef
3683 out relocs which never appear in .gnu.conflict section from
3684 dl-conflict.c processing.
3685 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
3686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3687 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
3688 Use r_type in RESOLVE macro.
3690 2003-04-23 Ulrich Drepper <drepper@redhat.com>
3692 * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be !=
3693 NULL. Remove code made redundant by this assumption.
3694 (__yp_unbind): Add call to free. Adjust all callers.
3696 * nis/ypclnt.c (yp_all): Free the dom_binding object after
3699 * grp/initgroups.c (getgrouplist): Don't copy too much into the
3700 user buffer if more groups are found than fit into it.
3702 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use
3705 2003-04-23 Jakub Jelinek <jakub@redhat.com>
3707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE,
3708 not rc == errno. Use extend_alloca.
3710 * elf/tst-tls12.c (main): Fix declaration.
3711 * elf/tst-tls10.c (dummy): Make hidden instead of static.
3712 * elf/tst-tlsmod7.c (dummy): Likewise.
3713 * elf/tst-tlsmod8.c (dummy): Likewise.
3714 * elf/tst-tlsmod9.c (dummy): Likewise.
3716 2003-04-22 Roland McGrath <roland@redhat.com>
3718 * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args.
3719 (open_not_cancel): Make last argument non-optional.
3720 * sysdeps/generic/check_fds.c (check_one_fd): Update caller.
3721 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3722 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3724 * include/tls.h: Protect against multiple inclusion.
3726 2003-04-22 Ulrich Drepper <drepper@redhat.com>
3728 * nscd/nscd-client.h: Add declaration for __nscd_open_socket.
3729 * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from
3730 open_socket. Not static anymore.
3731 (nscd_gethst_r): Use __nscd_open_socket.
3732 * nscd/nscd_getgr_r.c (open_socket): Removed.
3733 (nscd_getgr_r): Use __nscd_open_socket.
3734 * nscd/nscd_getpw_r.c (open_socket): Removed.
3735 (nscd_getpw_r): Use __nscd_open_socket.
3737 * nscd/nscd.c (main): Change type of fdn to long int and use strtol.
3738 * nscd/connections.c (handle_request): Add cast to avoid warning.
3740 2003-04-21 Ulrich Drepper <drepper@redhat.com>
3742 * signal/sigfillset.c: Moved to...
3743 * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined
3744 do not set the corresponding bit.
3746 * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for
3748 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL.
3749 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL.
3750 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL.
3751 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL.
3752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL.
3754 2003-04-20 Ulrich Drepper <drepper@redhat.com>
3756 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast
3757 first syscall parameter to const char*.
3759 2003-04-19 Ulrich Drepper <drepper@redhat.com>
3761 * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run.
3763 * configure.in: Add AC_PROG_CXX.
3764 * config.make.in (CXX): Define.
3766 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of
3767 __len to size_t to avoid warnings.
3769 2003-04-18 Jes Sorensen <jes@wildopensource.com>
3771 * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux
3773 * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
3775 2003-04-19 Ulrich Drepper <drepper@redhat.com>
3777 * stdlib/cxa_finalize.c (__cxa_finalize): Don't call
3778 UNREGISTER_ATFORK if d == NULL.
3780 * catgets/nl_types.h: Remove __THROW marker from cancellation points.
3781 * dirent/dirent.h: Likewise.
3782 * dlfcn/dlfcn.h: Likewise.
3783 * grp/grp.h: Likewise.
3784 * iconv/iconv.h: Likewise.
3785 * io/fcntl.h: Likewise.
3786 * io/ftw.h: Likewise.
3787 * libio/stdio.h: Likewise.
3788 * misc/sys/mman.h: Likewise.
3789 * misc/sys/select.h: Likewise.
3790 * misc/sys/syslog.h: Likewise.
3791 * misc/sys/uio.h: Likewise.
3792 * posix/spawn.h: Likewise.
3793 * posix/unistd.h: Likewise.
3794 * posix/sys/wait.h: Likewise.
3795 * pwd/pwd.h: Likewise.
3796 * resolv/netdb.h: Likewise.
3797 * rt/aio.h: Likewise.
3798 * shadow/shadow.h: Likewise.
3799 * signal/signal.h: Likewise.
3800 * socket/sys/socket.h: Likewise.
3801 * stdlib/stdlib.h: Likewise.
3802 * streams/stropts.h: Likewise.
3803 * string/string.h: Likewise.
3804 * sysdeps/gnu/utmpx.h: Likewise.
3805 * sysvipc/sys/msg.h: Likewise.
3806 * termios/termios.h: Likewise.
3807 * time/time.h: Likewise.
3808 * wcsmbs/wchar.h: Likewise.
3809 * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable
3811 * misc/daemon.c: Likewise.
3812 * sysdeps/generic/backtracesymsfd.c: Likewise.
3813 * sysdeps/generic/check_fds.c: Likewise.
3814 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3815 * sysdeps/unix/sysv/linux/not-cancel.h: New file.
3816 * sysdeps/generic/not-cancel.h: New file.
3817 * csu/Makefile (distribute): Add not-cancel.h.
3818 * sysdeps/unix/sysv/linux/fatal-prepare.h: New file.
3819 * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE
3820 for assert.c and assert-perr.c to include <fatal-prepare.h>.
3821 * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h.
3823 * sysdeps/posix/remove.c (remove): Rewrite. No need to restore
3824 errno and unlink first.
3826 * io/ftw.c (ftw_dir): In all places assume fchdir is available.
3828 2003-04-18 Ulrich Drepper <drepper@redhat.com>
3830 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use
3831 INTERNAL_SYSCALL instead of INLINE_SYSCALL.
3833 2003-04-17 Ulrich Drepper <drepper@redhat.com>
3835 * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling.
3837 * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k.
3838 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not
3841 * signal/Makefile (tests): Add tst-sigsimple.
3842 * signal/tst-sigsimple.c: New file.
3844 2003-04-16 Jakub Jelinek <jakub@redhat.com>
3846 * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and
3848 (tests): Add tst-tls1[0-2].
3849 (modules-names): Add tst-tlsmod{[7-8],1[0-2]}.
3850 ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so.
3851 ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so.
3852 ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so.
3853 ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so.
3854 ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so.
3855 ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so.
3856 * elf/tst-tls10.c: New test.
3857 * elf/tst-tls11.c: New test.
3858 * elf/tst-tls12.c: New test.
3859 * elf/tst-tls10.h: New file.
3860 * elf/tst-tlsmod7.c: New file.
3861 * elf/tst-tlsmod8.c: New file.
3862 * elf/tst-tlsmod9.c: New file.
3863 * elf/tst-tlsmod10.c: New file.
3864 * elf/tst-tlsmod11.c: New file.
3865 * elf/tst-tlsmod12.c: New file.
3867 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
3869 * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ...
3870 * sysdeps/powerpc/powerpc32/bits/atomic.h: New file.
3871 * sysdeps/powerpc/powerpc64/bits/atomic.h: New file.
3873 2003-04-17 Ulrich Drepper <drepper@redhat.com>
3875 * posix/regex.h: Include <sys/types.h>.
3877 * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset.
3878 The signal number must be checked.
3879 * signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
3880 The signal number must be checked [PR libc/5004].
3882 * sysdeps/unix/sysv/linux/system.c: If compiled without threads
3883 don't do anything fancy.
3885 * sysdeps/generic/bits/libc-lock.h: Define
3886 __rtld_lock_define_initialized_recursive.
3888 * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry
3889 contacting nscd if NOT_USENSCD_NAME > 0.
3890 * nss/nsswitch.c (__nss_disable_nscd): New function.
3891 * nss/nsswitch.h: Declare it.
3892 * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd.
3893 * nscd/nscd.c (main): Call __nss_disable_nscd.
3895 2003-04-16 Ulrich Drepper <drepper@redhat.com>
3897 * stdio-common/perror.c (perror): We don't need to set the offset
3898 to _IO_pos_bad, this is how streams are initialized.
3900 * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned.
3901 (time_output): If necessary, allocate new buffer for .name string if
3902 padding is required.
3904 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths
3905 before copying. This might leave holes in the list. Adjust
3906 pointers if necessary.
3907 (netlink_receive): Allocate only one block.
3908 (free_netlink_handle): Adjust appropriately.
3909 (getifaddrs): Lots of cleanups.
3911 * string/test-strncpy.c (do_one_test): Mark start and stop as
3913 * string/test-memchr.c: Likewise.
3914 * string/test-memcmp.c: Likewise.
3915 * string/test-memcpy.c: Likewise.
3916 * string/test-memmove.c: Likewise.
3917 * string/test-memset.c: Likewise.
3918 * string/test-strcat.c: Likewise.
3919 * string/test-strchr.c: Likewise.
3920 * string/test-strcmp.c: Likewise.
3921 * string/test-strcpy.c: Likewise.
3922 * string/test-strlen.c: Likewise.
3923 * string/test-strncmp.c: Likewise.
3924 * string/test-strpbrk.c: Likewise.
3925 * string/test-strrchr.c: Likewise.
3926 * string/test-strspn.c: Likewise.
3928 2003-04-15 Roland McGrath <roland@redhat.com>
3930 * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
3932 * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
3933 INTUSE(__register_frame_info_bases).
3935 2003-04-15 Ulrich Drepper <drepper@redhat.com>
3937 * elf/elf.h: Define AT_SYSINFO_EH_FRAME.
3938 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle
3939 AT_SYSINFO_EH_FRAME. Adjust string width.
3940 (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value.
3941 * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global):
3942 Add _dl_sysinfo_eh_frame field.
3943 * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame.
3944 * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj
3946 [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases
3947 if _dl_sysinfo_eh_frame is non-NULL.
3949 * Makeconfig (gnulib): Add -lgcc_eh.
3951 * config.h.in: Define HAVE_FORCED_UNWIND.
3953 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
3955 * sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit.
3956 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3958 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3960 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid
3961 checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is
3962 against local symbol in conflict processing.
3964 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
3966 * sysdeps/powerpc/bits/atomic.h
3967 [__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define.
3968 [! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined
3970 (__arch_compare_and_exchange_val_32_acq): Define.
3971 (atomic_compare_and_exchange_val_acq): Define.
3973 2003-04-15 Ulrich Drepper <drepper@redhat.com>
3975 * include/atomic.h: Pretty printing.
3977 2003-04-14 Ulrich Drepper <drepper@redhat.com>
3979 * stdio-common/vfscanf.c: Add casts to avoid warnings.
3981 2003-04-14 Jakub Jelinek <jakub@redhat.com>
3983 * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX.
3984 * sysdeps/x86_64/bits/atomic.h: Likewise.
3986 2003-04-14 Ulrich Drepper <drepper@redhat.com>
3988 * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and
3989 POPARGS_1 to emit labels for the mov instructions.
3991 2003-04-14 Jakub Jelinek <jakub@redhat.com>
3993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.
3995 2003-04-14 Roland McGrath <roland@redhat.com>
3997 * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
4000 * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
4002 2003-04-14 Ulrich Drepper <drepper@redhat.com>
4004 * string/strxfrm.c (STRXFRM): Terminate rulearr at correct
4005 position. Reported by jreiser@BitWagon.com.
4007 2003-04-13 Ulrich Drepper <drepper@redhat.com>
4009 * sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version.
4010 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
4011 * sysdeps/generic/unwind-dw2.c: Likewise.
4012 * sysdeps/generic/unwind-pe.h: Likewise.
4014 2003-04-13 Alexandre Oliva <aoliva@redhat.com>
4016 * sysdeps/unix/sysv/linux/mips/profil-counter: New.
4017 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
4018 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
4019 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
4020 (mcontext_t): Make it match the 32-bit mips kernel in o32.
4021 * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
4022 the mips and mips64 headers.
4023 (struct user): Port to n32/n64.
4025 2003-04-12 Ulrich Drepper <drepper@redhat.com>
4027 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to
4030 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If
4031 __ASSUME_VSYSCALL is defined don't add restorer.
4032 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4033 __ASSUME_VSYSCALL for 2.5.53.
4035 2003-04-11 Ulrich Drepper <drepper@redhat.com>
4037 * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling.
4038 Remove HAVE_CANCELBUF code. Replace with code using the new
4039 initializers for unwind-based cleanup handling.
4040 * sysdeps/generic/unwind.h: Update from latest gcc version.
4041 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few
4042 places to allow unwind data generation.
4043 * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times.
4044 * sysdeps/x86_64/bits/setjmp.h: Likewise.
4045 * sysdeps/sh/bits/setjmp.h: Likewise.
4046 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4047 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
4048 * sysdeps/alpha/bits/setjmp.h: Likewise.
4050 2003-04-11 Roland McGrath <roland@redhat.com>
4052 * csu/tst-empty.c: New file.
4053 * csu/Makefile (tests, tests-static): Add it.
4055 2003-04-11 Jakub Jelinek <jakub@redhat.com>
4057 * string/test-strcmp.c (do_random_tests): Test whether return value
4058 has been promoted to wordsize if the ABI requires caller to do so.
4059 * string/test-strncmp.c (do_random_tests): Likewise.
4060 * string/test-memcmp.c (do_random_tests): Likewise.
4062 * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN
4065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
4066 (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL
4067 is not defined, but the prctl constants are.
4069 * string/tester.c (test_strcmp): Fix a typo.
4071 2003-04-09 Ulrich Drepper <drepper@redhat.com>
4073 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition.
4074 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
4076 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4078 * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
4080 (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on
4082 * sysdeps/mips/mips64/memcpy.S: Adjust register naming
4084 * sysdeps/mips/mips64/memset.S: Likewise.
4085 * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]:
4086 Use t0 instead of t4 as temporary.
4088 2003-04-07 Ulrich Drepper <drepper@redhat.com>
4090 * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use
4091 feof_unlocked instead of feof.
4092 (add_dir): Ignore trailing whitespace.
4094 2003-04-07 Jakub Jelinek <jakub@redhat.com>
4096 * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to
4097 sum of SIZE1 and SIZE2 arguments.
4099 2003-04-06 Ulrich Drepper <drepper@redhat.com>
4101 * iconv/iconv_prog.c (process_block): Don't print message about
4102 invalid input if the -c option is used.
4103 (main): Correctly append IGNORE string for -c option.
4105 2002-04-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4107 * sysdeps/sh/bits/atomic.h: Moved to ...
4108 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments.
4109 (__arch_compare_and_exchange_val_*_acq): Add parens around macro
4111 (atomic_bit_set, atomic_bit_test_set): Likewise.
4112 (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument
4114 (atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
4116 2003-04-06 Roland McGrath <roland@redhat.com>
4118 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register
4119 restoration as done for setcontext yesterday.
4121 2003-04-06 Jakub Jelinek <jakub@redhat.com>
4123 * elf/rtld.c: Revert 2003-03-14 change.
4124 * elf/dl-conflict.c (_dl_resolve_conflicts): Move
4125 #if ! ELF_MACHINE_NO_RELA conditional into the routine.
4127 2003-04-05 Ulrich Drepper <drepper@redhat.com>
4129 * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].
4131 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4132 Always initialize *signgamp before returning an error.
4134 2003-04-05 Roland McGrath <roland@redhat.com>
4136 * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing
4137 below the stack pointer even if switching to the same context we are
4140 2003-04-05 Ulrich Drepper <drepper@redhat.com>
4142 * catgets/gencat.c (read_input_file): Make sure that \n is not
4143 alone on the line before testing for continuation.
4145 * math/test-tgmath.c (compile_test): Initialize c.
4147 2003-04-05 Alexandre Oliva <aoliva@redhat.com>
4149 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
4150 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
4151 * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
4153 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
4154 XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data
4155 structure on n32 as well.
4156 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
4157 data types on n32 and n64.
4159 2003-04-05 Ulrich Drepper <drepper@redhat.com>
4161 * libio/fileops.c (_IO_new_file_fopen): Don't free step data right
4164 * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If
4165 HAVE_register_atfork_malloc is defined use __register_atfork_malloc
4166 instead of __register_atfork.
4168 2003-04-05 Jakub Jelinek <jakub@redhat.com>
4170 * stdio-common/reg-printf.c (__register_printf_function): Calloc
4171 instead of malloc __printf_arginfo_table and __printf_function_table.
4172 Reported by John Reiser <jreiser@BitWagon.com>.
4174 2003-04-04 Steven Munroe <sjmunroe@us.ibm.com>
4176 * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.
4177 * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations.
4179 * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
4182 2003-04-04 Alexandre Oliva <aoliva@redhat.com>
4184 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
4187 2003-04-03 Roland McGrath <roland@redhat.com>
4189 * configure.in: Fix up use of compilation flags to match the build:
4190 For .s files, $ASFLAGS;
4191 For .S files, $CPPFLAGS $ASFLAGS;
4192 For .c files, $CFLAGS $CPPFLAGS;
4193 when linking, add $LDFLAGS.
4194 * configure: Regenerated.
4196 2003-04-03 Jakub Jelinek <jakub@redhat.com>
4198 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test
4199 for atomic_compare_and_exchange_bool_acq failure.
4201 2003-04-03 Ulrich Drepper <drepper@redhat.com>
4203 * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION,
4204 _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and
4205 _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION.
4206 Remove declaration of pthread_atfork.
4208 2003-04-02 Ulrich Drepper <drepper@redhat.com>
4210 * locale/iso-639.def: Add many more languages from the current ISO 639.
4212 * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop.
4213 * sysdeps/generic/semtimedop.c: New file.
4214 * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file.
4215 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop.
4216 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4217 * sysvipc/Makefile (routines): Add semtimedop.
4218 * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop.
4219 * sysvipc/sys/sem.h: Declare semtimedop.
4221 2003-04-02 Daniel Jacobowitz <drow@mvista.com>
4223 * configure.in: Check for __register_frame_info in both
4225 * configure: Regenerated.
4227 2003-04-01 Roland McGrath <roland@redhat.com>
4229 * scripts/abilist.awk: Allow dots in soname suffix.
4231 * scripts/abilist.awk (emit): Fix bailout condition.
4233 2003-04-01 Jakub Jelinek <jakub@redhat.com>
4235 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the
4238 * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp
4239 register as input to asm.
4241 2003-04-01 Jakub Jelinek <jakub@redhat.com>
4243 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo.
4245 2003-04-01 Andreas Jaeger <aj@suse.de>
4247 * configure.in: Output as/ld as name if version is too old.
4249 2003-03-31 Daniel Jacobowitz <drow@mvista.com>
4251 * configure.in: Don't require an installed C library in the test
4252 for ".set" assembler support.
4254 2003-03-31 Roland McGrath <roland@redhat.com>
4256 * signal/tst-sigset.c: New file.
4257 * signal/Makefile (tests): Add it.
4259 2003-03-31 Ulrich Drepper <drepper@redhat.com>
4261 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65.
4262 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise.
4263 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise.
4264 * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise.
4265 (__SIGRTMAX): Adjust accordingly.
4266 * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define
4267 second compatibility symbol set.
4268 * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define.
4270 2003-03-31 Andreas Schwab <schwab@suse.de>
4272 * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test):
4274 (atomic_decrement_and_test): Fix test.
4276 2003-03-31 Jakub Jelinek <jakub@redhat.com>
4278 * sysdeps/sparc/sparc32/bits/atomic.h: New file.
4279 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file.
4280 * sysdeps/sparc/sparc64/bits/atomic.h: New file.
4281 * sysdeps/sparc/sparc32/atomicity.h: Removed.
4282 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed.
4283 * sysdeps/sparc/sparc64/atomicity.h: Removed.
4285 2003-03-30 Roland McGrath <roland@redhat.com>
4287 * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
4289 * intl/po2test.sed: Anchor substitution regexps to fix last change.
4291 2003-03-29 Paolo Bonzini <bonzini@gnu.org>
4293 * intl/po2test.sed: Unify the transformations for msgid and msgstr
4294 and remove a useless s/// command.
4296 2003-03-27 David Mosberger <davidm@hpl.hp.com>
4298 * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0"
4299 directive into empty .prologue region to ensure that call-chain
4300 is terminated even for the first instruction.
4302 * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom
4303 to terminate call-chain right from the get-go.
4305 * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary
4306 stop bit between compare & branch.
4308 2003-03-29 Ulrich Drepper <drepper@redhat.com>
4310 * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal
4311 point correctly [PR libc/4993].
4313 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid
4314 netlink_open calls if netlink is known to not be available.
4316 2003-03-29 Alexandre Oliva <aoliva@redhat.com>
4318 * configure.in: Add mips64* support.
4319 * sysdeps/mips/bits/endian.h: Make it bi-endian.
4320 * sysdeps/mips/mipsel/bits/endian.h: Removed.
4321 * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
4322 * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed.
4323 * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32.
4324 * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32.
4325 * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64.
4326 * sysdeps/mips/Implies: Moved wordsize-32 to...
4327 * sysdeps/mips/mips32/Implies: New file.
4328 * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO,
4330 (ret, PSEUDO_END): Moved past END.
4331 (PSEUDO): Moved to...
4332 * sysdeps/unix/mips/mips32/sysdep.h: New file.
4333 * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO.
4334 * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
4335 * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
4336 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
4337 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
4339 * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
4342 2003-03-28 Thorsten Kukuk <kukuk@suse.de>
4344 * sysdeps/unix/sysv/linux/ifaddrs.c: New file.
4345 * inet/test-ifaddrs.c: Allow AF_PACKET.
4346 * sysdeps/unix/sysv/linux/kernel-features.h: Add
4347 __ASSUME_NETLINK_SUPPORT.
4349 2003-03-28 Ulrich Drepper <drepper@redhat.com>
4351 * elf/vismain.c (do_test): Comment out tests which fail in the moment.
4353 2003-03-26 H.J. Lu <hjl@gnu.org>
4355 * elf/vismod.h (getvarlocal1): Return const char **.
4356 (getvarinmod1): Likewise.
4357 (getvaritcpt1): Likewise.
4358 (getvarlocal2): Likewise.
4359 (getvarinmod2): Likewise.
4360 (getvaritcpt2): Likewise.
4361 (getvaritcpt3): Likewise.
4362 * elf/vismain.c (do_test): Adjusted.
4363 * elf/vismod1.c (getvarlocal1): Return address.
4364 (getvarinmod1): Likewise.
4365 (getvaritcpt1): Likewise.
4366 * elf/vismod2.c (getvarlocal2): Likewise.
4367 (getvarinmod2): Likewise.
4368 (getvaritcpt2): Likewise.
4369 * elf/vismod3.c (getvaritcpt3): Likewise.
4371 2003-03-28 Roland McGrath <roland@redhat.com>
4373 * elf/vismain.c (do_test): Print both addresses when they don't match.
4375 * scripts/abilist.awk: If given -v filename_regexp and/or -v
4376 libname_regexp when parsing names, then produce output only
4377 for those matching the given regexps. In combine mode, save all
4378 stanzas for a final sorting by stanza header at the end.
4379 Emit a blank line between stanzas.
4381 * scripts/abilist.awk: When given -v combine=1, do parse_names and
4382 emit a single output stream with lib name in stanza header lines.
4384 * scripts/abilist.awk: Emit A for all *ABS* regardless of type.
4386 2003-03-27 Roland McGrath <roland@redhat.com>
4388 * sysdeps/powerpc/bits/atomic.h [! __powerpc64__]
4389 (__arch_atomic_decrement_if_positive_64): Fix bogus definition.
4391 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4393 * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
4394 Return old value. Make asm output reg constraint earlyclobber.
4396 (__arch_compare_and_exchange_8_acq): ... this.
4397 (__arch_compare_and_exchange_val_16_acq):
4398 Return old value. Make asm output reg constraint earlyclobber.
4400 (__arch_compare_and_exchange_16_acq): ... this.
4401 (__arch_compare_and_exchange_val_32_acq):
4402 Return old value. Make asm output reg constraint earlyclobber.
4404 (__arch_compare_and_exchange_32_acq): ... this.
4405 (__arch_compare_and_exchange_val_64_acq):
4407 (__arch_compare_and_exchange_64_acq): ... this.
4408 (atomic_exchange_and_add): Use local variables and
4409 __arch_compare_and_exchange_val_64_acq.
4410 (atomic_add): Likewise.
4411 (atomic_add_negative, atomic_add_zero): Use local variables.
4413 2003-03-28 Alexandre Oliva <aoliva@redhat.com>
4415 * sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
4417 2003-03-27 Ulrich Drepper <drepper@redhat.com>
4419 * Makefile: Remove libmd5crypt goal.
4421 2003-03-25 Jakub Jelinek <jakub@redhat.com>
4423 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore
4424 special handling of relocations against local symbols.
4426 2003-03-27 Steven Munroe <sjmunroe@us.ibm.com>
4428 * sysdeps/powerpc/bits/atomic.h
4429 (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__].
4430 [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq):
4431 Define PPC64 specific version.
4432 [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq):
4433 Change (mem) constraint to "b".
4434 [__powerpc64__] (__arch_atomic_exchange_and add_64):
4435 Replace addi with add. Change (value) contraint to "r".
4436 Change (mem) constraint to "b".
4437 [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro.
4438 (__arch_atomic_exchange_32): Change (mem) constraint to "b".
4439 (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b".
4440 (__arch_atomic_decrement_if_positive_32): New macro.
4441 (atomic_decrement_if_positive): Use __arch* macros.
4443 2003-03-27 Jakub Jelinek <jakub@redhat.com>
4445 * sysdeps/ia64/fpu/libm-test-ulps: Update.
4447 2003-03-27 Roland McGrath <roland@redhat.com>
4449 * scripts/rpm2dynsym.sh: New file.
4450 * Makefile (distribute): Add it.
4452 2003-03-27 David Mosberger <davidm@hpl.hp.com>
4454 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's
4455 ar.unat before returning. Add missing .mem.offset directives
4456 to ensure file gets assembled without warnings.
4457 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4459 2003-03-27 Jakub Jelinek <jakub@redhat.com>
4461 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>:
4462 Return -1 instead of 0 if clock_getres failed.
4464 2003-03-27 Roland McGrath <roland@redhat.com>
4466 * scripts/abilist.awk: If variable `parse_names' is set, grok the file
4467 header lines and write out foo.symlist files for each foo.so.NN listed.
4469 * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
4470 This symbol is exported, and we don't want to hide it.
4471 Add libc_hidden_proto instead.
4472 (_IO_file_jumps): Add libc_hidden_proto.
4473 * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
4475 * libio/fileops.c (_IO_file_jumps): Likewise.
4476 * libio/stdfiles.c: Don't use INTUSE on them.
4477 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4478 * libio/iofopen.c (__fopen_internal): Likewise.
4479 * libio/freopen.c (freopen): Likewise.
4480 * libio/freopen64.c (freopen64): Likewise.
4481 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4483 * Makerules (check-abi) [$(enable-check-abi) = warn]:
4484 Ignore exit status from diff.
4485 * configure.in (enable_check_abi): Document possible value "warn".
4486 Change default to no for now.
4487 * configure: Regenerated.
4489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
4490 macro calls and a #include <stub-tag.h> at the end.
4491 * Makerules ($(objpfx)stubs): Tweak sed commands.
4493 * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in
4494 caller column for *xattr syscalls, since they are in sysdeps/generic.
4496 * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid
4497 * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid
4499 2003-03-26 Roland McGrath <roland@redhat.com>
4501 * Makerules (check-abi-config): Use /thread instead of /tls when
4502 use-thread and not just use-tls is set.
4504 * Makerules (update-abi): Put quotes around $(update-abi-config).
4506 * elf/Makefile (check-abi): Depend on check-abi-ld.
4507 (update-abi): Depend on update-abi-ld.
4509 2003-03-26 GOTO Masanori <gotom@debian.or.jp>
4511 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and
4512 do not check for errors (unless testing for 32bit variant).
4513 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4515 2003-03-27 Philip Blundell <philb@gnu.org>
4517 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
4518 unconditional mov. Remove nop.
4520 * sysdeps/unix/sysv/linux/kernel-features.h
4521 (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
4522 * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
4523 when __ASSUME_VFORK_SYSCALL is defined.
4524 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
4525 __ASSUME_MMAP2_SYSCALL.
4526 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
4527 __ASSUME_REALTIME_SIGNALS.
4529 2003-03-26 Ulrich Drepper <drepper@redhat.com>
4531 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2
4532 only if DL_NO_COPY_RELOCS is not defined.
4533 * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS.
4535 2003-03-26 Roland McGrath <roland@redhat.com>
4537 * sysdeps/unix/make-syscalls.sh: When an undefined syscall has
4538 SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
4539 * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
4540 (sysdep_routines): Add stub-syscalls.
4541 ($(objpfx)stub-syscalls.c): New target.
4542 (generated): Add stub-syscalls.c.
4544 * tls.make.c: Also define use-tls according to USE_TLS macro.
4546 2003-03-26 Ulrich Drepper <drepper@redhat.com>
4548 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid
4549 no-op padding element.
4550 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4551 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4555 2003-03-26 GOTO Masanori <gotom@debian.or.jp>
4557 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error
4558 condition check for the return value of getgroups32.
4560 2003-03-26 Jakub Jelinek <jakub@redhat.com>
4562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO):
4564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO,
4565 PSEUDO_END_NOERRNO): Define.
4566 * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo.
4567 Define to PSEUDO_END.
4569 2003-03-26 Ulrich Drepper <drepper@redhat.com>
4571 * abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
4573 2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com>
4575 * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP.
4576 * iconvdata/bug-iconv4.c: New file.
4577 * iconvdata/Makefile (tests): Add bug-iconv4.
4579 2003-03-25 H.J. Lu <hjl@gnu.org>
4581 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected
4583 (_dl_lookup_versioned_symbol): Likewise.
4585 2003-03-26 Jakub Jelinek <jakub@redhat.com>
4587 * csu/tst-atomic.c (do_test): Add some new
4588 atomic_compare_and_exchange_val_acq, atomic_add_zero,
4589 atomic_compare_and_exchange_bool_acq and atomic_add_negative tests.
4590 * include/atomic.h (atomic_add_negative, atomic_add_zero):
4591 Prefix local variable so that it doesn't clash with the one
4592 in atomic_exchange_and_add.
4593 * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void *
4595 (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i.
4596 * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force
4597 value into register.
4598 * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq):
4599 Cast newval to long.
4600 * sysdeps/x86_64/bits/atomic.h
4601 (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to
4603 (atomic_exchange): Cast newvalue to long if sizeof == 8.
4604 (atomic_exchange_and_add): Cast value to long if sizeof == 8.
4605 (atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
4606 (atomic_bit_set): Shift 1L up in all cases to shut up warnings.
4608 2003-03-21 Martin Schwidefsky <schwidefskyde.ibm.com>
4610 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order
4611 bit from backtrace addresses.
4613 2003-03-21 Andreas Schwab <schwab@suse.de>
4615 * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned
4618 2003-03-25 Roland McGrath <roland@redhat.com>
4620 * config.make.in (enable-check-abi): New variable from configure.
4621 * configure.in (enable_check_abi): New substituted variable,
4622 controlled by --{enable,disable}-check-abi (default yes).
4623 * configure: Regenerated.
4624 * Makerules [$(enable-check-abi) = yes] (tests): Put this condition
4625 on check-abi dependency.
4627 2003-03-26 Andreas Schwab <schwab@suse.de>
4629 * sysdeps/m68k/m68020/bits/atomic.h: Fix typos.
4630 * include/atomic.h: Likewise.
4632 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO.
4634 2003-03-25 Roland McGrath <roland@redhat.com>
4636 * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.
4637 (__arch_atomic_exchange_64): New macro.
4638 (atomic_exchange): Use them.
4639 (__arch_atomic_exchange_and_add_32): New macro.
4640 (__arch_atomic_exchange_and_add_64): New macro.
4641 (atomic_exchange_and_add): Use them.
4642 Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
4644 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
4646 * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
4648 * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
4650 (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
4651 (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
4652 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
4653 to decide whether to add padding.
4654 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
4655 to decide whether to add padding.
4656 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
4657 old_kernel_sigaction): Likewise.
4659 2003-03-25 Ulrich Drepper <drepper@redhat.com>
4661 * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
4662 atomic_add_zero were supposed to do.
4663 * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
4666 * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
4667 This matches the new timer implementation.
4668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE):
4670 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE):
4672 * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
4673 timer info for what the kernel provides these days.
4674 (struct sigevent): Add _tid field.
4675 Define SIGEV_THREAD_ID.
4676 Remove struct __pthread_attr_s forward declaration.
4677 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4678 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4679 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4682 * Versions.def (librt): Add GLIBC_2.3.3.
4684 * abilist/libpthread.abilist: Update for nptl.
4686 2003-03-24 Jon Grimm <jgrimm@us.ibm.com>
4688 * inet/netinet/in.h: Add IPPROTO_SCTP.
4690 2003-03-24 Ulrich Drepper <drepper@redhat.com>
4692 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
4694 2003-03-24 Philip Blundell <philb@gnu.org>
4696 * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL):
4697 Remove a1 from clobber list.
4699 2003-03-24 Ulrich Drepper <drepper@redhat.com>
4701 * timezone/antarctica: Update from tzdata2003a.
4702 * timezone/asia: Likewise.
4703 * timezone/australasia: Likewise.
4704 * timezone/europe: Likewise.
4705 * timezone/iso3166.tab: Likewise.
4706 * timezone/northamerica: Likewise.
4707 * timezone/southamerica: Likewise.
4708 * timezone/zone.tab: Likewise.
4710 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com>
4712 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
4714 2003-03-23 Ulrich Drepper <drepper@redhat.com>
4716 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid
4717 unwanted expansion by definining to ret. Patch by Ian Wienand.
4719 * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of
4720 the parameter description to denote no error checking. Generate
4721 appropriate pseudo asm code.
4722 * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'.
4723 * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid,
4724 getpgrp, and getppid with 'E'.
4725 * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO,
4726 PSEUDO_END_NOERRNO, and ret_NOERRNO.
4727 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4728 * sysdeps/unix/sysdep.h: Likewise.
4729 * sysdeps/unix/alpha/sysdep.h: Likewise.
4730 * sysdeps/unix/sparc/sysdep.h: Likewise.
4731 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4732 * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise.
4733 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4735 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4736 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4739 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4743 2003-03-23 Roland McGrath <roland@redhat.com>
4745 * Makeconfig (+includes): Don't use $(last-includes).
4747 2003-03-22 Alexandre Oliva <aoliva@redhat.com>
4749 * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns.
4750 * sysdeps/unix/sysv/linux/configure: Rebuilt.
4752 2003-03-23 Jakub Jelinek <jakub@redhat.com>
4754 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4755 * sysdeps/arm/libm-test-ulps: Update.
4756 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4757 * sysdeps/ia64/fpu/libm-test-ulps: Update.
4758 * sysdeps/mips/fpu/libm-test-ulps: Update.
4759 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4761 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
4762 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
4763 * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
4764 * sysdeps/s390/fpu/libm-test-ulps: Update.
4765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4767 2003-03-22 Roland McGrath <roland@redhat.com>
4769 * include/atomic.h: Put parens around all macro arguments.
4770 (__atomic_val_bysize, __atomic_bool_bysize): New macros.
4771 (atomic_compare_and_exchange_val_acq): Use it.
4772 (atomic_compare_and_exchange_bool_acq): Likewise.
4773 (atomic_increment_and_test): Invert sense of test.
4774 (atomic_decrement_and_test): Likewise.
4775 * csu/tst-atomic.c: Update those tests to match.
4777 2003-03-22 Jakub Jelinek <jakub@redhat.com>
4779 * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
4780 Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
4781 (atomic_compare_and_exchange_bool_acq): Add comment. Don't use
4782 __oldval variable in the macro, since it might be macro argument.
4783 (atomic_decrement_if_positive): Initialize __memp, remove setting
4784 of non-existent variable.
4785 (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
4786 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
4787 using atomic_compare_and_exchange_val_acq.
4788 (atomic_decrement_if_positive, atomic_bit_test_set): Define.
4789 * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
4791 (__arch_compare_and_exchange_bool_8_acq): ... this.
4792 (__arch_compare_and_exchange_val_16_acq): Renamed from...
4793 (__arch_compare_and_exchange_bool_16_acq): ... this.
4794 (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed
4796 (__arch_compare_and_exchange_bool_32_acq): ... this.
4797 (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed
4799 (__arch_compare_and_exchange_bool_64_acq): ... this.
4800 (__arch_compare_and_exchange_val_32_acq): Use __typeof for local
4801 variables types instead of assuming int.
4802 Change prefix of local variables to __arch.
4803 * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
4805 (atomic_compare_and_exchange_val_acq,
4806 atomic_compare_and_exchange_bool_acq): Define.
4808 * csu/tst-atomic.c: New test.
4809 * csu/tst-atomic-long.c: New test.
4810 * csu/Makefile (tests): Add tst-atomic and tst-atomic-long.
4812 * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.
4814 * sysdeps/s390/Versions: Add trailing newline.
4816 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
4817 if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
4819 2003-03-22 Andreas Schwab <schwab@suse.de>
4821 * sysdeps/m68k/fpu/libm-test-ulps: Update.
4823 * sysdeps/m68k/m68020/bits/atomic.h: New file.
4824 * sysdeps/m68k/m68020/atomicity.h: Removed.
4826 2003-03-22 Alexandre Oliva <aoliva@redhat.com>
4828 * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation
4829 data structures and macros. Protect from multiple inclusion.
4831 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless
4834 2003-03-21 Andreas Jaeger <aj@suse.de>
4836 * sysdeps/i386/fpu/libm-test-ulps: Update.
4838 * math/libm-test.inc (tgamma_test): Recompute some constants with
4839 36 digits precision.
4840 (lgamma_test): Likewise.
4841 (ccos_test): Likewise.
4842 (ccosh_test): Likewise.
4843 (clog10_test): Likewise.
4844 (csin_test): Likewise.
4845 (csinh_test): Likewise.
4846 (ctan_test): Likewise.
4847 (ctanh_test): Likewise.
4849 2003-03-19 Jakub Jelinek <jakub@redhat.com>
4851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated.
4853 2003-03-21 Roland McGrath <roland@redhat.com>
4855 * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"
4856 constraint to permit non-constant BIT argument.
4857 (atomic_bit_test_set): Likewise.
4858 * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise.
4859 (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32.
4860 For quadword case, use "i" constraint if __builtin_constant_p and < 32
4861 or "r" constraint otherwise.
4863 * configure.in: Move AC_PROG_CC and other program-finding before all
4865 * configure: Regenerated.
4867 2003-03-21 Alexandre Oliva <aoliva@redhat.com>
4869 * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke
4870 unaligned copying of 8-15 bytes. From Chris Demetriou
4871 <cgd@broadcom.com>. Fix label names.
4872 * sysdeps/mips/mips64/memset.S: Fix label names. Make similar
4873 change as to memcpy.S.
4874 * sysdeps/mips/memcpy.S: Formatting changes.
4875 * sysdeps/mips/memset.S: Likewise.
4877 2003-03-21 Roland McGrath <roland@redhat.com>
4879 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
4881 2003-03-21 Alexandre Oliva <aoliva@redhat.com>
4883 * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
4884 * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
4886 2003-03-21 Roland McGrath <roland@redhat.com>
4888 * sysdeps/i386/i486/bits/atomic.h
4889 (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling
4890 version of the macro to avoid compile-time warnings.
4891 [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above.
4892 (atomic_exchange_and_add, atomic_add): Fix name and usage of it.
4893 (atomic_increment, atomic_decrement): Likewise.
4895 2003-03-21 Ulrich Drepper <drepper@redhat.com>
4897 * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints.
4898 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4900 2003-03-21 Roland McGrath <roland@redhat.com>
4902 * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
4904 2003-03-20 Ulrich Drepper <drepper@redhat.com>
4906 * include/atomic.h: Define atomic_compare_and_exchange_val_acq,
4907 atomic_compare_and_exchange_val_rel,
4908 atomic_compare_and_exchange_bool_acq, and
4909 atomic_compare_and_exchange_bool_rel instead of
4910 atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.
4911 * sysdeps/i386/i486/bits/atomic.h: Define
4912 __arch_compare_and_exchange_val_*_acq instead of
4913 __arch_compare_and_exchange_*_acq.
4914 * sysdeps/x86_64/bits/atomic.h: Likewise.
4915 * sysdeps/ia64/bits/atomic.h: Define
4916 __arch_compare_and_exchange_bool_*_acq instead of
4917 __arch_compare_and_exchange_*_acq.
4918 * sysdeps/powerpc/bits/atomic.h: Likewise.
4919 * sysdeps/s390/bits/atomic.h: Likewise.
4920 * gmon/mcount.c: Adjust for new form of compare&exchange macros.
4921 * malloc/set-freeres.c: Likewise.
4922 * nscd/cache.c: Likewise.
4923 * stdlib/cxa_finalize.c: Likewise.
4924 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4926 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
4928 * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
4929 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust.
4930 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4932 * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
4933 into high and low halves on n64.
4934 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4935 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4936 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4938 2003-03-20 Ulrich Drepper <drepper@redhat.com>
4940 * include/atomic.h (atomic_decrement_if_positive): Adjust for the
4941 correct atomic_compare_and_exchange_acq semantics.
4943 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
4945 * sysdeps/mips/ieee754.h: Remove excess #endif.
4947 2003-03-20 Roland McGrath <roland@redhat.com>
4949 * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused
4950 variable. Remove superfluous memory clobber.
4952 * include/atomic.h: Syntax braino fix.
4954 * posix/tst-nice.c (do_test): Use %m formats instead of printing errno
4955 in decimal. Don't bail if niced at start. Just check that nice call
4956 bumps the total at all.
4958 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
4960 * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
4961 including pc, gp, sp and fp, as long long.
4962 * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux.
4963 * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments.
4964 Add gp argument, and set gp in the jmpbuf to it.
4965 * sysdeps/mips/setjmp_aux.c: Revert to o32-only.
4967 2003-03-20 Ulrich Drepper <drepper@redhat.com>
4969 * include/atomic.h: Define atomic_exchange and
4970 atomic_decrement_if_positive if not already defined. Add some
4972 * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange.
4973 * sysdeps/x86_64/bits/atomic.h: Likewise.
4974 * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange.
4975 * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define
4976 atomic_exchange, atomic_exchange_and_add, and
4977 atomic_decrement_if_positive
4979 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
4981 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
4982 with a single instruction.
4984 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
4986 (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
4988 (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf
4989 Word before comparing with gotsym. Take reloc_addr argument as
4990 void*. Remove the code added for the compiler to drop any
4991 alignment assumptions.
4993 2003-03-19 Ulrich Drepper <drepper@redhat.com>
4995 * Makefile (distribute): Add include/atomic.h and bits/atomic.h.
4996 * include/atomic.h: New file.
4997 * sysdeps/i386/i486/bits/atomic.h: New file.
4998 * sysdeps/x86_64/bits/atomic.h: New file.
4999 * sysdeps/s390/bits/atomic.h: New file.
5000 * sysdeps/sh/bits/atomic.h: New file.
5001 * sysdeps/ia64/bits/atomic.h: New file.
5002 * sysdeps/powerpc/bits/atomic.h: New file.
5003 * sysdeps/generic/bits/atomic.h: New file.
5004 * sysdeps/i386/i486/atomicity.h: Removed.
5005 * sysdeps/x86_64/atomicity.h: Removed.
5006 * sysdeps/s390/s390-32/atomicity.h: Removed.
5007 * sysdeps/s390/s390-64/atomicity.h: Removed.
5008 * sysdeps/ia64/atomicity.h: Removed.
5009 * sysdeps/powerpc/powerpc32/atomicity.h: Removed.
5010 * sysdeps/powerpc/powerpc64/atomicity.h: Removed.
5011 * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust
5012 use of macros from atomicity.h to new names and semantics.
5013 * gmon_mcount.c: Likewise.
5014 * malloc/set-freeres.c: Likewise.
5015 * nscd/cache.c: Likewise.
5016 * stdlib/cxa_finalize.c: Likewise.
5017 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5019 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
5021 * sysdeps/mips/ieee754.h: New file, suitable to replace both
5022 ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
5023 mips-specific for now.
5025 2003-03-19 Ulrich Drepper <drepper@redhat.com>
5027 * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
5028 hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>.
5029 * stdlib/tst-strtod.c: Add test for the bug.
5031 * posix/tst-nice.c (do_test): Remove invalid of return value.
5032 Don't run test if initial level != 0.
5034 2003-03-19 Amos Waterland <apw@us.ibm.com>
5036 * posix/tst-nice.c: New file.
5037 * posix/Makefile (tests): Add tst-nice.
5039 2003-03-18 Roland McGrath <roland@redhat.com>
5041 * abilist: New directory of libfoo.abilist files maintained using
5042 scripts/merge-abilist.awk and "make update-abi" rules.
5043 * Makefile (distribute): Add abilist/*.abilist.
5044 * Makerules [$(build-shared) = yes] [$(subdir)] (tests):
5045 Depend on check-abi.
5047 * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER.
5048 * configure: Regenerated.
5050 * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name.
5052 2003-03-18 Ulrich Drepper <drepper@redhat.com>
5054 * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK
5057 2003-03-18 Steven Munroe <sjmunroe@us.ibm.com>
5059 * sysdeps/powerpc/powerpc64/memcpy.S: New file.
5061 2003-03-18 Ulrich Drepper <drepper@redhat.com>
5063 * Versions.def: Add GLIBC_2.3.3 for libpthread.
5065 2003-03-17 Ulrich Drepper <drepper@redhat.com>
5067 * sysdeps/generic/libc-start.c [!SHARED &&
5068 !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
5070 2003-03-17 Roland McGrath <roland@redhat.com>
5072 * include/ctype.h: Revert last change.
5074 2003-03-17 Ulrich Drepper <drepper@redhat.com>
5076 * argp/tst-argp1.c: Use test-skeleton.c.
5077 * locale/tst-C-locale.c: Likewise.
5079 2003-03-17 Alexandre Oliva <aoliva@redhat.com>
5081 * sysdeps/mips/mips64/Implies: Move wordsize-64 to...
5082 * sysdeps/mips/mips64/n64/Implies: New file.
5083 * sysdeps/mips/mips64/n64/Makefile: New file.
5084 * sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
5085 * sysdeps/mips/mips64/n32/Implies: New file.
5086 * sysdeps/mips/mips64/n32/Makefile: New file.
5087 * sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
5088 * sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
5089 * sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
5090 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
5091 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
5092 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
5093 * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
5094 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
5095 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
5096 * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
5097 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
5098 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
5099 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
5100 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
5102 * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
5103 lib64 for mips64/n64 and lib32 for mips64/n32.
5104 (ldd_rewrite_script): Needed for all mips64 configurations.
5105 * sysdeps/unix/sysv/linux/configure: Rebuilt.
5106 * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
5107 * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
5109 * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
5112 * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
5113 asm/unistd.h into asm-unistd.h.
5114 * sysdeps/unix/sysv/linux/mips/configure: Generated.
5115 * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
5117 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
5118 * sysdeps/unix/sysv/linux/mips/clone.S: Don't include
5121 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
5122 * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long
5123 long type for registers on n32.
5125 * sysdeps/mips/bits/wordsize.h: New file, appropriate for all
5127 * sysdeps/mips/mips64/gmp-mparam.h: New file. Define
5128 BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
5129 * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
5130 (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs.
5131 * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
5132 * sysdeps/unix/mips/brk.S: Likewise.
5133 * sysdeps/unix/mips/sysdep.S: Likewise.
5134 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5135 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
5136 * sysdeps/mips/sys/ucontext.h: Likewise.
5137 * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
5138 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
5139 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
5140 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5141 * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
5142 * sysdeps/mips/mips64/setjmp.S: Likewise.
5143 * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
5144 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
5147 2003-03-16 Ulrich Drepper <drepper@redhat.com>
5149 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here,
5150 not at function level.
5151 * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
5153 2003-03-15 Roland McGrath <roland@redhat.com>
5155 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
5156 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5157 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
5158 * nis/nis_table.c (__create_ib_request): Likewise.
5160 * posix/fnmatch_loop.c: Add casts for signedness.
5161 * nss/nss_files/files-hosts.c: Likewise.
5162 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5163 * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
5164 * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
5166 * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND,
5167 get errors into the log file.
5168 (libc_cv_broken_visibility_attribute): Likewise.
5169 (libc_cv_broken_alias_attribute): Likewise.
5170 (libc_cv_asm_weak_directive): Likewise.
5171 (libc_cv_need_minus_P): Likewise.
5172 (libc_cv_dot_text): Likewise.
5173 (libc_cv_asm_global_directive): Likewise.
5174 (libc_cv_asm_type_prefix): Likewise.
5175 * configure: Regenerated.
5177 * nscd/cache.c (cache_search): Give first arg type `request_type'.
5178 * nscd/nscd.h: Update decl.
5180 * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness.
5181 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5182 * elf/dl-close.c (_dl_close): Likewise.
5183 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t
5184 * io/fts.c (fts_build): Likewise.
5185 * elf/cache.c (add_to_cache): Likewise.
5186 * locale/programs/locarchive.c (show_archive_content): Likewise.
5188 * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use.
5190 * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3
5192 (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
5194 2003-03-15 Ulrich Drepper <drepper@redhat.com>
5196 * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux
5197 code for most parts.
5199 2003-03-15 Roland McGrath <roland@redhat.com>
5201 * sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
5202 * sysdeps/unix/sysv/linux/system.c: ... here.
5203 (FORK): Don't #define if already #define'd.
5204 * sysdeps/unix/sysv/linux/s390/system.c: File removed.
5205 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]:
5206 (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
5208 * dlfcn/tst-dlinfo.c: New file.
5209 * dlfcn/Makefile (tests): Add tst-dlinfo.
5210 ($(objpfx)tst-dlinfo): New target.
5212 * dlfcn/dlinfo.c: New file.
5213 * dlfcn/Makefile (libdl-routines): Add it.
5214 * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo.
5215 * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo.
5216 [__USE_GNU] (RTLD_DI_*): New enum constants.
5217 [__USE_GNU] (Dl_serpath, Dl_serinfo): New types.
5218 * elf/dl-load.c (cache_rpath): New inline function.
5219 (_dl_map_object): Use it.
5220 (_dl_rtld_di_serinfo): New function.
5221 * sysdeps/generic/ldsodefs.h: Declare it.
5222 * elf/Versions (ld: GLIBC_PRIVATE): Add it.
5224 * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.
5225 (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG)
5226 (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>.
5227 (__libc_start_main): Just call the generic one for most of the work.
5229 * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a
5230 static function by that name instead of BP_SYM (__libc_start_main).
5231 [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument.
5232 [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN.
5233 [INIT_MAIN_ARGS]: Give INIT the same args as MAIN.
5235 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]:
5236 Use this macro for extra AT_* cases.
5237 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV):
5238 New macro, guts from ...
5239 (__aux_init_cache): ... here, function removed.
5240 (DL_PLATFORM_INIT): Don't define this.
5242 * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss.
5243 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
5245 * Versions.def (libthread_db): Add GLIBC_2.3.3 set.
5247 2003-03-14 Roland McGrath <roland@redhat.com>
5249 * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.
5251 2003-03-14 Jakub Jelinek <jakub@redhat.com>
5253 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.
5255 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
5256 sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
5258 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
5260 * sysdeps/mips/fpu/bits/mathdef.h: New.
5261 (__NO_LONG_DOUBLE_MATH): Define for o32.
5263 * sysdeps/mips/sys/asm.h: Formatting changes.
5264 (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs.
5265 (CPADD): Define for all of them.
5266 (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64,
5267 SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP,
5268 NARGSAVE): Define per ABI spec.
5269 (END): Don't redefine.
5270 (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA,
5271 LONG_SRAV): Remove duplicate definitions.
5272 (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI,
5273 PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL,
5274 PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32.
5275 (PTR_LA): Define for all 3 ABIs.
5277 * sysdeps/mips/dl-machine.h: Include sys/asm.h.
5278 (elf_machine_matches_host): Prevent linking of o32 and n32
5280 (elf_machine_dynamic): Document assumption on $gp.
5281 (STRINGXP, STRINGXV, STRINGV_): New macros.
5282 (elf_machine_load_address): Use them to stringize PTR_LA and
5284 (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
5285 ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
5286 (_dl_runtime_resolve): Adjust it for all 3 ABIs.
5287 (__dl_runtime_resolve): Cast the symtab initializer to the
5289 (RTLD_START): Use it. Adjust it for all 3 ABIs.
5290 (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
5291 Handle 64-bit R_MIPS_REL composite relocation and accept
5292 R_MIPS_64 relocations to shift addend size to 64 bits.
5293 Document assumption regarding local GOT entries. Document
5294 backward-compatibility departing from the ABI behavior in
5295 applying relocations that reference section symbols, no longer
5296 used. Support relocations to mis-aligned offsets.
5297 * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.
5299 * sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
5301 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
5302 (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
5303 * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
5304 restore_rt functions. Use them.
5306 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
5307 .set mips2 on new abis.
5309 2003-03-13 Ulrich Drepper <drepper@redhat.com>
5311 * posix/getconf.c: Recognize POSIX2_SYMLINKS.
5312 * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
5313 * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
5314 * sysdeps/posix/pathconf.c: Likewise.
5315 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
5316 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
5317 * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
5319 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
5322 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
5324 * include/gmp.h: Include/gmp-mparam.h.
5325 * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
5328 * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
5329 ELF_MACHINE_NO_RELA is set.
5330 * elf/rtld.c (dl_main): No prelink support for REL-only.
5332 * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
5333 FLAG_MIPS64_LIBN64): Define.
5334 * elf/cache.c (print_entry): Handle mips64 n32 and n64.
5336 * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
5337 * sysdeps/mips/memset.S: Likewise.
5338 * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
5339 depending on the ABI.
5341 * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
5342 Don't .set mips2 on new abi.
5343 (compare_and_swap): Likewise. Support 64-bit longs on n64.
5345 * stdlib/fpioconst.h: Include gmp.h with angle brackets.
5347 2003-03-13 Roland McGrath <roland@redhat.com>
5349 * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
5350 found. Reported by Alexandre Oliva <aoliva@redhat.com>.
5352 2003-03-13 Alexandre Oliva <aoliva@redhat.com>
5354 * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit
5356 * stdlib/fpioconst.c: Likewise.
5357 * stdlib/strtod.c: Likewise.
5359 * sysdeps/mips/add_n.S: Use L macro for local labels.
5360 * sysdeps/mips/addmul_1.S: Likewise.
5361 * sysdeps/mips/lshift.S: Likewise.
5362 * sysdeps/mips/memcpy.S: Likewise.
5363 * sysdeps/mips/memset.S: Likewise.
5364 * sysdeps/mips/mul_1.S: Likewise.
5365 * sysdeps/mips/rshift.S: Likewise.
5366 * sysdeps/mips/sub_n.S: Likewise.
5367 * sysdeps/mips/submul_1.S: Likewise.
5368 * sysdeps/mips/mips64/add_n.S: Likewise.
5369 * sysdeps/mips/mips64/addmul_1.S: Likewise.
5370 * sysdeps/mips/mips64/lshift.S: Likewise.
5371 * sysdeps/mips/mips64/mul_1.S: Likewise.
5372 * sysdeps/mips/mips64/rshift.S: Likewise.
5373 * sysdeps/mips/mips64/sub_n.S: Likewise.
5374 * sysdeps/mips/mips64/submul_1.S: Likewise.
5375 * sysdeps/unix/mips/sysdep.h: Define L() according to ABI
5376 conventions. Define END as in sys/asm.h.
5377 * sysdeps/unix/mips/sysdep.S: Likewise.
5378 * sysdeps/unix/mips/wait.S: Likewise.
5379 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5381 * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double):
5382 Cast shifted values that may be too narrow to mp_limb_t.
5383 * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double):
5385 * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float):
5387 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c
5388 (__mpn_extract_long_double): Likewise.
5389 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c
5390 (__mpn_construct_long_double): Likewise.
5391 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c
5392 (__mpn_extract_long_double): Likewise.
5393 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c
5394 (__mpn_construct_long_double): Likewise.
5396 2003-03-13 Roland McGrath <roland@redhat.com>
5398 * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
5399 entries in the map file match too.
5401 2003-03-13 Guido Guenther <agx@sigxcpu.org>
5403 * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local
5404 label .Lthread_start since current binutils don't allow branches
5405 to globally visible symbols.
5407 2003-03-13 Jakub Jelinek <jakub@redhat.com>
5409 * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
5410 ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
5411 ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
5412 (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments
5413 clobbered by the syscall.
5414 (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
5415 ASM_ARGS_6): Change constraints from r to index of corresponding
5417 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
5418 ptid and ctid to match kernel.
5419 * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
5421 2003-03-12 Steven Munroe <sjmunroe@us.ibm.com>
5423 * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
5424 AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64.
5425 * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
5427 2003-03-11 Roland McGrath <roland@redhat.com>
5429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5430 Check SYM_MAP rather than SYM as definedness check.
5431 Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
5432 Don't handle R_PPC64_REL24 reloc.
5433 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
5435 * sysdeps/powerpc/powerpc64/dl-machine.h
5436 [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
5437 block, so we cover all the TPREL16* flavors without 6 ||s.
5438 [USE_TLS] (elf_machine_tprel): New function.
5439 (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
5440 and handle TPREL16 relocs too. Return rather than break for DTPREL64.
5441 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
5443 2003-03-11 Ralf Baechle <ralf@linux-mips.org>
5445 * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
5446 instead of jalr to invoke subroutine so restoring the $gp register
5449 2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
5451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
5452 to __NR_pread if not defined.
5453 (__NR_pwrite64): Define to __NR_pwrite if not defined.
5455 2003-03-11 Jakub Jelinek <jakub@redhat.com>
5457 * sysdeps/unix/sysv/linux/ia64/system.c: New file.
5458 * sysdeps/unix/sysv/linux/kernel-features.h
5459 (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
5462 2003-03-11 Jakub Jelinek <jakub@redhat.com>
5464 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
5465 allocate space even for the trailing '/'.
5466 Reported by John Reiser <jreiser@BitWagon.com>.
5468 * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
5469 ASM_CLOBBERS_6): Define.
5470 (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
5471 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
5472 to match IA-32 order.
5473 * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
5475 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com>
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
5478 Copy extra params for NPTL to registers used in clone syscall.
5480 2003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
5482 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
5483 call names for pread and pwrite.
5485 2003-03-10 Roland McGrath <roland@redhat.com>
5487 * dlfcn/Makefile (libdl-routines): Add dladdr1.
5488 * dlfcn/dladdr1.c: New file.
5489 * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
5490 [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
5491 * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
5492 a const ElfNN_Sym ** to fill in.
5493 * include/dlfcn.h: Update decl. Include <link.h>.
5494 * dlfcn/dladdr.c (dladdr): Update caller.
5495 * malloc/mtrace.c (tr_where): Likewise.
5496 * sysdeps/generic/elf/backtracesyms.c: Likewise.
5497 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5498 * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
5499 * Versions.def (libdl): Define GLIBC_2.3.3 set.
5501 * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
5503 * sysdeps/unix/Makefile (compile-syscall): New variable.
5504 Pass -g0 to compiler for assembling syscall stubs from stdin.
5506 * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
5507 (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
5508 Define these to do nothing.
5510 * configure.in: New check for -g on .S files.
5511 * configure: Regenerated.
5512 * config.make.in (have-cpp-asm-debuginfo): New variable.
5513 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
5514 * Makeconfig (ASFLAGS): New variable, if undefined and
5515 $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
5516 * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
5518 2003-03-09 Roland McGrath <roland@redhat.com>
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
5521 used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
5523 2003-03-09 Ulrich Drepper <drepper@redhat.com>
5525 * po/fi.po: Update from translation team.
5526 * po/ca.po: Likewise.
5527 * po/da.po: Likewise.
5529 2003-03-08 Ulrich Drepper <drepper@redhat.com>
5531 * rt/tst-aio7.c (do_test): Change BYTES into a #define.
5533 2003-03-07 Ulrich Drepper <drepper@redhat.com>
5535 * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
5537 * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
5539 2003-03-07 Roland McGrath <roland@redhat.com>
5541 * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
5542 * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
5544 2003-03-04 Guido Guenther <agx@sigxcpu.org>
5546 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
5547 stubs, we have INLINE_SYSCALL.
5548 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
5551 2003-03-06 Roland McGrath <roland@redhat.com>
5553 * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1
5554 permanent extent and add a comment about testing its implicit teardown.
5556 2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
5558 * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
5560 2003-03-05 Ulrich Drepper <drepper@redhat.com>
5562 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
5563 reversed __builtin_expect expectation.
5565 2003-03-05 Roland McGrath <roland@redhat.com>
5567 * stdio-common/sscanf.c: Use prototype defn with ... syntax.
5568 * libio/swscanf.c: Likewise.
5569 * libio/swprintf.c: Likewise.
5571 2003-03-04 Roland McGrath <roland@redhat.com>
5573 * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
5574 (elf_machine_rela): Always use RESOLVE_MAP, needed for
5575 R_PPC64_JMP_SLOT as well as TLS cases.
5576 (BIT_INSERT): Move parenthesis where it ought to have been.
5577 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
5579 * posix/confstr.c (confstr): Correct STRING_LEN values for
5580 _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
5581 break. Reported by Alexandre Julliard <julliard@winehq.com>.
5583 2003-03-04 Jakub Jelinek <jakub@redhat.com>
5585 * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
5587 2003-03-04 Ulrich Drepper <drepper@redhat.com>
5589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
5592 * po/sv.po: Update from translation team.
5594 2003-03-04 Andreas Jaeger <aj@suse.de>
5595 Ulrich Drepper <drepper@redhat.com>
5597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
5599 2003-03-03 Ulrich Drepper <drepper@redhat.com>
5601 * sysdeps/generic/dl-sysdep.h: Add double include protection.
5603 * po/tr.po: Update from translation team.
5605 * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
5606 are holes between the segments. Only call mprotect to set
5607 proection to PROT_NONE if there are some.
5609 * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
5612 * include/sched.h (__clone2): Use ... instead of adding all the
5615 2003-03-03 Roland McGrath <roland@redhat.com>
5617 * elf/dl-load.c (struct filebuf): Fix typo in last change.
5619 * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
5620 PI_STATIC_AND_HIDDEN.
5622 2003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au>
5624 * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
5626 * include/sched.h: Update clone2 prototype.
5628 2003-03-03 Andreas Jaeger <aj@suse.de>
5630 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
5631 (llrint): Use it to correct return type.
5634 (llround): Likewise.
5636 2003-03-03 Ulrich Drepper <drepper@redhat.com>
5638 * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
5641 * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
5642 if ccs parameter isn't valid. Reported by Andreas Schwab.
5644 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
5646 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
5647 for system call numbers > 255.
5648 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
5649 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
5650 INTERNAL_SYSCALL): Likewise.
5651 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
5652 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
5653 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
5654 INTERNAL_SYSCALL): Likewise.
5656 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
5658 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
5659 array if it is the initial dtv.
5661 2003-03-03 Ulrich Drepper <drepper@redhat.com>
5663 * po/es.po: Update from translation team.
5664 * po/fr.po: Likewise.
5665 * po/gl.po: Likewise.
5666 * po/sk.po: Likewise.
5667 * po/sv.po: Likewise.
5669 * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
5670 * misc/sys/mman.h: Add prototype for remap_file_pages.
5671 * sysdeps/generic/remap_file_pages.c: New file.
5672 * misc/Makefile (routines): Add remap_file_pages.
5673 * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
5675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
5677 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5678 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
5679 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5680 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5681 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5682 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
5683 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5684 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5686 2003-03-03 Roland McGrath <roland@redhat.com>
5688 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
5689 * sysdeps/ia64/dl-machine.h: Likewise.
5690 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
5692 * sysdeps/ia64/dl-lookupcfg.h: Update decl.
5694 * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
5695 * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
5696 * locale/Versions (libc: GLIBC_2.3): Move those to ...
5697 * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
5698 * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
5699 * Versions.def (libc): Add GLIBC_2.3.3 set.
5701 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
5702 * sysdeps/ia64/dl-machine.h: Update decl.
5704 2003-03-03 Andreas Jaeger <aj@suse.de>
5706 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
5708 2003-03-02 Roland McGrath <roland@redhat.com>
5710 * scripts/abilist.awk: Reject data items with apparent 0 size.
5712 * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
5713 after foo.* as if it were a duplicate.
5715 * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
5717 2003-03-02 Ulrich Drepper <drepper@redhat.com>
5719 * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
5721 * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
5722 * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
5723 if not already defined. Use SYSDEP_GETRES to allow other files to
5724 provide alternative implementations.
5725 * sysdeps/unix/sysv/linux/clock_getres.c: New file
5726 * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
5727 if not already defined. Use SYSDEP_GETTIME to allow other files to
5728 provide alternative implementations.
5729 * sysdeps/unix/sysv/linux/clock_gettime.c: New file.
5730 * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
5731 if not already defined. Use SYSDEP_GETTIME to allow other files to
5732 provide alternative implementations.
5733 * sysdeps/unix/sysv/linux/clock_settime.c: New file.
5734 * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
5735 other files to provide alternative implementations. Rearrange
5736 tests for invalid parameters.
5737 * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
5738 * sysdeps/unix/sysv/linux/sysconf.c: New file.
5739 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5740 __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
5741 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
5742 _POSIX_MONOTONIC_CLOCK.
5744 2003-03-02 Roland McGrath <roland@redhat.com>
5746 * scripts/merge-abilist.awk: More checks for bogus input.
5747 Uniquify duplicate config names.
5749 * scripts/abilist.awk: Don't distinguish weak symbols in normal output.
5751 * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
5752 from dl_reloc_overflow, make global.
5753 (__process_machine_rela): Update callers.
5754 * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
5755 Add attribute_hidden to __process_machine_rela decl.
5756 (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
5758 * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
5761 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5762 Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED].
5763 (elf_machine_rela): Clean up.
5765 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.
5767 PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
5768 * sysdeps/powerpc/powerpc32/elf/configure.in: New file.
5769 * sysdeps/powerpc/powerpc32/elf/configure: New generated file.
5770 * elf/tls-macros.h [__powerpc__ && !__powerpc64__]
5771 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
5772 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
5775 * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
5776 macros out of [SHARED].
5777 (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
5779 * elf/elf.h: Define R_PPC_* relocs for TLS support.
5780 Clean up R_PPC64_* macro definition comments.
5782 * configure.in: In "running configure fragment for" message,
5783 omit $srcdir from the name if we prepended it.
5784 * configure: Regenerated.
5786 * elf/dl-reloc.c (allocate_static_tls): Fix calculations.
5787 From Jakub Jelinek <jakub@redhat.com>.
5789 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
5790 which duplicated the O_DIRECT defn.
5792 2003-03-01 GOTO Masanori <gotom@debian.or.jp>
5794 * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
5797 2003-03-01 Andreas Schwab <schwab@suse.de>
5799 * resolv/Makefile (tests): Don't depend on
5800 $(objpfx)mtrace-tst-leaks when cross compiling.
5802 * sysdeps/m68k/dl-machine.h (_dl_start_user): Access
5803 __libc_stack_end through GOT since it is a global symbol.
5805 2003-03-01 GOTO Masanori <gotom@debian.or.jp>
5807 * argp/argp.h: Fix a typo.
5808 Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.
5810 * manual/terminal.texi: Fix cfmakeraw() definition from int to void.
5812 2003-02-27 Pat Rankin <rankin@pactechdata.com>
5814 * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
5816 (get_subexp): Likewise.
5818 2003-03-01 GOTO Masanori <gotom@debian.or.jp>
5820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.
5822 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
5824 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.
5826 2003-02-27 Roland McGrath <roland@redhat.com>
5828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
5829 special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
5830 repeat it and avoids the test for the common case.
5831 Clean up and fix calculations for TLS relocs.
5833 * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
5834 * sysdeps/powerpc/dl-tls.h: ... here.
5835 (TLS_TP_OFFSET): New macro.
5837 * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
5839 2003-02-27 Ulrich Drepper <drepper@redhat.com>
5841 * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
5842 code generation changes in recent gcc.
5844 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
5846 * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
5847 Rename argument to avoid symbol conflict.
5849 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
5850 [__USE_GNU] (O_DIRECT): New macro.
5852 2003-02-24 David Mosberger <davidm@hpl.hp.com>
5854 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
5857 2003-02-27 Ulrich Drepper <drepper@redhat.com>
5859 * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
5860 initializer anymore now that res_thread_freeres is more careful.
5862 * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
5863 except the PKTINFO. Reset interface in PKTINFO.
5864 Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
5866 2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
5868 * elf/elf.h: Add new R_PPC64_* relocs for TLS.
5869 * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
5871 * sysdeps/powerpc/powerpc64/elf/configure.in: New file.
5872 * sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
5873 * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
5874 * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
5876 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
5877 Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
5879 2003-02-25 Andreas Jaeger <aj@suse.de>
5881 * manual/memory.texi (Malloc Tunable Parameters): Clarify
5882 behaviour of M_MMAP_THRESHOLD.
5884 2003-02-25 Roland McGrath <roland@redhat.com>
5886 * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
5887 zero, inidicating _res was not initialized yet.
5889 2003-02-24 Ulrich Drepper <drepper@redhat.com>
5891 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
5894 2003-02-24 Roland McGrath <roland@redhat.com>
5896 * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
5898 2003-02-23 Roland McGrath <roland@redhat.com>
5900 * sysdeps/posix/pause.c: New file.
5901 * sysdeps/unix/common/pause.c: File removed.
5903 2003-02-23 Ulrich Drepper <drepper@redhat.com>
5905 * sysdeps/generic/bits/confname.h: Remove #ifs.
5907 * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
5908 * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
5910 * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
5913 2003-02-22 Ulrich Drepper <drepper@redhat.com>
5915 * sysdeps/generic/dl-sysdep.c: Avoid warning.
5917 2003-02-22 Roland McGrath <roland@redhat.com>
5919 * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
5920 * resolv/Makefile (tests): Add tst-leaks.
5921 ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
5922 (tst-leaks-ENV): New variable.
5923 ($(objpfx)mtrace-tst-leaks): New target.
5924 (tests): Depend on it.
5926 * include/libc-internal.h: Declare __libc_thread_freeres.
5928 * Makerules: Fix last change to use $($(subdir)-version) when set.
5930 * Makerules (install-lib-nosubdir): Depend on installed
5931 libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
5932 regardless of the libfoo.so target's dependencies.
5934 * MakeTAGS (sub-make-vars): New variable, includes generating=t.
5935 Use that in $(MAKE) calls.
5937 2003-02-22 Ulrich Drepper <drepper@redhat.com>
5939 * catgets/gencat.c (read_input_file): Collision between
5940 auto-assigned numbers and user-defined nubmers is not fatal.
5942 Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.
5943 * catgets/Makefile: Add rules to run test2.msg test.
5944 * catgets/test2.msg: New file.
5946 * catgets/gencat.c (main): Return 1 if messages have been printed.
5948 * iconv/iconv_prog.c (main): Unify messages.
5950 * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
5951 when shifting retval.
5952 * stdlib/tst-strtod.c (main): Add strtold test case.
5953 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5955 2003-02-21 Roland McGrath <roland@redhat.com>
5957 * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
5958 * sunrpc/rpc_thread.c: Likewise for text_set_element use.
5959 (__rpc_thread_destroy): Add it to __libc_subfreeres too.
5961 * include/resolv.h: Add libc_hidden_proto for __res_nclose.
5962 * resolv/res_init.c (__res_nclose): Add libc_hidden_def.
5963 (res_thread_freeres): New function, on __libc_thread_subfreeres and
5966 * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
5967 * malloc/thread-freeres.c: New file.
5968 * malloc/Makefile (aux): Add it.
5969 * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.
5970 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
5971 "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
5973 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
5974 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
5976 2003-02-21 Roland McGrath <roland@frob.com>
5978 * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
5980 * iconvdata/Makefile (tests): Add bug-iconv3 only if
5981 [$(have-thread-library) = yes].
5983 2003-02-21 Ulrich Drepper <drepper@redhat.com>
5985 * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
5987 * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
5988 not chechk for errors (unless testing for 32bit variant).
5989 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5990 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5991 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5993 2003-02-21 Jakub Jelinek <jakub@redhat.com>
5995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
5996 Check for signed overflow, not unsigned.
5998 * sysdeps/sparc/sparc64/elf/configure.in: New file.
5999 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
6000 Use -fcall-used-g6, not -fcall-used-g7.
6002 2003-02-21 Andreas Jaeger <aj@suse.de>
6004 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
6007 * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
6008 clear whole mxcsr but only exceptions.
6010 2003-02-21 Roland McGrath <roland@redhat.com>
6012 * Makerules: Filter $(install-lib-ldscripts) out of list of targets
6013 for libfoo.so that need $(make-link) rules.
6015 2003-02-21 Roland McGrath <roland@frob.com>
6017 * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
6018 to match existing struct stat layout in mig protocols.
6020 2003-02-20 Ulrich Drepper <drepper@redhat.com>
6022 * version.h (VERSION): Bump to 2.3.2.
6024 * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
6025 tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
6027 * sysdeps/generic/Dist: Add sysdep-cancel.h.
6028 * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
6029 * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
6030 * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
6031 * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
6034 * Makefile (distribute): Add include/stubs-prologue.h,
6035 include/gnu/stubs.h, scripts/merge-abilist.awk, and
6036 scripts/extract-abilist.awk.
6038 2003-02-20 Roland McGrath <roland@redhat.com>
6040 * math/Makefile (distribute): Don't add generated files.
6042 2003-02-20 Ulrich Drepper <drepper@redhat.com>
6044 * math/Makefile: Rearrange variable definitions slightly to get
6045 definition in the right order.
6047 2003-02-20 Roland McGrath <roland@redhat.com>
6049 * Makerules: Clean up conditional around include of tls.make.
6050 * Make-dist: Export generating=t to prevent using that.
6051 (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
6053 2003-02-20 Ulrich Drepper <drepper@redhat.com>
6055 * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
6056 around in search if port IPPORT_RESERVED/2 has been test.
6058 2002-02-20 Paolo Bonzini <bonzini@gnu.org>
6060 * posix/regcomp.c: Remove inclusions.
6061 * posix/regexec.c: Likewise.
6062 * posix/regex_internal.c: Likewise.
6063 * posix/regex_internal.h: Add inclusions here.
6064 * posix/regex.c: Only include sys/types.h before regex.h. Include
6065 regex_internal.h here. Include regex_internal.c before regcomp.c
6066 and regexec.c (might expose more opportunities to the C compiler).
6068 * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
6070 * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
6071 [!_LIBC] (__wcrtomb): New definition.
6072 [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
6073 HAVE_LOCALE_H as well.
6075 2003-02-20 Ulrich Drepper <drepper@redhat.com>
6077 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
6078 patch to check for system call errors.
6080 2002-07-24 Philip Blundell <philb@gnu.org>
6082 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
6085 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6087 * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
6088 * sysdeps/unix/sysv/linux/kernel-features.h
6089 (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
6093 interprocedure branches.
6094 * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
6095 * sysdeps/powerpc/nofpu/Dist: ...here.
6096 * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
6097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
6098 * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
6099 * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
6100 * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
6102 2003-02-18 Alan Modra <amodra@bigpond.net.au>
6104 * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
6106 2003-02-20 Philip Blundell <philb@gnu.org>
6108 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
6109 missing arguments to INTERNAL_SYSCALL_ERROR_P and
6110 INTERNAL_SYSCALL_ERRNO.
6112 2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
6114 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
6115 for __ASSUME_32BITUIDS.
6117 2003-02-20 Andreas Schwab <schwab@suse.de>
6119 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
6120 POSIX_MADV_* constants.
6122 2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6124 * sysdeps/unix/sysv/linux/sh/pread.c: New file.
6125 * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
6126 * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
6127 * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
6129 2003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
6131 * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
6133 2003-02-16 Roland McGrath <roland@redhat.com>
6135 * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
6137 2003-02-19 Ulrich Drepper <drepper@redhat.com>
6139 * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
6140 decimal input digits.
6141 * stdlib/tst-strtod.c (main): Add test for strtof bug.
6143 2003-02-18 Ulrich Drepper <drepper@redhat.com>
6145 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
6146 invalid file descriptors and missing access permissions.
6148 2003-02-17 Ulrich Drepper <drepper@redhat.com>
6150 * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
6153 * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
6154 TTY_NAME_MAX and not the _POSIX_* minimal value macros.
6155 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
6158 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
6159 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6161 * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
6162 * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
6163 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6164 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6165 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6167 2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6169 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
6170 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
6171 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
6172 * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
6173 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
6174 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
6176 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
6178 * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
6181 * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
6182 * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
6183 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
6184 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
6186 2003-02-14 Thorsten Kukuk <kukuk@suse.de>
6188 * nss/getent.c (print_hosts): Print all IP addresses of one host.
6190 2003-02-15 Roland McGrath <roland@frob.com>
6192 * sysdeps/mach/hurd/tls.h: New file.
6193 * sysdeps/mach/hurd/i386/tls.h: New file.
6195 * mach/errsystems.awk: Include <errno.h> in generated output.
6197 * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
6198 use target mach-before-compile instead of generated.
6199 (mach-before-compile): New target.
6200 * Makerules: Disable use of tls.make if $(generating) is set.
6201 * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
6202 * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
6203 mach-shortcuts.h so mach/ generation happens before hurd/.
6205 2003-02-14 Ulrich Drepper <drepper@redhat.com>
6207 * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
6208 of demorm correctly if low word is zero.
6209 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6210 * math/libm-test.inc (nextafter_test): New test, but disabled due
6213 * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
6214 counter and only call __exit_thread if this is not the last thread.
6216 2003-02-13 Jakub Jelinek <jakub@redhat.com>
6218 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
6219 subtracting map->l_tls_offset.
6221 2003-02-12 Ulrich Drepper <drepper@redhat.com>
6223 * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
6224 _CS_GNU_LIBPTHREAD_VERSION.
6225 * posix/conststr.c: Handle these new values.
6226 * posix/getconf.c: Likewise.
6228 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
6229 masking of version index.
6230 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
6232 2003-02-11 Ulrich Drepper <drepper@redhat.com>
6234 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
6235 correctly. Reported by Thorsten Kukuk.
6237 2003-02-10 Ulrich Drepper <drepper@redhat.com>
6239 * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
6240 _BSD_SOURCE to compiler.
6241 * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
6242 Patches by Alan Modra.
6244 2003-02-08 Ulrich Drepper <drepper@redhat.com>
6246 * io/ftwtest.c: Get current working directory before and after the
6247 nftw call and make sure they match.
6249 2003-02-08 Jim Meyering <jim@meyering.net>
6251 * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
6252 the current directory, not just when DIR contains a slash.
6253 Reported by Manoj Srivastava.
6255 2003-02-07 Jim Meyering <jim@meyering.net>
6257 * io/ftw.c: Add autoconf-recommended block of alloca-related code.
6258 Include autoconf-recommended block of dirent/NAMELEN-related
6259 definitions and includes. Use NAMELEN throughout, rather than
6261 [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
6262 [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
6263 (stpcpy): Declare, if necessary.
6264 (mempcpy): Define, if necessary.
6265 [!_LIBC] (__stpcpy, __mempcpy): Define.
6266 [!_LIBC] (LXSTAT, XSTAT): Define.
6267 (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
6268 (find_object): Don't use c99-style struct initializer.
6269 Tweak wording in a couple comments.
6271 2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6273 * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
6275 * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
6276 after the trapa instruction.
6277 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
6279 * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
6280 (NEED_SYSCALL_INST_PAD): Define.
6281 * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
6282 avoid to use definition for the kernel.
6283 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6284 Save and restore the frame pointer.
6285 (SYSCALL_INST_PAD): Define.
6286 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
6287 (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
6288 after trapa instruction.
6289 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
6290 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
6292 2003-02-07 Jakub Jelinek <jakub@redhat.com>
6294 * resolv/res_libc.c (_res): Ensure _res is not common symbol,
6295 so that it can have aliases.
6296 * inet/herrno.c (h_errno): Put it into .bss not .data section.
6298 2003-02-07 Ulrich Drepper <drepper@redhat.com>
6300 * elf/dl-runtime.c (fixup): Correct typo in version index computation.
6301 (profile_fixup): Likewise.
6302 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
6304 2002-11-24 Robert Love <rml@tech9.net>
6306 * posix/sched.h: Second parameter of sched_setaffinity and
6307 sched_getaffinity is `unsigned int', not `unsigned long'.
6308 * sysdeps/generic/sched_setaffinity.c: Likewise.
6309 * sysdeps/generic/sched_getaffinity.c: Likewise.
6311 2003-02-05 Ulrich Drepper <drepper@redhat.com>
6313 * debug/catchsegv.sh: Fix typo in error messsage.
6314 Reported by John Levon <levon@movementarian.org>.
6316 * sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
6317 * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
6318 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
6319 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6321 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6322 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6324 * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
6325 Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
6327 2003-02-05 Jim Meyering <jim@meyering.net>
6329 Fix a heap-corrupting bug.
6330 * io/ftw.c: Include <limits.h>.
6331 (PATH_MAX) [!defined PATH_MAX]: Define to 1024.
6332 (process_entry): Allocate enough space to hold the resulting
6333 file name. Don't presume that 2*dirbufsize is enough.
6334 (ftw_startup): Always use PATH_MAX to compute buffer size, now that
6335 it is guaranteed to be defined.
6337 2003-02-04 Ulrich Drepper <drepper@redhat.com>
6339 * iconvdata/Makefile: Add rules to build and run bug-iconv3.
6340 * iconvdata/bug-iconv3.c: New file.
6342 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
6344 * sysdeps/unix/sysv/linux/s390/system.c: New file.
6346 2003-02-03 Jakub Jelinek <jakub@redhat.com>
6348 * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
6350 * config.h.in (BROKEN_SPARC_WDISP22): Add.
6352 2003-02-03 Ulrich Drepper <drepper@redhat.com>
6354 * sysdeps/i386/i686/memmove.S: New file.
6356 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
6359 Include kernel-features.h
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6365 2003-02-02 Jakub Jelinek <jakub@redhat.com>
6367 * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
6369 2003-01-25 Jim Meyering <jim@meyering.net>
6371 * io/ftw.c (object_compare): Compare inode numbers before device
6372 numbers, since the former are much more likely to differ.
6374 2003-02-01 Ulrich Drepper <drepper@redhat.com>
6376 * time/tzfile.c (__tzfile_compute): Change return value type to
6377 void. Adjust return statements.
6378 * include/time.h (__tzfile_compute): Adjust prototype.
6380 2003-02-01 Jim Meyering <jim@meyering.net>
6382 * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
6385 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
6388 [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
6390 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6393 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6395 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6397 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6399 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
6401 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
6403 * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
6404 back to 2.4.19 for powerpc64.
6405 * sysdeps/unix/sysv/linux/kernel-features.h
6406 (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
6407 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
6409 2003-02-01 Ulrich Drepper <drepper@redhat.com>
6411 * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
6412 platforms with strange alignment requirements on wchar_t.
6414 2003-01-31 Andreas Schwab <schwab@suse.de>
6416 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
6417 aliases, already added by make-syscalls.sh.
6418 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6419 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6420 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6421 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6422 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6423 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6424 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6425 * sysdeps/unix/inet/syscalls.list: Likewise.
6426 * sysdeps/unix/syscalls.list: Likewise.
6428 2003-01-31 Andreas Schwab <schwab@suse.de>
6430 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
6433 2003-01-30 Jakub Jelinek <jakub@redhat.com>
6435 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
6436 not l to load tls from stack.
6438 2003-01-30 Roland McGrath <roland@redhat.com>
6440 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
6441 null argument before all else.
6442 Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
6444 2003-01-30 Jakub Jelinek <jakub@redhat.com>
6446 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
6447 Move to RESOLVE protected part of the header.
6448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
6451 2003-01-30 Ulrich Drepper <drepper@redhat.com>
6453 * stdio-common/Makefile (tests): Add bug15.
6454 (bug15-ENV): Define.
6455 * stdio-common/bug15.c: New file.
6457 2002-10-07 Wolfram Gloger <wg@malloc.de>
6459 * malloc/malloc.c (sYSMALLOc): Only check for breakage due
6460 to foreign sbrk()'s if arena is contiguous. Bug report from
6461 Bruno Haible <bruno@clisp.org>.
6463 2003-01-30 Jakub Jelinek <jakub@redhat.com>
6465 * sysdeps/s390/libc-tls.c: Include stdlib.h.
6467 2003-01-30 Jakub Jelinek <jakub@redhat.com>
6469 * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
6472 2003-01-30 Ulrich Drepper <drepper@redhat.com>
6474 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
6476 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
6478 Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
6480 2003-01-30 Jakub Jelinek <jakub@redhat.com>
6482 * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
6483 (allocate_static_tls): ...here. Add __attribute_noinline__.
6484 Don't return on failure.
6485 (_dl_reloc_bad_type): Add __attribute_noinline__.
6486 * elf/do-rel.h (elf_dynamic_do_rel): Add
6487 __attribute__((always_inline)).
6488 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
6489 elf_machine_rel_relative, elf_machine_rela_relative,
6490 elf_machine_lazy_rel): Add prototypes with
6491 __attribute__((always_inline)).
6493 2003-01-29 David Mosberger <davidm@hpl.hp.com>
6495 * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
6497 2003-01-29 Roland McGrath <roland@redhat.com>
6499 * configure.in: Barf if configured in $srcdir.
6501 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
6504 (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
6506 2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
6508 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
6509 clone parameters to match the order used on ia32.
6510 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6512 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
6514 * elf/elf.h: Add new s390 relocs.
6515 * elf/tls-macros.h: Add s390 versions.
6516 * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
6517 * sysdeps/s390/dl-tls.h: New file.
6518 * sysdeps/s390/libc-tls.c: New file.
6519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
6520 relocs for class PLT.
6521 (elf_machine_rela): Handle TLS relocs.
6522 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6523 * sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
6524 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6525 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
6526 CLONE_CHILD_*TID flags.
6527 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6528 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
6530 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6532 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
6533 Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
6534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
6536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6537 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
6538 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
6540 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
6541 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
6542 direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
6543 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
6546 2003-01-28 Ulrich Drepper <drepper@redhat.com>
6548 * sysdeps/unix/common/pause.c (do_pause): New function. Split
6549 from __libc_pause. Implement using sigsuspend.
6550 (__libc_pause): Call do_pause to do the real work.
6552 * sysdeps/posix/sigpause.c (do_sigpause): Check range of
6553 sig_or_mask parameter is is_sig != 0.
6555 2003-01-21 Philip Blundell <philb@gnu.org>
6557 * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
6559 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
6561 * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
6563 2003-01-27 Ulrich Drepper <drepper@redhat.com>
6565 * stdio-common/bug14.c: Use official name for the locale.
6567 * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
6568 instead of __libc_cleanup_region_start and _IO_cleanup_region_end
6569 instead of __libc_cleanup_region_end.
6571 * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
6572 as first parameter to __libc_cleanup_region_start.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
6575 (__fe_nomask_env): Use __prctl not prctl.
6576 * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
6579 * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.
6581 * elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
6583 * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
6584 wrap-around in test.
6586 2003-01-26 Andreas Schwab <schwab@suse.de>
6588 * sysdeps/wordsize-32/divdi3.c: Export the functions only as
6589 compatibility symbols. Remove INTDEF for __divdi3.
6590 * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
6591 * sysdeps/powerpc/powerpc32/divdi3.c: Remove.
6592 * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
6594 * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
6596 2003-01-24 Jakub Jelinek <jakub@redhat.com>
6598 * elf/tls-macros.h: Add SPARC 32-bit definitions.
6599 * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
6600 * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
6601 for the first half of the header. Include tls.h.
6602 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
6604 (elf_machine_rela): Handle TLS relocs.
6605 * sysdeps/sparc/dl-tls.h: New file.
6607 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
6610 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
6611 * sysdeps/sparc/sparc32/memchr.S: Likewise.
6612 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6613 * sysdeps/sparc/sparc32/strcat.S: Likewise.
6614 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6615 * sysdeps/sparc/sparc32/strcmp.S: Likewise.
6616 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
6617 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6618 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6619 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6620 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6621 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6622 * sysdeps/sparc/sparc64/strcat.S: Likewise.
6623 * sysdeps/sparc/sparc64/strchr.S: Likewise.
6624 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6625 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6626 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6627 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6631 2003-01-24 Andreas Schwab <schwab@suse.de>
6633 * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
6634 elements, and process them backwards.
6635 * elf/Makefile ($(objpfx)tst-array4): New target.
6636 ($(objpfx)tst-array4.out): Likewise.
6637 (tests) [$(have-initfini-array) = yes]: Add tst-array4.
6638 * elf/tst-array4.c: New file.
6639 * elf/tst-array4.exp: Likewise.
6641 2003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
6645 2003-01-27 Guido Guenther <agx@sigxcpu.org>
6647 * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
6648 * sysdeps/unix/sysv/linux/mips/pread.c: Add support for
6649 cancellation handling and handle both __NR_pread64 and __NR_pread.
6650 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6651 * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
6652 cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
6653 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6654 * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
6655 case, use register names consistently.
6657 2003-01-27 Wolfram Gloger <wg@malloc.de>
6659 * malloc/hooks.c (mem2chunk_check): Check alignment of mem
6660 pointer, not of the computed chunk. Bug report from Carlos
6661 O'Donell <carlos@baldric.uwo.ca>.
6663 2003-01-25 Andreas Schwab <schwab@suse.de>
6665 * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
6666 addressing to save GOT entries.
6668 2003-01-21 Jakub Jelinek <jakub@redhat.com>
6670 * sysdeps/unix/alpha/sysdep.h (inline_syscall0,
6671 inline_syscall1, inline_syscall2, inline_syscall3,
6672 inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
6673 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
6674 __attribute__((unused)) to ChEcK.
6676 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
6678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
6679 Fix inline assembler constraints.
6680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
6683 * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
6686 2003-01-20 Segher Boessenkool <segher@koffie.nl>
6688 * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
6689 compute the cosine, not the sine, even if x > 0.8.
6691 2003-01-19 Ulrich Drepper <drepper@redhat.com>
6693 * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of
6694 _nss_nis_setspent. Work around the different prototypes.
6695 * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use
6696 internal_nis_endrpcent.
6697 (internal_nis_endrpcent): Change return type to void. Change callers.
6698 * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of
6699 _nss_nis_setpwent. Work around the different prototypes.
6700 * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body
6701 of the function to...
6702 (internal_nis_endprotoent): ... here. New function.
6703 (internal_nis_setprotoent): Use internal_nis_endprotoent.
6704 * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of
6705 _nss_nis_setnetent. Work around the different prototypes.
6706 * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body
6707 of the function to...
6708 (internal_nis_endnetgrent): ... here. New function.
6709 (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
6711 2003-01-19 Jim Meyering <jim@meyering.net>
6713 * time/strftime.c: (widen): Merge nearly-identical definitions.
6714 (nl_get_alt_digit) [! defined my_strftime]: Define.
6715 (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
6716 _nl_get_alt_digit and _nl_get_walt_digit.
6718 2003-01-19 Ulrich Drepper <drepper@redhat.com>
6720 * time/strftime.c (my_strftime): Handle very large width
6721 specifications for numeric values correctly. Improve checks for
6723 * time/Makefile (tests): Add tst-strftime.
6724 * time/tst-strftime.c: New file.
6726 2003-01-18 Ulrich Drepper <drepper@redhat.com>
6728 * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of
6729 _nss_nis_sethostent. Work around the different prototypes.
6730 * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of
6731 _nss_nis_setgrent. Work around the different prototypes.
6732 * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New
6733 function. Split out from _nss_nis_endetherent.
6734 (internal_nis_setetherent): Use internal_nis_endetherent instead of
6735 duplicating the code.
6736 * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias
6737 of _nss_nis_setaliasent.
6738 * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse
6739 internal_nis_endservent code, don't duplicate it.
6741 * inet/rexec.c (rexec_af): Protect socket operations with
6742 TEMP_FAILURE_RETRY. Use writev instead of multiple write.
6743 * inet/rcmd.c (rcmd_af): Likewise.
6745 2003-01-17 Roland McGrath <roland@redhat.com>
6747 * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
6748 Add test of value 0.80190127184058835.
6750 * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
6752 2003-01-17 Richard Henderson <rth@redhat.com>
6754 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
6755 relocs for class PLT.
6756 * sysdeps/alpha/libc-tls.c: New file.
6757 * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
6758 (LOADGP) [!PIC]: Rewrite to preserve caller's gp.
6760 2003-01-17 Jakub Jelinek <jakub@redhat.com>
6762 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
6763 __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
6766 2003-01-17 Andreas Jaeger <aj@suse.de>
6768 * stdio-common/bug14.c: Include stdlib.h for exit prototype.
6770 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
6777 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
6778 * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
6781 2003-01-16 Ulrich Drepper <drepper@redhat.com>
6783 * sysdeps/generic/glob.c (glob): Assume sysconf() always returns
6784 values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
6787 * sysdeps/generic/sysconf.c: Unconditionally implement
6788 _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
6789 * sysdeps/posix/sysconf.c: Likewise.
6791 2003-01-16 Jakub Jelinek <jakub@redhat.com>
6793 * posix/regcomp.c (parse_bracket_exp): If build_charclass fails,
6794 set *err to the returned error, not to REG_ESPACE unconditionally.
6795 (build_word_op): Likewise.
6796 * posix/Makefile (tests): Add bug-regex16.
6797 * posix/bug-regex16.c: New test.
6799 2003-01-16 Jakub Jelinek <jakub@redhat.com>
6801 * elf/dl-load.c (_dl_map_object_from_fd): Use
6802 GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
6803 been already initialized.
6805 2003-01-15 Dmitry V. Levin <ldv@altlinux.org>
6807 * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
6809 2003-01-16 Jakub Jelinek <jakub@redhat.com>
6811 * posix/regcomp.c (re_compile_internal): If clearing buffer, clear
6812 allocated too. Reported by Al Viro <aviro@redhat.com>.
6814 2003-01-16 Roland McGrath <roland@redhat.com>
6816 Tweak merged .abilist file format to merge duplicate symbols in
6817 different sets into multi-version stanzas with new "| SET regexp..."
6818 header continuation lines.
6819 * scripts/merge-abilist.awk: Rewritten for new format.
6820 * scripts/extract-abilist.awk: Likewise.
6822 2003-01-15 Ulrich Drepper <drepper@redhat.com>
6824 * nscd/connections.c (nscd_run): Remove bogus return which isn't
6825 necessary with gcc 3.2+.
6826 (nscd_init): Don't use error() to print message, use dbg_log.
6828 * iconv/gconv_simple.c (STORE_REST): Explicitly store the total
6829 expected size into state.
6830 (UNPACK_BYTES): Do the reverse.
6831 * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
6832 * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug.
6833 Reported by Al Viro <aviro@redhat.com>.
6835 * stdio-common/Makefile (tests): Add bug14.
6836 * stdio-common/bug14.c: New file.
6838 * stdio-common/vfscanf.c: When recognizing multibyte characters in
6839 string reset the byte counter after mbrtowc reported it is not a
6840 partial character. Reported by Al Viro <aviro@redhat.com>.
6842 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
6845 sysdep-cancel.h, not sysdep.h.
6847 2003-01-15 Ulrich Drepper <drepper@redhat.com>
6849 * nscd/connections.c (nscd_run): Protect accept call with
6852 2003-01-15 Andreas Schwab <schwab@suse.de>
6854 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
6855 (common-generated): Add s-proto-bp.d.
6856 * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies
6858 * sysdeps/unix/s-proto-bp.S: New file.
6859 * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here.
6860 Use <io/sys/sendfile.h> instead of <sys/sendfile.h>.
6861 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
6863 2003-01-15 Roland McGrath <roland@redhat.com>
6865 * Makerules: Use -include for tls.make, suppresses warning.
6866 Move gen-as-const-headers rules up so before-compile is set in time.
6867 (sed-remove-dotdot): Fix to work right for subdirs or top dir.
6869 2003-01-15 Ulrich Drepper <drepper@redhat.com>
6871 * nscd/nscd.c (main): Make code to close all file descriptors
6872 faster and more robust.
6874 * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
6875 request with one writev call. Protect all read calls with
6877 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6878 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6880 * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
6881 Protect writev calls with TEMP_FAILURE_RETRY.
6882 * nscd/grpcache.c: Likewise.
6883 * nscd/pwdcache.c: Likewise.
6885 * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
6886 IPv6 address in debug output.
6888 2003-01-14 Roland McGrath <roland@redhat.com>
6890 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
6891 $(objpfx) directories, and get rid of vpath directives. The previous
6892 arrangement resulted in files being written to the source directories
6893 when run in a clean build. Find all .abilist files in $(..)abilist/.
6894 (update-abi-%): Likewise.
6895 (generated): Don't add .symlist files, they'll be intermediates.
6897 * sysdeps/generic/init-first.c: Add a comment.
6899 * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
6901 * scripts/gen-as-const.awk: Grok lone "--" as a separator between
6902 #includes and expressions.
6904 * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
6905 config list when it already contains cpu-.*-os.* without / part.
6907 * Makerules (sed-remove-dotdot): New variable.
6908 ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
6909 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
6910 (check-abi-config): New variable, append /tls or /notls to the tuple.
6911 (check-abi-%): Use that for -v config value.
6912 Find .abilist files in abilist/libfoo.abilist, not in subdir.
6913 * Rules: Move bits/stdio_lim.h generation rules to Makerules.
6915 2003-01-14 Ulrich Drepper <drepper@redhat.com>
6917 * manual/install.texi: Correct description of header preparation for
6918 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
6920 2003-01-14 Guido Guenther <agx@sigxcpu.org>
6922 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
6923 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
6924 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
6926 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6929 (INTERNAL_SYSCALL): Make use of ERR parameter.
6930 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
6931 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
6932 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
6935 2003-01-14 Ulrich Drepper <drepper@redhat.com>
6937 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
6939 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
6941 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
6942 Fix entry for bit 31.
6944 * iconvdata/Makefile: Add rules to build IBM866NAV.
6945 * iconvdata/ibm866nav.c: New file.
6946 * iconvdata/tst-tables.sh: Add IBM866NAV.
6947 * iconvdata/gconv-modules: Add entries for IBM866NAV.
6949 2003-01-13 Ulrich Drepper <drepper@redhat.com>
6951 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
6952 to test void* parameters.
6954 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
6955 source pointer before dereferencing.
6956 (__STRING_SMALLL_GET32): Likewise.
6957 (__memset_gc): Add missing parenthesis around macro arguments.
6958 Patch by Denis Zaitsev <zzz@cd-club.ru>.
6960 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
6961 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
6963 2003-01-14 Jakub Jelinek <jakub@redhat.com>
6965 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
6968 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
6970 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
6971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
6973 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
6975 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
6977 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
6979 (PSEUDO): ... to here.
6980 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
6982 (PSEUDO): ... to here.
6984 2003-01-13 Ulrich Drepper <drepper@redhat.com>
6986 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
6987 dirent64 instead of struct dirent for dirent. Call readdir64
6990 * locale/programs/locfile.c (siblings_uncached): Use struct
6991 dirent64 instead of struct dirent for other_dentry. Call
6992 readdir64 instead of readdir.
6994 * elf/ldconfig.c (direntry): Change type to struct dirent64.
6995 (search_dir): Use readdir64 instead of readdir.
6996 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
6998 2003-01-12 Roland McGrath <roland@redhat.com>
7000 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
7001 not strtol. The former is usable in ld.so, the latter not.
7003 * include/fcntl.h: Declare __libc_creat.
7005 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
7006 libhurduser-link.so-no-z-defs): New variables.
7008 * malloc/malloc.c: Revert last change.
7009 * malloc/malloc.h (_int_*): Move these decls to ...
7010 * include/malloc.h: ... here. Add attribute_hidden.
7011 (_int_valloc): Declare it too.
7013 2003-01-12 Ulrich Drepper <drepper@redhat.com>
7015 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
7016 search for removed searchlist. Reported by Roland McGrath.
7018 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
7019 given as start file.
7021 * io/ftw.c (ftw_startup): Use correct name in check for symlink
7022 without existing target. Patch by Jim Meyering.
7024 * Makerules (build-shlib-helper): Don't use -z defs linker option
7025 if no-z-defs is defined either.
7027 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
7029 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
7032 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
7034 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
7035 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7037 2003-01-12 Ulrich Drepper <drepper@redhat.com>
7039 * io/ftwtest-sh: Add test case for relative path with /. at the end.
7041 2003-01-12 Jim Meyering <jim@meyering.net>
7043 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
7044 use the basename if we've already chdir'd into its parent directory.
7046 2003-01-12 Ulrich Drepper <drepper@redhat.com>
7048 * io/ftw.c (process_entry): Use relative path when using chdir()
7049 to change directory after call to ftw_dir.
7050 * io/ftwtest-sh: Add test for relative path argument to nftw()
7051 with FTW_CHDIR option.
7053 2002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
7057 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7060 (INTERNAL_SYSCALL): Make use of ERR parameter.
7061 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
7062 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
7063 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
7066 2002-01-09 Richard Henderson <rth@redhat.com>
7068 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
7069 DTPREL64 and TPREL64 without loadbase applied.
7071 2002-01-09 Richard Henderson <rth@redhat.com>
7073 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
7076 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
7077 * sysdeps/unix/alpha/sysdep.h: ... here.
7078 (PSEUDO_LOADGP): Remove.
7079 (PSEUDO_PROLOGUE): Load GP in non-pic case.
7080 (SYSCALL_ERROR_LABEL): New.
7081 (PSEUDO): Use it in error branch.
7082 (PSEUDO_END): Add $syscall_error label.
7084 2003-01-12 Andreas Jaeger <aj@suse.de>
7086 * math/bits/mathcalls.h: Round is a const function.
7088 2003-01-11 Jim Meyering <jim@meyering.net>
7090 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
7091 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
7092 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
7093 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
7094 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
7095 [!_LIBC] (internal_function, dirent64, MAX): Define.
7096 (__set_errno): Define if not already defined.
7097 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
7098 the basename, not the entire file name.
7099 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
7100 the basename, not the entire file name.
7102 2003-01-12 Ulrich Drepper <drepper@redhat.com>
7104 * string/tester.c (test_strcpy): Disable last added strcpy until
7107 2003-01-11 Philip Blundell <philb@gnu.org>
7109 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
7111 2003-01-11 Andreas Schwab <schwab@suse.de>
7113 * Makerules: Add vpath for %.dynsym and %.so so that the
7114 implicit rule chaining for check-abi works.
7116 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7118 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7121 2003-01-11 Jakub Jelinek <jakub@redhat.com>
7123 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
7124 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
7126 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
7127 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
7128 Ensure libc.so in DT_NEEDED.
7129 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
7130 CHECK_STATIC_TLS before l_tls_offset use.
7131 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
7133 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7134 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
7135 Allocate TLS_PRE_TCB_SIZE bytes below result.
7136 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
7137 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
7138 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
7139 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
7140 bytes below result and add tcb_offset to memsz.
7141 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
7142 * sysdeps/ia64/dl-machine.h: Include tls.h.
7143 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
7145 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
7146 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
7147 * sysdeps/ia64/libc-tls.c: New file.
7149 2003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
7151 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
7152 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
7153 Fix type. Move definition out of #if.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
7162 ftruncate64, pread64, pwrite64, truncate64 entries.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7164 (INLINE_SYSCALL): New version that supports function call like
7165 syscalls. Add __builtin_expect.
7166 (LOADARGS_n): Add argument size safety checks.
7167 (INTERNAL_SYSCALL): New Macro.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
7169 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
7170 redefinition of elf_fpreg_t and elf_fpregset_t.
7172 2003-01-12 Ulrich Drepper <drepper@redhat.com>
7174 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
7175 simplify test for unloading. If loader of a DSO is unloaded do not
7176 use its scope anymore. Fall back to own scope and adjust opencounts.
7177 Fix several comments.
7178 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
7179 the l_searchlist, not only for l_initfini.
7181 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
7182 dependencies if objects cannot be removed. Remove object with the
7183 definition as not unloadable if necessary.
7185 * elf/reldep6.c: Create relocation dependency before closing the first
7188 2003-01-10 Guido Günther <agx@sigxcpu.org>
7190 * sysdeps/unix/mips/fork.S: Add PSEUDO_END.
7191 * sysdeps/unix/mips/brk.S: Likewise.
7192 * sysdeps/unix/mips/pipe.S: Likewise.
7194 2003-01-10 Andreas Schwab <schwab@suse.de>
7196 * sysdeps/unix/sysv/linux/m68k/getsysstats.c: New file.
7198 * sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which
7199 are known to have the vfork syscall.
7201 * sysdeps/m68k/sysdep.h (JUMPTARGET): Undefine before defining it.
7203 * sysdeps/unix/sysv/linux/kernel-features.h
7204 (__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL)
7205 (__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64)
7206 (__ASSUME_VFORK_SYSCALL): Define for m68k kernels >= 2.4.12.
7208 2003-01-09 Jakub Jelinek <jakub@redhat.com>
7210 * elf/Makefile: Add rules to build and run reldep9 test.
7211 * elf/reldep9.c: New file.
7212 * elf/reldep9mod1.c: New file.
7213 * elf/reldep9mod2.c: New file.
7214 * elf/reldep9mod3.c: New file.
7216 2003-01-09 Jakub Jelinek <jakub@redhat.com>
7218 * elf/Makefile: Add rules to build and run nodelete2 test.
7219 * elf/nodelete2.c: New file.
7220 * elf/nodel2mod1.c: New file.
7221 * elf/nodel2mod2.c: New file.
7222 * elf/nodel2mod3.c: New file.
7224 2003-01-09 Jakub Jelinek <jakub@redhat.com>
7226 * posix/test-vfork.c (noop): Add __attribute_noinline__.
7227 * sysdeps/generic/sysdep.h (JUMPTARGET): Define if not defined.
7228 * sysdeps/i386/sysdep.h (JUMPTARGET): Undefine JUMPTARGET before
7230 * sysdeps/powerpc/powerpc32/sysdep.h (JUMPTARGET): Likewise.
7231 * sysdeps/powerpc/powerpc64/sysdep.h (JUMPTARGET): Likewise.
7232 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Likewise.
7233 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Likewise.
7234 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Likewise.
7236 2003-01-09 Andreas Schwab <schwab@suse.de>
7238 * sysdeps/m68k/fpu/libm-test-ulps: Regenerated.
7240 2003-01-08 Ulrich Drepper <drepper@redhat.com>
7242 * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL,
7243 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
7245 (INTERNAL_SYSCALL_DECL): Define.
7247 2003-01-06 Jakub Jelinek <jakub@redhat.com>
7249 * sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL,
7250 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
7252 (INTERNAL_SYSCALL_DECL): Define.
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7254 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7255 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7256 (INLINE_SYSCALL): Adjust.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7259 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7261 * elf/dl-misc.c (_dl_debug_vdprintf): Add INTERNAL_SYSCALL_DECL,
7262 add err argument to INTERNAL_SYSCALL* macros.
7263 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7264 * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Likewise.
7265 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
7266 * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize):
7268 * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Likewise.
7269 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Use
7270 INLINE_SYSCALL instead of INTERNAL_SYSCALL and setting errno.
7272 2003-01-07 Ulrich Drepper <drepper@redhat.com>
7274 Unify symbols in user namespace exported by libc.so and libc.a.
7275 * argp/argp-fmtstream.c: Don't define argp_make_fmtstream,
7276 argp_fmtstream_free, and argp_fmtstream_printf.
7277 * argp/argp-fs-xinl.c: Don't define argp_fmtstream_putc,
7278 argp_fmtstream_puts, argp_fmtstream_write, argp_fmtstream_set_lmargin,
7279 argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin, and
7280 argp_fmtstream_point.
7281 * gmon/gmon.c: Don't define write_profiling.
7282 * libio/genops.c: Don't define _cleanup.
7284 * intl/explodename.c (_nl_find_language.c): Mark as static.
7285 * intl/loadinfo.h: Remove _nl_find_language prototype.
7287 * libio/fileops.c (_IO_file_seekoff_maybe_mmap): Mark as static.
7288 * libio/libioP.h: Remove declaration.
7290 * libio/iopopen.c (_IO_proc_jumps): Mark as static.
7291 * libio/libioP.h: Remove declaration.
7293 * sysdeps/generic/unwind-dw2.c: Mark __frame_state_for with STATIC.
7294 * sysdeps/generic/framestate.c: Define STATIC before including
7297 * time/Versions [GLIBC_2.3.2] (libc): Export strptime_l.
7299 2003-01-06 Philip Blundell <philb@gnu.org>
7301 * sysdeps/unix/arm/sysdep.S (syscall_error): Optimise a little.
7302 [__LIBC_REENTRANT]: Unify PIC and non-PIC cases.
7304 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Remove .type
7306 (PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
7307 (SYSCALL_ERROR): New.
7308 (SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
7310 (INTERNAL_SYSCALL): Define.
7311 (INLINE_SYSCALL): Use it.
7312 (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
7313 * sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
7314 SYSCALL_ERROR in place of __syscall_error.
7316 2003-01-07 Jakub Jelinek <jakub@redhat.com>
7318 * sysdeps/ia64/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
7319 __bswap_32, __bswap_64): Put x into temporary variable
7321 [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
7323 * sysdeps/s390/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
7324 __bswap_32, __bswap_64): Put x into temporary variable
7326 [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
7328 * sysdeps/i386/bits/byteswap.h [!__GNUC__] (__bswap_16, __bswap_32):
7331 2003-01-07 Jakub Jelinek <jakub@redhat.com>
7333 * sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak
7336 2003-01-07 Jakub Jelinek <jakub@redhat.com>
7338 * elf/rtld.c (_rtld_global): Remove _dl_dynamic_weak initializer.
7339 * elf/dl-support.c (_dl_dynamic_weak): Initialize to 0.
7341 2003-01-07 Ulrich Drepper <drepper@redhat.com>
7343 * math/libm-test.inc (significand_test): New function.
7346 2003-01-06 Roland McGrath <roland@redhat.com>
7348 * sysdeps/i386/i486/bits/string.h (memset): Add parens around macro
7350 (memcpy, memrchr, strcpy, __stpcpy, strncpy, strcat): Likewise.
7351 (strcmp, strncat, strncmp, strchr, __strchrnul, strchrnul): Likewise.
7352 (index, strrchr, rindex, strcspn, strspn, strpbrk, strstr): Likewise.
7354 * string/tester.c (test_strcpy): Add test with `void *' arguments.
7356 2003-01-06 Ulrich Drepper <drepper@redhat.com>
7358 * sysdeps/i386/fpu/s_significandl.c (__significandl): Really
7359 return significand and not the exponent.
7360 Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
7362 * elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explicitly
7363 taking address of iov in INTERNAL_SYSCALL call. Patch by Franz Sirl.
7365 * malloc/malloc.c: Mark all _int_* functions as static.
7367 2003-01-06 Jakub Jelinek <jakub@redhat.com>
7369 * sysdeps/unix/alpha/sysdep.h (PSEUDO): Use PSEUDO_PREPARE_ARGS.
7370 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add cancellation
7372 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7374 2003-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7376 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Add branch hint.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Add cancellation
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Remove
7380 ftruncate64, truncate64, pread64 and pwrite64 entries.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7382 (INLINE_SYSCALL): Add __builtin_expect.
7383 (LOADARGS_n): Add argument size safety checks.
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: New file.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: New file.
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: New file.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: New file.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: New file.
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: New file.
7391 2003-01-06 Jakub Jelinek <jakub@redhat.com>
7393 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Define.
7394 * sysdeps/generic/creat.c: Include sysdep-cancel.h.
7395 (LIBC_CANCEL_HANDLED): Add.
7397 * sysdeps/unix/sysv/linux/alpha/sysdep.h
7398 (inline_syscall_r0_constraint): Rename to...
7399 (inline_syscall_r0_out_constraint): ... this. Add =.
7400 (inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.
7402 2003-01-06 Andreas Schwab <schwab@suse.de>
7404 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make
7405 sure this is always inlined.
7406 (elf_machine_rela): Likewise.
7408 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Increase inline limit.
7410 2003-01-04 Roland McGrath <roland@redhat.com>
7412 * Makeconfig (+mkdep): Add -MP flag.
7413 Suggested by Art Haas <ahaas@airmail.net>.
7415 2003-01-05 Andreas Schwab <schwab@suse.de>
7417 * sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
7419 2003-01-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7421 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
7422 SYSCALL_ERROR_HANDLER.
7423 * sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise.
7424 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise.
7425 Add support for cancellation handling.
7426 * sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use
7427 SYSCALL_ERROR_HANDLER.
7428 * sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise.
7429 * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise.
7430 Add support for cancellation handling.
7431 (SYSCALL_ERROR_HANDLER): Define PIC variants.
7433 2003-01-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark
7436 __syscall_pread64 and __syscall_pwrite64 cancelable.
7437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7438 (INTERNAL_SYSCALL): New macro.
7439 (LOADARGS_0, LOADARGS_1): Fix.
7441 2003-01-05 Ulrich Drepper <drepper@redhat.com>
7443 * Makerules (build-shlip-helper): Unless told otherwise, add
7444 -Wl,-z,defs to linker command line.
7445 * rt/Makefile (librt.so): Link with ld.so.
7446 * dlfcn/Makefile (libdl.so): Likewise.
7448 2003-01-05 Jakub Jelinek <jakub@redhat.com>
7450 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for
7451 cancellation handling.
7452 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7453 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.
7455 2003-01-04 Ulrich Drepper <drepper@redhat.com>
7457 * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct
7458 order of parameters passed to kill.
7460 2003-01-04 Andreas Schwab <schwab@suse.de>
7462 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields.
7464 2002-01-03 Paul Eggert <eggert@twinsun.com>
7466 * malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
7467 (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
7468 when compiling Bison 1.875's `bitset bset = obstack_alloc
7469 (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
7471 2003-01-04 Ulrich Drepper <drepper@redhat.com>
7473 * sysdeps/posix/system.c (do_system): Minor optimizations. Remove
7475 Correct reference counter in case SIGQUIT handler installation failed.
7477 2003-01-03 Ulrich Drepper <drepper@redhat.com>
7479 * include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern):
7480 Define using _Pragma(weak ...).
7482 2003-01-03 Andreas Jaeger <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>
7484 * resolv/res_libc.c: Provide declaration for __res_init_weak and
7485 reorder declarations.
7487 2003-01-03 Art Haas <ahaas@airmail.net>
7489 * localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
7490 initializer syntax to C99.
7491 * localedata/tests-mbwc/dat_iswalpha.c: Likewise.
7492 * localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
7493 * localedata/tests-mbwc/dat_iswctype.c: Likewise.
7494 * localedata/tests-mbwc/dat_iswdigit.c: Likewise.
7495 * localedata/tests-mbwc/dat_iswgraph.c: Likewise.
7496 * localedata/tests-mbwc/dat_iswlower.c: Likewise.
7497 * localedata/tests-mbwc/dat_iswprint.c: Likewise.
7498 * localedata/tests-mbwc/dat_iswpunct.c: Likewise.
7499 * localedata/tests-mbwc/dat_iswspace.c: Likewise.
7500 * localedata/tests-mbwc/dat_iswupper.c: Likewise.
7501 * localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
7502 * localedata/tests-mbwc/dat_mblen.c: Likewise.
7503 * localedata/tests-mbwc/dat_mbrlen.c: Likewise.
7504 * localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
7505 * localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
7506 * localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
7507 * localedata/tests-mbwc/dat_mbtowc.c: Likewise.
7508 * localedata/tests-mbwc/dat_strcoll.c: Likewise.
7509 * localedata/tests-mbwc/dat_strfmon.c: Likewise.
7510 * localedata/tests-mbwc/dat_strxfrm.c: Likewise.
7511 * localedata/tests-mbwc/dat_swscanf.c: Likewise.
7512 * localedata/tests-mbwc/dat_towctrans.c: Likewise.
7513 * localedata/tests-mbwc/dat_towlower.c: Likewise.
7514 * localedata/tests-mbwc/dat_towupper.c: Likewise.
7515 * localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
7516 * localedata/tests-mbwc/dat_wcscat.c: Likewise.
7517 * localedata/tests-mbwc/dat_wcschr.c: Likewise.
7518 * localedata/tests-mbwc/dat_wcscmp.c: Likewise.
7519 * localedata/tests-mbwc/dat_wcscoll.c: Likewise.
7520 * localedata/tests-mbwc/dat_wcscpy.c: Likewise.
7521 * localedata/tests-mbwc/dat_wcscspn.c: Likewise.
7522 * localedata/tests-mbwc/dat_wcslen.c: Likewise.
7523 * localedata/tests-mbwc/dat_wcsncat.c: Likewise.
7524 * localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
7525 * localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
7526 * localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
7527 * localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
7528 * localedata/tests-mbwc/dat_wcsspn.c: Likewise.
7529 * localedata/tests-mbwc/dat_wcsstr.c: Likewise.
7530 * localedata/tests-mbwc/dat_wcstod.c: Likewise.
7531 * localedata/tests-mbwc/dat_wcstok.c: Likewise.
7532 * localedata/tests-mbwc/dat_wcstombs.c: Likewise.
7533 * localedata/tests-mbwc/dat_wcswidth.c: Likewise.
7534 * localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
7535 * localedata/tests-mbwc/dat_wctob.c: Likewise.
7536 * localedata/tests-mbwc/dat_wctomb.c: Likewise.
7537 * localedata/tests-mbwc/dat_wctrans.c: Likewise.
7538 * localedata/tests-mbwc/dat_wctype.c: Likewise.
7539 * localedata/tests-mbwc/dat_wcwidth.c: Likewise.
7541 2003-01-03 Richard Henderson <rth@redhat.com>
7543 * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
7544 (inline_syscall_r0_constraint): New.
7545 (inline_syscall[0-6]): Use them.
7547 2003-01-03 Jakub Jelinek <jakub@redhat.com>
7549 * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
7550 Add rtld_hidden_proto.
7551 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def.
7552 (_dl_allocate_tls): Likewise. Remove INTDEF.
7554 2002-07-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7556 * sysdeps/sh/memcpy.S: Optimize. Based on a patch by Toshiyasu
7557 Morita <toshiyasu.morita@hsa.hitachi.com>.
7558 * sysdeps/sh/memcpy.S: Likewise.
7560 2003-01-02 Ulrich Drepper <drepper@redhat.com>
7562 * sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove
7563 any, but unify the test.
7565 2003-01-02 Jakub Jelinek <jakub@redhat.com>
7567 * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction,
7568 sigaction): Protect weak_alias and libc_hidden_weak with
7569 #ifndef LIBC_SIGACTION.
7570 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction,
7571 sigaction): Likewise.
7572 * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction,
7573 sigaction): Likewise.
7574 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction,
7575 sigaction): Likewise.
7576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction,
7577 sigaction): Likewise.
7578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction,
7579 sigaction): Likewise.
7580 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction,
7581 sigaction): Likewise.
7582 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction,
7583 sigaction): Likewise. Remove SIGCANCEL handling here.
7584 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction):
7587 2003-01-02 Art Haas <ahaas@airmail.net>
7589 * login/tst-utmp.c: Convert GCC extension initializer syntax to C99.
7591 2003-01-02 Ulrich Drepper <drepper@redhat.com>
7593 * posix/getconf.c: Update copyright year.
7594 * nss/getent.c: Likewise.
7595 * nscd/nscd_nischeck.c: Likewise.
7596 * iconv/iconvconfig.c: Likewise.
7597 * iconv/iconv_prog.c: Likewise.
7598 * elf/ldconfig.c: Likewise.
7599 * catgets/gencat.c: Likewise.
7600 * csu/version.c: Likewise.
7601 * elf/ldd.bash.in: Likewise.
7602 * elf/sprof.c (print_version): Likewise.
7603 * locale/programs/locale.c: Likewise.
7604 * locale/programs/localedef.c: Likewise.
7605 * nscd/nscd.c (print_version): Likewise.
7606 * debug/xtrace.sh: Likewise.
7607 * malloc/memusage.sh: Likewise.
7608 * malloc/mtrace.pl: Likewise.
7610 2003-01-01 Jakub Jelinek <jakub@redhat.com>
7612 * io/sys/stat.h: Include time.h with __need_timespec even if
7613 __USE_MISC is defined but __USE_XOPEN is not.
7615 2003-01-01 Andreas Jaeger <aj@suse.de>
7617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
7618 type to avoid strict aliasing problem.
7619 (_nss_dns_gethostbyname2_r): Likewise.
7620 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
7621 (_nss_dns_getnetbyname_r): Likewise.
7622 * resolv/gethnamaddr.c (_gethtent): Likewise.
7623 (gethostbyname2): Likewise.
7625 2002-12-31 Ulrich Drepper <drepper@redhat.com>
7627 * string/string-inlines.c: Define __memcpy_g and __strchr_g macros
7628 to avoid using the exported symbols. Define aliases with the
7629 original names separately.
7631 * include/time.h: Add libc_hidden_proto for __strftime_l.
7632 * include/wchar.h: Add libc_hidden_proto for __wcsftime_l.
7633 * time/strftime.c: Always use libc_hidden_def if _LIBC.
7635 * libio/libioP.h: Add libc_hidden_proto for _IO_file_open.
7636 * libio/fileops.c: Add libc_hidden_def for _IO_file_open.
7638 * malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for
7641 * csu/Makefile (routines): Add dso_handle.
7642 * csu/dso_handle.c: New file.
7644 2002-12-31 Roland McGrath <roland@redhat.com>
7646 * Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
7647 Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
7648 (S-CPPFLAGS): Add -DASSEMBLER here instead.
7649 (generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).
7651 2002-12-31 Ulrich Drepper <drepper@redhat.com>
7653 * malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle
7656 2002-12-31 Andreas Jaeger <aj@suse.de>
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
7660 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7661 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
7662 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
7664 * sysdeps/unix/sysv/linux/kernel_stat.h
7665 (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
7667 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add
7668 __unused[1-3] since they're needed by some platforms. Handle
7669 _HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
7671 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
7672 for structs stat and stat64.
7673 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
7674 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7675 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7676 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7678 * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
7680 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
7681 nsec resolution changes.
7682 (xstat64_conv): Likewise.
7683 (xstat32_conv): Likewise.
7685 * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
7688 * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
7689 structs stat and stat64.
7691 * time/time.h (__timespec_defined): Define for __USE_MISC.
7693 2002-12-31 Ulrich Drepper <drepper@redhat.com>
7695 * include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
7696 and __libc_current_sigrtmax.
7698 2002-12-31 Jakub Jelinek <jakub@redhat.com>
7700 * include/errno.h (__errno_location): Add prototype.
7701 Use libc_hidden_proto unconditionally.
7702 * include/netdb.h (__h_errno_location): Use libc_hidden_proto
7704 * include/resolv.h (__res_state): Likewise.
7706 * hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
7707 * include/sys/socket.h (accept): Add libc_hidden_proto.
7708 * include/errno.h (__errno_location): Likewise.
7709 * include/netdb.h (__h_errno_location): Likewise.
7710 * include/resolv.h (__res_state): Likewise.
7711 * include/unistd.h (__lseek): Likewise.
7712 * sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
7713 * sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
7714 * sysdeps/generic/res-state.c (__res_state): Likewise.
7715 * sysdeps/generic/accept.c (accept): Likewise.
7716 * sysdeps/generic/lseek.c (__lseek): Likewise.
7717 * sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
7718 __libc_current_sigrtmax): Likewise.
7719 * sysdeps/mach/hurd/accept.c (accept): Likewise.
7720 * sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
7721 * sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
7722 * sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
7723 * sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
7724 * sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
7725 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
7726 * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
7727 * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
7729 (__GI_accept): New alias to accept.
7730 * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
7731 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
7732 New alias to llseek.
7733 (__GI_accept): New alias to accept.
7734 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
7736 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
7738 * sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.
7740 * sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
7741 strong_alias (name, __GI_name).
7742 * sysdeps/arm/bsd-_setjmp.S : Likewise.
7743 * sysdeps/hppa/bsd-_setjmp.S : Likewise.
7744 * sysdeps/i386/bsd-_setjmp.S : Likewise.
7745 * sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
7746 * sysdeps/mips/bsd-_setjmp.S : Likewise.
7747 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
7748 * sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
7749 * sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
7750 * sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
7751 * sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
7752 * sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
7753 * sysdeps/sh/bsd-_setjmp.S : Likewise.
7754 * sysdeps/sparc/sparc32/setjmp.S : Likewise.
7755 * sysdeps/unix/arm/fork.S : Likewise.
7756 * sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
7757 * sysdeps/unix/bsd/i386/vfork.S : Likewise.
7758 * sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
7759 * sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
7760 * sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
7761 * sysdeps/unix/bsd/vax/vfork.S : Likewise.
7762 * sysdeps/unix/i386/fork.S : Likewise.
7763 * sysdeps/unix/mips/fork.S : Likewise.
7764 * sysdeps/unix/sparc/fork.S : Likewise.
7765 * sysdeps/unix/sparc/vfork.S : Likewise.
7766 * sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
7767 * sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
7768 * sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
7769 * sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
7770 * sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
7771 * sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
7772 * sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
7773 * sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
7775 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
7776 * sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
7777 * sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
7778 * sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
7779 * sysdeps/unix/fork.S : Likewise.
7780 * sysdeps/vax/bsd-_setjmp.S : Likewise.
7781 * sysdeps/x86_64/bsd-_setjmp.S : Likewise.
7783 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
7786 2002-12-31 Ulrich Drepper <drepper@redhat.com>
7788 * include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
7789 * sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
7790 * sysdeps/mach/hurd/fork.c: Likewise.
7791 * sysdeps/unix/sysv/aix/fork.c: Likewise.
7792 * sysdeps/unix/fork.S: Add __GI___fork alias.
7793 * sysdeps/unix/arm/fork.S: Likewise.
7794 * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
7795 * sysdeps/unix/i386/fork.S: Likewise.
7796 * sysdeps/unix/mips/fork.S: Likewise.
7797 * sysdeps/unix/sparc/fork.S: Likewise.
7798 * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
7799 * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
7800 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7801 * sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
7802 * sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
7803 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7804 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
7805 * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
7806 * sysdeps/unix/bsd/vax/vfork.S: Likewise.
7807 * sysdeps/unix/sparc/vfork.S: Likewise.
7808 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7809 * sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
7810 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7811 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7812 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7813 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
7815 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7817 * include/time.h: Add libc_hidden_proto for __nanosleep.
7818 * sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
7819 * sysdeps/mach/nanosleep.c: Likewise.
7820 * sysdeps/unix/sysv/aix/nanosleep.c: Likewise.
7821 * sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.
7823 * libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
7824 _IO_list_unlock, and _IO_list_resetlock.
7825 * libio/genops.c: Add libc_hidden_def for _IO_list_lock,
7826 _IO_list_unlock, and _IO_list_resetlock.
7828 * libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin,
7829 _IO_iter_end, _IO_iter_next, and _IO_iter_file.
7830 * libio/genops.c: Add libc_hidden_def for _IO_iter_begin,
7831 _IO_iter_end, _IO_iter_next, and _IO_iter_file.
7833 * include/setjmp.h: Add libc_hidden_proto for __libc_longjmp.
7834 * sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp.
7835 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
7836 __GI___longjmp alias.
7838 * include/setjmp.h: Add libc_hidden_proto for _setjmp.
7839 * sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
7840 * sysdeps/arm/bsd-_setjmp.S: Likewise.
7841 * sysdeps/generic/bsd-_setjmp.c: Likewise.
7842 * sysdeps/hppa/bsd-_setjmp.S: Likewise.
7843 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7844 * sysdeps/m68k/bsd-_setjmp.c: Likewise.
7845 * sysdeps/mips/bsd-_setjmp.S: Likewise.
7846 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
7847 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7848 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7849 * sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
7850 * sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
7851 * sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
7852 * sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
7853 * sysdeps/sh/bsd-_setjmp.S: Likewise.
7854 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7855 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7857 * sysdeps/vax/bsd-_setjmp.S: Likewise.
7858 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
7860 2002-12-30 Ulrich Drepper <drepper@redhat.com>
7862 * malloc/thread-m.h (thread_atfork): Define using __register_atfork.
7864 2002-12-30 Roland McGrath <roland@redhat.com>
7866 * Rules (generated): Target removed.
7867 * mach/Makefile (generated): Define it here instead.
7869 * math/Makefile (generated): Add m_*l and m_*f variants too.
7871 2002-12-30 Ulrich Drepper <drepper@redhat.com>
7873 * elf/dl-close.c (_dl_close): Handle relocation dependencies among
7874 the to-be-deleted objects right away instead of later separately.
7875 The latter fails because the scope data structures of the DSO
7876 might already be gone.
7878 * elf/Makefile: Add rules to build and run reldep8 test.
7879 * elf/reldep8.c: New file.
7880 * elf/reldep8mod1.c: New file.
7881 * elf/reldep8mod2.c: New file.
7882 * elf/reldep8mod3.c: New file.
7883 Contributed by Jakub Jelinek.
7885 2002-12-24 GOTO Masanori <gotom@debian.or.jp>
7887 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
7888 checking of return value ENOSYS from getdents64.
7890 2002-12-28 Andreas Schwab <schwab@suse.de>
7892 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
7893 ($(common-objpfx)s-%.d): Generalized from
7894 $(common-objpfx)s-proto.d rule.
7895 (common-generated): Add s-proto-cancel.d.
7896 * sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for
7897 cancellable syscalls.
7898 * sysdeps/unix/s-proto-cancel.S: New file.
7900 2002-12-29 Roland McGrath <roland@redhat.com>
7902 * resolv/res_libc.c: Move _res defn magic after res_init defn
7903 so _res macro is in effect for that code.
7905 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
7906 pattern for prepending $(..) so it doesn't affect $(foo).
7908 * math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
7910 2002-12-29 Jakub Jelinek <jakub@redhat.com>
7912 * elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set
7915 2002-12-28 Ulrich Drepper <drepper@redhat.com>
7917 * misc/sys/cdefs.h (__attribute_deprecated__): New #define.
7919 2002-12-28 Andreas Jaeger <aj@suse.de>
7921 * sysdeps/generic/readelflib.c (process_elf_file): Cast value to
7923 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7925 2002-12-27 Jakub Jelinek <jakub@redhat.com>
7927 * inet/herrno.c (__h_errno_location): Remove.
7928 * inet/Makefile (routines): Add herrno-loc.
7929 * resolv/res_libc.c (__res_state): Remove.
7930 * resolv/Makefile (routines): Add res-state.
7931 * sysdeps/generic/herrno-loc.c: New file.
7932 * sysdeps/generic/res-state.c: New file.
7934 2002-12-27 Jakub Jelinek <jakub@redhat.com>
7936 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
7937 Only define if USE_DL_SYSINFO is defined.
7939 2002-12-22 Jakub Jelinek <jakub@redhat.com>
7941 * sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL,
7942 INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR):
7943 Define. Patch by Richard Henderson and Jes Sorensen.
7944 (PSEUDO): Remove unnecessary ;;.
7945 * elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments
7946 are found unless TLS_INIT_TP_EXPENSIVE. Use NONTLS_INIT_TP.
7947 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP
7948 if not initializing thread pointer.
7949 [!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New.
7950 * sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't
7951 make it weak also if NONTLS_INIT_TP.
7952 * sysdeps/unix/common/pause.c: Handle cancellation.
7953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1]
7954 (LOADSYSCALL): Remove.
7955 (SYSCALL_ERROR_HANDLER_ENTRY): Define.
7956 (SYSCALL_ERROR_HANDLER): Use it.
7957 (PSEUDO): Don't jump around error handler.
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't
7959 jump around error handler.
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise.
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch
7962 to __syscall_error_handler on failure.
7963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1]
7964 (LOADSYSCALL): Remove.
7965 (SYSCALL_ERROR_HANDLER_ENTRY): Define.
7966 (SYSCALL_ERROR_HANDLER): Use it.
7967 (PSEUDO): Don't jump around error handler.
7968 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't
7969 jump around error handler.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch
7972 to __syscall_error_handler on failure.
7974 2002-12-27 Roland McGrath <roland@redhat.com>
7976 * scripts/gen-as-const.awk: New file.
7977 * Makefile (distribute): Add it.
7978 * Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
7979 (before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
7981 (+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).
7983 2002-12-27 Andreas Schwab <schwab@suse.de>
7985 * sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.
7987 2002-12-27 Jakub Jelinek <jakub@redhat.com>
7989 * malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
7992 2002-12-27 Andreas Schwab <schwab@suse.de>
7994 * Makerules ($(common-objpfx)%.make): Filter through
7995 $(sed-remove-objpfx).
7997 2002-12-23 Roland McGrath <roland@redhat.com>
7999 * scripts/abilist.awk: Produce a more compact format, divided into
8000 stanzas for each version set, the set name listed only once.
8001 * scripts/extract-abilist.awk: New file.
8002 * scripts/merge-abilist.awk: New file.
8003 * Makerules (check-abi-%, update-abi-%): New pattern rules.
8004 (update-abi, check-abi): New targets.
8005 * Makefile (+subdir_targets): Add subdir_{check,update}-abi.
8007 2002-12-19 Roland McGrath <roland@redhat.com>
8009 * Makerules (%.symlist): Use LC_ALL=C when running awk script.
8011 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
8014 2002-12-21 Andreas Schwab <schwab@suse.de>
8016 * elf/check-textrel.c (handle_file): Swap p_type.
8018 2002-12-21 Andreas Schwab <schwab@suse.de>
8020 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define.
8021 (INLINE_SYSCALL): Use it.
8022 (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
8023 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
8025 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL.
8026 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
8028 2002-12-20 Art Haas <ahaas@airmail.net>
8030 * sysdeps/gnu/siglist.c: Convert GCC extension initializer
8033 2002-12-21 Philip Blundell <philb@gnu.org>
8035 * sysdeps/arm/elf/start.S (_start): Optimise a little. Push stack
8036 top as seventh arg to __libc_start_main.
8037 Reported by paulnash@wildseed.com.
8039 * sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation.
8041 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide
8042 compatibility cruft when new enough kernel is assumed.
8044 2002-12-20 Jakub Jelinek <jakub@redhat.com>
8046 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL
8047 instead of INLINE_SYSCALL.
8049 2002-12-20 Ulrich Drepper <drepper@redhat.com>
8051 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix
8054 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB.
8055 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8056 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
8057 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8058 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8059 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8060 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8062 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
8063 Patch by William Lee Irwin <wli@holomorphy.com>.
8065 2002-12-20 Andreas Schwab <schwab@suse.de>
8067 * locale/programs/ld-measurement.c (measurement_output): Fix
8070 2002-12-20 Ulrich Drepper <drepper@redhat.com>
8072 * include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]:
8073 Redefine _IO_flockifle and _IO_funlockfile as inlines.
8075 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS
8076 builds add "tls" in the search path.
8077 * elf/ldconfig.c (is_hwcap_platform): Also recognize "tls".
8078 (path_hwcap): Recognize "tls".
8080 2002-12-19 Ulrich Drepper <drepper@redhat.com>
8082 * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use
8083 __waitpid instead of waitpid.
8085 * sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of
8087 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8088 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8089 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8091 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO
8092 information for system calls.
8094 * sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only
8097 * elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv.
8099 2002-12-19 Roland McGrath <roland@redhat.com>
8101 * iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
8102 * iconvdata/ibm922.h: Likewise.
8103 * iconvdata/ibm930.h: Likewise.
8104 * iconvdata/ibm932.h: Likewise.
8105 * iconvdata/ibm933.h: Likewise.
8106 * iconvdata/ibm935.h: Likewise.
8107 * iconvdata/ibm937.h: Likewise.
8108 * iconvdata/ibm939.h: Likewise.
8109 * iconvdata/ibm943.h: Likewise.
8110 * iconvdata/isiri-3342.h: Likewise.
8112 2002-12-19 Ulrich Drepper <drepper@redhat.com>
8114 * test-skeleton.c (main): Make sure correct value is seen as
8115 argv[0] after adjustment of argv, and argc.
8117 * elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if
8118 RTLD_CORRECT_DYNAMIC_WEAK is defined.
8120 2002-12-19 Jakub Jelinek <jakub@redhat.com>
8122 * nscd/connections.c (nscd_run): Shut up warning.
8123 * tst-ungetc.c (assert): Undefined before redefining.
8125 2002-12-19 Ulrich Drepper <drepper@redhat.com>
8127 * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
8130 2002-12-17 Art Haas <ahaas@airmail.net>
8132 * iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
8133 * iconvdata/cp775.h: Likewise.
8134 * iconvdata/ibm1046.h: Likewise.
8135 * iconvdata/ibm1124.h: Likewise.
8136 * iconvdata/ibm1129.h: Likewise.
8137 * iconvdata/ibm1132.h: Likewise.
8138 * iconvdata/ibm1133.h: Likewise.
8139 * iconvdata/ibm1160.h: Likewise.
8140 * iconvdata/ibm1161.h: Likewise.
8141 * iconvdata/ibm1162.h: Likewise.
8142 * iconvdata/ibm1163.h: Likewise.
8143 * iconvdata/ibm1164.h: Likewise.
8145 2002-12-19 Ulrich Drepper <drepper@redhat.com>
8147 * sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if
8148 __ASSUME_CLONE_THREAD_FLAGS is defined.
8149 * sysdeps/unix/sysv/linux/kernel-features.h
8150 (__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.
8152 2002-12-18 Ulrich Drepper <drepper@redhat.com>
8154 * sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead
8156 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8158 * elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize
8160 [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
8162 * elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of
8164 [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
8166 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8167 Check for AT_SYSINFO and set _dl_sysinfo appropriately.
8168 * sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]:
8171 2002-12-18 Jakub Jelinek <jakub@redhat.com>
8173 * misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and
8175 [libc: GLIBC_PRIVATE]: ...here.
8176 * sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and
8178 [libc: GLIBC_PRIVATE]: ...here.
8180 2002-12-18 Ulrich Drepper <drepper@redhat.com>
8182 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
8183 Use it instead of directly int $0x80.
8184 * sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
8185 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8186 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8187 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8188 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8189 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8191 2002-12-17 Ulrich Drepper <drepper@redhat.com>
8193 * malloc/malloc.c (mALLOPt): Make sure malloc is initialized.
8195 * elf/elf.h (AT_SYSINFO): New define.
8196 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for
8199 2002-12-17 Jakub Jelinek <jakub@redhat.com>
8201 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd):
8203 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgrcv, msgsnd):
8205 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgrcv, msgsnd):
8207 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgrcv, msgsnd):
8209 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgrcv, msgsnd):
8211 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise.
8213 * malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock,
8214 mutex_unlock): If not building NPTL, use __libc_maybe_call2 if
8215 available, otherwise __libc_maybe_call.
8216 * sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for
8217 cancellation handling.
8218 * sysdeps/unix/sysv/linux/x86_64/send.c: Likewise.
8220 2002-12-17 Isamu Hasegawa <isamu@yamato.ibm.com>
8222 * posix/regcomp.c (free_workarea_compile): Free the new member
8224 (analyze): Initialize ORG_INDICES.
8225 (duplicate_node_closure): Search for a existing node, which is
8226 duplicated from the node ORG_DEST and satisfies the constraint
8227 CONSTRAINT. And use it to avoid inifimite loop.
8228 (search_duplicated_node): New function.
8229 (duplicate_node): Store the index of the original node.
8230 * posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES
8232 * posix/regex_internal.h (re_dfa_t): Add new members.
8234 2002-12-17 Ulrich Drepper <drepper@redhat.com>
8236 * stdio-common/tst-fdopen.c: Undefine assert before redefining it.
8238 2002-12-16 Ulrich Drepper <drepper@redhat.com>
8240 * sysdeps/posix/system.c (do_system): Add support for installation
8241 of cancellation handlers.
8242 * sysdeps/unix/sysv/linux/i386/system.c: New file.
8244 * stdlib/Makefile (tests): Add tst-system.
8245 * stdlib/tst-system.c: New file.
8247 * sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION &&
8248 CENABLE]: Don't lose content of %ebx.
8250 2002-12-17 Jakub Jelinek <jakub@redhat.com>
8252 * sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P
8253 macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly.
8255 2002-12-16 Ulrich Drepper <drepper@redhat.com>
8257 * sysdeps/posix/getaddrinfo.c (gaih_inet): If __nss_lookup_function
8258 fails to return a function pointer don't use it.
8260 2002-12-16 Art Haas <ahaas@airmail.net>
8262 * io/ftw.c: Convert GCC extension initializer syntax to C99.
8263 * iconvdata/iso-ir-165.c: Likewise.
8264 * iconvdata/jis0208.c: Likewise.
8265 * iconvdata/jis0212.c: Likewise.
8267 2002-12-16 Ulrich Drepper <drepper@redhat.com>
8269 * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create,
8270 epoll_ctl, and epoll_wait.
8271 * sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add
8272 epoll_create, epoll_ctl, and epoll_wait.
8273 * sysdeps/unix/sysv/linux/sys/epoll.h: New file. Written by
8274 Davide Libenzi <davidel@xmailserver.org>.
8275 * sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h.
8276 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8279 2002-12-16 Art Haas <ahaas@airmail.net>
8281 * sysdeps/generic/bp-semctl.h: Convert GCC extension initializer
8283 * sysdeps/unix/sysv/aix/settimer.c: Likewise.
8284 * sysdeps/unix/sysv/aix/sleep.c: Likewise.
8285 * sysdeps/unix/sysv/aix/usleep.c: Likewise.
8287 2002-12-16 Ulrich Drepper <drepper@redhat.com>
8289 * stdio-common/Makefile (routines): Remove lockfile. Add
8290 flockfile, ftrylockfile, and funlockfile.
8291 * sysdeps/generic/lockfile.c: Removed. Each function has its own file.
8292 * sysdeps/generic/flockfile.c: New file.
8293 * sysdeps/generic/ftrylockfile.c: New file.
8294 * sysdeps/generic/funlockfile.c: New file.
8296 2002-12-16 Jakub Jelinek <jakub@redhat.com>
8298 * sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE
8299 macros instead of doing the calls directly.
8300 * sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules.
8301 * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-%
8304 2002-12-16 Jakub Jelinek <jakub@redhat.com>
8306 * sysdeps/i386/fpu/bits/mathinline.h: Backout last change.
8307 * sysdeps/ieee754/bits/nan.h: Likewise.
8309 * sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open,
8310 __syscall_wait4, __syscall_ioctl, __syscall_write): Add.
8312 2002-12-16 Roland McGrath <roland@redhat.com>
8314 * sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type.
8315 * sunrpc/xdr_rec.c (xdrrec_inline): Likewise.
8316 * sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise.
8318 * sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
8319 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
8321 * sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
8322 * sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
8323 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
8324 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
8325 * sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
8326 * sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
8327 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
8328 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.
8330 2002-12-13 Paul Eggert <eggert@twinsun.com>
8332 * sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg
8333 is now u_int, not int.
8334 (struct XDR.x_handy): Now u_int, not int.
8335 * sunrpc/xdr_mem.c: Include <limits.h>.
8336 (xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes,
8337 xdrmem_inline, xdrmem_getint32, xdrmem_putint32):
8338 x_handy is now unsigned, not signed.
8339 Do not decrement x_handy if no change is made.
8340 (xdrmem_setpos): Check for int overflow.
8341 * sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned.
8342 (xdr_sizeof): Remove cast that is now unnecessary, now that
8343 x_handy is unsigned.
8345 2002-12-15 Art Haas <ahaas@airmail.net>
8347 * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.
8348 * iconvdata/gap.awk: Likewise.
8349 * iconvdata/gen-8bit-gap-1.sh: Likewise.
8350 * iconvdata/gen-8bit-gap.sh: Likewise.
8351 * locale/C-address.c: Likewise.
8352 * locale/C-collate.c: Likewise.
8353 * locale/C-ctype.c: Likewise.
8354 * locale/C-identification.c: Likewise.
8355 * locale/C-measurement.c: Likewise.
8356 * locale/C-messages.c: Likewise.
8357 * locale/C-monetary.c: Likewise.
8358 * locale/C-name.c: Likewise.
8359 * locale/C-numeric.c: Likewise.
8360 * locale/C-paper.c: Likewise.
8361 * locale/C-telephone.c: Likewise.
8362 * locale/C-time.c: Likewise.
8363 * nscd/connections.c: Likewise.
8364 * nscd/grpcache.c: Likewise.
8365 * nscd/hstcache.c: Likewise.
8366 * nscd/pwdcache.c: Likewise.
8367 * stdio-common/vfprintf.c: Likewise.
8368 * stdlib/random.c: Likewise.
8369 * sysdeps/generic/siglist.c: Likewise.
8370 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8371 * sysdeps/ieee754/bits/nan.h: Likewise.
8372 * sysdeps/posix/sprofil.c: Likewise.
8373 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8374 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
8375 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
8377 2002-12-15 Roland McGrath <roland@redhat.com>
8379 * sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
8381 * sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
8382 <tls.h> here, no need for it.
8383 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
8385 * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
8386 parameter, not varargs parameter.
8388 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
8389 argument so it's not an unused variable.
8391 * resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
8392 __p_type_syms, __p_rcode_syms): Remove decls, never really intended
8395 * resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.
8397 2002-12-15 Ulrich Drepper <drepper@redhat.com>
8399 * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the
8400 original __libc_fcntl code. Just renamed.
8402 2002-12-15 Andreas Schwab <schwab@suse.de>
8404 * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit.
8406 2002-12-14 Olaf Hering <olh@suse.de>
8408 * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
8409 * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.
8411 2002-12-15 Ulrich Drepper <drepper@redhat.com>
8413 * sysdeps/unix/sysv/linux/libc_fatal.c: New file.
8415 * sysdeps/generic/sysdep-cancel.h: Add dummy definitions for
8416 SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET.
8418 * sysdeps/unix/sysv/linux/open64.c: New file.
8420 * sysdeps/generic/pselect.c: Add support for cancellation handling.
8421 * sysdeps/posix/open64.c: Likewise.
8422 * sysdeps/posix/sigpause.c: Likewise.
8423 * sysdeps/posix/sigwait.c: Likewise.
8424 * sysdeps/posix/system.c: Likewise.
8425 * sysdeps/posix/waitid.c: Likewise.
8426 * sysdeps/unix/sysv/linux/accept.S: Likewise.
8427 * sysdeps/unix/sysv/linux/connect.S: Likewise.
8428 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
8429 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8430 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
8431 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8432 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8433 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8434 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8435 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8436 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8437 * sysdeps/unix/sysv/linux/recv.S: Likewise.
8438 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8439 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8440 * sysdeps/unix/sysv/linux/send.S: Likewise.
8441 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8442 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8443 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8444 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
8445 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8446 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8447 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
8448 * sysdeps/unix/sysv/linux/wait.c: Likewise.
8449 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
8450 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8451 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
8452 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8454 2002-12-14 Jakub Jelinek <jakub@redhat.com>
8456 * sysdeps/generic/sysdep-cancel.h: New file.
8457 * sysdeps/unix/make-syscalls.sh: Handle C at start of args as
8459 * sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom,
8460 recvmsg, send, sendmsg, sendto): Make cancelable.
8461 * sysdeps/unix/mman/syscalls.list (msync): Likewise.
8462 * sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread,
8463 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
8464 sendto, osf_select): Likewise.
8465 * sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv,
8466 recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
8467 * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread,
8468 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
8470 * sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv,
8471 recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
8472 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread,
8473 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
8475 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread,
8476 pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
8477 sendto, select): Likewise.
8478 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread,
8479 pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto):
8481 * sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause,
8482 select, fcntl): Likewise.
8483 * sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise.
8484 * sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open,
8485 read, readv, select, sigsuspend, write, writev): Likewise.
8487 2002-12-14 Jakub Jelinek <jakub@redhat.com>
8489 * dirent/bug-readdir1.c: Include unistd.h.
8491 2002-12-13 Jakub Jelinek <jakub@redhat.com>
8493 * locale/programs/locale.c: Include locarchive.h.
8494 (ARCHIVE_NAME): Define.
8495 (write_archive_locales): New function.
8496 (write_locales): Use it. Ensure the same locale is not printed
8497 multiple times in verbose mode.
8498 Mode LC_IDENTIFICATION and LC_CTYPE printing into...
8499 (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper
8501 (struct nameent): New type.
8502 (nameentcmp): New function.
8504 2002-12-14 Jakub Jelinek <jakub@redhat.com>
8506 * posix/regex_internal.c (re_string_context_at): Guard wide char
8507 code with #ifdef RE_ENABLE_I18N.
8509 2002-11-22 Paolo Bonzini <bonzini@gnu.org>
8511 * posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap
8513 2002-12-13 Roland McGrath <roland@redhat.com>
8515 * posix/bug-regex15.c: New file.
8516 * posix/Makefile (tests): Add it.
8518 * test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB.
8519 (main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be).
8521 2002-12-13 Ulrich Drepper <drepper@redhat.com>
8523 * elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs.
8525 * misc/syslog.c (log_cleanup): Don't use parameter in
8526 __libc_lock_unlock call, use syslog_lock directly. Adjust callers to
8527 pass NULL instead of a pointer to syslog_lock.
8529 2002-12-12 Ulrich Drepper <drepper@redhat.com>
8531 * iconvdata/Makefile: iconv-rules: Add definition to use gconv.map
8532 linker map for all iconv modules.
8533 (distribute): Add gconv.map.
8534 * iconvdata/gconv.map: New file.
8536 * elf/Makefile: Also check all iconv modules for text relocations.
8538 * stdlib/Makefile: Remove code to automatically import GMP.
8540 * elf/Makefile (tests): Add rules to build and run check-textrel.
8541 * elf/check-textrel.c: New file.
8543 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size
8546 2002-12-11 Jakub Jelinek <jakub@redhat.com>
8548 * io/test-utime (main): If stnow.st[am]time is wrong, print it and
8551 2002-04-30 Bruno Haible <bruno@clisp.org>
8553 * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to
8554 the encoding if it already has slashes.
8555 Reported by Perry Rapp <prapp@erols.com>.
8557 2002-12-11 Roland McGrath <roland@redhat.com>
8559 * csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.
8560 (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables.
8561 Turn off PIC for compiling this file.
8563 2002-12-11 Ulrich Drepper <drepper@redhat.com>
8565 * malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER
8566 definitions. Not needed.
8567 [_LIBC]: Use definitions from libc-lock.h instead of referencing
8568 pthread routines directly.
8569 * malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to
8571 (arena_get2): Don't look at return value of mutex_lock.
8573 2002-12-11 Roland McGrath <roland@redhat.com>
8575 * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone
8576 elf-init.o instead of compiling a PIC version.
8578 2002-12-11 Bruno Haible <bruno@clisp.org>
8580 * intl/gettext.h: Renamed to ...
8581 * intl/gmo.h: ... here.
8582 * intl/Makefile (distribute): Add gmo.h, remove gettext.h.
8583 * intl/gettextP.h: Update.
8584 * intl/loadmsgcat.c: Update.
8586 * intl/gettextP.h (PARAMS): Make more portable.
8587 (attribute_hidden): Define as empty macro if not already defined.
8588 * intl/hash-string.h (PARAMS): Make more portable.
8589 * intl/loadinfo.h (PARAMS): Likewise.
8590 * intl/plural-exp.h (PARAMS): Likewise.
8591 (attribute_hidden): Move definition near the definition of
8594 * intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration.
8595 * intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration.
8597 2002-07-13 Bruno Haible <bruno@clisp.org>
8599 * intl/dcigettext.c (freea): New macro.
8600 (FREE_BLOCKS): Free also the registered blocks.
8601 (DCIGETTEXT): Free the 'search' variable.
8602 Reported by Andreas Fischer <a.fischer@asentics.de>.
8604 2002-04-27 Bruno Haible <bruno@clisp.org>
8606 * intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __.
8607 * intl/dcigettext.c: Likewise.
8608 * intl/dcgettext.c: Likewise.
8609 * intl/dgettext.c: Likewise.
8610 * intl/gettext.c: Likewise.
8611 * intl/dcngettext.c: Likewise.
8612 * intl/dngettext.c: Likewise.
8613 * intl/ngettext.c: Likewise.
8614 * intl/textdomain.c: Likewise.
8615 * intl/bindtextdom.c: Likewise.
8616 * intl/plural-exp.h: Likewise.
8618 2002-01-02 Bruno Haible <bruno@clisp.org>
8620 * intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl.
8622 2001-04-30 Bruno Haible <bruno@clisp.org>
8624 * intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide
8625 default macro definitions. Needed for mingw32.
8627 2002-12-10 Ulrich Drepper <drepper@redhat.com>
8629 * sysdeps/i386/bits/byteswap.h (__bswap_64): Apply
8630 __builtin_constant_p to macro parameter.
8632 * sysdeps/generic/sigpause.c: Define all functions as weak.
8633 * sysdeps/posix/sigpause.c: Likewise.
8635 * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of
8638 2002-12-10 Jakub Jelinek <jakub@redhat.com>
8640 * elf/tst-array1.c (preinit_array, init_array, fini_array):
8641 Explicitly align the array to sizeof (void *).
8642 * elf/tst-array2dep.c (init_array, fini_array): Likewise.
8644 * include/libc-symbols.h: Fix a comment typo.
8646 * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias.
8647 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend):
8649 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend):
8651 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
8652 (__libc_sigsuspend): Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c
8654 (__libc_sigsuspend): Likewise.
8655 * sysdeps/generic/creat.c (__libc_creat): Renamed from creat.
8656 (creat): New weak alias.
8658 2002-12-10 Roland McGrath <roland@redhat.com>
8660 * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that
8661 contributes a manual chapter.
8662 * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads
8665 * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to
8666 and move contents to ...
8667 (EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch.
8668 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use
8669 it instead of duplicating its contents.
8670 (EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch.
8672 2002-12-09 Jakub Jelinek <jakub@redhat.com>
8674 * elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if
8676 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New
8678 (EXTRA_LD_ENVVARS): Use it.
8679 (DL_OSVERSION_INIT): Define.
8680 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux
8682 (EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init.
8684 2002-12-10 Ulrich Drepper <drepper@redhat.com>
8686 * Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2.
8688 * sysdeps/unix/closedir.c (__closedir): Remove __libc_lock_lock
8689 call. It is not allowed to destroy pthread mutexes which are
8690 still in use even though it is safe for our implementations. If
8691 somebody still uses the descriptor it is a bug.
8693 2002-12-09 Richard Henderson <rth@redhat.com>
8695 * csu/abi-note.S: Use .p2align, not .align.
8697 2002-12-09 Ulrich Drepper <drepper@redhat.com>
8699 * sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and
8700 __libc_select aliases.
8702 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo
8705 * sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias.
8707 * sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias.
8709 * sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias.
8711 * sysdeps/unix/syscalls.list: Define __libc_select alias.
8713 * sysdeps/posix/waitid.c: Define __libc_waitid alias.
8715 * sysdeps/posix/sigpause.c: Define __libc_sigpause and
8716 __libc___xpg_sigpause aliases.
8718 * sysdeps/generic/pselect.c: Define __libc_pselect alias.
8720 * misc/error.c: Remove use of USE_IN_LIBIO.
8722 2002-12-08 Roland McGrath <roland@redhat.com>
8724 * elf/Makefile (tests): Uncomment tst-array[123].
8725 * Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
8726 * csu/elf-init.c: New file.
8727 * csu/Makefile (routines, static-only-routines): Add elf-init.
8728 * sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
8729 and __libc_csu_fini in place of _fini.
8730 * sysdeps/arm/elf/start.S: Likewise.
8731 * sysdeps/cris/elf/start.S: Likewise.
8732 * sysdeps/hppa/elf/start.S: Likewise.
8733 * sysdeps/i386/elf/start.S: Likewise.
8734 * sysdeps/ia64/elf/start.S: Likewise.
8735 * sysdeps/m68k/elf/start.S: Likewise.
8736 * sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
8737 * sysdeps/mips/elf/start.S: Likewise.
8738 * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
8739 * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
8740 * sysdeps/s390/s390-32/elf/start.S: Likewise.
8741 * sysdeps/s390/s390-64/elf/start.S: Likewise.
8742 * sysdeps/sh/elf/start.S: Likewise.
8743 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8744 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8745 * sysdeps/x86_64/elf/start.S: Likewise.
8747 * sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd
8748 struct containing function ptr and value, free it.
8749 (__aio_notify_only): Allocate that and copy values from SIGEV into it.
8750 It's not safe to let the new thread use the SIGEV pointer.
8752 2001-10-20 Paul Eggert <eggert@twinsun.com>
8754 * misc/error.c (strerror_r): Do not declare unless [!_LIBC].
8755 Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
8756 Use strerror_r that is only a macro, even if it is not a function.
8757 (strerror): Check for HAVE_DECL_STRERROR before declaring.
8758 (private_strerror): Use prototypes, not old-style function definition.
8759 (print_errno_message): New function.
8760 Support the POSIX 'int'-flavored strerror_r, as well as the traditional
8762 (error_tail, error, error_at_line): Use it.
8764 2002-12-07 Carlos O'Donell <carlos@baldric.uwo.ca>
8766 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.
8768 2002-12-08 Ulrich Drepper <drepper@redhat.com>
8770 * scripts/output-format.sed: Fix bug in one of the s expressions
8771 which used / for one too many things.
8773 * include/unistd.h: Declare __libc_close.
8775 2002-12-07 Ulrich Drepper <drepper@redhat.com>
8777 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
8779 2002-12-07 Roland McGrath <roland@redhat.com>
8781 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes
8782 from 2002-12-06, but remove unnecessary memset call without removing
8783 necessary copy of initialization image.
8785 * Makerules ($(common-objpfx)format.lds): New target.
8786 (common-generated): Add it.
8787 ($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
8788 * scripts/output-format.sed: New file.
8789 * Makefile (distribute): Add it.
8791 2002-12-07 Ulrich Drepper <drepper@redhat.com>
8793 * sysdeps/generic/libc-tls.c: Include <sys/param.h>.
8794 Reported by Art Haas <ahaas@airmail.net>.
8796 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>
8798 * sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec. Fix .recovery4.
8800 2002-12-07 Jakub Jelinek <jakub@redhat.com>
8802 * string/test-strncpy.c (do_random_tests): Improve test coverage.
8804 2002-12-06 Ulrich Drepper <drepper@redhat.com>
8806 * test-skeleton.c (timeout_handler): Allow expected signal to be
8809 * wctype/wcfuncs.c: Add libc_hidden_def for iswalnum.
8811 * sysdeps/posix/raise.c: Add libc_hidden_def for raise.
8813 2002-12-07 Jakub Jelinek <jakub@redhat.com>
8815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO]
8816 (SYSCALL_ERROR_HANDLER): Fix a pasto.
8817 Reported by Jeff Bailey <jbailey@nisa.net>.
8819 2002-12-06 Ulrich Drepper <drepper@redhat.com>
8821 * sysdeps/generic/libc-tls.c: Undo last patch.
8823 * include/wctype.h: Define iswalnum with libc_hidden_proto.
8825 * include/signal.h: Define raise with libc_hidden_proto.
8827 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and
8828 __execve instead of snprintf and execve.
8830 * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double
8833 2002-12-06 Jakub Jelinek <jakub@redhat.com>
8835 * posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.
8836 * posix/annexc.c (fmt, testfmt): Remove -D_LIBC.
8838 2002-12-06 Ulrich Drepper <drepper@redhat.com>
8840 * misc/syslog.c (log_cleanup): New function.
8841 (openlog): Use log_cleanup instead of __libc_mutex_unlock.
8842 (closelog): Likewise.
8844 * elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*.
8845 * elf/dl-iteratephdr.c: Likewise.
8846 * elf/dl-lookup.c: Likewise.
8847 * elf/dl-misc.c: Likewise.
8848 * elf/dl-open.c: Likewise.
8849 * elf/dl-support.c: Likewise.
8850 * elf/rtld.c: Likewise.
8851 * sysdeps/generic/ldsodefs.h: Likewise.
8852 * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros.
8853 * sysdeps/mach/bits/libc-lock.h: Likewise.
8854 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8856 2002-12-06 Roland McGrath <roland@redhat.com>
8858 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.
8860 * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]
8861 (malloc_starter, memalign_starter, free_starter): Don't define these.
8862 * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]:
8863 Don't declare them either.
8864 * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call
8865 __pthread_initialize, so no need to set hooks to *_starter.
8866 (ptmalloc_init_minimal): New function, broken out of ptmalloc_init.
8867 [_LIBC && SHARED && USE_TLS && !USE___THREAD]
8868 (__libc_malloc_pthread_startup): New function.
8869 * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.
8871 * malloc/hooks.c (memalign_starter): New function.
8872 * malloc/malloc.c: Declare it.
8873 * malloc/arena.c (save_memalign_hook): New variable.
8874 (ptmalloc_init): Set __memalign_hook to memalign_starter.
8876 * elf/dl-minimal.c (free): Clear the memory.
8877 (calloc): Just call malloc, knowing all memory it returns is cleared.
8879 * sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of
8880 malloc and memset; calloc can avoid the zeroing when redundant.
8881 (_dl_tls_setup): Likewise.
8882 * elf/dl-load.c (decompose_rpath): Likewise.
8883 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset
8884 call, since memory from sbrk at startup is already zero.
8886 * elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an
8887 error string for failure, null for success. Update callers.
8888 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise.
8889 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8891 2002-12-05 Jakub Jelinek <jakub@redhat.com>
8893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
8895 (readahead): Change args to i:iii.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
8897 Change args to i:iii.
8898 * sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
8901 2002-12-05 Roland McGrath <roland@redhat.com>
8903 * stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument,
8904 call all functions rather than none.
8905 Reported by Mark P. Mitchell <mark@codesourcery.com>.
8907 2002-12-04 Roland McGrath <roland@redhat.com>
8909 * locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie
8910 on _nl_current_LC_* variables.
8912 2002-12-05 Ulrich Drepper <drepper@redhat.com>
8914 * dirent/bug-readdir1.c (main): Don't call closedir, just close
8915 the file descriptor. This is testing what the bug report was about.
8917 2002-12-04 Ulrich Drepper <drepper@redhat.com>
8919 * po/be.po: New file.
8921 * argp/Makefile (tests): Add tst-argp1.
8923 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent):
8924 Change type of _attribute to void*.
8925 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8926 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
8927 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8931 2002-12-04 Roland McGrath <roland@redhat.com>
8933 * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
8934 members to the end, so a libpthread compiled with !USE_TLS will still
8935 find other members properly.
8937 * sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output
8938 operand for DEST memory. Fix dummy input operand to use SRC.
8939 Reported by Davin McCall <davmac@ozonline.com.au>.
8941 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB
8942 alignment when initializing the DTV entry.
8944 * elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment
8945 when TLS has not been set up, try to set it up if we can.
8946 * elf/tst-tls4.c: Revert last change.
8947 * elf/tst-tls5.c: Likewise.
8948 * elf/tst-tls6.c: Likewise.
8949 * elf/tst-tls7.c: Likewise.
8950 * elf/tst-tls8.c: Likewise.
8951 * elf/tst-tls9.c: Likewise.
8953 * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
8954 * sysdeps/generic/ldsodefs.h: Declare it.
8955 * elf/Versions (ld: GLIBC_PRIVATE): Add it.
8956 * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
8957 function, broken out of __libc_setup_tls.
8958 (init_static_tls): Likewise.
8959 (__libc_setup_tls): Call them.
8960 (_dl_tls_setup): New function, uses new subroutines.
8962 * elf/dl-close.c (free_slotinfo): Make argument pointer to pointer.
8963 Clear the pointer when returning true.
8964 (libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the
8965 first element of the slotinfo list too.
8967 * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if
8970 * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
8971 (_dl_determine_tlsoffset): Likewise.
8973 * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
8974 startup_error_tsd, made global.
8975 (dl_main): Update initialization.
8976 * elf/dl-tsd.c: Likewise.
8977 * sysdeps/generic/ldsodefs.h: Declare it.
8979 2002-12-03 Ulrich Drepper <drepper@redhat.com>
8981 * manual/texinfo.tex: Update from latest upstream version.
8983 2002-12-03 Roland McGrath <roland@redhat.com>
8985 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS
8986 area surplus in calculation for sbrk call.
8988 * iconvdata/cp1125.c: New file.
8989 * iconvdata/Makefile (distribute): Add it.
8990 (modules): Add CP1125.
8991 (gen-8bit-gap-modules): Add cp1125.
8992 * iconvdata/gconv-modules: Add CP1125, alias RUSCII.
8993 * iconvdata/tst-tables.sh: Add CP1125 to the list to test.
8995 2002-12-03 Andreas Jaeger <aj@suse.de>
8997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8999 2002-12-03 Ulrich Drepper <drepper@redhat.com>
9001 * sysdeps/posix/system.c (do_system): Make signal handler
9002 installation thread safe.
9004 2002-12-02 Roland McGrath <roland@redhat.com>
9006 * sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
9007 caller from EXTRA to -.
9008 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9009 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9010 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
9012 2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
9014 * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
9015 bits of RM are cleared.
9017 2002-12-02 Roland McGrath <roland@redhat.com>
9019 * elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy
9020 TLS setup is required.
9021 * elf/tst-tls5.c: Likewise.
9022 * elf/tst-tls6.c: Likewise.
9023 * elf/tst-tls7.c: Likewise.
9024 * elf/tst-tls8.c: Likewise.
9025 * elf/tst-tls9.c: Likewise.
9027 * elf/rtld.c (dl_main): Remove [! SHARED] conditional from
9028 `if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup.
9029 * elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list)
9030 for being null before calling free_slotinfo.
9031 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in
9032 dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero.
9034 2002-11-30 Bruno Haible <bruno@clisp.org>
9036 * iconv/gconv.h (__gconv_btowc_fct): New typedef.
9037 (struct __gconv_step): New field __btowc_fct.
9038 * wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible.
9039 * iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from
9041 (__gconv_btwoc_ascii): New declaration.
9042 * iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
9043 (__gconv_btwoc_ascii): New function.
9044 * iconv/gconv_builtin.h: Add BtowcFct argument to all
9045 BUILTIN_TRANSFORMATION invocations.
9046 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
9047 * iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise.
9048 * iconv/gconv_builtin.c (map): New field btowc_fct.
9049 (BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize
9051 (__gconv_get_builtin_trans): Initialize __btowc_fct field.
9052 * iconv/gconv_cache.c (find_module): Initialize __btowc_fct field.
9053 * iconv/gconv_db.c (gen_steps, increment_counter): Likewise.
9054 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise.
9055 * iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE.
9056 (gconv_init): Initialize __btowc_fct field.
9057 Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end.
9058 * iconv/loop.c: Document ONEBYTE_BODY.
9059 (gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined.
9060 Undefine ONEBYTE_BODY at the end.
9061 * iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro.
9062 * iconvdata/8bit-gap.c (NONNUL): New macro.
9063 (BODY for FROM_LOOP): Use it.
9064 (ONEBYTE_BODY): New macro.
9065 * iconvdata/isiri-3342.c (HAS_HOLES): Set to 1.
9066 (NONNUL): New macro.
9067 * iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro.
9068 * iconvdata/armscii-8.c (ONEBYTE_BODY): New macro.
9069 * iconvdata/cp1255.c (ONEBYTE_BODY): New macro.
9070 * iconvdata/cp1258.c (ONEBYTE_BODY): New macro.
9071 * iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro.
9072 * iconvdata/big5.c (ONEBYTE_BODY): New macro.
9073 * iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro.
9074 * iconvdata/euc-cn.c (ONEBYTE_BODY): New macro.
9075 * iconvdata/euc-jp.c (ONEBYTE_BODY): New macro.
9076 * iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro.
9077 * iconvdata/euc-kr.c (ONEBYTE_BODY): New macro.
9078 * iconvdata/euc-tw.c (ONEBYTE_BODY): New macro.
9079 * iconvdata/gbk.c (ONEBYTE_BODY): New macro.
9080 * iconvdata/gb18030.c (ONEBYTE_BODY): New macro.
9081 * iconvdata/ibm932.c: Include <stdbool.h>.
9082 (TRUE, FALSE): Remove macros.
9083 (BODY for FROM_LOOP): Remove unused variable rp1.
9084 (ONEBYTE_BODY): New macro.
9085 (BODY for TO_LOOP): Use bool.
9086 * iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array.
9087 * iconvdata/ibm943.c: Include <stdbool.h>.
9088 (TRUE, FALSE): Remove macros.
9089 (BODY for FROM_LOOP): Remove unused variable rp1.
9090 (ONEBYTE_BODY): New macro.
9091 (BODY for TO_LOOP): Use bool.
9092 * iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array.
9093 * iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro.
9094 * iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro.
9095 * iconvdata/iso_6937.c (ONEBYTE_BODY): New macro.
9096 * iconvdata/johab.c (ONEBYTE_BODY): New macro.
9097 * iconvdata/sjis.c (ONEBYTE_BODY): New macro.
9098 * iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro.
9099 * iconvdata/t.61.c (ONEBYTE_BODY): New macro.
9100 * iconvdata/uhc.c (ONEBYTE_BODY): New macro.
9101 * iconvdata/gbbig5.c: Tweak comment.
9103 2002-12-02 Ulrich Drepper <drepper@redhat.com>
9105 * po/fi.po: Update from translation team.
9107 2002-12-01 Roland McGrath <roland@redhat.com>
9109 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
9110 testing getdents64 return value.
9112 * scripts/versions.awk: Don't pass -n flag to sort command.
9114 * posix/bug-regex13.c: Include <string.h>.
9116 * sysdeps/generic/libc-start.c (__libc_start_main): Do
9117 DL_SYSDEP_OSCHECK here.
9118 * sysdeps/unix/sysv/linux/init-first.c (init): Not here.
9119 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.
9121 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
9122 argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.
9124 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
9125 instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.
9127 * include/link.h: Comment typo fix.
9129 2002-12-01 Roland McGrath <roland@frob.com>
9131 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
9132 (_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
9133 _POSIX_MEMORY_PROTECTION): Likewise.
9134 (_POSIX_POLL, _POSIX_SELECT): Removed.
9136 2002-11-28 Ulrich Drepper <drepper@redhat.com>
9138 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which
9139 require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT.
9141 2002-11-28 Jakub Jelinek <jakub@redhat.com>
9143 * sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to
9145 * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid
9148 2002-11-28 Ulrich Drepper <drepper@redhat.com>
9150 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's
9151 branch prediction buffers by using unpaired call/ret.
9153 2002-11-27 Ulrich Drepper <drepper@redhat.com>
9155 * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in
9156 first parameters constraint string.
9157 (ASMFMT_3): Likewise. Patch by stefan.lauterbach@mincom.de.
9159 2002-11-27 Isamu Hasegawa <isamu@yamato.ibm.com>
9161 * posix/regcomp.c (parse_expression): Set the bit since the back
9162 reference is used in the regular expression.
9163 * posix/regex_internal.c (re_node_set_init_1): Make it clean in case
9165 (re_node_set_init_copy): Likewise.
9166 * posix/regex_internal.h (state_array_t): New structure.
9167 (re_sub_match_last_t): Likewise.
9168 (re_sub_match_top_t): Likewise.
9169 (re_match_context_t): Add new members.
9170 (re_dfa_t): Likewise.
9171 * posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes
9172 to check the matching is really correct, and retry if failed.
9173 Move the routin pruning the impossible nodes from here, ...
9174 (prune_impossible_nodes): To this function.
9175 (check_matching): Invoke check_subexp_matching_top, and replace
9176 redundant checking with transit_state_bkref invocation.
9177 (proceed_next_node): Replace strncmp with memcmp. Reported by
9178 Paolo Bonzini <bonzini@gnu.org>.
9179 (update_cur_sifted_state): Remove search_subexp invocation.
9180 (search_subexp): Remove this function.
9181 (check_dst_limits_calc_pos): Use search_cur_bkref_entry for
9183 (sift_states_bkref): Use search_cur_bkref_entry for optimization.
9184 Remove unused invocation of match_ctx_add_entry.
9185 (transit_state): Invoke check_subexp_matching_top.
9186 (check_subexp_matching_top): New function.
9187 (transit_state_bkref): Remove unused array.
9188 Merge transit_state_bkref_loop.
9189 (transit_state_bkref_loop): Use get_subexp instead of
9190 sift_states_backward. Use search_cur_bkref_entry for optimization.
9191 Merge this function to transit_state_bkref.
9192 (get_subexp): New function.
9193 (get_subexp_sub): Likewise.
9194 (find_subexp_node): Likewise.
9195 (check_arrival): Likewise.
9196 (check_arrival_expand_ecl): Likewise.
9197 (check_arrival_expand_ecl_sub): Likewise.
9198 (expand_bkref_cache): Likewise.
9199 (match_ctx_init): Initialize new members.
9200 (match_ctx_clean): New function.
9201 (match_ctx_free): Release new members.
9202 (match_ctx_free_subtops): New function.
9203 (match_ctx_add_entry): Fix indent.
9204 (search_cur_bkref_entry): New function.
9205 (match_ctx_add_subtop): Likewise.
9206 (match_ctx_add_sublast): Likewise.
9208 2002-11-25 Ulrich Drepper <drepper@redhat.com>
9210 * iconv/Makefile (tests): Remove tst-iconv4.c
9211 * iconv/tst-iconv4.c: Moved to...
9212 * iconvdata/tst-iconv4.c: ...here. New file.
9213 * iconvdata/Makefile (tests): Add tst-iconv4. Add dependencies.
9215 2002-11-25 Roland McGrath <roland@redhat.com>
9217 * inet/test-ifaddrs.c (main: addr_string): Handle null SA.
9218 Grok AF_LINK if defined.
9219 From Momchil Velikov <velco@fadata.bg>.
9221 * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask,
9222 brdaddr, or dstaddr, just set those pointers to null and don't fail.
9223 Reported by Momchil Velikov <velco@fadata.bg>.
9225 * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len
9226 is > sizeof IFR->ifa_addr, advance past the whole longer length.
9227 (__ifreq): Count up NIFS that way too.
9228 Reported by Momchil Velikov <velco@fadata.bg>.
9230 * sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
9232 * sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h>
9233 and <fpu_control.h>.
9235 2002-11-24 Ulrich Drepper <drepper@redhat.com>
9237 * elf/elf.h (EM_ST19): Fix typo.
9239 2002-11-25 Jakub Jelinek <jakub@redhat.com>
9241 * include/errno.h (__set_errno): Define as errno = val
9244 2002-11-24 Roland McGrath <roland@redhat.com>
9246 * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
9247 * sysdeps/posix/writev.c: Likewise.
9248 From Momchil Velikov <velco@fadata.bg>.
9250 * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of
9251 calling *GL(dl_error_catch_tsd) for a thread-local location.
9252 * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT].
9253 (dl_main): Same for GL(dl_error_catch_tsd) initialization.
9254 * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT].
9256 * libio/iofflush.c: Add libc_hidden_def.
9257 * libio/iofwrite.c: Likewise.
9258 * sysdeps/generic/sigtimedwait.c: Likewise.
9259 * sysdeps/generic/sigwaitinfo.c: Likewise.
9260 * sysdeps/posix/sigwait.c: Likewise.
9261 Reported by Momchil Velikov <velco@fadata.bg>.
9263 * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t
9264 to match <arpa/inet.h> declaration.
9265 * inet/inet_netof.c (inet_netof): Likewise.
9266 * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types.
9267 Reported by Momchil Velikov <velco@fadata.bg>.
9269 * configure.in: Skip AUTOCONF check under --without-cvs.
9270 * configure: Regenerated.
9272 * posix/Makefile (headers): Add bits/pthreadtypes.h.
9273 * sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here.
9274 * sysdeps/unix/sysv/linux/Dist: Remove it from the list.
9276 2002-11-24 Andreas Schwab <schwab@suse.de>
9278 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall
9281 2002-11-19 Jim Meyering <jim@meyering.net>
9283 * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare
9285 * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'.
9287 2002-11-23 Roland McGrath <roland@redhat.com>
9289 * scripts/abilist.awk: Avoid strtonum function, not there in mawk.
9290 Just produce hex output for datum sizes.
9292 * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
9293 Reported by Luca Barbieri <ldb@ldb.ods.org>.
9295 2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
9297 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
9298 [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
9299 and __unused3 fields.
9300 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
9301 [__WORDSIZE == 32]: Only PPC32 requires __unused1
9302 and __unused2 fields.
9303 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
9304 [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
9305 __unused3, and __unused4 fields.
9307 * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
9308 obtain lowest address for profiling in __monstartup call.
9310 2002-11-21 Roland McGrath <roland@redhat.com>
9312 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
9313 $(calls) $(calls:=f) $(long-c-$(long-double-fcts)).
9315 * locale/localeinfo.h (struct locale_data): Revert last change.
9317 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
9318 From Ian Wienand <ianw@gelato.unsw.edu.au>.
9320 * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
9321 __NR_pread64 if not defined.
9322 (__NR_pwrite): Define to __NR_pwrite64 if not defined.
9323 From Ian Wienand <ianw@gelato.unsw.edu.au>.
9325 2002-11-21 Roland McGrath <roland@frob.com>
9327 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
9328 __libc_multiple_libcs here. Call __setfpucw.
9330 2002-11-21 Ulrich Drepper <drepper@redhat.com>
9332 * elf/Makefile (tests): Don't run test-arrayX tests for now.
9334 * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
9335 * sysdeps/unix/sysv/linux/i386/clone.S: Add support for
9336 CLONE_CHILD_*TID flags.
9338 2002-11-20 Andreas Jaeger <aj@suse.de>
9340 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
9341 We pass struct ucontext on x86-64.
9343 (GET_FRAME): Adjust.
9344 (GET_STACK): Adjust.
9346 2002-11-20 Roland McGrath <roland@redhat.com>
9348 * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
9349 conditionalize [! DO_VERSIONING] #error.
9351 * scripts/abilist.awk: Grok function descriptor symbols.
9353 * intl/tst-gettext.c (main): Check return values from setlocale.
9354 Add necessary unsetenv's to make LANG=existing-locale check work.
9356 * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally,
9357 so aborted prior runs don't confuse things.
9359 * locale/localeinfo.h (struct locale_data: union locale_data_value):
9360 Use uintptr_t instead of unsigned int for `word' member.
9361 (_NL_CURRENT_WORD): Cast to uint32_t.
9363 * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES
9366 2002-11-20 Ulrich Drepper <drepper@redhat.com>
9368 * elf/tls-macros.h: Add IA-64 definitions.
9369 Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
9371 * iconv/Makefile (tests): Add tst-iconv4.
9372 * iconv/tst-iconv4.c: New file.
9374 * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return
9375 __GCONV_EMPTY_INPUT only if input is really empty. Otherwise
9376 __GCONV_INCOMPLETE_INPUT.
9377 (ucs4le_internal_loop): Likewise.
9378 (ucs4le_internal_loop_unaligned): Likewise.
9379 * iconvdata/unicode.c (PREPARE_LOOP): Likewise.
9380 * iconvdata/utf-16.c (PREPARE_LOOP): Likewise.
9381 * iconvdata/utf-32.c (PREPARE_LOOP): Likewise.
9383 * iconv/loop.c (LOOPFCT): First test for empty input then for full
9386 * inet/getnameinfo.c: Use extend_alloca where appropriate.
9387 * sysdeps/posix/getaddrinfo.c: Likewise.
9389 * include/alloca.h (extend_alloca): New define. Based on stack
9390 direction it'll try to append to the previouls allocated buffer.
9392 2002-11-07 Thorsten Kukuk <kukuk@suse.de>
9394 * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set,
9395 use the same service for AF_INET and AF_INET6.
9397 2002-11-19 Ulrich Drepper <drepper@redhat.com>
9399 * intl/localealias.c (read_alias_file): Use only about 400 bytes
9400 of stack space instead of 16k.
9402 2002-11-18 Wolfram Gloger <wg@malloc.de>
9405 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
9406 nothing if not initialized. Bug report from Marcus Brinkmann
9407 <Marcus.Brinkmann@ruhr-uni-bochum.de>.
9409 2002-11-19 Roland McGrath <roland@redhat.com>
9411 * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
9414 * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
9415 `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
9416 test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
9417 * configure: Regenerated.
9419 2002-11-19 Ulrich Drepper <drepper@redhat.com>
9421 * include/dlfcn.h: __libc_dlopen is now a macro calling
9422 __libc_dlopen_mode with the extra parameter RTLD_LAZY.
9423 (__libc_dlopen_mode): New prototype.
9424 * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add
9425 new parameter. Store new parameter in mode field of structure passed
9427 (struct do_dlopen_args): Add new field mode.
9428 (do_dlopen): Pass mode from parameter structure to _dl_open.
9430 2002-11-11 Randolf Chung <tausq@debian.org>
9432 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
9433 (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
9434 * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
9436 * sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
9438 * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
9439 Set -mdisable-fpregs for this file.
9441 2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
9443 * sysdeps/unix/sysv/linux/configure.in:
9444 Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
9445 from gcc-3.0 era for backwards compatibility.
9446 * sysdeps/unix/sysv/linux/configure: Regenerate.
9448 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
9449 Define mcontext_t as a sigcontext.
9451 2002-11-18 Roland McGrath <roland@redhat.com>
9453 * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
9454 Free memory in `last_result' if it was used.
9456 * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
9457 all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
9458 Do the parsing inline instead of copying strings and calling
9459 inet_network, and properly skip all alias names not matching the form.
9461 * manual/pattern.texi (Variable Substitution): Fix # and ## examples.
9463 2002-11-17 Ulrich Drepper <drepper@redhat.com>
9465 * manual/pattern.texi (Wordexp Example): Fix sample code.
9467 * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the
9468 childs stack which will be loaded into the %esi register.
9470 2002-11-14 Paul Eggert <eggert@twinsun.com>
9472 * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
9473 overflow when skipping the question part and when unpacking aliases.
9475 2002-11-15 Roland McGrath <roland@redhat.com>
9477 * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
9478 s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
9479 Instead add $(calls:s_%=m_%) to get m_* versions of them all.
9481 2002-11-15 Jakub Jelinek <jakub@redhat.com>
9483 * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
9484 * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
9486 2002-11-15 Roland McGrath <roland@redhat.com>
9488 * math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
9489 * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
9490 from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
9491 (+make-include-of-dep): New canned sequence.
9493 * stdlib/canonicalize.c (__realpath): Check for malloc failure.
9494 From Dmitry V. Levin <ldv@altlinux.org>.
9496 2002-11-14 Roland McGrath <roland@redhat.com>
9498 * sysdeps/generic/errno.c (__libc_errno): Remove alias.
9499 * inet/herrno.c (__libc_h_errno): Likewise.
9500 * resolv/res_libc.c (__libc_res): Likewise.
9501 [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
9502 (__res_state) [! USE___THREAD]: Don't define as weak.
9503 * csu/Versions: Revert last change.
9504 * resolv/Versions: Revert last change.
9506 * Makerules ($(common-objpfx)%.make): New pattern rule.
9507 * tls.make.c: New file.
9508 * Makefile (distribute): Add it.
9510 * sysdeps/generic/errno.c [! USE___THREAD]
9511 [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
9512 with compat_symbol so they are not link-time visible.
9513 [! USE___THREAD] (__libc_errno): New alias for errno.
9514 * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
9515 Add __libc_errno here.
9516 * inet/herrno.c [USE___THREAD]: Use this conditional
9517 in place of [USE_TLS && HAVE___THREAD].
9518 [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
9519 (h_errno, _h_errno): Declare these with compat_symbol so they are not
9521 [! USE___THREAD] (__libc_h_errno): New alias for h_errno.
9522 * resolv/res_libc.c [! USE___THREAD]
9523 [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
9524 (_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
9525 (__libc_res): Define as alias for _res.
9526 * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
9527 Add __libc_h_errno and __libc_res here.
9529 2002-11-14 Jakub Jelinek <jakub@redhat.com>
9531 * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now.
9532 * resolv/Versions (h_errno, _res): Likewise.
9534 2002-11-14 Roland McGrath <roland@redhat.com>
9536 * Makerules (%.dynsym): Remove $(objpfx) from target and dep.
9537 (%.symlist): Likewise.
9539 2002-11-13 Roland McGrath <roland@redhat.com>
9541 * scripts/abilist.awk: New file.
9542 * Makefile (distribute): Add it.
9543 * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
9544 (tests): Depend on .symlist file for each $(install-lib.so-versioned).
9545 [$(subdir) = elf] (tests): Depend on libc.symlist.
9546 (generated, common-generated): Add those files.
9548 * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
9549 * configure: Regenerated.
9550 * config.make.in (OBJDUMP): New variable, substituted by configure.
9552 * malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
9553 (mallochook, reallochook): Set them up.
9554 (checkhdr): Check HDR->magic2 value.
9555 (freehook): Reset HDR->magic2.
9556 (memalignhook): New static function.
9557 (old_memalign_hook): New static variable.
9558 (mcheck, reallochook): Set __memalign_hook to memalignhook.
9560 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
9563 2002-11-13 Andreas Jaeger <aj@suse.de>
9565 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
9567 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9569 2002-11-11 Paul Eggert <eggert@twinsun.com>
9571 * manual/crypt.texi (Cryptographic Functions): Mention that
9572 the MD5 one-way algorithm is compatible with BSD's.
9574 2002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com>
9576 * posix/regex_internal.c (re_string_skip_chars): Also return the last
9578 (re_string_reconstruct): Calculate the context by itself when the
9579 offset points out of the valid range.
9580 (re_string_context_at): Use wide character when MB_CUR_MAX > 1.
9581 * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
9582 (IS_WIDE_WORD_CHAR): New macro.
9583 (IS_WIDE_NEWLINE): New macro.
9585 2002-11-12 Andreas Jaeger <aj@suse.de>
9587 * sysdeps/x86_64/strchr.S: Don't use one register for two
9588 purposes, this fixes a bug noticed by test-strchr.c.
9590 * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer
9593 2002-11-12 Roland McGrath <roland@redhat.com>
9595 * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]
9596 (_G_IO_NO_BACKWARD_COMPAT): Define it.
9598 * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>
9599 instead of <pt-machine.h>.
9600 [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of
9602 From Ian Wienand <ianw@gelato.unsw.edu.au>.
9604 2002-11-10 Roland McGrath <roland@redhat.com>
9606 * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.
9607 Call fputs instead of fwprintf (simpler to follow in debugger).
9609 * crypt/md5-crypt.c: Doc fix.
9611 * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
9612 the beginning of generated target commands.
9614 * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
9615 dependencies for these in case implicit rule search skipped the
9616 nonexistent source directory.
9617 * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
9618 files with $(object-suffixes) as targets too.
9619 * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
9620 and a target for it using $(make-target-directory).
9622 * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.
9624 2002-11-10 Roland McGrath <roland@frob.com>
9626 * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
9627 * sysdeps/generic/bits/pthreadtypes.h: ... here.
9629 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with
9630 l_start == 0 and l_len == 1 as we do l_len == 0.
9632 2002-11-10 Ulrich Drepper <drepper@redhat.com>
9634 * po/da.po: Update from translation team.
9636 2002-11-10 Roland McGrath <roland@redhat.com>
9638 * config.make.in (includedir): New variable, substituted by configure.
9639 Reported missing by Jocelyn Fournier <joc@presence-pc.com>.
9640 * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
9642 2002-11-10 Andreas Jaeger <aj@suse.de>
9644 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
9645 REG_OLDMASK and REG_CR2 to synch with kernel header.
9648 * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
9650 * nss/getXXbyYY_r.c (INTERNAL): Likewise.
9651 * nss/getnssent_r.c (__nss_getent_r): Likewise.
9652 (__nss_setent): Likewise.
9653 (__nss_getent_r): Likewise.
9654 * inet/getnetgrent_r.c (innetgr): Likewise.
9655 (__internal_setnetgrent_reuse): Likewise.
9656 (internal_getnetgrent_r): Likewise.
9657 * inet/ether_hton.c (ether_hostton): Likewise.
9658 * inet/ether_ntoh.c (ether_ntohost): Likewise.
9659 * sunrpc/netname.c (netname2user): Likewise.
9660 * sunrpc/publickey.c (getpublickey): Likewise.
9661 (getsecretkey): Likewise.
9663 2002-11-09 Marcus Brinkmann <marcus@gnu.org>
9665 * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
9666 error in range calculation.
9668 2002-10-09 Jakub Jelinek <jakub@redhat.com>
9670 * string/test-strspn.c (do_test): Ensure zero termination.
9671 * string/test-strpbrk.c (do_test): Likewise.
9672 * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
9673 * string/test-strncpy.c (stupid_strncpy): Likewise.
9674 * string/test-stpncpy.c (stupid_stpncpy): Likewise.
9676 2002-10-08 Roland McGrath <roland@redhat.com>
9678 * string/test-string.h (test_init): Fill BUF1 and BUF2 with
9681 2002-09-22 H.J. Lu <hjl@gnu.org>
9683 * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
9684 from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT
9685 only if __NR_mmap2 is defined.
9687 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
9688 * sysdeps/unix/sysv/linux/mmap64.c: ... here.
9689 * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
9690 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
9692 2002-11-08 Jakub Jelinek <jakub@redhat.com>
9694 * posix/bug-regex13.c (tests): Add new test.
9696 * string/test-strchr.c (stupid_strchr): New function.
9697 (do_random_tests): Make sure the string is zero terminated.
9698 * string/test-strpbrk.c (stupid_strpbrk): New function.
9699 (do_random_tests): Make sure the string is zero terminated.
9700 * string/test-strcmp.c (stupid_strcmp): New function.
9701 (do_random_tests): Make sure the strings are zero terminated.
9702 * string/test-strspn.c (stupid_strspn): New function.
9703 (simple_strspn): Rename rej argument to acc.
9704 (do_random_tests): Make sure the string is zero terminated.
9705 * string/test-strcspn.c (stupid_strcspn): New function.
9706 * string/test-strncpy.c (stupid_strncpy): New function.
9707 * string/test-stpncpy.c (stupid_stpncpy): New function.
9708 * string/test-strncmp.c (stupid_strncmp): New function.
9709 (do_random_tests): Make sure the strings are zero terminated.
9710 * string/test-string.h (impl_t): Change test into long.
9711 (IMPL): Add __attribute__((aligned (sizeof (void *)))).
9713 2002-11-08 Roland McGrath <roland@redhat.com>
9715 * sysdeps/ia64/elf/configure.in: Add TLS check.
9716 From Ian Wienand <ianw@cse.unsw.edu.au>.
9717 * sysdeps/ia64/elf/configure: Regenerated.
9719 2002-11-07 Roland McGrath <roland@redhat.com>
9721 * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in
9722 place of _IO_new_do_write.
9723 [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and
9724 #undef before versioned_symbol use.
9726 2002-11-07 Richard Henderson <rth@redhat.com>
9728 * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
9729 * configure: Regenerated.
9730 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
9731 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
9732 (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
9733 _dl_fini via gp-relative relocations.
9734 * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
9736 * elf/tls-macros.h: Add alpha versions.
9737 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
9738 * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
9739 * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
9740 * sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
9741 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9742 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
9743 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9744 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9745 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
9746 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
9747 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
9748 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9749 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9750 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9751 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
9752 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
9753 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9754 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9756 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
9757 Kill argument registers across the inline syscall.
9759 * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
9761 * linuxthreads/sysdeps/alpha/tls.h: New file.
9762 * sysdeps/alpha/dl-tls.h: New file.
9764 2002-10-29 David Mosberger <davidm@hpl.hp.com>
9766 * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY]
9767 (gmon_initializer): New function.
9768 (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call
9769 __gmon_start__ here. Call it from gmon_initializer() instead.
9771 2002-03-12 H.J. Lu <hjl@gnu.org>
9773 * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1,
9774 tst-array2, and tst-array3.
9775 [$(have-initfini-array) = yes] (tests-static): Add tst-array3.
9776 [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep.
9777 ($(objpfx)tst-array1.out): New target.
9778 ($(objpfx)tst-array2): Likewise.
9779 ($(objpfx)tst-array2.out): Likewise.
9780 ($(objpfx)tst-array3.out): Likewise.
9781 * elf/tst-array1.c: New file.
9782 * elf/tst-array1.exp: Likewise.
9783 * elf/tst-array2.c: Likewise.
9784 * elf/tst-array2dep.c: Likewise.
9785 * elf/tst-array2.exp: Likewise.
9786 * elf/tst-array3.c: Likewise.
9788 2002-10-28 David Mosberger <davidm@hpl.hp.com>
9790 * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order.
9791 Don't add L->l_addr to array entry values.
9793 2002-11-07 Jakub Jelinek <jakub@redhat.com>
9795 * string/test-string.h: New file.
9796 * string/test-strlen.c: New file.
9797 * string/test-string.h: New file.
9798 * string/test-strcmp.c: New file.
9799 * string/test-strchr.c: New file.
9800 * string/test-strrchr.c: New file.
9801 * string/test-strcpy.c: New file.
9802 * string/test-stpcpy.c: New file.
9803 * string/test-strncpy.c: New file.
9804 * string/test-stpncpy.c: New file.
9805 * string/test-strpbrk.c: New file.
9806 * string/test-strcspn.c: New file.
9807 * string/test-strspn.c: New file.
9808 * string/test-strcat.c: New file.
9809 * string/test-strncmp.c: New file.
9810 * string/test-memchr.c: New file.
9811 * string/test-memcmp.c: New file.
9812 * string/test-memset.c: New file.
9813 * string/test-memcpy.c: New file.
9814 * string/test-mempcpy.c: New file.
9815 * string/test-memmove.c: New file.
9816 * string/Makefile (strop-tests): New variable.
9817 (tests): Add strop-tests.
9818 (distribute): Add test-string.h.
9820 2002-11-06 Ulrich Drepper <drepper@redhat.com>
9822 * posix/regcomp.c: Use tabs instead of spaces.
9823 * posix/regexec.c: Likewise.
9824 * posix/regex_internal.h: Likewise.
9826 * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
9828 2002-11-06 Jakub Jelinek <jakub@redhat.com>
9830 * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
9832 (regcomp): Don't set can_be_null here.
9833 (re_comp): Clear whole re_comp_buf with the exception of fastmap.
9834 (re_compile_internal): Clear can_be_null, set regs_allocated.
9836 * posix/regcomp.c (re_set_fastmap): New function.
9837 (re_compile_fastmap_iter): Use it. Remove redundant type ==
9838 COMPLEX_BRACKET check.
9839 * posix/regexec.c (re_search_internal): Optimize searching with
9840 fastmap. Call re_string_reconstruct even if match_first is
9841 smaller than raw_mbs_idx.
9843 2002-11-06 Isamu Hasegawa <isamu@yamato.ibm.com>
9845 * posix/regcomp (free_dfa_content): Use free_state.
9846 * posix/regex_internal.c (re_string_realloc_buffers): Don't edit
9847 pointers in case that realloc failed.
9848 (re_node_set_merge): Likewise.
9849 (register_state): Likewise.
9850 (create_newstate_common): Invoke memory release functions in case of
9852 (create_ci_newstate): Likewise.
9853 (create_cd_newstate): Likewise.
9854 (free_state): New function.
9855 * posix/regexec.c (re_search_internal): Invoke memory release
9856 functions in case of error conditions.
9857 (sift_states_backward): Likewise.
9858 (merge_state_array): Likewise.
9859 (add_epsilon_src_nodes): Likewise.
9860 (sub_epsilon_src_nodes): Likewise.
9861 (search_subexp): Likewise.
9862 (sift_states_bkref): Likewise.
9863 (transit_state_sb): Likewise.
9864 (transit_state_mb): Likewise.
9865 (transit_state_bkref_loop): Likewise.
9866 (group_nodes_into_DFAstates): Likewise.
9867 (push_fail_stack): Don't edit pointers in case that realloc failed.
9868 (extend_buffers): Likewise.
9869 (match_ctx_add_entry): Likewise.
9871 2002-11-06 Roland McGrath <roland@redhat.com>
9873 * sysdeps/unix/sysv/linux/mips/configure.in: File removed.
9874 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9876 * configure.in: Add checks on as and ld for binutils 2.13 or later.
9877 * configure: Regenerated.
9879 2002-11-06 Ulrich Drepper <drepper@redhat.com>
9881 * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail.
9882 If re_compile_internal failed free fastmap buffer.
9883 (free_dfa_content): Broken out of regfree function. Frees all dfa
9885 (regfree): Add free_dfa_content.
9886 (re_compile_internal): If any of the called functions fails free
9887 all dfa related memory.
9889 2002-11-05 Ulrich Drepper <drepper@redhat.com>
9891 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
9892 warnings from the kernel headers.
9894 2002-11-05 Roland McGrath <roland@redhat.com>
9896 * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
9897 From Johannes Stezenbach <js@convergence.de>.
9899 * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
9900 #errlist-compat magic comment to give 123 as size.
9901 (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
9902 (libc: GLIBC_2.2): ... here.
9903 (libc: GLIBC_2.3): Likewise.
9905 2002-11-05 Ulrich Drepper <drepper@redhat.com>
9907 * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount
9908 which happens at the beginning so that we can unload modules in
9911 2002-11-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9913 * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
9914 under [__USE_MISC || _ASM].
9916 * elf/elf.h: Remove the obsolete SH TLS relocations.
9918 2002-11-05 Ulrich Drepper <drepper@redhat.com>
9920 * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
9922 2002-11-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
9925 __NR_pread64 and __NR_pwrite64.
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9927 * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
9929 Revert change to use INLINE_SYSCALL.
9930 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9931 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
9932 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
9935 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
9938 Update clobber list and add a comment about the syscall ABI.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
9941 s_pwrite64, s_ftruncate, s_truncate): Re-add.
9943 2002-11-05 Jakub Jelinek <jakub@redhat.com>
9945 * iconv/gconv_dl.c (free_mem): Clear loaded.
9946 * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's
9949 2002-11-05 Ulrich Drepper <drepper@redhat.com>
9951 * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>.
9953 * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same
9954 as old code without locking. _IO_seekoff calls this function after
9956 * libio/ioseekpos.c: Likewise for _IO_seekpos.
9957 * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal
9958 prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked
9960 * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead
9961 of _IO_seekoff_internal.
9962 (_IO_rewind): Likewise.
9963 * libio/ioftell.c: Likewise.
9964 * libio/ftello.c: Likewise.
9965 * libio/ftello64.c: Likewise.
9966 * libio/iofgetpos.c: Likewise.
9967 * libio/iofgetpos64.c: Likewise.
9968 * libio/oldiofgetpos.c: Likewise.
9969 * libio/oldiofgetpos64.c: Likewise.
9970 * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of
9971 _IO_seekpos_internal.
9972 * libio/iofsetpos64.c: Likewise.
9973 * libio/oldiofsetpos.c: Likewise.
9974 * libio/oldiofsetpos64.c: Likewise.
9976 2002-11-04 Roland McGrath <roland@redhat.com>
9978 * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro.
9979 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
9980 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
9981 * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise.
9982 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9983 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
9984 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9985 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise.
9986 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
9987 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
9988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl,
9989 s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64,
9990 sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev):
9991 Remove these, no longer used.
9993 2002-11-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
9996 s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
9997 s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
9998 s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
9999 s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
10000 s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
10003 * sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
10004 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10005 * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
10007 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
10010 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10012 2002-11-03 Roland McGrath <roland@redhat.com>
10014 * sysdeps/generic/ldsodefs.h (struct rtld_global): New member
10015 `_dl_tls_static_used'.
10016 * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
10017 (__libc_setup_tls): Initialize it. Let the initial value of
10018 _dl_tls_static_size indicate some surplus space in the computed value.
10019 * elf/dl-open.c (_dl_tls_static_size): New variable.
10020 * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize
10021 _dl_tls_static_used. Add some surplus space into _dl_tls_static_size.
10022 * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
10023 (CHECK_STATIC_TLS): Use it.
10024 * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the
10025 closed objects occupied a trailing contiguous chunk of static TLS area.
10027 2002-10-18 Bruno Haible <bruno@clisp.org>
10029 * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0.
10031 2002-11-04 Ulrich Drepper <drepper@redhat.com>
10033 * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and
10034 _wide_data->_IO_read_end if adjustment can be made in the current
10037 * sysdeps/unix/sysv/linux/fexecve.c: New file.
10039 * libio/bug-wfflush.c (do_test): Using fseek is not allowed when
10040 wide oriented streams are used.
10042 * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the
10043 service hasn't been used [PR libc/4744].
10045 * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
10046 Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766].
10048 * manual/examples/dir.c: Don't include <stddef.h>.
10049 * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
10050 Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.
10052 2002-11-02 H.J. Lu <hjl@gnu.org>
10054 * stdio-common/reg-printf.c: Include <stddef.h>.
10056 2002-11-03 Ulrich Drepper <drepper@redhat.com>
10058 * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used.
10060 * po/ca.po: Update from translation team.
10061 * po/es.po: Likewise.
10063 * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF
10064 is defined write out memory map.
10065 * sysdeps/unix/sysv/linux/segfault.c: New file.
10067 2002-11-02 Roland McGrath <roland@redhat.com>
10069 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for
10070 pointers that can alias.
10071 Reported by Daniel Jacobowitz <drow@mvista.com>.
10073 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.
10075 2002-11-02 Roland McGrath <roland@redhat.com>
10077 * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
10078 description to be clearer and to say that *RESULT is set to ENTRY.
10080 2002-10-30 Jakub Jelinek <jakub@redhat.com>
10082 * posix/regexec.c (build_trtable): Alloca or malloc dests_node and
10083 dests_ch arrays together. Alloca or malloc dest_states,
10084 dest_states_word and dest_states_nl arrays together. Free memory on
10087 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
10089 * crypt/crypt_util.c (__init_des_r): Initialize current_salt
10090 and current_saltbits.
10092 2002-11-02 Roland McGrath <roland@redhat.com>
10094 * stdio-common/reg-printf.c: Include <stdlib.h>.
10096 2002-11-02 H.J. Lu <hjl@gnu.org>
10098 * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
10099 caller to EXTRA instead of execve.
10101 2002-11-01 Roland McGrath <roland@redhat.com>
10103 * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
10104 in place of [!(USE_TLS && HAVE___THREAD)].
10105 (__errno_location) [! USE___THREAD]: Define as strong, not weak.
10107 2002-10-31 Roger Sayle <roger@eyesopen.com>
10109 * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
10111 * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
10113 * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
10114 without defining FP_ROUNDMODE.
10116 2002-10-29 Jakub Jelinek <jakub@redhat.com>
10118 * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
10119 (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
10121 * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
10122 (OLD_SIGLIST_SIZE): Define.
10123 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
10124 (OLD_SIGLIST_SIZE): Define.
10125 * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
10127 2002-11-01 Jakub Jelinek <jakub@redhat.com>
10129 * sysdeps/ia64/strncpy.S: Fix recovery code.
10131 2002-10-30 Jakub Jelinek <jakub@redhat.com>
10133 * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
10135 * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
10137 * elf/dl-libc.c (free_mem): Likewise.
10138 * iconv/gconv_conf.c (free_mem): Likewise.
10139 * iconv/gconv_db.c (free_mem): Likewise.
10140 * iconv/gconv_dl.c (free_mem): Likewise.
10141 * iconv/gconv_cache.c (free_mem): Likewise.
10142 * intl/finddomain.c (free_mem): Likewise.
10143 * intl/dcigettext.c (free_mem): Likewise.
10144 * locale/setlocale.c (free_mem): Likewise.
10145 * misc/fstab.c (fstab_free): Likewise.
10146 * nss/nsswitch.c (free_mem): Likewise.
10147 * posix/regcomp.c (free_mem): Likewise.
10148 * resolv/gai_misc.c (free_res): Likewise.
10149 * stdlib/fmtmsg.c (free_mem): Likewise.
10150 * sunrpc/clnt_perr.c (free_mem): Likewise.
10151 * sysdeps/generic/setenv.c (free_mem): Likewise.
10152 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
10153 * sysdeps/pthread/aio_misc.c (free_res): Likewise.
10154 * time/tzset.c (free_mem): Likewise.
10155 * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
10156 * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
10157 * malloc/set-freeres.c (__libc_freeres): Likewise.
10159 * login/getutent.c: Include stdlib.h instead of stddef.h.
10160 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
10161 (__getutent): Allocate buffer the first time it is run.
10162 * login/getutid.c: Include stdlib.h instead of stddef.h.
10163 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
10164 (__getutid): Allocate buffer the first time it is run.
10165 * login/getutline.c: Include stdlib.h instead of stddef.h.
10166 (buffer): Change into pointer to utmp, add libc_freeres_ptr.
10167 (__getutline): Allocate buffer the first time it is run.
10168 * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
10169 (mtrace): Allocate malloc_trace_buffer.
10170 * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
10171 * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
10172 * string/strerror.c: Include libintl.h and errno.h.
10173 (buf): New variable.
10174 (strerror): Only allocate buffer if actually needed (unknown error).
10175 * time/tzfile.c (transitions): Add libc_freeres_ptr.
10178 2002-10-25 Jakub Jelinek <jakub@redhat.com>
10180 * include/libc-symbols.h (libc_freeres_ptr): New macro.
10181 * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
10183 (__libc_freeres): Free all pointers in that section.
10184 * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
10185 commands when creating .lds script.
10186 (LDSEDCMD-c.so): New variable.
10187 * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
10188 (rcmd_af): Use strdup to allocate ahostbuf.
10189 * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
10190 (rexec_af): Use strdup to allocate ahostbuf.
10191 * stdio-common/reg-printf.c (printf_funcs): Remove.
10192 (__printf_arginfo_table): Change into printf_arginfo_function **.
10193 Add libc_freeres_ptr.
10194 (__register_printf_function): Allocate __printf_arginfo_table
10195 and __printf_function_table the first time it is called.
10196 * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
10197 printf_arginfo_function **.
10198 (parse_one_spec): Add __builtin_expect.
10199 * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
10200 (free_mem): Remove.
10201 * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
10202 (free_mem): Remove.
10203 * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
10204 (string_space, map): Add libc_freeres_ptr.
10205 (free_mem): Remove.
10206 * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
10207 (free_mem): Remove.
10208 * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
10209 (free_mem): Remove.
10210 * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
10211 (buffer): Add libc_freeres_ptr.
10212 (free_mem): Remove for _LIBC.
10213 * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
10214 (free_mem): Remove.
10215 * nss/getXXent.c (buffer): Add libc_freeres_ptr.
10216 (free_mem): Remove.
10217 * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
10218 (free_mem): Remove.
10219 * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
10220 (free_mem): Remove.
10221 * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
10222 (free_mem): Remove.
10223 * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
10224 (free_mem): Remove.
10225 * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
10227 (free_mem): Remove.
10228 * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
10230 (free_mem): Remove.
10232 2002-10-30 Jakub Jelinek <jakub@redhat.com>
10234 * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
10235 instead of duplicating the whole function in libc.
10237 2002-10-31 Roland McGrath <roland@redhat.com>
10239 * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
10240 Renamed from __bswap_16 (typo fix). Reported by <dens@stl.sarov.ru>.
10242 2002-10-30 Jakub Jelinek <jakub@redhat.com>
10244 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
10245 32bit-predefine when creating .new32 list and -U for each
10246 32bit-predefine when creating .new64 list.
10247 * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
10249 2002-10-29 Andreas Schwab <schwab@suse.de>
10251 * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
10252 "testrtsig.h". Reported by Daniel Jacobowitz <dan@debian.org>.
10254 2002-10-25 Roland McGrath <roland@redhat.com>
10256 * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
10257 * sysdeps/unix/sysv/linux/configure: Regenerated.
10259 * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
10260 _dl_starting_up decl.
10262 2002-10-20 H.J. Lu <hjl@gnu.org>
10264 * sysdeps/unix/sysv/linux/configure.in: Don't check
10265 /lib/modules/`uname -r`/build/include for kernel headers if
10267 * sysdeps/unix/sysv/linux/configure: Regenerated.
10269 2002-10-25 Roland McGrath <roland@redhat.com>
10271 * math/math.h (M_LOG2El): Correct the value.
10272 From Stephen L Moshier <steve@moshier.net>.
10274 * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
10275 conditional from __libc_multiple_libcs access. Remove kludge for weak
10276 symbol access with old compilers we no longer support.
10277 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
10278 * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
10280 2002-10-25 Roland McGrath <roland@redhat.com>
10282 * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
10283 implement SV_RESETHAND by translating it to SA_RESETHAND.
10285 2002-10-23 Alexandre Oliva <aoliva@redhat.com>
10287 * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
10288 type on ELF64 platforms.
10290 2002-10-24 Ulrich Drepper <drepper@redhat.com>
10292 * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
10294 * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
10296 2002-10-24 Jakub Jelinek <jakub@redhat.com>
10298 * elf/dl-misc.c: Include <sysdep.h>.
10299 (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
10301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
10302 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
10303 (INLINE_SYSCALL): Use that.
10304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
10305 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
10306 (INLINE_SYSCALL): Use that.
10307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
10308 INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
10309 (INLINE_SYSCALL): Use that.
10310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
10312 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
10313 (__INTERNAL_SYSCALL_STRING): Define.
10314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10316 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
10317 (__INTERNAL_SYSCALL_STRING): Define.
10318 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
10319 __SYSCALL_STRING to inline_syscall*.
10320 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
10322 (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
10323 inline_syscall4, inline_syscall5, inline_syscall6): Add string
10326 2002-10-24 Roland McGrath <roland@redhat.com>
10328 * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
10329 * sysdeps/unix/sysv/linux/init-first.c: Not here.
10330 * sysdeps/powerpc/elf/libc-start.c: Or here.
10331 * sysdeps/unix/sysv/aix/libc-start.c: Or here.
10332 * sysdeps/unix/sysv/aix/start-libc.c: Or here.
10333 * sysdeps/unix/sysv/aix/init-first.c: Or here.
10334 * sysdeps/generic/libc-start.c: Or here.
10335 * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
10336 access with [! SHARED].
10337 * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
10339 * libio/bug-wfflush.c: New file.
10340 * libio/Makefile (tests): Add bug-wfflush.
10342 2002-10-23 Roland McGrath <roland@redhat.com>
10344 * stdio-common/tst-fphex.c: New file.
10345 * stdio-common/Makefile (tests): Add tst-fphex.
10346 * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
10347 of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad
10348 chars always before the value digits.
10349 Reported by James Antill <james.antill@redhat.com>.
10351 2002-10-24 Jakub Jelinek <jakub@redhat.com>
10353 * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
10354 (free_mem): New function.
10355 * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem
10356 if not cross compiling.
10357 (generated): Add bug-regex14-mem and bug-regex14.mtrace.
10358 (bug-regex14-ENV): Set.
10359 (bug-regex14-mem): New target.
10360 * posix/bug-regex14.c: New file.
10362 2002-10-23 Roland McGrath <roland@redhat.com>
10364 * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
10365 target, so we don't touch it when the link fails.
10367 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
10368 Check for the result overflowing off_t and fail with EOVERFLOW.
10369 * libio/ioftell.c (_IO_ftell): Likewise.
10370 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10372 * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
10373 use a temporary timeval on the stack for gettimeofday and copy it.
10374 * login/logout.c (logout): Likewise.
10375 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
10377 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
10378 Use __SWORD_TYPE instead of int for member types.
10379 (struct statfs64): Likewise.
10380 * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
10381 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
10382 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
10383 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
10384 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
10386 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
10387 * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
10388 (ST_NODIRATIME): Restore fixed value of 2048.
10389 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
10390 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
10392 Rearranged <bits/types.h> definitions to reduce duplication.
10393 * sysdeps/generic/bits/types.h: Rewritten, using macros from
10394 <bits/wordsize.h> and new header <bits/typesizes.h>.
10395 * posix/Makefile (headers): Add bits/typesizes.h here.
10396 * sysdeps/generic/bits/typesizes.h: New file.
10397 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
10398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
10399 * sysdeps/mach/hurd/bits/typesizes.h: New file.
10400 * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
10401 * sysdeps/unix/sysv/linux/bits/types.h: File removed.
10402 * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
10403 * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
10404 * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
10405 * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
10406 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
10407 * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
10408 <bits/pthreadtypes.h> here, not in <bits/types.h>.
10409 * signal/signal.h: Likewise.
10411 * streams/stropts.h: Include <bits/xtitypes.h>.
10412 * streams/Makefile (headers): Add bits/xtitypes.h here.
10413 * sysdeps/generic/bits/xtitypes.h: New file.
10414 * sysdeps/s390/bits/xtitypes.h: New file.
10415 * sysdeps/ia64/bits/xtitypes.h: New file.
10416 * sysdeps/x86_64/bits/xtitypes.h: New file.
10418 * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
10419 * sysdeps/generic/bits/ipctypes.h: New file.
10420 * sysdeps/mips/bits/ipctypes.h: New file.
10421 * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
10422 * sysdeps/gnu/bits/msq.h: Likewise.
10423 * sysvipc/sys/ipc.h: Likewise.
10425 2002-10-22 Ulrich Drepper <drepper@redhat.com>
10427 * elf/dl-load.c (struct filebuf): For buf element to have the
10428 alignment of ElfXX_Ehdr since this is what will be stored in it.
10430 2002-10-22 Jakub Jelinek <jakub@redhat.com>
10432 * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
10433 into pointer to locrec_offset.
10434 (add_locale_to_archive): Adjust callers. Free normalized_name right
10435 before returning, not immediately after add_locale, pass it to
10436 add_alias if not NULL instead of name. Rename second normalized_name
10437 occurence to nnormalized_codeset_name.
10439 * locale/programs/locarchive.c (enlarge_archive): Make sure
10440 string_size is always a multiple of 4.
10441 Reported by Andreas Schwab <schwab@suse.de>.
10443 2002-10-21 Andreas Schwab <schwab@suse.de>
10445 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
10446 caller to EXTRA instead of execve, since the latter has a
10447 higher-priority implementation in linuxthreads.
10449 2002-10-21 Roland McGrath <roland@redhat.com>
10451 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
10452 slotinfo list's len member to the proper size, not just 1.
10453 Initialize static_map.l_tls_initimage.
10455 * elf/dl-open.c (dl_open_worker): Fix loop searching for
10456 dtv_slotinfo_list element containing new modules' l_tls_modid.
10458 * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
10459 * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
10460 * elf/Makefile (tests): Add tst-tls9.
10461 (tests-static): Add tst-tls9-static.
10462 (tst-tls9-static-ENV): New variable.
10463 ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
10465 * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
10466 modids used by partially loaded modules being closed can't be known.
10468 2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com>
10470 * posix/Makefile: Add a test case for the bug reported by Aharon
10471 Robbins <arnold@skeeve.com>.
10472 * posix/bug-regex13.c: New file.
10473 * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
10475 2002-10-21 Ulrich Drepper <drepper@redhat.com>
10477 * csu/gmon-start.c: Pretty printing.
10479 2002-10-19 Art Haas <ahaas@neosoft.com>
10481 * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
10482 add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
10483 add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
10484 * configure: Regenerated.
10486 2002-10-19 Roland McGrath <roland@redhat.com>
10488 * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
10489 and then set $subdirs directly, because the new Autoconf breaks
10490 compatibility in every way imaginable and insists on whining
10491 about usage that worked since the dawn of time.
10492 * configure: Regenerated.
10494 * configure: Regenerated (using Autoconf 2.54).
10495 * sysdeps/alpha/elf/configure: Likewise.
10496 * sysdeps/generic/configure: Likewise.
10497 * sysdeps/i386/elf/configure: Likewise.
10498 * sysdeps/ia64/elf/configure: Likewise.
10499 * sysdeps/mach/hurd/configure: Likewise.
10500 * sysdeps/mach/configure: Likewise.
10501 * sysdeps/unix/configure: Likewise.
10502 * sysdeps/unix/common/configure: Likewise.
10503 * sysdeps/unix/sysv/aix/configure: Likewise.
10504 * sysdeps/unix/sysv/linux/configure: Likewise.
10505 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10506 * sysdeps/x86_64/elf/configure: Likewise.
10508 * config.make.in: Nix completely-soft nonsense.
10509 * configure.in: Likewise. Under --without-fp, use nofpu subdirectory
10510 of machine directories instead of fpu subdirectory.
10511 * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
10512 * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
10513 * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
10514 * sysdeps/powerpc/nofpu/sim-full.c: ... here.
10515 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
10516 * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
10517 * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
10518 * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
10519 * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
10520 * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
10521 * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
10522 * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
10523 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
10524 * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
10525 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
10526 * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
10527 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
10528 * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
10529 * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
10530 * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
10531 * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
10532 * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
10533 * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
10534 * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
10535 * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
10536 * sysdeps/powerpc/nofpu/fegetround.c: ... here.
10537 * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
10538 * sysdeps/powerpc/nofpu/fesetround.c: ... here.
10539 * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
10540 * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
10541 * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
10542 * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
10543 * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
10544 * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
10545 * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
10546 * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
10547 * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
10548 * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
10549 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
10550 * sysdeps/powerpc/nofpu/Versions: ... here, new file.
10552 2002-10-19 Bruno Haible <bruno@clisp.org>
10554 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
10556 2002-10-18 Roland McGrath <roland@redhat.com>
10558 * io/Makefile (routines): Add lchmod.
10559 * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
10560 * sysdeps/generic/lchmod.c: New file.
10561 * sysdeps/mach/hurd/lchmod.c: New file.
10562 * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
10564 2002-10-18 Art Haas <ahaas@neosoft.com>
10566 * configure.in: Remove remaining AC_FD_CC macros, and replace
10567 AC_FD_MSG with AS_MESSAGE_FD.
10569 2002-10-18 Roland McGrath <roland@redhat.com>
10571 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
10572 typos: VALUE -> FINALADDR.
10574 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
10575 (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
10576 (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
10577 (inline_syscall6): Move these macros ...
10578 * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
10580 * configure.in (libc_link_dests, libc_link_sources): Remove these
10581 variables and the AC_LINK_FILES call.
10583 * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
10584 change to put new symbols here instead of in GLIBC_2.2.
10585 * sysdeps/powerpc/Subdirs: Move this file ...
10586 * sysdeps/powerpc/soft-fp/Subdirs: ... here.
10588 2002-10-07 Roland McGrath <roland@redhat.com>
10590 * sysdeps/generic/bits/time.h: Replaced with contents of the
10591 sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following
10592 files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
10593 and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
10594 macros is ok even for architectures that don't now implement them.
10595 * sysdeps/mach/hurd/bits/time.h: File removed.
10596 * sysdeps/unix/sysv/linux/bits/time.h: File removed.
10597 * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
10598 * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
10599 * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
10600 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
10602 2002-10-18 Jeff Bailey <jbailey@gnu.org>
10604 * configure.in: Replace obsolete AC_OUTPUT syntax with
10605 AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
10607 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
10608 _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
10610 * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
10611 * sysdeps/alpha/elf/configure.in: Likewise.
10612 * sysdeps/i386/elf/configure.in: Likewise.
10613 * sysdeps/mach/hurd/configure.in: Likewise.
10614 * sysdeps/x86_64/elf/configure.in: Likewise.
10616 * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
10618 * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
10619 * sysdeps/generic/configure.in: Likewise.
10620 * sysdeps/i386/elf/configure.in: Likewise.
10621 * sysdeps/ia64/elf/configure.in: Likewise.
10622 * sysdeps/mach/configure.in: Likewise.
10623 * sysdeps/mach/hurd/configure.in: Likewise.
10624 * sysdeps/unix/configure.in: Likewise.
10625 * sysdeps/unix/common/configure.in: Likewise.
10626 * sysdeps/unix/sysv/aix/configure.in: Likewise.
10627 * sysdeps/unix/sysv/linux/configure.in: Likewise.
10628 * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
10629 * sysdeps/x86_64/elf/configure.in: Likewise.
10631 * aclocal.m4: Use just the bits from AS_INIT that are needed for the
10632 GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so
10633 that it's obvious when extra autoconf machinery is being dragged in.
10635 2002-10-18 Roland McGrath <roland@redhat.com>
10637 * configure.in: Remove bogus echo included in
10638 2002-10-08 Aldy Hernandez <aldyh@redhat.com> change.
10639 * configure: Regenerated.
10641 2002-10-18 Jakub Jelinek <jakub@redhat.com>
10643 * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
10644 (statfs_filesize_max): New function.
10645 * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
10646 JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
10647 ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
10648 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
10649 statfs_filesize_max.
10650 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10651 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
10652 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
10654 2002-10-17 Roland McGrath <roland@redhat.com>
10656 * configure.in (MIG): Just AC_SUBST it here.
10657 * configure: Regenerated.
10658 * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
10659 Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
10660 * sysdeps/mach/configure: Regenerated.
10662 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
10663 and AC_PROVIDE([_AS_CR_PREPARE]).
10665 * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
10666 Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
10668 * elf/dl-support.c: Move _dl_tls_* variables to ...
10669 * sysdeps/generic/libc-tls.c: ... here.
10671 * elf/dl-close.c (remove_slotinfo): Take new argument. If false,
10672 allow IDX to be one past the current last slotinfo entry.
10673 (_dl_close): Pass IMAP->l_init_called for that parameter.
10675 2002-10-07 Andreas Schwab <schwab@suse.de>
10677 * aclocal.m4: Fix for autoconf 2.53.
10678 * configure.in: Likewise. Require autoconf 2.53.
10680 2002-10-08 Richard Henderson <rth@redhat.com>
10682 * soft-fp/op-4.h: Handle carry correctly in
10683 __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
10684 __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
10685 * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
10687 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
10689 * configure.in: Compute completely-soft.
10690 * config.make.in: Make completely-soft available to sub-makes.
10691 * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
10692 gcc-double-routines. Add sim-full.c. Add fenv_const and
10693 fe_nomask to libm-support.
10694 * sysdeps/powerpc/soft-fp/sim-full.c: New file.
10695 * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
10696 * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
10697 * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
10698 * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
10699 * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
10700 * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
10701 * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
10702 * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
10703 * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
10704 * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
10705 * sysdeps/powerpc/soft-fp/fegetround.c: New file.
10706 * sysdeps/powerpc/soft-fp/fesetround.c: New file.
10707 * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
10708 * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
10709 * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
10710 * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
10711 * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
10712 * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
10713 symbols. Add __sim_disabled_exceptions, __sim_exceptions,
10715 * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
10716 * sysdeps/powerpc/soft-float/sfp-machine.h: Define
10717 FP_HANDLE_EXCEPTIONS.
10718 Define FP_ROUNDMODE.
10719 Redefine FP_* macros to correspond to the FE_* bit positions.
10720 Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
10721 Define externs for __sim_exceptions, __sim_disabled_exceptions,
10722 __sim_round_mode, __simulate_exceptions.
10723 * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
10724 * sysdeps/powerpc/bits/fenv.h: ...to here.
10726 2002-10-06 Jakub Jelinek <jakub@redhat.com>
10728 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10729 Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
10730 Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix
10731 R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
10734 2002-10-15 Jakub Jelinek <jakub@redhat.com>
10736 * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
10737 __libc_res_nsend): New prototypes.
10738 * resolv/res_query.c (QUERYSIZE): Define.
10739 (__libc_res_nquery): Renamed from res_nquery. Added answerp
10740 argument. Allocate only QUERYSIZE bytes first, if res_nmkquery
10741 fails use MAXPACKET buffer. Call __libc_res_nsend instead of
10742 res_nsend, pass answerp.
10743 (res_nquery): Changed into wrapper around __libc_res_nquery.
10744 (__libc_res_nsearch): Renamed from res_nsearch. Added answerp
10745 argument. Call __libc_res_nquerydomain and __libc_res_nquery
10746 instead of the non-__libc_ variants, pass them answerp.
10747 (res_nsearch): Changed into wrapper around __libc_res_nsearch.
10748 (__libc_res_nquerydomain): Renamed from res_nquerydomain.
10749 Added answerp argument. Call __libc_res_nquery instead of
10750 res_nquery, pass answerp.
10751 (res_nquerydomain): Changed into wrapper around
10752 __libc_res_nquerydomain.
10753 * resolv/res_send.c: Include sys/ioctl.h.
10754 (MAXPACKET): Define.
10755 (send_vc): Change arguments. Reallocate answer buffer if it is
10757 (send_dg): Likewise.
10758 (__libc_res_nsend): Renamed from res_nsend. Added ansp argument.
10759 Reallocate answer buffer if it is too small and hooks are in use.
10760 Adjust calls to send_vc and send_dg.
10761 (res_nsend): Changed into wrapper around __libc_res_nsend.
10762 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
10763 just 1K answer buffer on the stack, use __libc_res_nsearch instead
10765 (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
10766 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
10767 (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
10768 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
10769 (gethostbyaddr): Similarly with __libc_res_nquery.
10770 * resolv/Versions (libresolv): Export __libc_res_nquery and
10771 __libc_res_nsearch at GLIBC_PRIVATE.
10773 2002-10-17 Roland McGrath <roland@redhat.com>
10775 * configure.in: Grok --without-__thread and disable HAVE___THREAD.
10776 * configure: Regenerated.
10778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
10779 before performing the reloc, not after.
10780 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10782 2002-10-17 Ulrich Drepper <drepper@redhat.com>
10784 * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
10785 * locale/programs/linereader.c (lr_open): Likewise.
10786 * locale/programs/charmap-dir.c (charmap_open): Likewise.
10787 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10789 2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
10791 * posix/bug-regex11.c: Add a test case for the bug reported by
10792 Paolo Bonzini <bonzini@gnu.org>.
10793 * posix/regexec.c (sift_states_bkref): Use correct destination of
10794 the back reference.
10796 2002-10-17 Roland McGrath <roland@redhat.com>
10798 * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
10799 * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
10800 to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
10801 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
10802 Call it after performing TPOFF relocs.
10803 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10804 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10805 * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
10807 * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
10808 when closing a partially-initialized object.
10810 * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
10811 instead of _dl_fatal_printf when we see PT_TLS.
10813 * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
10814 instead of $(libof-$<).
10816 2002-10-16 Roland McGrath <roland@redhat.com>
10818 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
10819 instead of += to append, to be sure $(lib) gets expanded at defn time.
10820 (libof-$(cpp-src)): New variable, define this instead.
10821 * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
10822 (lib): Don't use override.
10823 (CPPFLAGS-$(lib)): New variable, put -D's here.
10824 * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
10825 Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
10826 LIB found by $(libof-*) for basename, target, or source.
10827 * Makerules (CPPFLAGS-nonlib): New variable.
10828 * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
10829 * locale/Makefile (lib): Likewise.
10830 * sunrpc/Makefile (lib): Likewise.
10832 * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
10833 * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
10834 * sysdeps/unix/sysv/linux/pathconf.h: New file.
10835 (statfs_link_max): New function, guts from fpathconf.c.
10836 * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
10837 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10838 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
10839 to use the linux/pathconf.c code by #include rather than duplication.
10840 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
10842 2002-10-16 Jakub Jelinek <jakub@redhat.com>
10844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10845 Use __libc_errno only for libc itself.
10847 2002-10-16 Andreas Jaeger <aj@suse.de>
10849 * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
10851 2002-10-16 Ulrich Drepper <drepper@redhat.com>
10853 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10854 Use __libc_errno only for libc itself.
10856 2002-10-15 Roland McGrath <roland@redhat.com>
10857 Jakub Jelinek <jakub@redhat.com>
10859 * sysdeps/unix/sysv/linux/Makefile
10860 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
10861 sparc/Makefile to produce a bi-arch file as needed.
10862 That's now parameterized by the variable $(64bit-predefine).
10863 Use LC_ALL=C for `comm' commands in that rule.
10864 No longer conditional on [$(no_syscall_list_h)].
10865 * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
10866 (64bit-predefine): New variable.
10867 * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
10868 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
10869 * sysdeps/unix/sysv/linux/powerpc/Makefile
10870 (64bit-predefine): New variable.
10872 2002-10-15 Roland McGrath <roland@redhat.com>
10874 * sysdeps/unix/sysv/linux/Makefile
10875 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
10877 * login/utmp-private.h: Declare __libc_utmp_lock.
10878 * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
10879 and call __libc_utmp_jump_table functions directly, instead of using
10882 * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
10883 * sysdeps/unix/sysv/linux/configure: Regenerated.
10885 * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
10886 (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
10887 Use int32_t for ll_time.
10888 (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
10889 Use int32_t instead of long int for ut_session.
10890 Use an anonymous struct with 32-bit fields for ut_tv.
10891 * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
10892 (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
10893 here as in utmp.h for `struct utmp'.
10894 * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
10895 * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
10896 * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
10897 * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
10898 * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
10899 * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
10901 * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
10902 of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
10903 All the following files were identical or equivalent to it.
10904 * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
10905 * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
10906 * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
10907 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
10908 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
10909 * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
10910 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
10911 * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
10912 * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
10913 * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
10915 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
10916 instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
10917 Other than the previously incorrect sign of msg_iovlen, this is a
10918 no-op on 32-bit platforms. On 64-bit platforms it makes this header
10919 match their layouts as well, so the following are now identical to it.
10920 * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
10921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
10922 * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
10923 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
10924 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
10926 2002-10-15 Ulrich Drepper <drepper@redhat.com>
10928 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
10929 Define for 2.4+ kernels.
10931 * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
10932 are known to have the vfork syscall. Don't confuse the CPUs
10933 branch prediction unit by jumping to the return address.
10935 * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
10936 support for reiserfs and xfs.
10938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
10940 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
10942 Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
10944 2002-10-16 Jakub Jelinek <jakub@redhat.com>
10946 * include/libc-symbols.h (attribute_tls_model_ie): Define.
10947 * include/errno.h (errno): Define to __libc_errno in libc.so.
10948 Add attribute_tls_model_ie.
10949 * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
10950 Add attribute_tls_model_ie.
10951 * include/resolv.h (_res): Define to __libc_res in libc.so. Add
10952 attribute_tls_model_ie.
10953 * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
10955 * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
10957 * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
10958 attribute_tls_model_ie.
10959 * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
10961 * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
10962 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
10963 __libc_errno in USE___THREAD case.
10964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10966 * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
10967 __attribute__((tls_model (""))).
10968 * configure: Rebuilt.
10969 * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
10971 2002-10-15 Ulrich Drepper <drepper@redhat.com>
10973 * timezone/asia: Update from tzdata2002d.
10974 * timezone/australasia: Likewise.
10975 * timezone/iso3166.tab: Likewise.
10976 * timezone/southamerica: Likewise.
10977 * timezone/zone-tab: Likewise.
10979 2002-10-15 Roland McGrath <roland@redhat.com>
10981 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
10982 Adjust TCB pointer before calling free, so we get the whole block.
10984 2002-10-14 Roland McGrath <roland@redhat.com>
10986 * sysdeps/unix/sysv/linux/x86_64/sigaction.c
10987 [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
10988 extern using attribute_hidden instead of static, avoids warning.
10990 2002-10-09 Jakub Jelinek <jakub@redhat.com>
10992 * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
10993 * sysdeps/unix/sysv/linux/configure: Rebuilt.
10995 2002-10-14 Ulrich Drepper <drepper@redhat.com>
10997 * po/sv.po: Update from translation team.
10999 2002-10-12 H.J. Lu <hjl@gnu.org>
11001 * sunrpc/thrsvc.c (PROCQUIT): New.
11002 (struct rpc_arg): New.
11003 (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
11004 (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
11005 (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
11006 (main): Modified for struct rpc_arg *.
11008 2002-10-14 Ulrich Drepper <drepper@redhat.com>
11010 * dirent/scandir.c: Rearrange code a bit to reduce binary size.
11012 2002-10-14 Jakub Jelinek <jakub@redhat.com>
11014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
11015 (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
11016 in ld.so even if __thread is supported.
11018 2002-10-13 Jakub Jelinek <jakub@redhat.com>
11020 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11021 Add hack to prevent the compiler from clobbering the signal context.
11022 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11024 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
11027 2002-10-14 Andreas Jaeger <aj@suse.de>
11029 * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
11030 Guido Guenther <agx@sigxcpu.org>.
11032 2002-10-14 Ulrich Drepper <drepper@redhat.com>
11034 * po/sk.po: Update from translation team.
11036 2002-09-26 Roland McGrath <roland@redhat.com>
11038 * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
11039 dynamic string tag.
11040 * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
11041 DL_DST_LIB based on $(slibdir).
11043 2002-10-13 Roland McGrath <roland@frob.com>
11045 * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
11047 * sysdeps/mach/hurd/getresuid.c: New file.
11048 * sysdeps/mach/hurd/getresgid.c: New file.
11049 * sysdeps/mach/hurd/setresuid.c: New file.
11050 * sysdeps/mach/hurd/setresgid.c: New file.
11052 * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
11053 setresgid): Declare them.
11054 * NEWS: Mention it.
11056 (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
11057 add libc_hidden_proto.
11058 * posix/Versions (libc: GLIBC_2.3.2): New set. Add
11059 getresuid, getresgid, setresuid, setresgid here.
11060 * Versions.def (libc): Define GLIBC_2.3.2 set.
11061 * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
11062 Add libc_hidden_def.
11063 * sysdeps/generic/getresgid.c (__getresgid): Likewise.
11064 * sysdeps/generic/setresgid.c: New file.
11065 * sysdeps/generic/setresuid.c: New file.
11066 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11067 (sysdep_routines): Don't add getresuid and getresgid here.
11068 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
11069 (sysdep_routines): Don't add setresuid and setresgid here.
11070 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
11071 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
11072 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
11073 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
11074 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
11075 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
11076 * posix/Makefile (routines): Add them all here instead.
11077 * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
11078 __getresuid. Add libc_hidden_def for that, and weak alias to old name.
11079 * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
11080 __getresgid. Add libc_hidden_def for that, and weak alias to old name.
11081 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
11082 [! __NR_setresuid]: Include generic file.
11083 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
11084 __setresgid. Add libc_hidden_def for that, and weak alias to old name.
11085 [! __NR_setresuid]: Include generic file.
11086 * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
11087 Caller is - now, not EXTRA.
11088 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
11089 (setresuid, setresgid, getresuid, getresgid): Likewise.
11090 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
11091 Add these calls here.
11092 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
11093 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11094 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11095 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11096 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11099 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
11100 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
11102 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11103 (sysdep_routines): Add setfsuid and setfsgid here.
11104 * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
11105 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
11106 * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
11107 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
11108 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
11109 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
11110 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
11111 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
11113 * hurd/errno.c: Renamed to ...
11114 * hurd/errno-loc.c: ... this.
11115 * hurd/Makefile (routines): errno -> errno-loc
11117 2002-10-13 Ulrich Drepper <drepper@redhat.com>
11119 * po/de.po: Update from translation team.
11121 * MakeTAGS: Add -E flag to xgettext runs.
11123 2002-10-12 Ulrich Drepper <drepper@redhat.com>
11125 * po/fr.po: Update from translation team.
11127 * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
11128 Optimize a bit for use in glibc.
11130 2002-10-12 Roland McGrath <roland@redhat.com>
11132 * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
11133 Some machines are slow. Guido Guenther <agx@sigxcpu.org> has one.
11135 2002-10-12 Ulrich Drepper <drepper@redhat.com>
11137 * po/sv.po: Update from translation team.
11139 2002-10-11 Isamu Hasegawa <isamu@yamato.ibm.com>
11141 * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
11143 (regfree): Likewise.
11144 (create_initial_state): Likewise.
11145 (analyze): Remove the substitutions which became useless.
11146 (calc_first): Likewise.
11147 (calc_epsdest): Use edests of OP_BACK_REF in case that it has
11148 epsilon destination.
11149 (duplicate_node_closure): New function.
11150 (duplicate_node): Remove the handling OP_CONTEXT_NODE.
11151 (calc_inveclosure): Likewise.
11152 (calc_eclosure): Likewise.
11153 (calc_eclosure_iter): Invoke duplicate_node_closure instead of
11154 direct invocation of duplicate_node.
11155 (parse): Don't use comma operator in the return to avoid compiler
11157 (parse_reg_exp): Likewise.
11158 (parse_branch): Likewise.
11159 (parse_expression): Likewise.
11160 (parse_sub_exp): Likewise.
11161 (parse_dup_op): Likewise.
11162 * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
11163 which became useless.
11164 (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
11165 (create_cd_newstate): Likewise.
11166 * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
11167 (re_token_t): Likewise.
11168 (re_dfa_t): Likewise.
11169 (re_node_set_remove): New macro.
11170 * posix/regexec.c (check_matching): Remove the handling
11172 (check_halt_node_context): Likewise.
11173 (proceed_next_node): Likewise.
11174 (pop_fail_stack): Fix the memory leak.
11175 (set_regs): Likewise.
11176 (free_fail_stack_return): New function.
11177 (sift_states_backward): Fix the memory leak. Remove the handling
11179 (update_cur_sifted_state): Append some if clause to avoid redundant
11181 (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
11183 (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
11184 (check_subexp_limits): Likewise.
11185 (search_subexp): Likewise.
11186 (sift_states_bkref): Likewise.
11187 (transit_state_mb): Likewise.
11188 (transit_state_bkref_loop): Likewise.
11189 (transit_state_bkref_loop): Likewise.
11190 (group_nodes_into_DFAstates): Likewise.
11191 (check_node_accept): Likewise.
11192 (sift_ctx_init): Add initializing.
11194 2002-10-12 Ulrich Drepper <drepper@redhat.com>
11196 * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
11199 2002-10-11 Ulrich Drepper <drepper@redhat.com>
11201 * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
11202 duplicated variable c.
11204 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
11207 * sysdeps/unix/sysv/linux/i386/sysdep.h
11208 (INTERNAL_SYSCALL_ERROR_P): New define.
11209 (INTERNAL_SYSCALL_ERRNO): Likewise.
11211 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11212 Add hack to prevent the compiler from clobbering the signal context.
11214 2002-10-11 Roland McGrath <roland@redhat.com>
11216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11219 * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
11220 * sysdeps/sh/dl-lookupcfg.h: File removed.
11221 * sysdeps/i386/dl-lookupcfg.h: File removed.
11223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
11224 missing labels and ; from last change.
11226 * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
11227 number literals, so they are doubles instead of ints.
11229 2002-10-09 Roland McGrath <roland@redhat.com>
11231 * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
11232 changed from [USE_TLS && HAVE___THREAD].
11234 * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
11235 Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
11236 * sysdeps/x86_64/dl-machine.h
11237 (elf_machine_type_class, elf_machine_rela): Likewise.
11238 * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
11241 * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
11242 * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
11243 (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
11245 * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
11246 instead of ___tls_get_addr.
11247 (___tls_get_addr_internal): Add attribute_hidden to decl.
11249 * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
11250 _dl_error_catch_tsd.
11251 * elf/rtld.c (startup_error_tsd): New function.
11252 (dl_main): Point _dl_error_catch_tsd at that.
11253 * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
11254 use new function pointer instead.
11255 * elf/dl-tsd.c: New file.
11256 * elf/Makefile (routines): Add it.
11258 2002-10-07 Roland McGrath <roland@redhat.com>
11260 * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
11261 writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then
11262 take _dl_load_lock around calling __writev.
11264 * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
11265 (INLINE_SYSCALL): Use that.
11267 * sysdeps/generic/dl-sysdep.h: New file.
11268 * sysdeps/mach/hurd/dl-sysdep.h: New file.
11269 * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
11270 * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
11271 [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
11272 access it directly.
11273 * elf/dl-minimal.c (__errno_location): Removed.
11274 * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
11275 Use GOTOFF access for errno.
11276 * sysdeps/unix/sysv/linux/i386/sysdep.h
11277 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
11279 * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
11280 Use PC-relative access for errno.
11281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11282 [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
11284 * include/tls.h: New file.
11285 (USE___THREAD): New macro.
11286 Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
11287 libc or libpthread.
11288 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
11289 changed from [USE_TLS && HAVE___THREAD].
11290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11291 * sysdeps/unix/i386/sysdep.S: Likewise.
11292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11293 * include/errno.h: Likewise.
11294 * include/netdb.h: Likewise.
11295 * include/resolv.h: Likewise.
11297 * sysdeps/generic/errno.c: New file.
11298 * csu/Makefile (aux): New variable, list errno.
11299 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
11300 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
11301 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
11302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11304 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
11305 * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
11306 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
11307 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11308 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
11309 * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
11310 * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
11311 * sysdeps/unix/alpha/sysdep.S: Likewise.
11312 * sysdeps/generic/start.c: Likewise.
11313 * sysdeps/unix/start.c: Likewise.
11314 * sysdeps/unix/arm/start.c: Likewise.
11315 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
11316 * sysdeps/unix/sparc/start.c: Likewise.
11317 * sysdeps/unix/sysv/irix4/start.c: Likewise.
11318 * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
11320 * manual/search.texi (Tree Search Function, Hash Search Function):
11321 Mention search.h clearly.
11323 2002-10-05 Roland McGrath <roland@redhat.com>
11325 * elf/dl-fxstat64.c: File removed.
11326 * elf/dl-xstat64.c: File removed.
11327 * elf/Makefile (rtld-routines): Remove them.
11328 * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
11329 Instead, use strong_alias instead of versioned_symbol in the
11330 !SHLIB_COMPAT case.
11331 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
11332 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11334 * include/shlib-compat.h
11335 (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
11336 [! NOT_IN_libc] (IS_IN_libc): Define it.
11337 * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
11338 * elf/Makefile (CPPFLAGS-.os): Likewise.
11340 * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
11341 Return the status instead of calling exit.
11343 * Makeconfig (CFLAGS): Prepend -std=gnu99.
11344 * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
11345 Remove superfluous rm command, whose @ plus make bugs hid
11346 all these commands from the make output.
11348 * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC.
11349 * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
11350 Use that file's contents instead of literal echo's for the prologue.
11351 * include/features.h: Include <gnu/stubs.h> unconditionally.
11352 * include/gnu/stubs.h: New file.
11354 2002-09-30 Roland McGrath <roland@redhat.com>
11356 * elf/rtld-Rules: New file.
11357 * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
11358 $(objpfx)rtld-libc.a): New targets.
11359 (generated): Add them.
11360 (reloc-link): Remove -o $@ from the variable.
11361 ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
11362 (distribute): Add rtld-Rules.
11363 (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
11364 * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
11365 (common-mostlyclean, common-clean): Clean up rtld-* files.
11366 * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
11368 2003-05-20 Jakub Jelinek <jakub@redhat.com>
11370 * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument.
11371 If temp != NULL, copy dynamic entries which need relocation to temp
11372 array before relocating.
11373 (DL_RO_DYN_TEMP_CNT): Define.
11374 * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller.
11375 * elf/rtld.c (_dl_start): Likewise.
11376 (dl_main): Likewise. Add dyn_temp static variable.
11378 2002-10-11 Roland McGrath <roland@redhat.com>
11380 * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
11381 now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
11383 * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
11384 proper set of no-op insn prefixes.
11386 * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
11388 2002-10-11 Ulrich Drepper <drepper@redhat.com>
11390 * sysdeps/unix/sysv/linux/execve.c: Don't try calling
11391 __pthread_kill_other_threads_np.
11393 * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
11395 2002-10-08 Roland McGrath <roland@redhat.com>
11397 * locale/newlocale.c (__newlocale): If setting all categories to "C",
11398 just return &_nl_C_locobj instead of copying it.
11399 * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
11400 * locale/duplocale.c (__duplocale): Likewise.
11402 2002-10-07 Roland McGrath <roland@frob.com>
11404 * config.h.in (HAVE_I386_SET_GDT): New #undef.
11405 * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
11406 * sysdeps/mach/configure: Regenerated.
11408 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
11411 Add all necessary register outputs for syscall-clobbered registers.
11413 2002-10-02 David Mosberger <davidm@hpl.hp.com>
11415 * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
11416 Itanium 2 (and Itanium).
11417 Fix unwind directives and make it fit in 80 columns.
11418 * sysdeps/ia64/memset.S: Likewise.
11419 * sysdeps/ia64/memcpy.S: Likewise.
11420 Move jump table to .rodata section.
11422 2002-10-03 Roland McGrath <roland@frob.com>
11424 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
11427 2002-10-10 Andreas Jaeger <aj@suse.de>
11429 * sysdeps/x86_64/_mcount.S: Restore correct registers.
11431 2002-10-10 Ulrich Drepper <drepper@redhat.com>
11433 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
11435 2002-10-09 Ulrich Drepper <drepper@redhat.com>
11437 * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
11438 _dl_allocate_tls_init. Add rtld_hidden_proto.
11439 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
11441 * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
11443 * version.h (VERSION): Bump to 2.3.1.
11445 * Make-dist: Add back one of the tar invocations removed before.
11447 * stdlib/Makefile (distribute): Add allocalim.h.
11449 * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
11450 (__libc_tsd_address): Use correct variable name.
11451 Patch by Stefan Jones <stefan.jones@multigig.com>.
11453 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
11454 Reported by edwardsg@sgi.com [PR libc/4678].
11456 * Versions.def (libc): Add GLIBC_2.3.1.
11457 (libpthread): Add GLIBC_2.3.1.
11459 * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
11460 and __sigtimedwait.
11461 * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
11462 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
11464 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11465 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11467 * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
11468 * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
11469 and make old name an alias.
11470 * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
11471 and make old name an alias.
11472 * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
11475 * include/sys/uio.h: Declare __libc_readv and __libc_writev.
11476 * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
11478 * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
11480 * sysdeps/posix/readv.c: Likewise
11481 * sysdeps/unix/sysv/aix/readv.c: Likewise.
11482 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11483 * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
11485 * sysdeps/posix/writev.c: Likewise
11486 * sysdeps/unix/sysv/aix/writev.c: Likewise.
11487 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11489 * include/sys/wait.h: Declare __waitid.
11490 * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
11491 * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
11493 * sysdeps/posix/waitid.c: Likewise.
11494 * sysdeps/unix/sysv/aix/waitid.c: Likewise.
11496 * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
11498 2002-10-07 Jakub Jelinek <jakub@redhat.com>
11500 * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
11502 (__MAX_ALLOCA_CUTOFF): Define.
11503 Include allocalim.h.
11504 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
11505 _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
11506 host_buffer depending on __libc_use_alloca.
11507 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
11508 _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
11509 net_buffer depending on __libc_use_alloca.
11510 * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
11511 buf depending on __libc_use_alloca.
11512 * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
11513 * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
11514 instead of hardcoded constants.
11515 Pass proper size argument to alloca and compute end for wide char
11517 * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
11518 instead of hardcoded constants.
11519 * string/strcoll.c (strcoll): Likewise.
11520 * string/strxfrm.c (strxfrm): Likewise.
11521 * sysdeps/posix/readv.c (__readv): Likewise.
11522 * sysdeps/posix/writev.c (__writev): Likewise.
11523 * sysdeps/generic/allocalim.h: New file.
11525 2002-10-08 Roland McGrath <roland@redhat.com>
11527 * configure.in (aux_missing warning): Change "too old" to
11528 "incompatible versions", since for autoconf it's "too new" right now.
11529 * configure: Regenerated.
11531 * configure.in (AUTOCONF): New check to set it. Set to "no" if the
11532 one found doesn't work on our configure.in.
11533 * configure: Regenerated.
11534 * config.make.in (AUTOCONF): New substituted variable.
11535 * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
11536 (autoconf-it): ... here, use that instead of defining conditionally.
11537 Use $(AUTOCONF) instead of literal autoconf.
11538 [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
11539 with this condition.
11540 * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
11542 2002-10-08 Ulrich Drepper <drepper@redhat.com>
11544 * Make-dist (dist): Cleanup a bit. We are not interested in the
11545 14 char filename limit anymore. Remove intermediate files and
11548 2002-10-05 Ulrich Drepper <drepper@redhat.com>
11550 * po/sk.po: Update from translation team.
11551 * po/tr.po: Likewise.
11552 * po/gl.po: Likewise.
11554 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11556 * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
11558 2002-10-03 Ulrich Drepper <drepper@redhat.com>
11560 * version.h (RELEASE): Change to stable.
11562 2002-10-03 Jakub Jelinek <jakub@redhat.com>
11564 * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
11565 __syscall_exit_group): New prototypes.
11567 2002-10-03 Ulrich Drepper <drepper@redhat.com>
11569 * glibc 2.3 released.
11572 See ChangeLog.13 for earlier changes.