1 2004-08-15 Roland McGrath <roland@redhat.com>
3 * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
4 Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
5 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
6 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
7 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9 2004-08-15 Roland McGrath <roland@frob.com>
11 * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to
13 (static-only-routines): ... this.
14 * sysdeps/ia64/Makefile: Likewise.
15 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
16 * sysdeps/sparc/sparc64/Makefile: Likewise.
17 * sysdeps/x86_64/Makefile: Likewise.
18 * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change.
19 * sysdeps/ia64/hp-timing.c: Likewise.
20 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
21 * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
23 * csu/elf-init.c: Update copyright terms including special exception
24 for these trivial files, which are statically linked into executables
25 that use dynamic linking for the significant library code.
26 * io/fstat.c: Likewise.
27 * io/fstat64.c: Likewise.
28 * io/lstat.c: Likewise.
29 * io/lstat64.c: Likewise.
30 * io/stat.c: Likewise.
31 * io/stat64.c: Likewise.
32 * stdlib/atexit.c: Likewise.
33 * sysdeps/alpha/elf/initfini.c: Likewise.
34 * sysdeps/alpha/elf/start.S: Likewise.
35 * sysdeps/arm/elf/start.S: Likewise.
36 * sysdeps/cris/elf/start.S: Likewise.
37 * sysdeps/generic/initfini.c: Likewise.
38 * sysdeps/generic/mknod.c: Likewise.
39 * sysdeps/hppa/elf/initfini.c: Likewise.
40 * sysdeps/hppa/elf/start.S: Likewise.
41 * sysdeps/i386/elf/start.S: Likewise.
42 * sysdeps/i386/i686/hp-timing.c: Likewise.
43 * sysdeps/ia64/elf/initfini.c: Likewise.
44 * sysdeps/ia64/elf/start.S: Likewise.
45 * sysdeps/ia64/hp-timing.c: Likewise.
46 * sysdeps/m68k/elf/start.S: Likewise.
47 * sysdeps/mach/start.c: Likewise.
48 * sysdeps/mips/elf/start.S: Likewise.
49 * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
50 * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
51 * sysdeps/s390/s390-32/elf/start.S: Likewise.
52 * sysdeps/s390/s390-32/initfini.c: Likewise.
53 * sysdeps/s390/s390-64/elf/start.S: Likewise.
54 * sysdeps/s390/s390-64/initfini.c: Likewise.
55 * sysdeps/sh/elf/initfini.c: Likewise.
56 * sysdeps/sh/elf/start.S: Likewise.
57 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
59 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60 * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
61 * sysdeps/standalone/i386/start.S: Likewise.
62 * sysdeps/standalone/i960/start.S: Likewise.
63 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
64 * sysdeps/unix/arm/start.c: Likewise.
65 * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
66 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
67 * sysdeps/unix/sparc/start.c: Likewise.
68 * sysdeps/unix/start.c: Likewise.
69 * sysdeps/unix/sysv/aix/start.s: Likewise.
70 * sysdeps/unix/sysv/irix4/start.c: Likewise.
71 * sysdeps/x86_64/elf/initfini.c: Likewise.
72 * sysdeps/x86_64/elf/start.S: Likewise.
74 2004-08-15 Roland McGrath <roland@redhat.com>
77 * sysdeps/unix/sysv/linux/kernel-features.h
78 (__ASSUME_BRK_PAGE_ROUNDED): New macro.
79 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
80 [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within
81 the partial page after the dynamic linker's own data segment.
83 2004-08-15 Ulrich Drepper <drepper@redhat.com>
85 * sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of
86 v4-mapped addresses a bit.
87 (gethosts): Move alloca out of macro, so that it is done only once.
89 * sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of
92 (gethosts2): Renamed to gethosts. Make it usable for family !=
93 AF_UNSPEC. Fix AI_V4MAPPED.
94 (gaih_inet): Remove use of old gethosts. Always use what used to be
95 gethosts2. If entry is found, try to use the same NSS module's
96 getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only
97 if getcanonname_r was not available. Fix filtering of AI_V4MAPPED
98 addresses. Numerous cleanups.
99 * resolv/nss_dns/dns-canon.c: New file.
100 * resolv/Makefile (libnss_dns-routines): Add dns-canon.
101 * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r.
103 * elf/Makefile: Add rules to build and run tst-dlopenrpath.
104 * elf/tst-dlopenrpath.c: New file.
105 * elf/tst-dlopenrpathmod.c: New file.
107 * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8.
108 * intl/tst-gettext.c: Likewise.
110 * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.
112 * nss/getent.c: Allow queries for getaddrinfo with AF_INET and
115 2004-08-14 Ulrich Drepper <drepper@redhat.com>
117 * po/de.po: Update from translation team.
119 2004-08-14 Roland McGrath <roland@frob.com>
121 * sysdeps/mach/configure: Regenerated.
122 * sysdeps/mach/hurd/configure: Regenerated.
124 2004-08-14 Ulrich Drepper <drepper@redhat.com>
126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is
127 performed, make sure it is still the first entry after sorting
128 that has the ai_canonname information.
130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname
133 2004-08-13 Daniel Jacobowitz <dan@debian.org>
135 * scripts/output-format.sed: Handle default case of three-argument
138 * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as
141 2004-08-13 Ulrich Drepper <drepper@redhat.com>
143 * nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the
144 first returned entry. Print name only if not NULL.
146 * nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct
147 __netgrent object passed in instead of global variables.
149 * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data
150 in struct __netgrent object passed in instead of global variables.
151 * inet/netgroup.h (struct __netgrent): Add service_user field.
152 Move cursor in anonymous union, add new field location to that
154 * inet/getnetgrent_r.c: Extensive rewrite to really enable
155 concurrent uset of set/get/endnetgrent and innetgr.
156 Reported by Chuck Simmons.
158 * inet/netgroup.h (struct name_list): Replace name pointer with
160 * inet/getnetgrent_r.c: Adjust code for change in name_list
161 layout. Numerous strdup and free calls removed.
163 * elf/sprof.c (read_symbols): When comparing aliases, prefer
164 non-hidden over hidden symbols and strong over weak symbols
165 if both don't start with '_'.
167 * malloc/malloc.c: Use strong_alias instead of weak_alias wherever
170 2004-08-12 Jakub Jelinek <jakub@redhat.com>
172 * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
173 RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly.
174 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
175 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
176 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
177 Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros
180 2004-08-11 Andreas Schwab <schwab@suse.de>
182 * resolv/res_libc.c: Move definition of __res_initstamp ...
183 * resolv/res_init.c: ... here.
185 2004-08-10 GOTO Masanori <gotom@debian.or.jp>
187 * locale/C-time.c: Change default ERA value from NULL to "".
188 * locale/tst-C-locale.c: Add test case for ERA keywords.
190 2004-08-12 Ulrich Drepper <drepper@redhat.com>
192 * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
193 RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly.
194 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
195 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
197 2004-08-12 Jakub Jelinek <jakub@redhat.com>
199 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING,
200 RLIMIT_MSGQUEUE): Add.
201 (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
202 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING,
203 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
204 (RLIM_NLIMITS): Adjust.
205 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING,
206 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
207 (RLIM_NLIMITS): Adjust.
208 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING,
209 RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
210 (RLIM_NLIMITS): Adjust.
212 2004-08-12 Jakub Jelinek <jakub@redhat.com>
214 * resolv/res_query.c (__libc_res_nsearch): Protect the debugging
215 printf with #ifdef DEBUG and RES_DEBUG check.
217 * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after
219 * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize
221 * sysdeps/gnu/bits/shm.h: Likewise.
222 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
223 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
224 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
225 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
226 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
228 2004-08-12 Ulrich Drepper <drepper@redhat.com>
230 * po/ca.po: Update from translation team.
232 2004-08-11 Ulrich Drepper <drepper@redhat.com>
234 * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for
235 __getpagesize declaration.
237 2004-08-11 Roland McGrath <roland@redhat.com>
239 * configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around
241 Reported by Andreas Schwab <schwab@suse.de>.
242 * configure: Regenerated.
244 * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
246 2004-08-11 Ulrich Drepper <drepper@redhat.com>
248 * time/tzset.c (tzset_internal): Add new parameter which is
249 nonzero if called through tzset. Use TZDEFAULT name including
250 name comparison if the new parameter is zero. This means implicit
251 tzset calls will not cause files to be opened and read by tzfile.c
254 2004-08-11 Jakub Jelinek <jakub@redhat.com>
256 * rt/tst-timer2.c (do_test): If timer_create fails, just continue.
257 * rt/tst-timer4.c (do_test): If one of the timer_create calls fails,
258 return 1 immediately.
260 * time/tzfile.c (__tzfile_read): Free transitions only if it will
263 * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
264 * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.
266 * stdio-common/tst-popen.c: Include <string.h>.
268 * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.
270 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn
271 attribute. Return NULL instead of calling pthread_exit at the end.
273 2004-08-11 Roland McGrath <roland@redhat.com>
275 * iconvdata/testdata/ISO-2022-JP-3: Regenerated.
277 2004-08-10 Alfred M. Szmidt <ams@kemisten.nu>
279 * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.
281 2004-08-10 Jakub Jelinek <jakub@redhat.com>
283 * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
284 (fwrite_unlocked): When checking if size * n is <= 8, cast each
285 argument to size_t individually. Cast n to (void) instead of
286 (size_t), surround with (), return (size_t) 0 if one of n or size
288 * stdio-common/Makefile (tests): Add tst-unlockedio.
289 * stdio-common/tst-unlockedio.c: New test.
291 2004-08-09 Roland McGrath <roland@frob.com>
293 * manual/install.texi (Supported Configurations): Replace bug-glibc
294 mention with web URL.
295 * INSTALL: Regenerated.
296 * locale/iso-3166.def: Likewise, in comment.
297 * locale/iso-4217.def: Likewise.
298 * locale/iso-639.def: Likewise.
299 * posix/cpio.h: Remove bug reporting comment.
301 2004-08-09 Ulrich Drepper <drepper@redhat.com>
303 * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t)
304 casts to handle funny calls with floating point argument values
305 and signed values correctly and without warning.
306 (fwrite_unlocked): Likewise. [BZ #309]
308 * malloc/memusage.c (me): Use creat64, not creat.
309 * malloc/memusagestat.c: Fix handling of very large sizes. [BZ #285]
310 Patch by Guy Maor <guymaor@yahoo.com>.
312 * elf/ldconfig.c (options): Mark parameter option names as
313 translatable. [BZ #253] Patch by Jakub Bogusz <qboosh@pld-linux.org>.
315 * iconv/gconv_charset.h (strip): Also allow comma which is what is
316 used to separate options. [BZ #194]
318 2004-08-09 Roland McGrath <roland@redhat.com>
320 * FAQ.in: Refer to web pages instead of bug-glibc.
323 * time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.
325 2004-08-09 Ulrich Drepper <drepper@redhat.com>
327 * time/tzset.c (tzset_internal): If TZ is not set do not compare
328 old and new tz value since it might be /etc/localtime in both
329 cases although the file changed. [BZ #154]
330 Patch by Christian Franke <franke@computer.org>.
332 * time/tzfile.c (__tzfile_read): Determine dev/ino of file.
333 Compare with values of previously opened file. Don't do anything
336 2004-08-08 Ulrich Drepper <drepper@redhat.com>
338 * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
339 reset loader before the actual loading.
340 * elf/dl-open.c (dl_open_worker): If file name contains no path
341 element determine map of caller. Pass caller map in this case to
342 _dl_map_object. Set __RTLD_CALLMAP in mode.
343 * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116]
344 Patch by Greg Wolodkin <greg@mathworks.com>.
346 * misc/syslog.c (openlog_internal): Always try both UDP and TCP.
347 [BZ #108] Patch mainly by Bjorn Andersson <bjorn@iki.fi>.
349 * configure.in: Also recognize i786. [BZ #106]
350 Patch by <pluto@pld-linux.org>.
352 * resolv/res_query.c (__libc_res_nsearch): Correctly test whether
353 name contains any dots. [BZ #95]
355 * resolv/res_send.c: Compiling with DEBUG defined works again.
356 * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all
359 * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
360 available the process is not killed. [BZ #41]
362 * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
364 * time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
367 * po/sv.po: Update from translation team.
369 2004-08-07 Ulrich Drepper <drepper@redhat.com>
371 * inet/netinet/in.h: Add more const to the setipv4soucefilter,
372 getsourcefilter, and setsourcefilter parameter list.
373 * sysdeps/generic/setipv4sourcefilter.c: Likewise.
374 * sysdeps/generic/getsourcefilter.c: Likewise.
375 * sysdeps/generic/setsourcefilter.c: Likewise.
376 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
377 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
378 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
380 * po/tr.po: Update from translation team.
382 2004-08-06 Ulrich Drepper <drepper@redhat.com>
384 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
385 Reported by Paolo Bonzini.
387 2004-08-06 Jakub Jelinek <jakub@redhat.com>
389 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
392 elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.
394 * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
395 before including linux/atalk.h.
397 * resolv/res_libc.c: Include atomic.h.
399 * intl/finddomain.c (free_mem): Rename to...
400 (_nl_finddomain_subfreeres): ... this. Add
401 __libc_freeres_fn_section.
402 * intl/loadmsgcat.c (_nl_unload_domain): Add
403 __libc_freeres_fn_section.
404 * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
405 Add attribute_hidden.
406 (_nl_findomain_subfreeres): New prototype.
407 * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
409 2004-07-30 Guido Guenther <agx@sigxcpu.org>
411 * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
412 test if the key is numeric or not.
413 (group_keys): Likewise.
415 2004-08-05 Ulrich Drepper <drepper@redhat.com>
417 * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
418 struct group_filter, and GROUP_FILTER_SIZE.
419 * include/sys/socket.h: Declare __getsockopt.
420 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
421 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
422 * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
423 * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
425 * po/ko.po: Update from translation team.
427 2004-08-04 Jakub Jelinek <jakub@redhat.com>
429 * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
431 (__hesiod_res_set): Free nsaddrs.
433 * include/resolv.h (__res_maybe_init): Add prototype.
434 * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
435 * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
436 * resolv/res_libc.c (__res_initstamp, lock): New variables.
437 (res_init): Increase __res_initstamp.
438 (__res_maybe_init): New function.
439 * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
440 * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
441 of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
443 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
444 _nss_dns_gethostbyaddr_r): Likewise.
445 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
446 _nss_dns_getnetbyaddr_r): Likewise.
447 * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
448 gethostbyaddr): Likewise.
449 * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
450 res_isourserver, res_sendsigned, res_update, res_search,
451 res_querydomain): Likewise.
452 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
453 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
454 * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
457 2004-08-05 Ulrich Drepper <drepper@redhat.com>
459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
460 V4-mapped IPv6 addresses and req->ai_family==AF_INET.
461 Reported by A. Guru <a.guru@sympatico.ca>.
463 * po/sv.po: Update from translation team.
464 * po/sk.po: Likewise.
465 * po/pl.po: Likewise.
467 2004-08-04 Jakub Jelinek <jakub@redhat.com>
468 Ulrich Drepper <drepper@redhat.com>
470 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
471 characters than necessary.
473 2004-08-05 Ulrich Drepper <drepper@redhat.com>
475 * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
476 * wcsmbs/tst-mbsrtowcs.c: New file.
478 * po/fr.po: Update from translation team.
480 2004-08-04 Jakub Jelinek <jakub@redhat.com>
482 * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported
483 by A. Guru <a.guru@sympatico.ca>. [BZ #295]
485 2004-08-05 Ulrich Drepper <drepper@redhat.com>
487 * po/nl.po: Update from translation team.
489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
490 numeric address formats inet_addr knows.
491 (getaddrinfo): Allow AI_NUMERICSERV flag.
492 If neither IPv4 nor IPv6 interface is present we cannot make any
493 decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the
494 string is not just a number. Remove useless freeaddrinfo call.
495 * resolv/netdb.h (AI_NUMERICSERV): Define.
496 Based on a patch by a.guru@sympatico.ca.
498 2004-08-04 Jakub Jelinek <jakub@redhat.com>
500 * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
501 instead of trying to initialize some, but not all, fields one by
503 * stdio-common/printf_size.c (printf_size): Initialize fb_info
504 structure with *info instead of trying to initialize some, but not
507 * nscd/connections.c (handle_request): Check if req->type is in
508 LASTDBREQ .. LASTREQ range instead of req.
510 * locale/programs/linereader.c (lr_create): Initialize
511 lr->return_widestr to 0.
513 * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
514 (free_mem): Call free_slotinfo just once.
516 * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
519 * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
520 * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
521 (free_mem): Rename to _nl_locale_subfreeres.
522 * iconv/gconv_db.c: Include locale/localeinfo.h.
523 (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
524 (free_mem): Call _nl_locale_subfreeres.
525 * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
527 2004-08-04 Roland McGrath <roland@frob.com>
529 * Makeconfig ($(common-objpfx)config.status):
530 Fix typo: $(add_ons) -> $(add-ons).
531 (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs)
532 include, use black magic to get it set to an add-on's name during the
533 include of the add-on's Makeconfig.
535 * configure.in: Use variable name `libc_add_on' when sourcing add-on
536 configure fragments, so they can refer to this.
537 * configure: Regenerated.
539 2004-08-04 Roland McGrath <roland@redhat.com>
541 * posix/tst-waitid.c (test_child): Sleep a second before stopping.
542 (do_test): Bump sleep to three seconds.
543 (sigchld, check_sigchld): New functions.
544 (do_test): Handle SIGCHLD and check for getting the right details.
546 * posix/tst-waitid.c (do_test): Kill the child process when bailing
547 out early on some failure.
548 [WCONTINUED]: Test WCONTINUED functionality.
550 2004-08-03 Ulrich Drepper <drepper@redhat.com>
552 * nscd/connections.c (handle_request): Print more descriptive
553 message for invalid request types.
555 2004-08-02 Jakub Jelinek <jakub@redhat.com>
557 * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
558 Always treat high as highest number in range + 1.
559 * iconvdata/ibm943.c (BODY): Likewise.
561 2004-07-31 Bruno Haible <bruno@clisp.org>
563 * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
564 * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
565 __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
566 __jisx0213_from_ucs_level2): Regenerated.
567 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
568 * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
570 (JISX0213_1_2004_set): New enum value.
571 (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
572 (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
573 when possible, ESC $ ( Q when needed.
574 * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
575 * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
576 * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
577 * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
578 * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
579 * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
581 2004-07-22 Bruno Haible <bruno@clisp.org>
583 * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
585 2004-07-29 David S. Miller <davem@redhat.com>
587 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
588 better for smaller than 256 byte copies. Also, use only one
589 unrolled loop instead of two for the large copy case.
591 2004-07-30 Richard Henderson <rth@redhat.com>
593 * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
594 * sysdeps/alpha/remq.S: Likewise.
595 * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
596 new division algorithms in divl.S and divq.S respectively.
598 2004-07-28 GOTO Masanori <gotom@debian.or.jp>
600 * timezone/asia: Update from tzdata2004b.
601 * timezone/backward: Likewise.
602 * timezone/europe: Likewise.
603 * timezone/iso3166.tab: Likewise.
604 * timezone/leapseconds: Likewise.
605 * timezone/northamerica: Likewise.
606 * timezone/southamerica: Likewise.
607 * timezone/zone.tab: Likewise.
609 * timezone/private.h: Update from tzcode2004b.
610 * timezone/zic.c: Likewise.
612 2004-07-27 Ulrich Drepper <drepper@redhat.com>
614 * nscd/grpcache.c (cache_addgr): If necessary, add entry also
615 under the name the user provided.
616 * nscd/pwdcache.c (cache_addpw): Likewise.
618 2004-07-26 Roland McGrath <roland@redhat.com>
620 * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
623 2004-07-26 Ulrich Drepper <drepper@redhat.com>
625 * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
628 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
629 new buffer at the right time.
630 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
632 2004-07-25 Ulrich Drepper <drepper@redhat.com>
634 * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
635 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
636 * inet/Makefile (routines): Likewise.
637 * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
638 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
639 * sysdeps/generic/getipv4sourcefilter.c: New file.
640 * sysdeps/generic/setipv4sourcefilter.c: New file.
641 * sysdeps/generic/getsourcefilter.c: New file.
642 * sysdeps/generic/setsourcefilter.c: New file.
644 2004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
646 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
649 2004-07-21 Jakub Jelinek <jakub@redhat.com>
652 * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
653 BITS_PER_MP_LIMB shifting up.
654 * stdlib/tst-strtod.c (main): Add new tests.
656 2004-07-23 Jakub Jelinek <jakub@redhat.com>
659 * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
660 _IO_no_init. Remove wd from struct locked_FILE.
661 (_IO_wproc_jumps): Remove.
662 Reported by Andrew Josey <a.josey@opengroup.org>.
663 * stdio-common/Makefile (tests): Add tst-popen.
664 * stdio-common/tst-popen.c: New test.
666 2004-07-23 Ulrich Drepper <drepper@redhat.com>
668 * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
669 _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
670 _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
671 Reported by Andrew Josey.
673 * include/features.h: Document _POSIX_C_SOURCE == 200112L.
675 * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
676 * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
677 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
678 off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
679 * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
680 * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
681 useconds_t if __USE_XOPEN2K is defined.
682 * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
683 * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
685 2004-07-19 Thorsten Kukuk <kukuk@suse.de>
687 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
688 allocate memory for large temporary variables with alloca.
690 2004-07-22 Ulrich Drepper <drepper@redhat.com>
692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
693 code must have version GLIBC_2.0. Patch by Dwayne McConnell.
695 * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
696 pointer and zero length.
698 2004-07-21 Ulrich Drepper <drepper@redhat.com>
700 * nscd/cache.c (prune_cache): Print correct list when debugging.
702 2004-07-21 Jakub Jelinek <jakub@redhat.com>
704 * resolv/res_libc.c (res_init): If RES_INIT is set and
705 _res.nscount > 0, call __res_nclose and free nsaddrs.
706 * resolv/Makefile: Add rules to build and run tst-leaks2.
707 * resolv/tst-leaks2.c: New test.
709 2004-07-21 Ulrich Drepper <drepper@redhat.com>
711 * intl/libintl.h: Don't define macros for C++.
712 Patch by Goto Masanori.
714 2004-07-22 GOTO Masanori <gotom@debian.or.jp>
717 * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
718 * inet/arpa/inet.h: Likewise.
719 * resolv/inet_addr.c: Likewise.
721 2004-07-21 Alexandre Oliva <aoliva@redhat.com>
723 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
725 2004-07-20 Roland McGrath <roland@redhat.com>
727 * configure.in (add_ons): Substitute this. Move $add_ons handling
728 after AC_CANONICAL_HOST and default setting of $machine et al.
729 Don't set $subdirs from $add_ons.
730 Instead, source add-on/configure fragments early on.
731 (base_machine): If it's already set, don't set it based on $machine.
732 (libc_config_ok): New variable, set to no. If an add-on fragment sets
733 it to yes, skip the tuple sanity check as if --enable-hacker-mode.
734 (sysnames): Try appending add-on names after machine as well.
735 * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
736 * Makeconfig ($(common-objpfx)config.status): Also depend on configure
737 files in $(add_ons) dirs.
739 * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
740 definition, now in netinet/in.h proper.
742 2004-07-20 Alexandre Oliva <aoliva@redhat.com>
744 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
745 Sort by syscalls. Make sure we get headers such as sgidefs.h from
746 the build tree before just-installed ones.
748 * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
749 include sgidefs.h where appropriate.
750 * sysdeps/mips/dl-machine.h: Likewise.
751 * sysdeps/mips/machine-gmon.h: Likewise.
752 * sysdeps/mips/bits/setjmp.h: Likewise.
753 * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
754 * sysdeps/mips/mips64/__longjmp.c: Likewise.
755 * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
756 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
757 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
758 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
759 * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
760 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
761 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
762 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
763 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
764 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
765 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
766 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
767 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
768 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
769 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
770 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
771 * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
772 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
774 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
777 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
779 (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
781 2004-07-20 Ulrich Drepper <drepper@redhat.com>
783 * inet/netinet/in.h: Define struct ip_mreq and struct
785 Define struct group_req and struct group_source_req.
786 * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
787 IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
788 IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
789 MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
790 MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
792 Define MCAST_INCLUDE and MCAST_EXCLUDE.
794 * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
796 2004-07-19 Jakub Jelinek <jakub@redhat.com>
799 * math/libm-test.inc (max_value, min_value): New variables.
800 (initialize): Initialize them.
801 (pow_test): Add a couple of new tests.
802 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
803 exception if |y| >= 1U<<31.
804 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
805 exception if |y| >= 1L<<63.
806 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
807 If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
808 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
810 2004-07-18 Ulrich Drepper <drepper@redhat.com>
812 * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
814 * nscd/grpcache.c (cache_addgr): Likewise.
815 * nscd/hstcache.c (cache_addhst): Likewise.
817 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
819 * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
820 * sysdeps/s390/s390-64/elf/start.S: Likewise.
822 2004-04-16 Andreas Schwab <schwab@suse.de>
824 * sysdeps/ia64/bits/atomic.h: Cast first argument of
825 __sync_bool_compare_and_swap_si correct to void*.
827 2004-07-17 Ulrich Drepper <drepper@redhat.com>
829 * iconv/iconv_prog.c (print_known_names): Make machine-readable
830 output even less cluttered.
832 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
835 * setjmp/Makefile (tests): Add bug269-setjmp.
836 * setjmp/bug269-setjmp.c: New file.
837 * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
838 Store R2 from jmpbuf in callers TOC save area.
839 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
840 Store R2 in TOC save area.
841 * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
842 Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
844 2004-07-16 Jakub Jelinek <jakub@redhat.com>
846 * locale/newlocale.c: Include bits/libc-lock.h.
847 (__libc_setlocale_lock): Extern decl.
848 (__newlocale): Use it.
849 Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
851 2004-07-15 Jakub Jelinek <jakub@redhat.com>
853 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
854 static inline __attribute ((always_inline)). Don't define if
856 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
859 Remove static inline __attribute ((always_inline)). Don't define
861 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
863 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
864 __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
865 Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
866 (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
869 * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
871 * elf/Makefile: Add rules to build and run tst-pie1.
872 * elf/tst-pie1.c: New test.
873 * elf/tst-piemod1.c: New file.
875 2004-07-14 Jakub Jelinek <jakub@redhat.com>
878 * manual/string.texi (l64a): Note that the static buffer is 7 bytes
879 long. Rewrite example code so that it takes into account l64a output
880 shorter than 6 characters.
881 Reported by Julian Graham <julian.graham@aya.yale.edu>.
883 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
885 * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
886 (elf_machine_rela_relative): Remove unused valiable.
888 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
891 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
892 outside the buffer if the read returns 0. __strtod_l can't set
893 endp to NULL, so remove a test for that case.
895 2004-07-12 Roland McGrath <roland@redhat.com>
897 * manual/signal.texi (Interrupted Primitives): Make clear that
898 TEMP_FAILURE_RETRY evaluates its expression as long int and compares
899 it to -1 to define "failure".
901 2004-07-10 Ulrich Drepper <drepper@redhat.com>
903 * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
905 * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
907 * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
910 * elf/rtld.c (print_statistics): Mark with noinline attribute.
911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
913 (elf_machine_rel_relative): Likewise.
915 * include/string.h: Add libc_hidden_proto for __strtok_r and
917 * sysdeps/generic/strsep.c: Add libc_hidden_def.
918 * sysdeps/generic/strtok_r.c: Likewise.
919 * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
920 * sysdeps/i386/i686/strtok_r.S: Likewise.
921 * sysdeps/x86_64/strtok_r.S: Likewise.
923 2004-07-09 Alexandre Oliva <aoliva@redhat.com>
925 * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
926 instead of internal-linkage, such that we can alias to it.
927 (internal_endnetgrent, internal_getnetgrent_r): Likewise.
929 2004-07-09 Ulrich Drepper <drepper@redhat.com>
931 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
932 to the front for gcc 3.5+.
933 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
935 * include/fcntl.h: Don't declare __fcntl_nocancel here if
936 NO_CANCELLATION is defined.
938 2004-07-07 Jakub Jelinek <jakub@redhat.com>
940 * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
941 GL(dl_nloaded) into it while still in critical section.
943 2004-07-06 Thorsten Kukuk <kukuk@suse.de>
945 * nss/getent.c (print_group, print_passwd): Use %lu format for
946 `unsigned long int' values.
948 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
949 error typos in goto statements.
951 2004-07-07 Roland McGrath <roland@frob.com>
953 * Makefile (dist-separate): New variable.
954 (glibc-%.tar rule): Make separate tar files for add-ons listed there.
955 Depend on their configure files.
956 (dist-do-separate-dirs): New canned sequence to do that.
957 (dist-separate-libidn, dist-separate-linuxthreads): New variables.
958 (dist): Depend on add-on tar files based on $(dist-separate).
959 (dist-version): New variable, default to $(version).
960 (tag-for-dist, dist): Use that in place of $(version) in deps.
962 2004-07-07 Ulrich Drepper <drepper@redhat.com>
964 * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
965 before the loop running the destructors.
967 2004-05-18 Andreas Schwab <schwab@suse.de>
969 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
970 the first segment for mprotect, not l_text_end.
972 2004-07-05 Ulrich Drepper <drepper@redhat.com>
974 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
975 Remove hashfraction variable. Make kcount and kcountsize local
978 * elf/dl-init.c: Don't define and use _dl_starting_up if
979 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
980 * elf/dl-support.c: Likewise.
981 * elf/rtld.c: Likewise.
982 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
983 if HAVE_INLINED_SYSCALLS is defined.
984 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
986 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
987 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
988 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
990 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
991 is needed to stop profiling.
992 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
993 profile make sure it cannot be unloaded.
995 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
997 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
998 support, make sure the helper function is inlined.
999 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1000 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1001 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
1004 2004-07-05 Jakub Jelinek <jakub@redhat.com>
1006 * include/string.h (ffs): Add libc_hidden_builtin_proto.
1007 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
1008 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
1009 * sysdeps/alpha/ffs.S (ffs): Likewise.
1010 * sysdeps/s390/ffs.c (ffs): Likewise.
1011 * sysdeps/powerpc/ffs.c (ffs): Likewise.
1012 * sysdeps/i386/ffs.c (ffs): Likewise.
1013 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
1014 * sysdeps/m68k/ffs.c (ffs): Likewise.
1015 * sysdeps/generic/ffs.c (ffs): Likewise.
1016 * sysdeps/m88k/ffs.c (ffs): Likewise.
1017 * sysdeps/am29k/ffs.c (ffs): Likewise.
1018 * sysdeps/i960/ffs.c (ffs): Likewise.
1019 * sysdeps/x86_64/ffs.c (ffs): Likewise.
1021 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
1023 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
1024 __libc_siglongjmp): Remove symbol_version.
1025 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
1026 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
1027 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
1029 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
1030 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
1031 strong_alias instead of default_symbol_version, remove
1033 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
1034 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
1035 into strong_alias to __novmxsetjmp.
1036 (__vmx__setjmp): Similarly with __vmxsetjmp.
1037 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
1038 default_symbol_version and symbol_version.
1039 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
1040 into strong_alias to __novmxsetjmp.
1041 (__vmx__setjmp): Similarly with __vmxsetjmp.
1042 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
1043 default_symbol_version and symbol_version.
1045 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
1047 2004-07-05 Ulrich Drepper <drepper@redhat.com>
1049 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
1051 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
1053 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
1054 instead of libc_hidden_def.
1056 2004-07-01 Roland McGrath <roland@redhat.com>
1058 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
1060 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
1061 $(..)shlib-versions file to last in deps list. This lets add-ons give
1062 more-specific matches that override defaults in the top-level file.
1064 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
1065 already set, don't set it or libc_cv_gcc_unwind_find_fde.
1066 * sysdeps/unix/sysv/linux/configure: Regenerated.
1068 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
1070 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
1071 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
1072 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
1073 * sysdeps/s390/fpu/e_sqrt.c: New file.
1074 * sysdeps/s390/fpu/e_sqrtf.c: New file.
1075 * sysdeps/s390/Implies: New file.
1076 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
1077 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
1078 * sysdeps/s390/s390-64/Implies: Likewise.
1080 2004-06-30 Jakub Jelinek <jakub@redhat.com>
1082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
1083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
1086 DO_CALL (exit, 1) instead of branching to _exit.
1087 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
1090 * sysdeps/s390/fpu/bits/mathinline.h: New file.
1092 * include/glob.h (glob64): Add libc_hidden_proto.
1093 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
1094 * sysdeps/gnu/glob64.c (glob64): Likewise.
1095 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
1097 2004-06-11 Jakub Jelinek <jakub@redhat.com>
1099 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
1100 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1102 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
1104 * sysdeps/powerpc/fpu/s_lround.c: Removed.
1105 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
1106 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
1107 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
1108 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
1109 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
1110 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
1111 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
1112 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
1113 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
1114 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
1115 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
1116 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
1117 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
1118 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
1119 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
1121 2004-06-30 Ulrich Drepper <drepper@redhat.com>
1123 * include/net/if.h: Handle if_nameindex and if_freenameindex with
1125 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
1126 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
1127 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
1128 netlink if possible. Fall back on ioctl method if necessary.
1129 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
1131 * include/unistd.h: Declare __truncate.
1132 * sysdeps/generic/truncate.c: Also define __truncate.
1133 * sysdeps/mach/hurd/truncate.c: Likewise.
1134 * sysdeps/unix/common/syscalls.list: Likewise.
1135 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
1137 2004-06-29 Ulrich Drepper <drepper@redhat.com>
1139 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1140 info.extra. Patch by Marcus Meissner.
1142 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1144 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1145 Fix branch offset for a PLT entry.
1147 2004-06-20 Jim Meyering <jim@meyering.net>
1149 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
1152 2004-06-28 Ulrich Drepper <drepper@redhat.com>
1154 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
1155 Workaround for [BZ #232].
1157 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
1159 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
1161 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
1162 in ucs2/ucs2reverse when unaligned memory access is attempted.
1163 * iconv/tst-iconv5.c: New file.
1164 * iconv/Makefile (tests): Add tst-iconv5.
1166 2004-06-28 Jakub Jelinek <jakub@redhat.com>
1168 * inet/bug-if1.c: Include <string.h>.
1170 2004-06-19 Roland McGrath <roland@redhat.com>
1172 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
1173 under this macro name instead.
1174 [NO_DO_WAITID]: Don't define it at all.
1175 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
1176 defined, then return ENOTSUP for combinations of selection bits other
1177 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
1179 * posix/tst-waitid.c: New file.
1180 * posix/Makefile (tests): Add it.
1182 2004-06-28 Jakub Jelinek <jakub@redhat.com>
1184 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
1187 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
1188 relocation in librt.so.
1191 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
1192 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
1194 2004-06-27 Ulrich Drepper <drepper@redhat.com>
1196 * elf/ldconfig.c (add_dir): Take chroot into account.
1197 Based on changes by HJ Lu and Hideki Iwamoto.
1199 * nscd/connections.c (invalidate_cache): If the host cache has to
1200 be invalidated, re-read resolv.conf.
1202 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
1203 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
1204 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
1205 if RES_NOIP6DOTINT flag is set.
1206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1208 2004-06-25 Jakub Jelinek <jakub@redhat.com>
1210 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
1212 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
1216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
1217 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
1219 2004-06-21 Jakub Jelinek <jakub@redhat.com>
1222 * sysdeps/unix/alpha/Makefile: New file.
1223 * sysdeps/unix/alpha/rt-sysdep.S: New file.
1224 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
1226 2004-06-18 Ulrich Drepper <drepper@redhat.com>
1228 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
1229 determine the canonical name only for the first returned entry.
1231 * inet/bug-if1.c: New file.
1232 * inet/Makefile (tests): Add bug-if1.
1234 2004-06-18 Roland McGrath <roland@frob.com>
1236 * Makerules (compile-mkdep-flags): Add -MT $@.
1238 * Makefile (dist, tag-for-dist): New targets.
1239 (files-for-dist, tag-of-stem): New variables.
1240 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
1241 Make tar files using cvs export.
1242 (%.bz2, %.gz, tag-%): New pattern rules.
1243 (distribute): Variable removed.
1244 (+subdir_targets): Remove distinfo targets.
1245 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
1246 (rpm/%): Pattern rule removed.
1247 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
1248 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
1250 * Makerules (dist, subdir_distinfo): Targets removed.
1251 ($(objpfx)distinfo): Depend on $(distribute).
1252 * Make-dist: File removed.
1254 * NEWS: Fix a typo. Update bug-reporting instructions.
1256 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
1258 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1259 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
1260 cpuset is wrongly set.
1262 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
1264 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
1265 for POWER4 machines.
1267 2004-06-14 Jakub Jelinek <jakub@redhat.com>
1270 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
1271 in a local variable, point rp to that local variable afterwards.
1273 2004-06-11 Jakub Jelinek <jakub@redhat.com>
1275 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
1278 2004-06-17 Ulrich Drepper <drepper@redhat.com>
1280 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
1281 error value for unknown interface. [BZ #198]
1283 2004-06-13 Jakub Jelinek <jakub@redhat.com>
1285 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
1286 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
1287 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
1288 the asm uses as its input, either of size __n where __n is known or
1290 (strstr): Add "memory" clobber.
1292 2004-06-14 Jakub Jelinek <jakub@redhat.com>
1295 * nss/nsswitch.c (free_mem): Don't try to close a library handle
1296 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
1298 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
1301 * debug/xtrace.sh: Fix typo in error diagnostics.
1303 2004-06-14 Andreas Schwab <schwab@suse.de>
1305 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
1308 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
1311 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
1315 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
1317 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
1318 Fix pasto that overflowed sigcontext.v_reserve.
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
1320 Fix pasto that clobbers r19.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
1322 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
1323 overflowed sigcontext.v_reserve.
1325 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
1328 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
1329 instead of ".gnu.linkonce.ro." as the prefix for linkonce
1330 read-only section name.
1332 2004-06-14 Richard Henderson <rth@redhat.com>
1334 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
1335 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
1337 2004-06-08 Jakub Jelinek <jakub@redhat.com>
1339 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
1340 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1341 (__backtrace): Don't call init #ifndef SHARED.
1342 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
1343 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1344 (__backtrace): Don't call init #ifndef SHARED.
1345 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
1346 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1347 (__backtrace): Don't call init #ifndef SHARED.
1349 2004-06-11 Roland McGrath <roland@redhat.com>
1351 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
1352 From Krzysztof Halasa <khc@pm.waw.pl>.
1354 2004-06-10 Jakub Jelinek <jakub@redhat.com>
1356 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
1358 2004-06-08 Jakub Jelinek <jakub@redhat.com>
1361 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
1362 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
1364 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
1365 fails. Avoid memory leak if realloc fails.
1367 2004-06-09 Jakub Jelinek <jakub@redhat.com>
1369 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
1370 NULL, "" or contains '=' character in it. Reported by
1371 Michael T Kerrisk <mtk-lists@gmx.net>.
1372 * stdlib/tst-environ.c: Include errno.h.
1373 (main): Add tests for these arguments to setenv/unsetenv.
1375 2004-06-07 Roland McGrath <roland@frob.com>
1377 * NEWS: Update bug reporting instructions. Fix some typos.
1379 2004-06-05 Ulrich Drepper <drepper@redhat.com>
1381 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
1382 * stdio-common/_itoa.c: Add _itoa implementation.
1384 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
1385 to also send request. Add parameter to allow this.
1387 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
1388 * nscd/nscd_getpw_r.c: Likewise.
1389 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
1391 2004-06-05 Andreas Jaeger <aj@suse.de>
1393 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1394 Handle more than 6 args correctly. Based on a patch by Masahide
1395 Washizawa <washi@jp.ibm.com>.
1397 2004-06-04 Ulrich Drepper <drepper@redhat.com>
1399 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
1400 in all places, not __nss_not_use_nscd_group.
1401 Reported by Philippe Gregoire.
1403 2004-06-03 Ulrich Drepper <drepper@redhat.com>
1405 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
1407 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
1409 * argp/argp-help.c (__argp_error, __argp_failure): Check result
1410 of __asprintf call and don't use string if it failed.
1411 * stdio-common/psignal.c (psignal): Likewise.
1412 * locale/programs/localedef.c (more_help): Likewise.
1413 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
1414 arg_bool, parse_line): Check result of __asprintf calls and
1415 don't use string if they failed.
1416 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
1417 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
1418 call and exit if it failed.
1420 2004-05-10 Jakub Jelinek <jakub@redhat.com>
1422 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
1423 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
1424 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
1425 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
1426 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
1427 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
1428 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
1429 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
1430 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
1431 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1432 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
1434 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
1436 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
1437 -momit-leaf-frame-pointer.
1439 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
1442 * sysdeps/mach/hurd/getcwd.c
1443 (_hurd_canonicalize_directory_name_intern): Only realloc when
1446 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
1449 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
1452 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
1453 __libc_write and __libc_lseek64.
1455 2004-05-29 Roland McGrath <roland@redhat.com>
1457 * elf/Makefile (shared-only-routines): Add dl-caller.
1459 2004-05-28 Ulrich Drepper <drepper@redhat.com>
1461 * sysdeps/powerpc/configure.in: New file.
1463 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
1465 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1466 "altivec" to enable VMX instructions.
1467 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1468 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1469 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1477 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1479 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1480 __builtin_expm1l for GCC 3.5+.
1481 (__expl): Define using __builtin_expl for GCC 3.4+.
1482 (exp, expf, expl): Don't define for GCC 3.4+.
1483 (tan, tanf, tanl): Don't define for GCC 3.5+.
1484 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1485 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1486 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1487 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1488 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1490 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1491 Don't define for GCC 3.5+.
1492 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1493 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1494 define for GCC 3.5+.
1495 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1496 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1497 define for GCC 3.2+.
1499 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1501 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1502 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1503 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1504 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1505 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1506 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1507 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1508 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1509 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1510 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1511 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1512 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1513 libc_hidden_builtin_def if MEMPCPY_P.
1514 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1515 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1516 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1517 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1518 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1520 2004-05-26 Roland McGrath <roland@frob.com>
1522 * sysdeps/generic/bits/in.h
1523 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1524 These are long obsolete in BSD systems where they originated.
1525 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1527 2004-05-26 Jakub Jelinek <jakub@redhat.com>
1529 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1530 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1531 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1532 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1533 constant '\0' and first argument is not constant.
1534 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1535 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1536 For GCC 3.2+ use __builtin_strncpy.
1537 (strncat): For GCC 3.2+ use __builtin_strncat.
1538 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1540 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1541 if both arguments are constant.
1543 2004-05-26 Ulrich Drepper <drepper@redhat.com>
1545 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1546 mapped addresses in gethostbyaddr.
1548 2004-05-25 Ulrich Drepper <drepper@redhat.com>
1550 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1551 flags parameter, convert afp to simple int parameter. Adjust code.
1552 typep was never != NULL and flags therefore also unused. *afp is
1554 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1555 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
1556 handling for __nss_hostname_digits_dots calls.
1557 * nss/getXXbyYY_r.c: Likewise.
1559 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1561 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
1563 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1564 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1565 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1566 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1567 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1568 implementation from w_sqrt.c.
1569 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1570 implementation from w_sqrtf.c.
1571 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1572 using inline __ieee754_sqrt().
1573 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1574 using inline __ieee754_sqrtf().
1575 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1576 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1577 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1578 PPC_FEATURE_* independent of __ASSEMBLER__.
1580 2004-05-25 Jakub Jelinek <jakub@redhat.com>
1582 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1584 (aio_start_notify_thread): Define if not defined.
1585 (notify_func_wrapper): Use it.
1586 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1588 (aio_create_helper_thread): Define if not defined.
1589 (__aio_create_helper_thread): New function.
1590 (__aio_enqueue_request): Use aio_create_helper_thread.
1592 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1593 (struct ypresp_all_data): New type.
1594 (__xdr_ypresp_all): Change second argument to
1595 struct ypresp_all_data *. Replace ypall_foreach and
1596 ypall_data with objp->foreach and objp->data.
1597 (yp_all): Remove status variable, add data. Replace
1598 all uses of status with data.status. Initialize data.foreach
1599 and data.data instead of ypall_foreach and ypall_data.
1601 2004-05-24 Jakub Jelinek <jakub@redhat.com>
1603 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1604 in l_flags_1, not in l_flags.
1606 2004-04-10 Robert Millan <robertmh@gnu.org>
1608 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1609 with sysdeps/generic/bits/in.h.
1611 2004-05-25 Roland McGrath <roland@frob.com>
1613 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1614 GCC GPL to standard glibc LGPL.
1616 2004-05-24 Ulrich Drepper <drepper@redhat.com>
1618 * manual/string.texi (Copying and Concatenation): Fixed second
1620 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1622 2004-05-23 Ulrich Drepper <drepper@redhat.com>
1624 * malloc/obstack.c: Don't allow linking with _obstack.
1626 2004-05-23 Andreas Schwab <schwab@suse.de>
1628 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
1629 of separate "m" constraints.
1631 2004-05-15 Chris Demetriou <cgd@broadcom.com>
1633 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
1634 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
1635 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
1637 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
1639 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
1640 Add comment explaining why libc still defines it.
1642 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
1644 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
1645 obstack_alignment_mask, obstack_alloc, obstack_base,
1646 obstack_blank, obstack_blank_fast, obstack_chunk_size,
1647 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
1648 obstack_grow0, obstack_init, obstack_int_grow,
1649 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
1650 obstack_next_free, obstack_object_size, obstack_ptr_grow,
1651 obstack_ptr_grow_fast, obstack_room): Remove declarations of
1652 nonexistent functions.
1654 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
1656 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
1657 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1658 [PIC]: Redundent for powerpc64, removed.
1659 (ENTRY): Generate size and alignment for opd entry.
1660 (EALIGN): Generate size and alignment for opd entry.
1661 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1662 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1664 2004-05-19 Ulrich Drepper <drepper@redhat.com>
1666 * misc/regexp.h: Say the functions have been withdrawn.
1668 * wcsmbs/tst-wcpncpy.c: Add more tests.
1670 2004-05-18 Roland McGrath <roland@frob.com>
1672 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
1673 standard glibc LGPL.
1674 * sysdeps/generic/unwind-dw2.c: Likewise.
1675 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1676 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
1677 * sysdeps/generic/unwind-pe.h: Likewise.
1679 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
1681 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
1682 MONTENEGRO" which have taken over the code 819. Patch from
1683 Danilo Segan. [BZ #40]
1685 2004-05-15 Jakub Jelinek <jakub@redhat.com>
1687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1688 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
1691 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
1693 * catgets/gencat.c: Update bug reporting instructions.
1694 * csu/version.c: Likewise.
1695 * debug/catchsegv.sh: Likewise.
1696 * debug/pcprofiledump.c: Likewise.
1697 * debug/xtrace.sh: Likewise.
1698 * elf/ldd.bash.in: Likewise.
1699 * iconv/iconv_prog.c: Likewise.
1700 * iconv/iconvconfig.c: Likewise.
1701 * locale/programs/locale.c: Likewise.
1702 * locale/programs/localedef.c: Likewise.
1703 * login/programs/pt_chown.c: Likewise.
1704 * malloc/memusage.sh: Likewise.
1705 * malloc/memusagestat.c: Likewise.
1706 * malloc/mtrace.pl: Likewise.
1707 * manual/crypt.texi: Likewise.
1708 * manual/install.texi: Likewise.
1709 * nss/makedb.c: Likewise.
1711 2004-05-14 Jakub Jelinek <jakub@redhat.com>
1713 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
1714 CHECK_STATIC_TLS if sym != NULL.
1715 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1716 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
1718 2004-05-12 Andreas Schwab <schwab@suse.de>
1720 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
1723 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
1725 * Rules (xtests): Depend on tests.
1727 2004-05-13 Jakub Jelinek <jakub@redhat.com>
1729 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
1730 count is negative, yet write_ptr < write_end.
1731 (_IO_default_xsgetn): Avoid one underflow per char if count is
1732 negative, yet read_ptr < read_end.
1734 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
1736 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
1739 2004-05-12 Ulrich Drepper <drepper@redhat.com>
1741 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
1744 2004-05-10 Roland McGrath <roland@frob.com>
1746 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
1747 (__hurd_directory_name_split): Likewise.
1749 2004-05-10 Ulrich Drepper <drepper@redhat.com>
1751 * po/fr.po: Update from translation team.
1753 2004-05-10 Andreas Jaeger <aj@suse.de>
1755 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1756 Correctly compute alignment.
1757 Patch by Michael Matz <matz@suse.de>.
1759 2004-05-09 Ulrich Drepper <drepper@redhat.com>
1761 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
1762 * sysdeps/posix/sigpause.c: Likewise.
1763 * signal/signal.h: Don't define sigpause macro unless needed.
1765 2004-05-08 Jakub Jelinek <jakub@redhat.com>
1767 * configure.in (libc_cv_libgcc_s_suffix): New check.
1768 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
1769 * config.make.in (libgcc_s_suffix): Set.
1770 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
1772 2004-05-08 Ulrich Drepper <drepper@redhat.com>
1774 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
1776 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
1779 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1780 Load argument values into temporary variables.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
1782 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1785 2004-05-07 Ulrich Drepper <drepper@redhat.com>
1787 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
1788 need to be compiled with exceptions.
1790 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1792 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
1793 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
1795 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
1796 realloc cannot fail.
1798 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
1801 * nis/nis_table.c: Clean up memory handling.
1802 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
1803 * nis/nis_removemember.c (nis_removemember): Add comment
1804 explaining use of realloc.
1806 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
1808 Patch by Lev S Bishop <lev.bishop@yale.edu>.
1810 * math/bug-tgmath1.c (main): Test fabs and carg as well.
1812 2004-05-06 Richard Henderson <rth@redhat.com>
1814 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
1815 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1816 * sysdeps/unix/sysv/linux/alpha/Versions: Export
1817 __libc_alpha_cache_shape as a private symbol.
1818 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1819 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1821 2004-05-06 Richard Henderson <rth@redhat.com>
1823 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1824 * sysdeps/alpha/divl.S: Use them.
1825 * sysdeps/alpha/divq.S: Likewise.
1826 * sysdeps/alpha/divqu.S: Likewise.
1827 * sysdeps/alpha/reml.S: Likewise.
1828 * sysdeps/alpha/remq.S: Likewise.
1829 * sysdeps/alpha/remqu.S: Likewise.
1831 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1833 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1836 * math/Makefile (tests): Add bug-tgmath1.
1837 * math/bug-tgmath1.c: New file.
1839 2004-05-05 Jakub Jelinek <jakub@redhat.com>
1841 * sysdeps/alpha/atomicity.h: Remove.
1842 * sysdeps/generic/atomicity.h: Remove.
1844 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
1846 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1849 2004-04-22 David Mosberger <davidm@hpl.hp.com>
1851 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1853 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1855 * sysdeps/ia64/strcat.c: New file.
1856 * sysdeps/ia64/strcat.S: Delete.
1858 2004-05-04 Jakub Jelinek <jakub@redhat.com>
1860 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1863 2004-04-23 Jakub Jelinek <jakub@redhat.com>
1865 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1866 libc_hidden_proto. Define to __GI___libm_error_support for
1867 assembly going into libc.so.
1868 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1871 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1872 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1874 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1875 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1878 2004-05-03 Jakub Jelinek <jakub@redhat.com>
1880 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1881 __USE_BSD or __USE_UNIX98.
1882 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1883 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1884 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1886 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1887 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1888 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1889 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1893 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1895 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1899 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1903 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1905 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1907 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1909 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1911 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1915 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1916 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1917 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1919 2004-05-01 Jakub Jelinek <jakub@redhat.com>
1921 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1922 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1923 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1924 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1925 * sysdeps/unix/sysv/linux/Versions (libc): Remove
1926 __libc_sigaction@@GLIBC_PRIVATE.
1927 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1928 __modify_ldt@@GLIBC_PRIVATE.
1929 * socket/Versions (libc): Remove __libc_accept, __libc_send,
1930 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
1931 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
1932 * stdio-common/Versions (libc): Remove
1933 _itoa_upper_digits@@GLIBC_PRIVATE.
1934 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
1935 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
1936 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
1937 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
1938 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
1939 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
1940 __libc_lseek64 @@GLIBC_PRIVATE.
1942 2004-04-30 Jakub Jelinek <jakub@redhat.com>
1944 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
1947 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1949 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
1950 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
1951 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
1952 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
1953 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
1954 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
1955 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
1956 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
1957 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
1958 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
1959 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
1960 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
1961 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
1962 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
1963 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
1964 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
1965 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1966 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1968 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1969 mantissa for AIX long double format.
1970 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1972 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1973 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1974 (_fpioconst_pow10): AIX long double format has same exponent range as
1976 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1977 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1980 2004-04-23 Art Haas <ahaas@airmail.net>
1982 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1984 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
1986 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1987 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1988 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1989 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1990 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1992 2004-04-29 Philip Blundell <pb@nexus.co.uk>
1994 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1997 2004-04-29 Jakub Jelinek <jakub@redhat.com>
1999 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
2000 prototypes and description [BZ #131].
2002 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
2003 Patch by Ed Catmur <ed@catmur.co.uk>.
2004 * string/tst-inlcall.c (main): Add test for strpbrk.
2007 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
2009 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
2010 yet defined, #undef back after including linux/sysctl.h if defined
2012 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
2013 back after including linux/sysctl.h if defined here.
2015 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
2016 for single precision register, add it to __asm clobbers [BZ #139].
2017 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
2018 for single precision register, add it to __asm clobbers.
2019 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
2020 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
2021 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
2022 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
2024 2004-04-23 Andreas Schwab <schwab@suse.de>
2026 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
2029 2004-04-22 Philip Blundell <philb@gnu.org>
2031 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
2032 when calling _dl_signal_error.
2033 (elf_machine_rel): Likewise.
2035 2004-04-21 Ulrich Drepper <drepper@redhat.com>
2037 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
2038 and use it internally instead of __sigsetjmp.
2039 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
2040 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
2041 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
2042 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
2043 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
2044 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
2045 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
2046 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
2047 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
2048 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
2049 HIDDEN_JUMPTARGET for exit call.
2050 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
2052 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
2053 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
2056 2004-04-21 Jakub Jelinek <jakub@redhat.com>
2058 * posix/tst-chmod.c (do_test): Fix a typo.
2060 * elf/lateglobal.c (main): Fix error checks.
2061 Patch by Stephen Clarke <stephen.clarke@st.com>.
2063 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
2064 mention they have been added in ISO C99.
2065 Reported by Ben Pfaff <blp@cs.stanford.edu>.
2067 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
2069 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
2071 2004-04-20 Jakub Jelinek <jakub@redhat.com>
2073 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
2076 2004-04-20 Jakub Jelinek <jakub@redhat.com>
2078 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
2080 * stdio-common/tst-sscanf.c (int_tests): Adjust.
2082 * nis/nss-nis.c: Include stdlib.h.
2084 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
2086 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
2087 libc_hidden_builtin_def.
2089 2004-04-20 Jim Meyering <jim@meyering.net>
2091 * misc/error.c (error_tail): Don't leak upon realloc failure.
2093 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2095 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
2096 Use RETURN_ADDRESS instead of __builtin_return_address.
2098 2004-04-19 Ulrich Drepper <drepper@redhat.com>
2100 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
2103 2004-04-20 Jakub Jelinek <jakub@redhat.com>
2105 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
2106 do input_error () instead of conv_error () and don't look at errno.
2107 Don't eat any whitespace before %% if skip_space == 0.
2108 * stdio-common/tst-sscanf.c (int_tests): New array.
2109 (main): Run int_tests.
2112 See ChangeLog.14 for earlier changes.