1 2004-08-21 Ulrich Drepper <drepper@redhat.com>
3 * malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c.
4 (check_action): Likewise.
5 When printing error messages, use malloc_printf_nc now instead of
6 fiddling with the streams cancellation flag in every place.
7 * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change
9 (check_action): New variable.
10 (unlink): Print error message and eventually terminate in case list
12 (malloc_printf_nc): New function. Use it in _int_free.
13 Change proposed by Arjan van de Ven.
15 * dlfcn/Makefile: Don't build eval.c anymore.
17 2004-08-20 Roland McGrath <roland@frob.com>
19 * csu/Makefile ($(objpfx)version-info.h): Use printf in place
20 of echo -e for POSIX.2 portability.
21 Reported by Paul Jarc <prj@po.cwru.edu>.
23 2004-08-19 Ulrich Drepper <drepper@redhat.com>
25 * sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in
28 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use
29 getcanonname_r function if AI_CANONNAME flag is not set in
32 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss):
33 Initialize mysize with limits only if latter is >= 0. Use mysize
36 2004-08-19 Jakub Jelinek <jakub@redhat.com>
38 * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *)
41 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize
42 status to NSS_STATUS_UNAVAIL.
44 2004-08-19 Ulrich Drepper <drepper@redhat.com>
46 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the
47 cannoname lookup since it has the FQDN even if the original NAME
50 2004-08-18 Ulrich Drepper <drepper@redhat.com>
52 * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter
53 pointer in new variable ORIG_NAME and use this pointer when
54 determination of canonical name failed, not the possibly IDN
55 translated value of NAME.
57 2004-08-17 Ulrich Drepper <drepper@redhat.com>
59 * resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT.
60 * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option.
61 Reset RES_NOIP6DOTINT flag in this case..
63 * sysdeps/posix/getaddrinfo.c: Fix memory handling of
66 2004-08-16 Ulrich Drepper <drepper@redhat.com>
68 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use
69 CNAME records, we better follow the chain of CNAME records which
70 can be accomplished with A/AAAA lookups.
72 2004-08-15 Roland McGrath <roland@redhat.com>
74 * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
75 Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
76 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
77 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
78 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80 2004-08-15 Roland McGrath <roland@frob.com>
82 * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to
84 (static-only-routines): ... this.
85 * sysdeps/ia64/Makefile: Likewise.
86 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
87 * sysdeps/sparc/sparc64/Makefile: Likewise.
88 * sysdeps/x86_64/Makefile: Likewise.
89 * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change.
90 * sysdeps/ia64/hp-timing.c: Likewise.
91 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
92 * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
94 * csu/elf-init.c: Update copyright terms including special exception
95 for these trivial files, which are statically linked into executables
96 that use dynamic linking for the significant library code.
97 * io/fstat.c: Likewise.
98 * io/fstat64.c: Likewise.
99 * io/lstat.c: Likewise.
100 * io/lstat64.c: Likewise.
101 * io/stat.c: Likewise.
102 * io/stat64.c: Likewise.
103 * stdlib/atexit.c: Likewise.
104 * sysdeps/alpha/elf/initfini.c: Likewise.
105 * sysdeps/alpha/elf/start.S: Likewise.
106 * sysdeps/arm/elf/start.S: Likewise.
107 * sysdeps/cris/elf/start.S: Likewise.
108 * sysdeps/generic/initfini.c: Likewise.
109 * sysdeps/generic/mknod.c: Likewise.
110 * sysdeps/hppa/elf/initfini.c: Likewise.
111 * sysdeps/hppa/elf/start.S: Likewise.
112 * sysdeps/i386/elf/start.S: Likewise.
113 * sysdeps/i386/i686/hp-timing.c: Likewise.
114 * sysdeps/ia64/elf/initfini.c: Likewise.
115 * sysdeps/ia64/elf/start.S: Likewise.
116 * sysdeps/ia64/hp-timing.c: Likewise.
117 * sysdeps/m68k/elf/start.S: Likewise.
118 * sysdeps/mach/start.c: Likewise.
119 * sysdeps/mips/elf/start.S: Likewise.
120 * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
121 * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
122 * sysdeps/s390/s390-32/elf/start.S: Likewise.
123 * sysdeps/s390/s390-32/initfini.c: Likewise.
124 * sysdeps/s390/s390-64/elf/start.S: Likewise.
125 * sysdeps/s390/s390-64/initfini.c: Likewise.
126 * sysdeps/sh/elf/initfini.c: Likewise.
127 * sysdeps/sh/elf/start.S: Likewise.
128 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
130 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
131 * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
132 * sysdeps/standalone/i386/start.S: Likewise.
133 * sysdeps/standalone/i960/start.S: Likewise.
134 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
135 * sysdeps/unix/arm/start.c: Likewise.
136 * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
137 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
138 * sysdeps/unix/sparc/start.c: Likewise.
139 * sysdeps/unix/start.c: Likewise.
140 * sysdeps/unix/sysv/aix/start.s: Likewise.
141 * sysdeps/unix/sysv/irix4/start.c: Likewise.
142 * sysdeps/x86_64/elf/initfini.c: Likewise.
143 * sysdeps/x86_64/elf/start.S: Likewise.
145 2004-08-15 Roland McGrath <roland@redhat.com>
148 * sysdeps/unix/sysv/linux/kernel-features.h
149 (__ASSUME_BRK_PAGE_ROUNDED): New macro.
150 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
151 [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within
152 the partial page after the dynamic linker's own data segment.
154 2004-08-15 Ulrich Drepper <drepper@redhat.com>
156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of
157 v4-mapped addresses a bit.
158 (gethosts): Move alloca out of macro, so that it is done only once.
160 * sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of
163 (gethosts2): Renamed to gethosts. Make it usable for family !=
164 AF_UNSPEC. Fix AI_V4MAPPED.
165 (gaih_inet): Remove use of old gethosts. Always use what used to be
166 gethosts2. If entry is found, try to use the same NSS module's
167 getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only
168 if getcanonname_r was not available. Fix filtering of AI_V4MAPPED
169 addresses. Numerous cleanups.
170 * resolv/nss_dns/dns-canon.c: New file.
171 * resolv/Makefile (libnss_dns-routines): Add dns-canon.
172 * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r.
174 * elf/Makefile: Add rules to build and run tst-dlopenrpath.
175 * elf/tst-dlopenrpath.c: New file.
176 * elf/tst-dlopenrpathmod.c: New file.
178 * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8.
179 * intl/tst-gettext.c: Likewise.
181 * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.
183 * nss/getent.c: Allow queries for getaddrinfo with AF_INET and
186 2004-08-14 Ulrich Drepper <drepper@redhat.com>
188 * po/de.po: Update from translation team.
190 2004-08-14 Roland McGrath <roland@frob.com>
192 * sysdeps/mach/configure: Regenerated.
193 * sysdeps/mach/hurd/configure: Regenerated.
195 2004-08-14 Ulrich Drepper <drepper@redhat.com>
197 * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is
198 performed, make sure it is still the first entry after sorting
199 that has the ai_canonname information.
201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname
204 2004-08-13 Daniel Jacobowitz <dan@debian.org>
206 * scripts/output-format.sed: Handle default case of three-argument
209 * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as
212 2004-08-13 Ulrich Drepper <drepper@redhat.com>
214 * nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the
215 first returned entry. Print name only if not NULL.
217 * nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct
218 __netgrent object passed in instead of global variables.
220 * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data
221 in struct __netgrent object passed in instead of global variables.
222 * inet/netgroup.h (struct __netgrent): Add service_user field.
223 Move cursor in anonymous union, add new field location to that
225 * inet/getnetgrent_r.c: Extensive rewrite to really enable
226 concurrent uset of set/get/endnetgrent and innetgr.
227 Reported by Chuck Simmons.
229 * inet/netgroup.h (struct name_list): Replace name pointer with
231 * inet/getnetgrent_r.c: Adjust code for change in name_list
232 layout. Numerous strdup and free calls removed.
234 * elf/sprof.c (read_symbols): When comparing aliases, prefer
235 non-hidden over hidden symbols and strong over weak symbols
236 if both don't start with '_'.
238 * malloc/malloc.c: Use strong_alias instead of weak_alias wherever
241 2004-08-12 Jakub Jelinek <jakub@redhat.com>
243 * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
244 RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly.
245 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
246 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
247 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
248 Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros
251 2004-08-11 Andreas Schwab <schwab@suse.de>
253 * resolv/res_libc.c: Move definition of __res_initstamp ...
254 * resolv/res_init.c: ... here.
256 2004-08-10 GOTO Masanori <gotom@debian.or.jp>
258 * locale/C-time.c: Change default ERA value from NULL to "".
259 * locale/tst-C-locale.c: Add test case for ERA keywords.
261 2004-08-12 Ulrich Drepper <drepper@redhat.com>
263 * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
264 RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly.
265 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
266 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
268 2004-08-12 Jakub Jelinek <jakub@redhat.com>
270 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING,
271 RLIMIT_MSGQUEUE): Add.
272 (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
273 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING,
274 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
275 (RLIM_NLIMITS): Adjust.
276 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING,
277 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
278 (RLIM_NLIMITS): Adjust.
279 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING,
280 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
281 (RLIM_NLIMITS): Adjust.
283 2004-08-12 Jakub Jelinek <jakub@redhat.com>
285 * resolv/res_query.c (__libc_res_nsearch): Protect the debugging
286 printf with #ifdef DEBUG and RES_DEBUG check.
288 * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after
290 * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize
292 * sysdeps/gnu/bits/shm.h: Likewise.
293 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
294 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
295 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
297 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
299 2004-08-12 Ulrich Drepper <drepper@redhat.com>
301 * po/ca.po: Update from translation team.
303 2004-08-11 Ulrich Drepper <drepper@redhat.com>
305 * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for
306 __getpagesize declaration.
308 2004-08-11 Roland McGrath <roland@redhat.com>
310 * configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around
312 Reported by Andreas Schwab <schwab@suse.de>.
313 * configure: Regenerated.
315 * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
317 2004-08-11 Ulrich Drepper <drepper@redhat.com>
319 * time/tzset.c (tzset_internal): Add new parameter which is
320 nonzero if called through tzset. Use TZDEFAULT name including
321 name comparison if the new parameter is zero. This means implicit
322 tzset calls will not cause files to be opened and read by tzfile.c
325 2004-08-11 Jakub Jelinek <jakub@redhat.com>
327 * rt/tst-timer2.c (do_test): If timer_create fails, just continue.
328 * rt/tst-timer4.c (do_test): If one of the timer_create calls fails,
329 return 1 immediately.
331 * time/tzfile.c (__tzfile_read): Free transitions only if it will
334 * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
335 * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.
337 * stdio-common/tst-popen.c: Include <string.h>.
339 * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.
341 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn
342 attribute. Return NULL instead of calling pthread_exit at the end.
344 2004-08-11 Roland McGrath <roland@redhat.com>
346 * iconvdata/testdata/ISO-2022-JP-3: Regenerated.
348 2004-08-10 Alfred M. Szmidt <ams@kemisten.nu>
350 * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.
352 2004-08-10 Jakub Jelinek <jakub@redhat.com>
354 * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
355 (fwrite_unlocked): When checking if size * n is <= 8, cast each
356 argument to size_t individually. Cast n to (void) instead of
357 (size_t), surround with (), return (size_t) 0 if one of n or size
359 * stdio-common/Makefile (tests): Add tst-unlockedio.
360 * stdio-common/tst-unlockedio.c: New test.
362 2004-08-09 Roland McGrath <roland@frob.com>
364 * manual/install.texi (Supported Configurations): Replace bug-glibc
365 mention with web URL.
366 * INSTALL: Regenerated.
367 * locale/iso-3166.def: Likewise, in comment.
368 * locale/iso-4217.def: Likewise.
369 * locale/iso-639.def: Likewise.
370 * posix/cpio.h: Remove bug reporting comment.
372 2004-08-09 Ulrich Drepper <drepper@redhat.com>
374 * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t)
375 casts to handle funny calls with floating point argument values
376 and signed values correctly and without warning.
377 (fwrite_unlocked): Likewise. [BZ #309]
379 * malloc/memusage.c (me): Use creat64, not creat.
380 * malloc/memusagestat.c: Fix handling of very large sizes. [BZ #285]
381 Patch by Guy Maor <guymaor@yahoo.com>.
383 * elf/ldconfig.c (options): Mark parameter option names as
384 translatable. [BZ #253] Patch by Jakub Bogusz <qboosh@pld-linux.org>.
386 * iconv/gconv_charset.h (strip): Also allow comma which is what is
387 used to separate options. [BZ #194]
389 2004-08-09 Roland McGrath <roland@redhat.com>
391 * FAQ.in: Refer to web pages instead of bug-glibc.
394 * time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.
396 2004-08-09 Ulrich Drepper <drepper@redhat.com>
398 * time/tzset.c (tzset_internal): If TZ is not set do not compare
399 old and new tz value since it might be /etc/localtime in both
400 cases although the file changed. [BZ #154]
401 Patch by Christian Franke <franke@computer.org>.
403 * time/tzfile.c (__tzfile_read): Determine dev/ino of file.
404 Compare with values of previously opened file. Don't do anything
407 2004-08-08 Ulrich Drepper <drepper@redhat.com>
409 * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
410 reset loader before the actual loading.
411 * elf/dl-open.c (dl_open_worker): If file name contains no path
412 element determine map of caller. Pass caller map in this case to
413 _dl_map_object. Set __RTLD_CALLMAP in mode.
414 * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116]
415 Patch by Greg Wolodkin <greg@mathworks.com>.
417 * misc/syslog.c (openlog_internal): Always try both UDP and TCP.
418 [BZ #108] Patch mainly by Bjorn Andersson <bjorn@iki.fi>.
420 * configure.in: Also recognize i786. [BZ #106]
421 Patch by <pluto@pld-linux.org>.
423 * resolv/res_query.c (__libc_res_nsearch): Correctly test whether
424 name contains any dots. [BZ #95]
426 * resolv/res_send.c: Compiling with DEBUG defined works again.
427 * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all
430 * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
431 available the process is not killed. [BZ #41]
433 * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
435 * time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
438 * po/sv.po: Update from translation team.
440 2004-08-07 Ulrich Drepper <drepper@redhat.com>
442 * inet/netinet/in.h: Add more const to the setipv4soucefilter,
443 getsourcefilter, and setsourcefilter parameter list.
444 * sysdeps/generic/setipv4sourcefilter.c: Likewise.
445 * sysdeps/generic/getsourcefilter.c: Likewise.
446 * sysdeps/generic/setsourcefilter.c: Likewise.
447 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
448 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
449 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
451 * po/tr.po: Update from translation team.
453 2004-08-06 Ulrich Drepper <drepper@redhat.com>
455 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
456 Reported by Paolo Bonzini.
458 2004-08-06 Jakub Jelinek <jakub@redhat.com>
460 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
463 elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.
465 * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
466 before including linux/atalk.h.
468 * resolv/res_libc.c: Include atomic.h.
470 * intl/finddomain.c (free_mem): Rename to...
471 (_nl_finddomain_subfreeres): ... this. Add
472 __libc_freeres_fn_section.
473 * intl/loadmsgcat.c (_nl_unload_domain): Add
474 __libc_freeres_fn_section.
475 * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
476 Add attribute_hidden.
477 (_nl_findomain_subfreeres): New prototype.
478 * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
480 2004-07-30 Guido Guenther <agx@sigxcpu.org>
482 * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
483 test if the key is numeric or not.
484 (group_keys): Likewise.
486 2004-08-05 Ulrich Drepper <drepper@redhat.com>
488 * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
489 struct group_filter, and GROUP_FILTER_SIZE.
490 * include/sys/socket.h: Declare __getsockopt.
491 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
492 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
493 * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
494 * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
496 * po/ko.po: Update from translation team.
498 2004-08-04 Jakub Jelinek <jakub@redhat.com>
500 * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
502 (__hesiod_res_set): Free nsaddrs.
504 * include/resolv.h (__res_maybe_init): Add prototype.
505 * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
506 * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
507 * resolv/res_libc.c (__res_initstamp, lock): New variables.
508 (res_init): Increase __res_initstamp.
509 (__res_maybe_init): New function.
510 * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
511 * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
512 of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
514 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
515 _nss_dns_gethostbyaddr_r): Likewise.
516 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
517 _nss_dns_getnetbyaddr_r): Likewise.
518 * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
519 gethostbyaddr): Likewise.
520 * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
521 res_isourserver, res_sendsigned, res_update, res_search,
522 res_querydomain): Likewise.
523 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
524 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
525 * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
528 2004-08-05 Ulrich Drepper <drepper@redhat.com>
530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
531 V4-mapped IPv6 addresses and req->ai_family==AF_INET.
532 Reported by A. Guru <a.guru@sympatico.ca>.
534 * po/sv.po: Update from translation team.
535 * po/sk.po: Likewise.
536 * po/pl.po: Likewise.
538 2004-08-04 Jakub Jelinek <jakub@redhat.com>
539 Ulrich Drepper <drepper@redhat.com>
541 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
542 characters than necessary.
544 2004-08-05 Ulrich Drepper <drepper@redhat.com>
546 * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
547 * wcsmbs/tst-mbsrtowcs.c: New file.
549 * po/fr.po: Update from translation team.
551 2004-08-04 Jakub Jelinek <jakub@redhat.com>
553 * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported
554 by A. Guru <a.guru@sympatico.ca>. [BZ #295]
556 2004-08-05 Ulrich Drepper <drepper@redhat.com>
558 * po/nl.po: Update from translation team.
560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
561 numeric address formats inet_addr knows.
562 (getaddrinfo): Allow AI_NUMERICSERV flag.
563 If neither IPv4 nor IPv6 interface is present we cannot make any
564 decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the
565 string is not just a number. Remove useless freeaddrinfo call.
566 * resolv/netdb.h (AI_NUMERICSERV): Define.
567 Based on a patch by a.guru@sympatico.ca.
569 2004-08-04 Jakub Jelinek <jakub@redhat.com>
571 * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
572 instead of trying to initialize some, but not all, fields one by
574 * stdio-common/printf_size.c (printf_size): Initialize fb_info
575 structure with *info instead of trying to initialize some, but not
578 * nscd/connections.c (handle_request): Check if req->type is in
579 LASTDBREQ .. LASTREQ range instead of req.
581 * locale/programs/linereader.c (lr_create): Initialize
582 lr->return_widestr to 0.
584 * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
585 (free_mem): Call free_slotinfo just once.
587 * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
590 * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
591 * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
592 (free_mem): Rename to _nl_locale_subfreeres.
593 * iconv/gconv_db.c: Include locale/localeinfo.h.
594 (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
595 (free_mem): Call _nl_locale_subfreeres.
596 * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
598 2004-08-04 Roland McGrath <roland@frob.com>
600 * Makeconfig ($(common-objpfx)config.status):
601 Fix typo: $(add_ons) -> $(add-ons).
602 (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs)
603 include, use black magic to get it set to an add-on's name during the
604 include of the add-on's Makeconfig.
606 * configure.in: Use variable name `libc_add_on' when sourcing add-on
607 configure fragments, so they can refer to this.
608 * configure: Regenerated.
610 2004-08-04 Roland McGrath <roland@redhat.com>
612 * posix/tst-waitid.c (test_child): Sleep a second before stopping.
613 (do_test): Bump sleep to three seconds.
614 (sigchld, check_sigchld): New functions.
615 (do_test): Handle SIGCHLD and check for getting the right details.
617 * posix/tst-waitid.c (do_test): Kill the child process when bailing
618 out early on some failure.
619 [WCONTINUED]: Test WCONTINUED functionality.
621 2004-08-03 Ulrich Drepper <drepper@redhat.com>
623 * nscd/connections.c (handle_request): Print more descriptive
624 message for invalid request types.
626 2004-08-02 Jakub Jelinek <jakub@redhat.com>
628 * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
629 Always treat high as highest number in range + 1.
630 * iconvdata/ibm943.c (BODY): Likewise.
632 2004-07-31 Bruno Haible <bruno@clisp.org>
634 * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
635 * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
636 __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
637 __jisx0213_from_ucs_level2): Regenerated.
638 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
639 * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
641 (JISX0213_1_2004_set): New enum value.
642 (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
643 (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
644 when possible, ESC $ ( Q when needed.
645 * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
646 * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
647 * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
648 * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
649 * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
650 * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
652 2004-07-22 Bruno Haible <bruno@clisp.org>
654 * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
656 2004-07-29 David S. Miller <davem@redhat.com>
658 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
659 better for smaller than 256 byte copies. Also, use only one
660 unrolled loop instead of two for the large copy case.
662 2004-07-30 Richard Henderson <rth@redhat.com>
664 * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
665 * sysdeps/alpha/remq.S: Likewise.
666 * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
667 new division algorithms in divl.S and divq.S respectively.
669 2004-07-28 GOTO Masanori <gotom@debian.or.jp>
671 * timezone/asia: Update from tzdata2004b.
672 * timezone/backward: Likewise.
673 * timezone/europe: Likewise.
674 * timezone/iso3166.tab: Likewise.
675 * timezone/leapseconds: Likewise.
676 * timezone/northamerica: Likewise.
677 * timezone/southamerica: Likewise.
678 * timezone/zone.tab: Likewise.
680 * timezone/private.h: Update from tzcode2004b.
681 * timezone/zic.c: Likewise.
683 2004-07-27 Ulrich Drepper <drepper@redhat.com>
685 * nscd/grpcache.c (cache_addgr): If necessary, add entry also
686 under the name the user provided.
687 * nscd/pwdcache.c (cache_addpw): Likewise.
689 2004-07-26 Roland McGrath <roland@redhat.com>
691 * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
694 2004-07-26 Ulrich Drepper <drepper@redhat.com>
696 * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
699 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
700 new buffer at the right time.
701 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
703 2004-07-25 Ulrich Drepper <drepper@redhat.com>
705 * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
706 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
707 * inet/Makefile (routines): Likewise.
708 * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
709 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
710 * sysdeps/generic/getipv4sourcefilter.c: New file.
711 * sysdeps/generic/setipv4sourcefilter.c: New file.
712 * sysdeps/generic/getsourcefilter.c: New file.
713 * sysdeps/generic/setsourcefilter.c: New file.
715 2004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
717 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
720 2004-07-21 Jakub Jelinek <jakub@redhat.com>
723 * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
724 BITS_PER_MP_LIMB shifting up.
725 * stdlib/tst-strtod.c (main): Add new tests.
727 2004-07-23 Jakub Jelinek <jakub@redhat.com>
730 * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
731 _IO_no_init. Remove wd from struct locked_FILE.
732 (_IO_wproc_jumps): Remove.
733 Reported by Andrew Josey <a.josey@opengroup.org>.
734 * stdio-common/Makefile (tests): Add tst-popen.
735 * stdio-common/tst-popen.c: New test.
737 2004-07-23 Ulrich Drepper <drepper@redhat.com>
739 * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
740 _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
741 _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
742 Reported by Andrew Josey.
744 * include/features.h: Document _POSIX_C_SOURCE == 200112L.
746 * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
747 * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
748 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
749 off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
750 * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
751 * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
752 useconds_t if __USE_XOPEN2K is defined.
753 * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
754 * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
756 2004-07-19 Thorsten Kukuk <kukuk@suse.de>
758 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
759 allocate memory for large temporary variables with alloca.
761 2004-07-22 Ulrich Drepper <drepper@redhat.com>
763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
764 code must have version GLIBC_2.0. Patch by Dwayne McConnell.
766 * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
767 pointer and zero length.
769 2004-07-21 Ulrich Drepper <drepper@redhat.com>
771 * nscd/cache.c (prune_cache): Print correct list when debugging.
773 2004-07-21 Jakub Jelinek <jakub@redhat.com>
775 * resolv/res_libc.c (res_init): If RES_INIT is set and
776 _res.nscount > 0, call __res_nclose and free nsaddrs.
777 * resolv/Makefile: Add rules to build and run tst-leaks2.
778 * resolv/tst-leaks2.c: New test.
780 2004-07-21 Ulrich Drepper <drepper@redhat.com>
782 * intl/libintl.h: Don't define macros for C++.
783 Patch by Goto Masanori.
785 2004-07-22 GOTO Masanori <gotom@debian.or.jp>
788 * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
789 * inet/arpa/inet.h: Likewise.
790 * resolv/inet_addr.c: Likewise.
792 2004-07-21 Alexandre Oliva <aoliva@redhat.com>
794 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
796 2004-07-20 Roland McGrath <roland@redhat.com>
798 * configure.in (add_ons): Substitute this. Move $add_ons handling
799 after AC_CANONICAL_HOST and default setting of $machine et al.
800 Don't set $subdirs from $add_ons.
801 Instead, source add-on/configure fragments early on.
802 (base_machine): If it's already set, don't set it based on $machine.
803 (libc_config_ok): New variable, set to no. If an add-on fragment sets
804 it to yes, skip the tuple sanity check as if --enable-hacker-mode.
805 (sysnames): Try appending add-on names after machine as well.
806 * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
807 * Makeconfig ($(common-objpfx)config.status): Also depend on configure
808 files in $(add_ons) dirs.
810 * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
811 definition, now in netinet/in.h proper.
813 2004-07-20 Alexandre Oliva <aoliva@redhat.com>
815 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
816 Sort by syscalls. Make sure we get headers such as sgidefs.h from
817 the build tree before just-installed ones.
819 * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
820 include sgidefs.h where appropriate.
821 * sysdeps/mips/dl-machine.h: Likewise.
822 * sysdeps/mips/machine-gmon.h: Likewise.
823 * sysdeps/mips/bits/setjmp.h: Likewise.
824 * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
825 * sysdeps/mips/mips64/__longjmp.c: Likewise.
826 * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
827 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
828 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
829 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
830 * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
831 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
832 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
833 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
834 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
835 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
836 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
837 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
838 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
839 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
840 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
841 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
842 * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
843 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
845 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
848 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
850 (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
852 2004-07-20 Ulrich Drepper <drepper@redhat.com>
854 * inet/netinet/in.h: Define struct ip_mreq and struct
856 Define struct group_req and struct group_source_req.
857 * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
858 IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
859 IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
860 MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
861 MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
863 Define MCAST_INCLUDE and MCAST_EXCLUDE.
865 * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
867 2004-07-19 Jakub Jelinek <jakub@redhat.com>
870 * math/libm-test.inc (max_value, min_value): New variables.
871 (initialize): Initialize them.
872 (pow_test): Add a couple of new tests.
873 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
874 exception if |y| >= 1U<<31.
875 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
876 exception if |y| >= 1L<<63.
877 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
878 If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
879 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
881 2004-07-18 Ulrich Drepper <drepper@redhat.com>
883 * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
885 * nscd/grpcache.c (cache_addgr): Likewise.
886 * nscd/hstcache.c (cache_addhst): Likewise.
888 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
890 * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
891 * sysdeps/s390/s390-64/elf/start.S: Likewise.
893 2004-04-16 Andreas Schwab <schwab@suse.de>
895 * sysdeps/ia64/bits/atomic.h: Cast first argument of
896 __sync_bool_compare_and_swap_si correct to void*.
898 2004-07-17 Ulrich Drepper <drepper@redhat.com>
900 * iconv/iconv_prog.c (print_known_names): Make machine-readable
901 output even less cluttered.
903 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
906 * setjmp/Makefile (tests): Add bug269-setjmp.
907 * setjmp/bug269-setjmp.c: New file.
908 * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
909 Store R2 from jmpbuf in callers TOC save area.
910 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
911 Store R2 in TOC save area.
912 * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
913 Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
915 2004-07-16 Jakub Jelinek <jakub@redhat.com>
917 * locale/newlocale.c: Include bits/libc-lock.h.
918 (__libc_setlocale_lock): Extern decl.
919 (__newlocale): Use it.
920 Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
922 2004-07-15 Jakub Jelinek <jakub@redhat.com>
924 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
925 static inline __attribute ((always_inline)). Don't define if
927 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
930 Remove static inline __attribute ((always_inline)). Don't define
932 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
934 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
935 __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
936 Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
937 (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
940 * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
942 * elf/Makefile: Add rules to build and run tst-pie1.
943 * elf/tst-pie1.c: New test.
944 * elf/tst-piemod1.c: New file.
946 2004-07-14 Jakub Jelinek <jakub@redhat.com>
949 * manual/string.texi (l64a): Note that the static buffer is 7 bytes
950 long. Rewrite example code so that it takes into account l64a output
951 shorter than 6 characters.
952 Reported by Julian Graham <julian.graham@aya.yale.edu>.
954 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
956 * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
957 (elf_machine_rela_relative): Remove unused valiable.
959 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
962 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
963 outside the buffer if the read returns 0. __strtod_l can't set
964 endp to NULL, so remove a test for that case.
966 2004-07-12 Roland McGrath <roland@redhat.com>
968 * manual/signal.texi (Interrupted Primitives): Make clear that
969 TEMP_FAILURE_RETRY evaluates its expression as long int and compares
970 it to -1 to define "failure".
972 2004-07-10 Ulrich Drepper <drepper@redhat.com>
974 * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
976 * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
978 * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
981 * elf/rtld.c (print_statistics): Mark with noinline attribute.
982 * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
984 (elf_machine_rel_relative): Likewise.
986 * include/string.h: Add libc_hidden_proto for __strtok_r and
988 * sysdeps/generic/strsep.c: Add libc_hidden_def.
989 * sysdeps/generic/strtok_r.c: Likewise.
990 * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
991 * sysdeps/i386/i686/strtok_r.S: Likewise.
992 * sysdeps/x86_64/strtok_r.S: Likewise.
994 2004-07-09 Alexandre Oliva <aoliva@redhat.com>
996 * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
997 instead of internal-linkage, such that we can alias to it.
998 (internal_endnetgrent, internal_getnetgrent_r): Likewise.
1000 2004-07-09 Ulrich Drepper <drepper@redhat.com>
1002 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
1003 to the front for gcc 3.5+.
1004 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
1006 * include/fcntl.h: Don't declare __fcntl_nocancel here if
1007 NO_CANCELLATION is defined.
1009 2004-07-07 Jakub Jelinek <jakub@redhat.com>
1011 * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
1012 GL(dl_nloaded) into it while still in critical section.
1014 2004-07-06 Thorsten Kukuk <kukuk@suse.de>
1016 * nss/getent.c (print_group, print_passwd): Use %lu format for
1017 `unsigned long int' values.
1019 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
1020 error typos in goto statements.
1022 2004-07-07 Roland McGrath <roland@frob.com>
1024 * Makefile (dist-separate): New variable.
1025 (glibc-%.tar rule): Make separate tar files for add-ons listed there.
1026 Depend on their configure files.
1027 (dist-do-separate-dirs): New canned sequence to do that.
1028 (dist-separate-libidn, dist-separate-linuxthreads): New variables.
1029 (dist): Depend on add-on tar files based on $(dist-separate).
1030 (dist-version): New variable, default to $(version).
1031 (tag-for-dist, dist): Use that in place of $(version) in deps.
1033 2004-07-07 Ulrich Drepper <drepper@redhat.com>
1035 * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
1036 before the loop running the destructors.
1038 2004-05-18 Andreas Schwab <schwab@suse.de>
1040 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
1041 the first segment for mprotect, not l_text_end.
1043 2004-07-05 Ulrich Drepper <drepper@redhat.com>
1045 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
1046 Remove hashfraction variable. Make kcount and kcountsize local
1049 * elf/dl-init.c: Don't define and use _dl_starting_up if
1050 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
1051 * elf/dl-support.c: Likewise.
1052 * elf/rtld.c: Likewise.
1053 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
1054 if HAVE_INLINED_SYSCALLS is defined.
1055 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
1057 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1058 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
1059 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
1061 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
1062 is needed to stop profiling.
1063 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
1064 profile make sure it cannot be unloaded.
1066 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
1068 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
1069 support, make sure the helper function is inlined.
1070 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1071 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1072 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
1075 2004-07-05 Jakub Jelinek <jakub@redhat.com>
1077 * include/string.h (ffs): Add libc_hidden_builtin_proto.
1078 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
1079 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
1080 * sysdeps/alpha/ffs.S (ffs): Likewise.
1081 * sysdeps/s390/ffs.c (ffs): Likewise.
1082 * sysdeps/powerpc/ffs.c (ffs): Likewise.
1083 * sysdeps/i386/ffs.c (ffs): Likewise.
1084 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
1085 * sysdeps/m68k/ffs.c (ffs): Likewise.
1086 * sysdeps/generic/ffs.c (ffs): Likewise.
1087 * sysdeps/m88k/ffs.c (ffs): Likewise.
1088 * sysdeps/am29k/ffs.c (ffs): Likewise.
1089 * sysdeps/i960/ffs.c (ffs): Likewise.
1090 * sysdeps/x86_64/ffs.c (ffs): Likewise.
1092 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
1094 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
1095 __libc_siglongjmp): Remove symbol_version.
1096 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
1097 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
1098 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
1100 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
1101 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
1102 strong_alias instead of default_symbol_version, remove
1104 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
1105 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
1106 into strong_alias to __novmxsetjmp.
1107 (__vmx__setjmp): Similarly with __vmxsetjmp.
1108 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
1109 default_symbol_version and symbol_version.
1110 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
1111 into strong_alias to __novmxsetjmp.
1112 (__vmx__setjmp): Similarly with __vmxsetjmp.
1113 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
1114 default_symbol_version and symbol_version.
1116 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
1118 2004-07-05 Ulrich Drepper <drepper@redhat.com>
1120 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
1122 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
1124 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
1125 instead of libc_hidden_def.
1127 2004-07-01 Roland McGrath <roland@redhat.com>
1129 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
1131 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
1132 $(..)shlib-versions file to last in deps list. This lets add-ons give
1133 more-specific matches that override defaults in the top-level file.
1135 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
1136 already set, don't set it or libc_cv_gcc_unwind_find_fde.
1137 * sysdeps/unix/sysv/linux/configure: Regenerated.
1139 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
1141 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
1142 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
1143 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
1144 * sysdeps/s390/fpu/e_sqrt.c: New file.
1145 * sysdeps/s390/fpu/e_sqrtf.c: New file.
1146 * sysdeps/s390/Implies: New file.
1147 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
1148 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
1149 * sysdeps/s390/s390-64/Implies: Likewise.
1151 2004-06-30 Jakub Jelinek <jakub@redhat.com>
1153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
1154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
1157 DO_CALL (exit, 1) instead of branching to _exit.
1158 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
1161 * sysdeps/s390/fpu/bits/mathinline.h: New file.
1163 * include/glob.h (glob64): Add libc_hidden_proto.
1164 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
1165 * sysdeps/gnu/glob64.c (glob64): Likewise.
1166 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
1168 2004-06-11 Jakub Jelinek <jakub@redhat.com>
1170 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
1171 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1173 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
1175 * sysdeps/powerpc/fpu/s_lround.c: Removed.
1176 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
1177 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
1178 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
1179 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
1180 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
1181 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
1182 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
1183 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
1184 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
1185 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
1186 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
1187 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
1188 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
1189 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
1190 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
1192 2004-06-30 Ulrich Drepper <drepper@redhat.com>
1194 * include/net/if.h: Handle if_nameindex and if_freenameindex with
1196 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
1197 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
1198 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
1199 netlink if possible. Fall back on ioctl method if necessary.
1200 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
1202 * include/unistd.h: Declare __truncate.
1203 * sysdeps/generic/truncate.c: Also define __truncate.
1204 * sysdeps/mach/hurd/truncate.c: Likewise.
1205 * sysdeps/unix/common/syscalls.list: Likewise.
1206 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
1208 2004-06-29 Ulrich Drepper <drepper@redhat.com>
1210 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1211 info.extra. Patch by Marcus Meissner.
1213 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1215 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1216 Fix branch offset for a PLT entry.
1218 2004-06-20 Jim Meyering <jim@meyering.net>
1220 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
1223 2004-06-28 Ulrich Drepper <drepper@redhat.com>
1225 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
1226 Workaround for [BZ #232].
1228 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
1230 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
1232 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
1233 in ucs2/ucs2reverse when unaligned memory access is attempted.
1234 * iconv/tst-iconv5.c: New file.
1235 * iconv/Makefile (tests): Add tst-iconv5.
1237 2004-06-28 Jakub Jelinek <jakub@redhat.com>
1239 * inet/bug-if1.c: Include <string.h>.
1241 2004-06-19 Roland McGrath <roland@redhat.com>
1243 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
1244 under this macro name instead.
1245 [NO_DO_WAITID]: Don't define it at all.
1246 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
1247 defined, then return ENOTSUP for combinations of selection bits other
1248 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
1250 * posix/tst-waitid.c: New file.
1251 * posix/Makefile (tests): Add it.
1253 2004-06-28 Jakub Jelinek <jakub@redhat.com>
1255 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
1258 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
1259 relocation in librt.so.
1262 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
1263 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
1265 2004-06-27 Ulrich Drepper <drepper@redhat.com>
1267 * elf/ldconfig.c (add_dir): Take chroot into account.
1268 Based on changes by HJ Lu and Hideki Iwamoto.
1270 * nscd/connections.c (invalidate_cache): If the host cache has to
1271 be invalidated, re-read resolv.conf.
1273 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
1274 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
1275 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
1276 if RES_NOIP6DOTINT flag is set.
1277 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1279 2004-06-25 Jakub Jelinek <jakub@redhat.com>
1281 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
1283 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
1287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
1288 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
1290 2004-06-21 Jakub Jelinek <jakub@redhat.com>
1293 * sysdeps/unix/alpha/Makefile: New file.
1294 * sysdeps/unix/alpha/rt-sysdep.S: New file.
1295 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
1297 2004-06-18 Ulrich Drepper <drepper@redhat.com>
1299 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
1300 determine the canonical name only for the first returned entry.
1302 * inet/bug-if1.c: New file.
1303 * inet/Makefile (tests): Add bug-if1.
1305 2004-06-18 Roland McGrath <roland@frob.com>
1307 * Makerules (compile-mkdep-flags): Add -MT $@.
1309 * Makefile (dist, tag-for-dist): New targets.
1310 (files-for-dist, tag-of-stem): New variables.
1311 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
1312 Make tar files using cvs export.
1313 (%.bz2, %.gz, tag-%): New pattern rules.
1314 (distribute): Variable removed.
1315 (+subdir_targets): Remove distinfo targets.
1316 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
1317 (rpm/%): Pattern rule removed.
1318 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
1319 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
1321 * Makerules (dist, subdir_distinfo): Targets removed.
1322 ($(objpfx)distinfo): Depend on $(distribute).
1323 * Make-dist: File removed.
1325 * NEWS: Fix a typo. Update bug-reporting instructions.
1327 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
1329 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1330 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
1331 cpuset is wrongly set.
1333 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
1335 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
1336 for POWER4 machines.
1338 2004-06-14 Jakub Jelinek <jakub@redhat.com>
1341 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
1342 in a local variable, point rp to that local variable afterwards.
1344 2004-06-11 Jakub Jelinek <jakub@redhat.com>
1346 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
1349 2004-06-17 Ulrich Drepper <drepper@redhat.com>
1351 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
1352 error value for unknown interface. [BZ #198]
1354 2004-06-13 Jakub Jelinek <jakub@redhat.com>
1356 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
1357 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
1358 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
1359 the asm uses as its input, either of size __n where __n is known or
1361 (strstr): Add "memory" clobber.
1363 2004-06-14 Jakub Jelinek <jakub@redhat.com>
1366 * nss/nsswitch.c (free_mem): Don't try to close a library handle
1367 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
1369 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
1372 * debug/xtrace.sh: Fix typo in error diagnostics.
1374 2004-06-14 Andreas Schwab <schwab@suse.de>
1376 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
1379 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
1382 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
1386 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
1388 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
1389 Fix pasto that overflowed sigcontext.v_reserve.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
1391 Fix pasto that clobbers r19.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
1393 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
1394 overflowed sigcontext.v_reserve.
1396 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
1399 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
1400 instead of ".gnu.linkonce.ro." as the prefix for linkonce
1401 read-only section name.
1403 2004-06-14 Richard Henderson <rth@redhat.com>
1405 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
1406 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
1408 2004-06-08 Jakub Jelinek <jakub@redhat.com>
1410 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
1411 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1412 (__backtrace): Don't call init #ifndef SHARED.
1413 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
1414 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1415 (__backtrace): Don't call init #ifndef SHARED.
1416 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
1417 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1418 (__backtrace): Don't call init #ifndef SHARED.
1420 2004-06-11 Roland McGrath <roland@redhat.com>
1422 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
1423 From Krzysztof Halasa <khc@pm.waw.pl>.
1425 2004-06-10 Jakub Jelinek <jakub@redhat.com>
1427 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
1429 2004-06-08 Jakub Jelinek <jakub@redhat.com>
1432 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
1433 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
1435 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
1436 fails. Avoid memory leak if realloc fails.
1438 2004-06-09 Jakub Jelinek <jakub@redhat.com>
1440 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
1441 NULL, "" or contains '=' character in it. Reported by
1442 Michael T Kerrisk <mtk-lists@gmx.net>.
1443 * stdlib/tst-environ.c: Include errno.h.
1444 (main): Add tests for these arguments to setenv/unsetenv.
1446 2004-06-07 Roland McGrath <roland@frob.com>
1448 * NEWS: Update bug reporting instructions. Fix some typos.
1450 2004-06-05 Ulrich Drepper <drepper@redhat.com>
1452 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
1453 * stdio-common/_itoa.c: Add _itoa implementation.
1455 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
1456 to also send request. Add parameter to allow this.
1458 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
1459 * nscd/nscd_getpw_r.c: Likewise.
1460 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
1462 2004-06-05 Andreas Jaeger <aj@suse.de>
1464 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1465 Handle more than 6 args correctly. Based on a patch by Masahide
1466 Washizawa <washi@jp.ibm.com>.
1468 2004-06-04 Ulrich Drepper <drepper@redhat.com>
1470 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
1471 in all places, not __nss_not_use_nscd_group.
1472 Reported by Philippe Gregoire.
1474 2004-06-03 Ulrich Drepper <drepper@redhat.com>
1476 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
1478 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
1480 * argp/argp-help.c (__argp_error, __argp_failure): Check result
1481 of __asprintf call and don't use string if it failed.
1482 * stdio-common/psignal.c (psignal): Likewise.
1483 * locale/programs/localedef.c (more_help): Likewise.
1484 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
1485 arg_bool, parse_line): Check result of __asprintf calls and
1486 don't use string if they failed.
1487 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
1488 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
1489 call and exit if it failed.
1491 2004-05-10 Jakub Jelinek <jakub@redhat.com>
1493 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
1494 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
1495 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
1496 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
1497 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
1498 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
1499 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
1500 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
1501 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
1502 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1503 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
1505 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
1507 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
1508 -momit-leaf-frame-pointer.
1510 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
1513 * sysdeps/mach/hurd/getcwd.c
1514 (_hurd_canonicalize_directory_name_intern): Only realloc when
1517 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
1520 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
1523 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
1524 __libc_write and __libc_lseek64.
1526 2004-05-29 Roland McGrath <roland@redhat.com>
1528 * elf/Makefile (shared-only-routines): Add dl-caller.
1530 2004-05-28 Ulrich Drepper <drepper@redhat.com>
1532 * sysdeps/powerpc/configure.in: New file.
1534 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
1536 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1537 "altivec" to enable VMX instructions.
1538 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1540 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1548 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1550 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1551 __builtin_expm1l for GCC 3.5+.
1552 (__expl): Define using __builtin_expl for GCC 3.4+.
1553 (exp, expf, expl): Don't define for GCC 3.4+.
1554 (tan, tanf, tanl): Don't define for GCC 3.5+.
1555 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1556 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1557 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1558 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1559 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1561 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1562 Don't define for GCC 3.5+.
1563 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1564 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1565 define for GCC 3.5+.
1566 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1567 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1568 define for GCC 3.2+.
1570 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1572 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1573 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1574 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1575 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1576 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1577 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1578 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1579 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1580 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1581 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1582 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1583 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1584 libc_hidden_builtin_def if MEMPCPY_P.
1585 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1586 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1587 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1588 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1589 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1591 2004-05-26 Roland McGrath <roland@frob.com>
1593 * sysdeps/generic/bits/in.h
1594 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1595 These are long obsolete in BSD systems where they originated.
1596 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1598 2004-05-26 Jakub Jelinek <jakub@redhat.com>
1600 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1601 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1602 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1603 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1604 constant '\0' and first argument is not constant.
1605 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1606 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1607 For GCC 3.2+ use __builtin_strncpy.
1608 (strncat): For GCC 3.2+ use __builtin_strncat.
1609 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1611 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1612 if both arguments are constant.
1614 2004-05-26 Ulrich Drepper <drepper@redhat.com>
1616 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1617 mapped addresses in gethostbyaddr.
1619 2004-05-25 Ulrich Drepper <drepper@redhat.com>
1621 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1622 flags parameter, convert afp to simple int parameter. Adjust code.
1623 typep was never != NULL and flags therefore also unused. *afp is
1625 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1626 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
1627 handling for __nss_hostname_digits_dots calls.
1628 * nss/getXXbyYY_r.c: Likewise.
1630 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1632 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
1634 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1635 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1636 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1637 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1638 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1639 implementation from w_sqrt.c.
1640 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1641 implementation from w_sqrtf.c.
1642 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1643 using inline __ieee754_sqrt().
1644 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1645 using inline __ieee754_sqrtf().
1646 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1647 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1648 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1649 PPC_FEATURE_* independent of __ASSEMBLER__.
1651 2004-05-25 Jakub Jelinek <jakub@redhat.com>
1653 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1655 (aio_start_notify_thread): Define if not defined.
1656 (notify_func_wrapper): Use it.
1657 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1659 (aio_create_helper_thread): Define if not defined.
1660 (__aio_create_helper_thread): New function.
1661 (__aio_enqueue_request): Use aio_create_helper_thread.
1663 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1664 (struct ypresp_all_data): New type.
1665 (__xdr_ypresp_all): Change second argument to
1666 struct ypresp_all_data *. Replace ypall_foreach and
1667 ypall_data with objp->foreach and objp->data.
1668 (yp_all): Remove status variable, add data. Replace
1669 all uses of status with data.status. Initialize data.foreach
1670 and data.data instead of ypall_foreach and ypall_data.
1672 2004-05-24 Jakub Jelinek <jakub@redhat.com>
1674 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1675 in l_flags_1, not in l_flags.
1677 2004-04-10 Robert Millan <robertmh@gnu.org>
1679 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1680 with sysdeps/generic/bits/in.h.
1682 2004-05-25 Roland McGrath <roland@frob.com>
1684 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1685 GCC GPL to standard glibc LGPL.
1687 2004-05-24 Ulrich Drepper <drepper@redhat.com>
1689 * manual/string.texi (Copying and Concatenation): Fixed second
1691 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1693 2004-05-23 Ulrich Drepper <drepper@redhat.com>
1695 * malloc/obstack.c: Don't allow linking with _obstack.
1697 2004-05-23 Andreas Schwab <schwab@suse.de>
1699 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
1700 of separate "m" constraints.
1702 2004-05-15 Chris Demetriou <cgd@broadcom.com>
1704 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
1705 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
1706 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
1708 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
1710 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
1711 Add comment explaining why libc still defines it.
1713 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
1715 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
1716 obstack_alignment_mask, obstack_alloc, obstack_base,
1717 obstack_blank, obstack_blank_fast, obstack_chunk_size,
1718 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
1719 obstack_grow0, obstack_init, obstack_int_grow,
1720 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
1721 obstack_next_free, obstack_object_size, obstack_ptr_grow,
1722 obstack_ptr_grow_fast, obstack_room): Remove declarations of
1723 nonexistent functions.
1725 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
1727 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
1728 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1729 [PIC]: Redundent for powerpc64, removed.
1730 (ENTRY): Generate size and alignment for opd entry.
1731 (EALIGN): Generate size and alignment for opd entry.
1732 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1733 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1735 2004-05-19 Ulrich Drepper <drepper@redhat.com>
1737 * misc/regexp.h: Say the functions have been withdrawn.
1739 * wcsmbs/tst-wcpncpy.c: Add more tests.
1741 2004-05-18 Roland McGrath <roland@frob.com>
1743 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
1744 standard glibc LGPL.
1745 * sysdeps/generic/unwind-dw2.c: Likewise.
1746 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1747 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
1748 * sysdeps/generic/unwind-pe.h: Likewise.
1750 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
1752 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
1753 MONTENEGRO" which have taken over the code 819. Patch from
1754 Danilo Segan. [BZ #40]
1756 2004-05-15 Jakub Jelinek <jakub@redhat.com>
1758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1759 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
1762 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
1764 * catgets/gencat.c: Update bug reporting instructions.
1765 * csu/version.c: Likewise.
1766 * debug/catchsegv.sh: Likewise.
1767 * debug/pcprofiledump.c: Likewise.
1768 * debug/xtrace.sh: Likewise.
1769 * elf/ldd.bash.in: Likewise.
1770 * iconv/iconv_prog.c: Likewise.
1771 * iconv/iconvconfig.c: Likewise.
1772 * locale/programs/locale.c: Likewise.
1773 * locale/programs/localedef.c: Likewise.
1774 * login/programs/pt_chown.c: Likewise.
1775 * malloc/memusage.sh: Likewise.
1776 * malloc/memusagestat.c: Likewise.
1777 * malloc/mtrace.pl: Likewise.
1778 * manual/crypt.texi: Likewise.
1779 * manual/install.texi: Likewise.
1780 * nss/makedb.c: Likewise.
1782 2004-05-14 Jakub Jelinek <jakub@redhat.com>
1784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
1785 CHECK_STATIC_TLS if sym != NULL.
1786 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1787 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
1789 2004-05-12 Andreas Schwab <schwab@suse.de>
1791 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
1794 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
1796 * Rules (xtests): Depend on tests.
1798 2004-05-13 Jakub Jelinek <jakub@redhat.com>
1800 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
1801 count is negative, yet write_ptr < write_end.
1802 (_IO_default_xsgetn): Avoid one underflow per char if count is
1803 negative, yet read_ptr < read_end.
1805 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
1807 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
1810 2004-05-12 Ulrich Drepper <drepper@redhat.com>
1812 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
1815 2004-05-10 Roland McGrath <roland@frob.com>
1817 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
1818 (__hurd_directory_name_split): Likewise.
1820 2004-05-10 Ulrich Drepper <drepper@redhat.com>
1822 * po/fr.po: Update from translation team.
1824 2004-05-10 Andreas Jaeger <aj@suse.de>
1826 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1827 Correctly compute alignment.
1828 Patch by Michael Matz <matz@suse.de>.
1830 2004-05-09 Ulrich Drepper <drepper@redhat.com>
1832 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
1833 * sysdeps/posix/sigpause.c: Likewise.
1834 * signal/signal.h: Don't define sigpause macro unless needed.
1836 2004-05-08 Jakub Jelinek <jakub@redhat.com>
1838 * configure.in (libc_cv_libgcc_s_suffix): New check.
1839 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
1840 * config.make.in (libgcc_s_suffix): Set.
1841 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
1843 2004-05-08 Ulrich Drepper <drepper@redhat.com>
1845 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
1847 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
1850 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1851 Load argument values into temporary variables.
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
1853 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1856 2004-05-07 Ulrich Drepper <drepper@redhat.com>
1858 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
1859 need to be compiled with exceptions.
1861 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1863 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
1864 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
1866 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
1867 realloc cannot fail.
1869 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
1872 * nis/nis_table.c: Clean up memory handling.
1873 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
1874 * nis/nis_removemember.c (nis_removemember): Add comment
1875 explaining use of realloc.
1877 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
1879 Patch by Lev S Bishop <lev.bishop@yale.edu>.
1881 * math/bug-tgmath1.c (main): Test fabs and carg as well.
1883 2004-05-06 Richard Henderson <rth@redhat.com>
1885 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
1886 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1887 * sysdeps/unix/sysv/linux/alpha/Versions: Export
1888 __libc_alpha_cache_shape as a private symbol.
1889 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1890 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1892 2004-05-06 Richard Henderson <rth@redhat.com>
1894 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1895 * sysdeps/alpha/divl.S: Use them.
1896 * sysdeps/alpha/divq.S: Likewise.
1897 * sysdeps/alpha/divqu.S: Likewise.
1898 * sysdeps/alpha/reml.S: Likewise.
1899 * sysdeps/alpha/remq.S: Likewise.
1900 * sysdeps/alpha/remqu.S: Likewise.
1902 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1904 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1907 * math/Makefile (tests): Add bug-tgmath1.
1908 * math/bug-tgmath1.c: New file.
1910 2004-05-05 Jakub Jelinek <jakub@redhat.com>
1912 * sysdeps/alpha/atomicity.h: Remove.
1913 * sysdeps/generic/atomicity.h: Remove.
1915 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
1917 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1920 2004-04-22 David Mosberger <davidm@hpl.hp.com>
1922 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1924 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1926 * sysdeps/ia64/strcat.c: New file.
1927 * sysdeps/ia64/strcat.S: Delete.
1929 2004-05-04 Jakub Jelinek <jakub@redhat.com>
1931 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1934 2004-04-23 Jakub Jelinek <jakub@redhat.com>
1936 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1937 libc_hidden_proto. Define to __GI___libm_error_support for
1938 assembly going into libc.so.
1939 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1942 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1943 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1945 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1946 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1949 2004-05-03 Jakub Jelinek <jakub@redhat.com>
1951 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1952 __USE_BSD or __USE_UNIX98.
1953 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1954 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1955 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1957 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1958 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1959 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1960 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1964 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1966 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1970 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1976 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1980 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1982 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1986 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1987 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1988 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1990 2004-05-01 Jakub Jelinek <jakub@redhat.com>
1992 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1993 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1994 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1995 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1996 * sysdeps/unix/sysv/linux/Versions (libc): Remove
1997 __libc_sigaction@@GLIBC_PRIVATE.
1998 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1999 __modify_ldt@@GLIBC_PRIVATE.
2000 * socket/Versions (libc): Remove __libc_accept, __libc_send,
2001 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
2002 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
2003 * stdio-common/Versions (libc): Remove
2004 _itoa_upper_digits@@GLIBC_PRIVATE.
2005 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
2006 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
2007 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
2008 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
2009 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
2010 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
2011 __libc_lseek64 @@GLIBC_PRIVATE.
2013 2004-04-30 Jakub Jelinek <jakub@redhat.com>
2015 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
2018 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
2020 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
2021 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
2022 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
2023 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
2024 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
2025 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
2026 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
2027 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
2028 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
2029 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
2030 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
2031 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
2032 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
2033 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
2034 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
2035 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
2036 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
2037 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
2039 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
2040 mantissa for AIX long double format.
2041 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
2043 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
2044 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
2045 (_fpioconst_pow10): AIX long double format has same exponent range as
2047 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
2048 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
2051 2004-04-23 Art Haas <ahaas@airmail.net>
2053 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
2055 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
2057 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
2058 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
2059 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
2060 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
2061 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
2063 2004-04-29 Philip Blundell <pb@nexus.co.uk>
2065 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
2068 2004-04-29 Jakub Jelinek <jakub@redhat.com>
2070 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
2071 prototypes and description [BZ #131].
2073 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
2074 Patch by Ed Catmur <ed@catmur.co.uk>.
2075 * string/tst-inlcall.c (main): Add test for strpbrk.
2078 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
2080 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
2081 yet defined, #undef back after including linux/sysctl.h if defined
2083 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
2084 back after including linux/sysctl.h if defined here.
2086 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
2087 for single precision register, add it to __asm clobbers [BZ #139].
2088 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
2089 for single precision register, add it to __asm clobbers.
2090 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
2091 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
2092 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
2093 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
2095 2004-04-23 Andreas Schwab <schwab@suse.de>
2097 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
2100 2004-04-22 Philip Blundell <philb@gnu.org>
2102 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
2103 when calling _dl_signal_error.
2104 (elf_machine_rel): Likewise.
2106 2004-04-21 Ulrich Drepper <drepper@redhat.com>
2108 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
2109 and use it internally instead of __sigsetjmp.
2110 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
2111 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
2112 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
2113 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
2114 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
2115 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
2116 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
2117 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
2118 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
2119 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
2120 HIDDEN_JUMPTARGET for exit call.
2121 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
2123 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
2124 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
2127 2004-04-21 Jakub Jelinek <jakub@redhat.com>
2129 * posix/tst-chmod.c (do_test): Fix a typo.
2131 * elf/lateglobal.c (main): Fix error checks.
2132 Patch by Stephen Clarke <stephen.clarke@st.com>.
2134 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
2135 mention they have been added in ISO C99.
2136 Reported by Ben Pfaff <blp@cs.stanford.edu>.
2138 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
2140 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
2142 2004-04-20 Jakub Jelinek <jakub@redhat.com>
2144 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
2147 2004-04-20 Jakub Jelinek <jakub@redhat.com>
2149 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
2151 * stdio-common/tst-sscanf.c (int_tests): Adjust.
2153 * nis/nss-nis.c: Include stdlib.h.
2155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
2157 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
2158 libc_hidden_builtin_def.
2160 2004-04-20 Jim Meyering <jim@meyering.net>
2162 * misc/error.c (error_tail): Don't leak upon realloc failure.
2164 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2166 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
2167 Use RETURN_ADDRESS instead of __builtin_return_address.
2169 2004-04-19 Ulrich Drepper <drepper@redhat.com>
2171 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
2174 2004-04-20 Jakub Jelinek <jakub@redhat.com>
2176 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
2177 do input_error () instead of conv_error () and don't look at errno.
2178 Don't eat any whitespace before %% if skip_space == 0.
2179 * stdio-common/tst-sscanf.c (int_tests): New array.
2180 (main): Run int_tests.
2183 See ChangeLog.14 for earlier changes.