1 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
3 * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.
5 2006-12-19 Jakub Jelinek <jakub@redhat.com>
7 * nss/getXXbyYY_r.c: Include atomic.h.
8 (INTERNAL (REENTRANT_NAME)): Write startp after start_fct,
9 add atomic_write_barrier () in between.
11 * stdlib/Makefile (tests): Add tst-makecontext.
12 * stdlib/tst-makecontext.c: New test.
14 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15 (__makecontext): Don't realign uc_mcontext.uc_regs.
17 2006-11-28 Jakub Jelinek <jakub@redhat.com>
19 * elf/dl-support.c: Include dl-procinfo.h.
20 * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4,
21 PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS,
22 PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X):
24 (_dl_string_platform): Use PPC_PLATFORM_* macros instead of
26 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use
27 PPC_PLATFORM_* macros for array designators.
29 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com>
31 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap
32 names to the beginning.
33 (_dl_powerpc_platforms): Add "power6x".
34 * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
35 (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
36 (_DL_PLATFORMS_COUNT): Increase.
37 (_dl_string_platform): Handle power6x case.
38 * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP,
39 PPC_FEATURE_POWER6_EXT): Define.
40 (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
42 2006-12-18 Jakub Jelinek <jakub@redhat.com>
45 * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the
46 [-2^31 .. 2^31) range.
47 * stdlib/tst-rand48.c (main): Fix expected values for 64-bit
49 * stdlib/tst-rand48-2.c: New test.
50 * stdlib/Makefile (tests): Add tst-rand48-2.
52 2006-12-14 Jakub Jelinek <jakub@redhat.com>
54 * misc/tst-pselect.c (do_test): Fix sigblock argument.
56 2006-12-14 Ulrich Drepper <drepper@redhat.com>
58 * misc/tst-pselect.c (do_test): Make sure the helper process is
59 terminating when the test is aborted.
61 2006-12-13 Ulrich Drepper <drepper@redhat.com>
63 * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME.
64 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65 Handle relatime mount option.
68 * libio/Makefile (tests): Add tst-setvbuf1.
69 * libio/tst-setvbuf1.c: New file.
71 2006-12-08 Jakub Jelinek <jakub@redhat.com>
74 * libio/genops.c (__uflow): Fix a typo.
75 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat
76 nor set _IO_LINE_BUF bit here. Size the wide buffer based on
77 the narrow buffer size.
79 2006-11-24 Jakub Jelinek <jakub@redhat.com>
82 * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define.
83 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set
84 _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit
86 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf,
87 _IO_wstr_finish): Likewise.
88 * libio/wmemstream.c (open_wmemstream): Likewise.
89 * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp]
90 even for wide streams.
92 2006-12-13 Jakub Jelinek <jakub@redhat.com>
94 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include
97 2006-12-11 Ulrich Drepper <drepper@redhat.com>
99 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand
100 separators also if no non-zero digits found.
101 * stdlib/Makefile (tests): Add tst-strtod3.
103 2006-12-09 Ulrich Drepper <drepper@redhat.com>
106 * include/features.h: Fix comment about default value for
110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize
111 empty parsed strings.
112 * stdlib/Makefile (tests): Add tst-strtod2.
113 * stdlib/tst-strtod2.c: New file.
116 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit
118 * stdlib/Makefile (tests): Add tst-atof2.
119 * stdlib/tst-atof2.c: New file.
122 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
123 correctly if removing trailing zero of hex-float.
124 * stdlib/Makefile (tests): Add tst-atof1.
125 * stdlib/tst-atof1.c: New file.
127 2006-12-09 Jakub Jelinek <jakub@redhat.com>
129 * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
130 Start searching for next comma at p rather than rest.
131 * misc/Makefile (tests): Add tst-mntent2.
132 * misc/tst-mntent2.c: New test.
134 * misc/getusershell.c (initshells): Check for integer overflows.
135 Make strings buffer one bigger as fgets always succeeds when second
136 argument is 1. Don't use calloc for shells array. Disallow
139 2006-12-08 Ulrich Drepper <drepper@redhat.com>
141 * malloc/memusage.c: Handle realloc with new size of zero and
142 non-NULL pointer correctly.
143 (me): Really write first record twice.
144 (struct entry): Make format bi-arch safe.
145 (dest): Write out more realloc statistics.
146 * malloc/memusagestat.c (struct entry): Make format bi-arch safe.
148 2006-12-05 Jakub Jelinek <jakub@redhat.com>
150 * nis/nis_subr.c (nis_getnames): Revert last change.
152 2006-12-04 Jakub Jelinek <jakub@redhat.com>
154 * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.
155 (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.
156 * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h.
157 (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to
159 * io/Makefile: Add rules to build and run tst-ttyname_r test.
160 * io/tst-ttyname_r.c: New test.
162 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
164 * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed.
166 2006-11-30 H.J. Lu <hongjiu.lu@intel.com>
168 * sysdeps/i386/i686/memcmp.S: Use jump table as the base of
171 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
173 * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost
174 `clone' function to ensure proper unwinding stop of gdb.
175 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
177 2006-12-01 Ulrich Drepper <drepper@redhat.com>
179 * nscd/nscd.init: Remove obsolete and commented-out -S option
182 2006-11-23 Jakub Jelinek <jakub@redhat.com>
185 * manual/string.texi (strncmp): Fix pastos from wcscmp description.
188 * manual/string.texi (strtok): Remove duplicate paragraph.
190 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
192 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
193 libgcc not supporting `rflags' unwinding (register # >= 17).
195 2006-11-30 Jakub Jelinek <jakub@redhat.com>
197 * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
200 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com>
201 Jakub Jelinek <jakub@redhat.com>
202 Jan Kratochvil <jan.kratochvil@redhat.com>
204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct
206 * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for
207 'restore_rt' even in the 'signal' directory.
208 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list.
210 2006-11-27 Jakub Jelinek <jakub@redhat.com>
213 * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if
214 malloc crashed. Don't allocate memory unnecessarily in each
217 2006-10-21 Jakub Jelinek <jakub@redhat.com>
219 * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change.
221 2006-11-20 Ulrich Drepper <drepper@redhat.com>
223 * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit.
225 2006-11-18 Bruno Haible <bruno@clisp.org>
227 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke
228 __sysconf only after having tried to call getgroups32.
230 2006-11-19 Ulrich Drepper <drepper@redhat.com>
232 * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style
233 addresses for IPv4 queries if they can be mapped.
235 2006-11-16 Jakub Jelinek <jakub@redhat.com>
237 * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
238 * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
239 (signmask): Add .size directive.
240 (othermask): Add .type directive.
242 2006-11-14 Ulrich Drepper <drepper@redhat.com>
244 * po/nl.po: Update from translation team.
246 * timezone/zdump.c: Redo fix for BZ #3137.
248 2006-11-14 Jakub Jelinek <jakub@redhat.com>
250 * nss/nss_files/files-alias.c (get_next_alias): Set line back
251 to first_unused after parsing :include: file.
253 2006-11-10 Ulrich Drepper <drepper@redhat.com>
255 * timezone/africa: Update from tzdata2006o.
256 * timezone/antarctica: Likewise.
257 * timezone/asia: Likewise.
258 * timezone/australasia: Likewise.
259 * timezone/backward: Likewise.
260 * timezone/europe: Likewise.
261 * timezone/iso3166.tab: Likewise.
262 * timezone/northamerica: Likewise.
263 * timezone/southamerica: Likewise.
264 * timezone/zone.tab: Likewise.
266 * time/tzfile.c (__tzfile_read): Extend to handle new file format
267 on machines with 64-bit time_t.
269 * timezone/checktab.awk: Update from tzcode2006o.
270 * timezone/ialloc.c: Likewise.
271 * timezone/private.h: Likewise.
272 * timezone/scheck.c: Likewise.
273 * timezone/tzfile.h: Likewise.
274 * timezone/tzselect.ksh: Likewise.
275 * timezone/zdump.c: Likewise.
276 * timezone/zic.c: Likewise.
279 * elf/ldconfig.c (main): Call setlocale and textdomain.
280 Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
283 * manual/argp.texi: Fix typos.
284 * manual/charset.texi: Likewise.
285 * manual/errno.texi: Likewise.
286 * manual/filesys.texi: Likewise.
287 * manual/lang.texi: Likewise.
288 * manual/maint.texi: Likewise.
289 * manual/memory.texi: Likewise.
290 * manual/message.texi: Likewise.
291 * manual/resource.texi: Likewise.
292 * manual/search.texi: Likewise.
293 * manual/signal.texi: Likewise.
294 * manual/startup.texi: Likewise.
295 * manual/stdio.texi: Likewise.
296 * manual/sysinfo.texi: Likewise.
297 * manual/syslog.texi: Likewise.
298 * manual/time.texi: Likewise.
299 Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
302 * sunrpc/clnt_raw.c: Minimal message improvements.
303 * sunrpc/pm_getmaps.c: Likewise.
304 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
305 * nis/nis_print_group_entry.c: Likewise.
306 * locale/programs/repertoire.c: Likewise.
307 * locale/programs/charmap.c: Likewise.
308 * malloc/memusage.sh: Likewise.
309 * elf/dl-deps.c: Likewise.
310 * locale/programs/ld-collate.c: Likewise.
311 * libio/vswprintf.c: Likewise.
312 * malloc/memusagestat.c: Likewise.
313 * sunrpc/auth_unix.c: Likewise.
314 * sunrpc/rpc_main.c: Likewise.
315 * nscd/cache.c: Likewise.
316 * locale/programs/repertoire.c: Unify output messages.
317 * locale/programs/charmap.c: Likewise.
318 * locale/programs/ld-ctype.c: Likewise.
319 * locale/programs/ld-monetary.c: Likewise.
320 * locale/programs/ld-numeric.c: Likewise.
321 * locale/programs/ld-time.c: Likewise.
322 * elf/ldconfig.c: Likewise.
323 * nscd/selinux.c: Likewise.
324 * elf/cache.c: Likewise.
325 Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
328 * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode
332 2006-11-10 Jakub Jelinek <jakub@redhat.com>
334 * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization
335 if N is one bigger than return value.
336 * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1
337 and l1 last arguments, if buf is defined, verify the return value
338 equals to strlen (buf) and verify no byte beyond passed length
341 2006-11-10 Ulrich Drepper <drepper@redhat.com>
343 * po/sv.po: Update from translation team.
345 2006-11-09 Ulrich Drepper <drepper@redhat.com>
347 * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add
350 2006-11-10 Jakub Jelinek <jakub@redhat.com>
352 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add
355 * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev):
356 Use __new_sys_siglist instead of _sys_siglist_internal as
357 second macro argument.
358 (_old_sys_siglist): Use declare_symbol_alias macro instead of
361 2006-11-09 Ulrich Drepper <drepper@redhat.com>
364 * posix/unistd.h (sysconf): Remove const attribute.
366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for
367 temporary or deprecated addresses.
368 Patch by Sridhar Samudrala <sri@us.ibm.com>.
370 * string/Makefile (tests): Add tst-strxfrm2.
371 * string/tst-strxfrm2.c: New file.
373 2006-10-09 Jakub Jelinek <jakub@redhat.com>
375 * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
376 rather than r->r_brk.
378 2006-11-08 Jakub Jelinek <jakub@redhat.com>
380 * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal
381 optimization even if needed > n.
383 * elf/dl-load.c (decompose_rpath): Return bool rather than void.
384 If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and
385 return false, otherwise return true.
386 (cache_rpath): Return decompose_rpath return value.
388 2006-11-07 Jakub Jelinek <jakub@redhat.com>
390 * include/libc-symbols.h (declare_symbol): Rename to...
391 (declare_symbol_alias): ... this. Add ORIGINAL argument, imply
392 strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes
394 * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias
396 * sysdeps/gnu/siglist.c: Likewise.
398 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com>
400 * sysdeps/powerpc/fpu/bits/mathinline.h
401 [__LIBC_INTERNAL_MATH_INLINES]: Moved to ...
402 * sysdeps/powerpc/fpu/math_private.h: ...here. New file.
404 2006-11-05 Ulrich Drepper <drepper@redhat.com>
406 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
407 Update handling of cache descriptor 0x49 for new models.
408 * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word):
411 2006-11-02 Jakub Jelinek <jakub@redhat.com>
413 * malloc/memusage.c (dest): Reset not_me back to false after
416 2006-11-02 Ulrich Drepper <drepper@redhat.com>
418 * configure.in: Work around ld --help change and avoid -z relro
419 test completely if the architecture doesn't care about security.
421 2006-11-01 Ulrich Drepper <drepper@redhat.com>
423 * po/sv.po: Update from translation team.
425 2006-10-31 Ulrich Drepper <drepper@redhat.com>
427 * stdlib/atexit.c (atexit): Don't mark as hidden when used to
428 generate compatibility version.
430 2006-10-29 Ulrich Drepper <drepper@redhat.com>
432 * configure.in: Relax -z relro requirement a bit.
434 * po/sv.po: Update from translation team.
436 2006-10-29 Jakub Jelinek <jakub@redhat.com>
438 * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.
439 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
440 * elf/dl-close.c (_dl_close_worker): Likewise.
441 * elf/dl-open.c (_dl_open_worker): Likewise.
442 * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define.
444 2006-10-27 Ulrich Drepper <drepper@redhat.com>
446 * configure.in: Require assembler support for visibility, compiler
447 support for visibility and aliases, linker support for various -z
449 * Makeconfig: Remove conditional code which now is unnecessary.
450 * config.h.in: Likewise.
451 * config.make.in: Likewise.
452 * dlfcn/Makefile: Likewise.
453 * elf/Makefile: Likewise.
454 * elf/dl-load.c: Likewise.
455 * elf/rtld.c: Likewise.
456 * include/libc-symbols.h: Likewise.
457 * include/stdio.h: Likewise.
458 * io/Makefile: Likewise.
459 * io/fstat.c: Likewise.
460 * io/fstat64.c: Likewise.
461 * io/fstatat.c: Likewise.
462 * io/fstatat64.c: Likewise.
463 * io/lstat.c: Likewise.
464 * io/lstat64.c: Likewise.
465 * io/mknod.c: Likewise.
466 * io/mknodat.c: Likewise.
467 * io/stat.c: Likewise.
468 * io/stat64.c: Likewise.
469 * libio/stdio.c: Likewise.
470 * nscd/Makefile: Likewise.
471 * stdlib/Makefile: Likewise.
472 * stdlib/atexit.c: Likewise.
473 * sysdeps/generic/ldsodefs.h: Likewise.
474 * sysdeps/i386/dl-machine.h: Likewise.
475 * sysdeps/i386/sysdep.h: Likewise.
476 * sysdeps/i386/i686/memcmp.S: Likewise.
477 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
478 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
479 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
481 * Makerules: USE_TLS support is now default.
482 * tls.make.c: Likewise.
483 * csu/Versions: Likewise.
484 * csu/libc-start.c: Likewise.
485 * csu/libc-tls.c: Likewise.
486 * csu/version.c: Likewise.
487 * dlfcn/dlinfo.c: Likewise.
488 * elf/dl-addr.c: Likewise.
489 * elf/dl-cache.c: Likewise.
490 * elf/dl-close.c: Likewise.
491 * elf/dl-iteratephdr.c: Likewise.
492 * elf/dl-load.c: Likewise.
493 * elf/dl-lookup.c: Likewise.
494 * elf/dl-object.c: Likewise.
495 * elf/dl-open.c: Likewise.
496 * elf/dl-reloc.c: Likewise.
497 * elf/dl-support.c: Likewise.
498 * elf/dl-sym.c: Likewise.
499 * elf/dl-sysdep.c: Likewise.
500 * elf/dl-tls.c: Likewise.
501 * elf/ldconfig.c: Likewise.
502 * elf/rtld.c: Likewise.
503 * elf/tst-tls-dlinfo.c: Likewise.
504 * elf/tst-tls1.c: Likewise.
505 * elf/tst-tls10.h: Likewise.
506 * elf/tst-tls14.c: Likewise.
507 * elf/tst-tls2.c: Likewise.
508 * elf/tst-tls3.c: Likewise.
509 * elf/tst-tls4.c: Likewise.
510 * elf/tst-tls5.c: Likewise.
511 * elf/tst-tls6.c: Likewise.
512 * elf/tst-tls7.c: Likewise.
513 * elf/tst-tls8.c: Likewise.
514 * elf/tst-tls9.c: Likewise.
515 * elf/tst-tlsmod1.c: Likewise.
516 * elf/tst-tlsmod13.c: Likewise.
517 * elf/tst-tlsmod13a.c: Likewise.
518 * elf/tst-tlsmod14a.c: Likewise.
519 * elf/tst-tlsmod2.c: Likewise.
520 * elf/tst-tlsmod3.c: Likewise.
521 * elf/tst-tlsmod4.c: Likewise.
522 * elf/tst-tlsmod5.c: Likewise.
523 * elf/tst-tlsmod6.c: Likewise.
524 * include/errno.h: Likewise.
525 * include/link.h: Likewise.
526 * include/tls.h: Likewise.
527 * locale/global-locale.c: Likewise.
528 * locale/localeinfo.h: Likewise.
529 * malloc/arena.c: Likewise.
530 * malloc/hooks.c: Likewise.
531 * malloc/malloc.c: Likewise.
532 * resolv/Versions: Likewise.
533 * sysdeps/alpha/dl-machine.h: Likewise.
534 * sysdeps/alpha/libc-tls.c: Likewise.
535 * sysdeps/generic/ldsodefs.h: Likewise.
536 * sysdeps/generic/tls.h: Likewise.
537 * sysdeps/i386/dl-machine.h: Likewise.
538 * sysdeps/ia64/dl-machine.h: Likewise.
539 * sysdeps/ia64/libc-tls.c: Likewise.
540 * sysdeps/mach/hurd/fork.c: Likewise.
541 * sysdeps/mach/hurd/i386/tls.h: Likewise.
542 * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise.
543 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
544 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
545 * sysdeps/s390/libc-tls.c: Likewise.
546 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
547 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
548 * sysdeps/sh/dl-machine.h: Likewise.
549 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
551 * sysdeps/x86_64/dl-machine.h: Likewise.
553 * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and
554 split out locking and parameter checking.
555 (_dl_close): Call _dl_close_worker after locking and checking.
556 * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of
558 * elf/Makefile: Add rules to build and run tst-thrlock.
559 * elf/tst-thrlock.c: New file.
562 * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to
566 * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until
567 we are sure we do not need it anymore for _dl_close. Also move
568 the asserts inside the lock region.
569 Patch mostly by Suzuki <suzuki@in.ibm.com>.
571 2006-10-27 Jakub Jelinek <jakub@redhat.com>
573 * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
575 (_dl_lookup_symbol_x): Adjust caller.
577 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove
579 * elf/rtld.c (dl_main): Don't initialize _ns_global_scope.
581 * elf/dl-libc.c: Revert l_scope name changes.
582 * elf/dl-load.c: Likewise.
583 * elf/dl-object.c: Likewise.
584 * elf/rtld.c: Likewise.
585 * elf/dl-close.c (_dl_close): Likewise.
586 * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P,
587 always use __rtld_mrlock_{change,done}. Always free old scope list
588 here if not l_scope_mem.
589 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name
590 change. Never free scope list here. Just __rtld_mrlock_lock before
591 the lookup and __rtld_mrlock_unlock it after the lookup.
592 * elf/dl-sym.c: Likewise.
593 * include/link.h (struct r_scoperec): Remove.
594 (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem
595 with l_scope_mem and l_scoperec_lock with l_scope_lock.
597 2006-10-25 Ulrich Drepper <drepper@redhat.com>
599 * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.
601 2006-10-18 Ulrich Drepper <drepper@redhat.com>
603 * configure.in: Disable building profile libraries by default.
605 2006-10-17 Jakub Jelinek <jakub@redhat.com>
607 * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses
608 as signed longs, check for x_base + pos overflow.
609 * sunrpc/Makefile (tests): Add tst-xdrmem2.
610 * sunrpc/tst-xdrmem2.c: New test.
612 2006-10-18 Ulrich Drepper <drepper@redhat.com>
614 * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to
615 _dl_lookup_symbol_x code.
617 2006-10-17 Jakub Jelinek <jakub@redhat.com>
619 * elf/dl-runtime.c: Include sysdep-cancel.h.
620 (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and
621 scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_*
622 instead of catomic_* macros.
623 * elf/dl-sym.c: Include sysdep-cancel.h.
624 (do_sym): Use __rtld_mrlock_* and scoperec->nusers only
625 if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
626 * elf/dl-close.c: Include sysdep-cancel.h.
627 (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only
628 if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
629 * elf/dl-open.c: Include sysdep-cancel.h.
630 (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only
631 if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
633 2006-10-17 Jakub Jelinek <jakub@redhat.com>
636 * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last
637 fastbin rather than end of fastbin array.
639 2006-10-18 Ulrich Drepper <drepper@redhat.com>
641 * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct
643 * sysdeps/x86_64/bits/atomic.h
644 (__arch_c_compare_and_exchange_val_64_acq): Add missing casts.
645 (catomic_decrement): Use correct body macro.
647 2006-10-17 Jakub Jelinek <jakub@redhat.com>
649 * include/atomic.h: Add a unique prefix to all local variables
651 * csu/tst-atomic.c (do_test): Test also catomic_* macros.
653 2006-10-16 Ulrich Drepper <drepper@redhat.com>
656 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4
659 2006-10-14 Ulrich Drepper <drepper@redhat.com>
661 * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.
663 2006-10-13 Ulrich Drepper <drepper@redhat.com>
666 * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to
667 determine highest fast bin to consolidate, always look into all of
669 (do_check_malloc_state): Only require for empty bins for large
672 * libio/stdio.h: Add more __wur attributes.
674 * elf/dl-minimal.c (realloc): Optimize last patch.
676 2006-10-12 Richard Sandiford <richard@codesourcery.com>
679 * elf/dl-minimal.c (realloc): Let malloc() return a new pointer,
680 and use memcpy() if it does.
682 2006-11-12 Andreas Jaeger <aj@suse.de>
685 * manual/search.texi (Hash Search Function): Clarify.
686 (Array Search Function): Clarify.
688 2006-11-12 Joseph Myers <joseph@codesourcery.com>
691 * math/atest-exp.c (main): Cast hex value to mp_limb_t before
693 * math/atest-exp2.c (read_mpn_hex): Likewise.
694 * math/atest-sincos.c (main): Likewise.
696 2006-10-11 Ulrich Drepper <drepper@redhat.com>
698 * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.
699 * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait.
700 * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for
702 * Versions.def: Add GLIBC_2.6 for libc.
704 * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset.
706 * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support.
708 2006-10-11 Jakub Jelinek <jakub@redhat.com>
710 * malloc/malloc.c (_int_malloc): Remove unused any_larger variable.
712 * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice.
714 * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv.
715 * sysdeps/generic/unsecvars.h: Add NIS_PATH.
717 2006-10-11 Ulrich Drepper <drepper@redhat.com>
719 * include/atomic.c: Define catomic_* operations.
720 * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems.
721 * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*.
722 * malloc/memusage.c: Likewise.
723 * gmon/mcount.c: Likewise.
724 * elf/dl-close.c: Likewise.
725 * elf/dl-open.c: Likewise.
726 * elf/dl-profile.c: Likewise.
727 * elf/dl-sym.c: Likewise.
728 * elf/dl-runtime.c: Likewise.
729 * elf/dl-fptr.c: Likewise.
730 * resolv/res_libc.c: Likewise.
732 2006-10-10 Ulrich Drepper <drepper@redhat.com>
734 * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH
735 components which lack them.
737 * nis/nis_subr.c (nis_getnames): Make sure that we always return
738 at least one entry consisting of the parameter concatenated with
741 2006-10-10 Roland McGrath <roland@frob.com>
743 * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast.
744 * sysdeps/mach/hurd/futimes.c: Likewise.
745 * sysdeps/mach/hurd/lutimes.c: Likewise.
747 2006-10-09 Ulrich Drepper <drepper@redhat.com>
748 Jakub Jelinek <jakub@redhat.com>
750 Implement reference counting of scope records.
751 * elf/dl-close.c (_dl_close): Remove all scopes from removed objects
752 from the list in objects which remain. Always allocate new scope
754 * elf/dl-open.c (dl_open_worker): When growing array for scopes,
755 don't resize, allocate a new one.
756 * elf/dl-runtime.c: Update reference counters before using a scope
758 * elf/dl-sym.c: Likewise.
759 * elf/dl-libc.c: Adjust for l_scope name change.
760 * elf/dl-load.c: Likewise.
761 * elf/dl-object.c: Likewise.
762 * elf/rtld.c: Likewise.
763 * include/link.h: Include <rtld-lowlevel.h>. Define struct
764 r_scoperec. Replace r_scope with pointer to r_scoperec structure.
766 * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>.
767 * sysdeps/generic/rtld-lowlevel.h: New file.
769 * include/atomic.h: Rename atomic_and to atomic_and_val and
770 atomic_or to atomic_or_val. Define new macros atomic_and and
771 atomic_or which do not return values.
772 * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or.
774 * sysdeps/i386/i486/bits/atomic.h: Likewise.
776 * po/sv.po: Update from translation team.
778 2006-10-07 Ulrich Drepper <drepper@redhat.com>
780 * Versions.def: Add GLIBC_2.6 to libpthread.
782 * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.
783 (versioned_symbol): Likewise.
784 (compat_symbol): Likewise.
786 * po/tr.po: Update from translation team.
788 2006-10-06 Ulrich Drepper <drepper@redhat.com>
790 * nis/Banner: Removed. It's been integral part forever and the
791 author info is incomplete anyway.
792 * libio/Banner: Likewise.
794 * nis/nis_table.c (nis_list): If __follow_path fails in the new
795 code, make sure the nis_freeresult call doesn't crash and that the
796 result is reported correctly.
798 2006-09-27 Jakub Jelinek <jakub@redhat.com>
800 * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS
801 when callback is NULL.
803 * nis/Versions (libnss_nisplus): Add
804 _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE.
805 * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups.
806 * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len,
807 _nss_create_tablename): Rename to...
808 (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename):
809 ... these. No longer static.
810 (internal_setgrent): Adjust users.
811 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
812 Don't use locking around _nss_grp_create_tablename call.
813 * nis/nss_nisplus/nisplus-initgroups.c: New file.
815 2006-10-06 Ulrich Drepper <drepper@redhat.com>
817 * version.h (VERSION): Bump to 2.5.90 for new development tree.
819 2006-10-06 Andreas Jaeger <aj@suse.de>
821 * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now.
823 2006-10-06 Ulrich Drepper <drepper@redhat.com>
825 * po/pl.po: Update from translation team.
827 * nscd/nscd.c (main): Fix typo in message.
828 Patch by Jakub Bogsz <qboosh@pld-linux.org>.
830 2006-10-02 Jakub Jelinek <jakub@redhat.com>
833 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
834 errno.h, signal.h, unistd.h and sysdep-cancel.h.
835 (__sigprocmask): Define.
837 2006-10-02 Ulrich Drepper <drepper@redhat.com>
839 * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is
842 2006-10-02 Jakub Jelinek <jakub@redhat.com>
844 * nscd/mem.c (mempool_alloc): Round array size to 16 bytes
845 in oldtotal and newtotal calculation.
846 * nscd/nscd-client.h (struct mapped_database): Add datasize
848 * nscd/nscd_helper.c (get_mapping): Initialize datasize field.
849 (__nscd_get_map_ref): Get a new mapping even if mapping's data_size
851 (__nscd_cache_search): Add checks to make sure we never reference
852 data beyond the current mapping.
854 2006-10-02 Dmitry V. Levin <ldv@altlinux.org>
856 * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val
857 variables const to avoid compiler warnings.
859 * io/fts.c (fts_close): Remove redundant checks.
860 (fts_build): Likewise.
861 (fts_palloc): Likewise.
863 * manual/message.texi (Advanced gettext functions,
864 Using gettextized software): Fix typos.
866 2006-09-30 Ulrich Drepper <drepper@redhat.com>
868 * posix/glob.c (glob_in_dir): Add some comments and asserts to
869 explain why there are no leaks.
871 2006-09-29 Ulrich Drepper <drepper@redhat.com>
873 * libio/wmemstream.c: Include <wchar.h>.
874 * libio/bug-wmemstream1.c: Likewise.
875 * libio/tst-wmemstream1.c: Likewise.
876 * libio/tst-wmemstream2.c: Likewise.
878 * version.h (RELEASE): Bump to 2.5.
879 * README: Regenerated.
881 * locale/iso-3166.def: Add Aaland Islands and Montenegro.
884 * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have
885 found no group members.
886 Patch by Petr Baudis.
888 2006-09-29 Jakub Jelinek <jakub@redhat.com>
890 * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't
891 assert bootstrap_map.l_tls_modid is zero.
892 (_dl_start): Initialize bootstrap_map.l_tls_modid to 0
895 2006-09-27 Ulrich Drepper <drepper@redhat.com>
897 * libio/stdio.h: Move open_wmemstream prototype to ...
898 * wcsmbs/wchar.h: ... here.
900 2006-09-25 Jakub Jelinek <jakub@redhat.com>
903 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only
904 fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call
905 __{,l}chown to handle the rest.
906 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only
907 fchownat syscall and __ASSUME_32BITUIDS case inline, call
908 __{,l}chown to handle the rest.
909 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include
911 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
912 * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise.
915 * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a
916 time, rather allocate increasingly bigger arrays of pointers, if
917 possible with alloca, if too large with malloc.
919 2006-09-24 Jakub Jelinek <jakub@redhat.com>
921 * sysdeps/powerpc/fpu/libm-test-ulps: Updated.
923 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos.
925 2006-09-24 Ulrich Drepper <drepper@redhat.com>
927 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4,
929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize
930 IFA_F_HOMEADDRESS flag for interfaces.
931 * include/ifaddrs.h (struct in6addrinfo): Define
934 2006-09-21 Jakub Jelinek <jakub@redhat.com>
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3,
938 PTR_DEMANGLE3): Define.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3,
940 PTR_DEMANGLE3): Likewise.
941 * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them.
942 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
944 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
946 2006-09-20 Jakub Jelinek <jakub@redhat.com>
948 * po/libc.pot: Regenerated.
950 * po/ca.po: Likewise.
951 * po/cs.po: Likewise.
952 * po/da.po: Likewise.
953 * po/de.po: Likewise.
954 * po/el.po: Likewise.
955 * po/en_GB.po: Likewise.
956 * po/es.po: Likewise.
957 * po/fi.po: Likewise.
958 * po/fr.po: Likewise.
959 * po/gl.po: Likewise.
960 * po/hr.po: Likewise.
961 * po/hu.po: Likewise.
962 * po/ja.po: Likewise.
963 * po/ko.po: Likewise.
964 * po/nb.po: Likewise.
965 * po/nl.po: Likewise.
966 * po/pl.po: Likewise.
967 * po/pt_BR.po: Likewise.
968 * po/ru.po: Likewise.
969 * po/rw.po: Likewise.
970 * po/sk.po: Likewise.
971 * po/sv.po: Likewise.
972 * po/tr.po: Likewise.
973 * po/zh_CN.po: Likewise.
974 * po/zh_TW.po: Likewise.
977 * iconv/iconv_prog.c (main): Fix spelling in error message.
978 * iconv/iconvconfig.c (main): Likewise.
979 * locale/programs/ld-collate.c (handle_ellipsis): Likewise.
980 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise.
981 * locale/programs/localedef.c (main): Likewise.
982 * locale/programs/repertoire.c (repertoire_read): Likewise.
983 * timezone/zdump.c (main): Likewise.
984 * nscd/connections.c (handle_request): Fix spelling in log message.
985 Patch by Malcolm Parsons <malcolm.parsons@gmail.com>.
987 2006-09-20 Ulrich Drepper <drepper@redhat.com>
989 * inet/inet6_option.c: Also emit linker warnings for the RFC 2292
992 2006-09-20 Andreas Jaeger <aj@suse.de>
994 * math/libm-test.inc (lrint_test_upward): Fix typo.
996 2006-06-17 Joseph S. Myers <joseph@codesourcery.com>
999 * math/libm-test.inc (lrint_test_tonearest): New function.
1000 (lrint_test_towardzero): New function.
1001 (lrint_test_downward): New function.
1002 (lrint_test_upward): New function.
1003 (main): Run these new tests.
1004 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding
1005 of values near to 0.
1006 (two52): Use double not long double.
1007 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
1008 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
1009 (two23): Use float not double.
1010 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
1011 (two23): Use float not double.
1012 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
1013 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
1014 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
1015 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1017 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1019 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext):
1020 Cast sp to unsigned long to avoid compiler warning.
1021 Use __makecontext_ret function instead of a trampoline on the stack.
1022 (__makecontext_ret): New function.
1023 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise.
1025 2006-09-19 Jakub Jelinek <jakub@redhat.com>
1027 * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but
1028 platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM
1031 2006-09-19 Ulrich Drepper <drepper@redhat.com>
1033 * elf/dl-close.c (_dl_close): If dependency is not unloaded make
1034 sure no reference to the unloaded map's search list remains in the
1037 2006-09-16 Jakub Jelinek <jakub@redhat.com>
1039 * elf/Makefile: Add rules to build and run unload7 test.
1040 * elf/unload7.c: New test.
1041 * elf/unload7mod1.c: New file.
1042 * elf/unload7mod2.c: New file.
1044 2006-09-18 Jakub Jelinek <jakub@redhat.com>
1046 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto.
1047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS,
1048 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
1049 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS,
1050 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise.
1051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS,
1052 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise.
1053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS,
1054 PTRACE_GETEVENTMSG): Likewise.
1055 (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent
1058 2006-09-17 Mike Frysinger <vapier@gentoo.org>
1060 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS,
1061 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
1062 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS,
1063 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO.
1065 2006-09-16 Jakub Jelinek <jakub@redhat.com>
1067 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't
1068 write '\0' to the fd.
1069 * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise.
1070 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise.
1071 Change regs to unsigned long pointer from unsigned int, fix fscr
1074 2006-09-14 Jakub Jelinek <jakub@redhat.com>
1076 * io/Makefile (CFLAGS-fstatat.c): Set.
1077 (CFLAGS-fstatat64.c): Likewise.
1078 (CFLAGS-mknodat.c): Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes.
1081 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1082 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten.
1083 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten.
1085 2006-09-14 Jakub Jelinek <jakub@redhat.com>
1086 Steven Munroe <sjmunroe@us.ibm.com>
1088 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap
1089 names to the beginning. Rename "cell" to "cellbe".
1090 (_dl_powerpc_platforms): New.
1091 * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
1092 (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell.
1093 (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define.
1094 (_DL_HWCAP_PLATFORM): Define to new mask.
1095 (_dl_platform_string, _dl_string_platform): New functions.
1096 * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT,
1097 PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define.
1099 2006-09-12 Jakub Jelinek <jakub@redhat.com>
1102 * README.libm: Fix a thinko in sqrt algorithm description.
1105 * manual/string.texi (argz_delete): Fix prototype.
1106 Patch by <alpt@freaknet.org>.
1108 2006-08-26 Joseph Myers <joseph@codesourcery.com>
1111 * io/test-lfs.c (do_prepare): Give name_len type size_t.
1112 * io/tst-fcntl.c (do_prepare): Likewise.
1113 * posix/tst-exec.c (do_prepare): Likewise.
1114 * posix/tst-preadwrite.c (do_prepare): Likewise.
1115 * posix/tst-spawn.c (do_prepare): Likewise.
1116 * posix/tst-truncate.c (do_prepare): Likewise.
1117 * rt/tst-aio.c (do_prepare): Likewise.
1118 * rt/tst-aio64.c (do_prepare): Likewise.
1119 * stdlib/test-canon2.c (do_prepare): Give test_dir_len type
1122 2006-09-09 Ulrich Drepper <drepper@redhat.com>
1125 * time/mktime.c (guess_time_tm): Fix overflow detection.
1126 * time/Makefile (tests): Add bug-mktime1.
1127 * time/bug-mktime1.c: New file.
1130 * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
1133 2006-09-07 Jakub Jelinek <jakub@redhat.com>
1136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1137 Ensure relocation doesn't clobber any bits outside of the
1138 immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30,
1139 R_SPARC_HI22 and R_SPARC_H44.
1142 * malloc/malloc.c (sYSMALLOc): Only call grow_heap if
1143 (long) (MINSIZE + nb - old_size) is positive.
1145 * malloc/arena.c (grow_heap): When growing bail even if new_size
1149 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access
1152 2006-09-06 Jakub Jelinek <jakub@redhat.com>
1154 * posix/regex_internal.c (re_string_reconstruct): Handle
1155 offset < pstr->valid_raw_len && pstr->offsets_needed case.
1156 Ensure no bytes read before raw_mbs array. Pass a saved copy of
1157 pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to
1158 re_string_context_at.
1159 * posix/Makefile: Add rules to build and run bug-regex26 test.
1160 * posix/bug-regex26.c: New test.
1162 * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free
1163 rather than col_sym_free. Move seqp declaration earlier.
1165 * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized.
1167 2006-09-05 Jakub Jelinek <jakub@redhat.com>
1169 * nscd/initgrcache.c (addinitgroupsX): Move any_success
1170 decl before first goto out.
1172 2006-09-04 Jakub Jelinek <jakub@redhat.com>
1174 * Makerules (shlib.lds): If have-hash-style, put .hash section
1175 at the end of the RO segment.
1177 2006-09-04 Ulrich Drepper <drepper@redhat.com>
1179 * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new
1180 style hash table format is used.
1182 2006-09-04 Jakub Jelinek <jakub@redhat.com>
1184 * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after
1185 randomization rather than before.
1186 * resolv/res_init.c (res_randomid): Don't call gettimeofday here.
1188 2006-08-31 Jakub Jelinek <jakub@redhat.com>
1190 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so.
1192 * malloc/malloc.c (_int_malloc): Use full list insert and not
1193 shortcut which assumes the list is empty for large requests
1196 * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf".
1198 2006-08-30 Jakub Jelinek <jakub@redhat.com>
1200 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin
1201 and offout arguments to the prototype.
1202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise.
1203 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise.
1204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise.
1205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise.
1206 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise.
1207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise.
1209 * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string.
1211 2006-08-28 Ulrich Drepper <drepper@redhat.com>
1213 * elf/dl-load.c (_dl_init_paths): Expand DSTs.
1215 * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in
1218 2006-08-28 Jakub Jelinek <jakub@redhat.com>
1220 * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno
1221 only if herrno is NETDB_INTERNAL. Handle errors other than
1222 ERANGE outside of the loops, handle TRY_AGAIN.
1224 * locale/programs/ld-ctype.c (translit_flatten): Issue error
1225 if other's ctype category was missing.
1226 * locale/programs/ld-collate.c (collate_read): Return if
1227 copy_locale's collate category is missing.
1229 2006-08-27 Ulrich Drepper <drepper@redhat.com>
1232 * malloc/malloc.c (public_rEALLOc): Try harder by using other
1233 arenas if allocation failed.
1234 Patch mostly by Jan Edler <jan.edler@indexengines.com>.
1236 2006-08-26 Ulrich Drepper <drepper@redhat.com>
1238 * malloc/malloc.c (bin_at): Rewrite to be more clear and to not
1240 (malloc_state): Reduce bins size by 2.
1241 (_int_malloc): Fix test for large enough buffer for early termination.
1242 When no unsorted block matches perfectly and an exiting block has
1243 to be split, use full list insert and not shortcut which assumes
1246 * locale/programs/ld-ctype.c (ctype_read): Better patch for read
1249 2006-08-24 Ulrich Drepper <drepper@redhat.com>
1251 * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't
1254 * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined
1255 symbol require exact match (these are PLTs).
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1257 (_dl_ppc64_addr_sym_match): Likewise.
1260 * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols.
1261 If symbol has a value use it.
1262 * elf/tst-dladdr1.c: New file.
1263 * elf/Makefile: Add rules to build and run tst-addr1.
1265 2006-08-24 Jakub Jelinek <jakub@redhat.com>
1267 * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP
1268 keeps failing and heap growth or new heap creation isn't
1270 * malloc/tst-malloc.c (main): Add new tests.
1272 2006-08-24 Ulrich Drepper <drepper@redhat.com>
1275 * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions
1276 as in the x86-64 code to use bswap.
1278 2006-05-21 Joseph S. Myers <joseph@codesourcery.com>
1281 * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not
1283 * posix/bits/unistd.h: Likewise.
1285 2006-05-15 Mike Frysinger <vapier@gentoo.org>
1288 * string/strchr.c: Add cast to avoid warning.
1290 2006-08-21 Ulrich Drepper <drepper@redhat.com>
1292 * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit
1293 platforms define as 512K. For 64-bit platforms as 32MB. The lower
1294 limit is needed to avoid the exploding of the address space
1295 requirement for secondary heaps.
1296 * malloc/arena.c (HEAP_MAX_SIZE): Define using
1297 DEFAULT_MMAP_THRESHOLD_MAX if it is defined.
1299 2006-07-30 Joseph S. Myers <joseph@codesourcery.com>
1302 * Makerules (depfiles): Handle extra-test-objs the same as
1304 (common-mostlyclean): Likewise.
1305 * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs
1307 * elf/Makefile (extra-objs): Likewise.
1308 * stdlib/Makefile (extra-objs): Likewise.
1310 2006-08-14 Eric Blake <ebb9@byu.net>
1313 * misc/error.h: Assume C89 or better.
1314 * misc/error.c: Likewise.
1316 2006-08-21 Ulrich Drepper <drepper@redhat.com>
1319 * sysdeps/unix/sysv/linux/openat.c: Fix compilation if
1320 __ASSUME_ATFCTS is defined.
1322 2006-08-19 Ulrich Drepper <drepper@redhat.com>
1324 * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks
1325 to sort in each call.
1327 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map
1328 is empty simply return and use next service.
1329 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
1331 * locale/programs/charmap.c (charmap_read): Add new parameter. It
1332 tells us when not finding a charmap file is an error.
1333 * locale/programs/charmap.h: Adjust charmap_read prototype.
1334 * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we
1335 cannot find a charmap.
1336 * locale/programs/localedef.c (main): Adjust charmap_read call.
1338 2006-08-15 Jakub Jelinek <jakub@redhat.com>
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use
1341 sysdeps/posix/pause.c implementation instead.
1343 2006-08-09 Jakub Jelinek <jakub@redhat.com>
1345 * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority
1348 2006-08-13 Andreas Schwab <schwab@suse.de>
1350 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve):
1351 Don't clobber caller's LRSAVE.
1352 (_dl_prof_resolve): Likewise.
1354 2006-08-14 Ulrich Drepper <drepper@redhat.com>
1357 * libio/memstream.c (open_memstream): Allocate initial buffer with
1359 * libio/wmemstream.c (open_wmemstream): Likewise.
1360 * libio/strops.c: Pretty printing.
1361 (_IO_str_overflow): Clear uninitialized part of the new buffer.
1362 (enlarge_userbuf): New function.
1363 (_IO_str_seekoff): Call it if seek position is larger than current
1365 * libio/wstrops.c: Likewise.
1366 * libio/vasprintf.c: Add comment as to why we do not have to use
1367 calloc instead of malloc to allocate initial buffer.
1368 * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1.
1369 * libio/bug-memstream1.c: New file.
1370 * libio/bug-wmemstream1.c: New file.
1372 2006-08-13 Ulrich Drepper <drepper@redhat.com>
1374 * libio/wstrops.c: Remove dead macro definitions and comments.
1375 * libio/strops.c: Likewise.
1378 * login/utmpname.c (__utmpname): Remove unnecessary test.
1380 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org>
1383 * math/gen-libm-test.pl (clean_up_number): Do not remove trailing
1386 2006-08-13 Ulrich Drepper <drepper@redhat.com>
1389 * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall
1391 * sysdeps/unix/clock_settime.c: Add support for platform-specific
1392 setting of CPU clocks.
1394 2006-06-23 Paul Eggert <eggert@cs.ucla.edu>
1397 * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U',
1398 since C99 requires the result to promote to 'int' when uint_least8_t
1399 and uint_least16_t promote to 'int'.
1401 2006-08-12 Ulrich Drepper <drepper@redhat.com>
1404 * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix
1405 lenght of one output field, correct bitmask creation.
1406 * locale/programs/ld-time.c: Add alignment.
1409 * misc/error.c: Add space between program name and message if file
1412 2006-08-03 Eric Blake <ebb9@byu.net>
1415 * misc/error.c (error_tail) [_LIBC]: Avoid invalid free.
1417 2006-08-09 Ulrich Drepper <drepper@redhat.com>
1419 * malloc/memusagestat.c: Silence warnings.
1421 * malloc/malloc.c: Dynamically size mmap treshold if the program
1422 frees mmaped blocks.
1423 Patch by Valerie Henson and Arjan van de Ven.
1425 2006-08-08 Jakub Jelinek <jakub@redhat.com>
1427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with
1430 * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab,
1431 __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare.
1432 (DEF): Don't put the var into .gnu.linkonce.r.* section.
1433 Only provide var definitions in strtol_l (or for *ull*
1436 * stdio-common/bug16.c (tests): New array.
1437 (do_tests): Allow the first hexadecimal digit
1438 to be 1, 2, 4 or 8. Do 3 additional tests.
1440 * sysdeps/s390/fpu/libm-test-ulps: Update.
1442 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use
1443 fchownat syscall if available.
1444 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1445 * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise.
1446 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1448 2006-08-07 Ulrich Drepper <drepper@redhat.com>
1450 * nis/nis_xdr.c: Avoid some function calls.
1452 2006-08-07 Jakub Jelinek <jakub@redhat.com>
1453 Ulrich Drepper <drepper@redhat.com>
1455 * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take
1456 short cut if only one name component is stripped away.
1458 2006-08-07 Ulrich Drepper <drepper@redhat.com>
1460 * nis/nis_call.c: Minor cleanups throughout.
1461 (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array.
1462 (first_shoot): Add search_parent_first parameter. Only if it is set
1463 search parent server first.
1464 If directory for table found through cold start cache is not the same
1465 as referenced in the cache, don't use it.
1466 (__nisfind_server): Take additional parameter. Pass it on to
1468 (__prepare_niscall): Adjust __nisfind_server call.
1469 * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype.
1470 * nis/nis_table.c: Adjust __nisfind_server call.
1471 * nis/nis_lookup.c: Likewise.
1472 (nis_lookup): Don't loop endlessly if name is reduced to ".".
1474 2006-08-03 Ulrich Drepper <drepper@redhat.com>
1477 * math/s_cacosh.c: Return values from positive branch.
1478 * math/s_cacoshf.c: Likewise.
1479 * math/s_cacoshl.c: Likewise.
1482 * sysvipc/sys/msg.h: Change return value to ssize_t.
1483 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1484 * sysvipc/msgrcv.c: Likewise.
1485 * include/sys/msg.h: Likewise.
1487 * grp/initgroups.c (internal_getgrouplist): Remove unnecessary
1488 test introduced in patch for bz #661.
1489 (getgrouplist): Simplify code a bit. Don't allocate one additional
1490 element for NEWGROUPS.
1493 * stdio-common/printf_fphex.c (__printf_fphex): When rounding up
1494 'f', use '1' as leading digit not '\1'.
1495 * stdio-common/Makefile (tests): Add bug16.
1496 * stdio-common/bug16.c: New file.
1499 * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE
1500 and don't try to open it. The patch introducing the macro
1501 contained a bug and used the same file name as the new file
1502 instead of using /var/adm/hostid. Nobody complaint so I'm taking
1503 this out completely.
1506 * assert/assert.h: Move cast to void inside ?: to quiet gcc.
1507 Patch by Jerry James <Jerry.James@usu.edu>.
1509 * rt/Makefile (tests): Add tst-clock2.
1510 * rt/tst-clock2.c: New file.
1513 * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread
1514 function and its parameters and pass it to new thread.
1515 (__gai_notify): Add support for alternative waiting for completion.
1516 * resolv/gai_suspend.c (gai_suspend): Add support for alternative
1517 waiting for completion.
1518 * resolv/getaddrinfo_a.c: Likewise.
1519 * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative
1520 waiting for completion is used.
1521 * resolv/gai_misc.c: Allow overwriting code to start helper thread.
1522 * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h".
1523 * resolv/gai_error.c: Likewise.
1524 * resolv/gai_sigqueue.c: Likewise.
1526 2006-08-02 Thomas Schwinge <tschwinge@gnu.org>
1528 * hurd/getdport.c (__getdport): Don't return EBADF; instead set
1529 errno to EBADF and return MACH_PORT_NULL.
1531 2006-06-23 Joseph Myers <joseph@codesourcery.com>
1534 * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables.
1536 2006-08-02 Ulrich Drepper <drepper@redhat.com>
1538 * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present,
1539 walk them instead of the symbol table.
1541 2006-08-01 Ulrich Drepper <drepper@redhat.com>
1544 * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by
1545 status of NSS calls, not the number of returned entries.
1547 * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key,
1548 request_key, keyctl.
1550 2006-07-31 Ulrich Drepper <drepper@redhat.com>
1552 * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include.
1554 2006-07-16 Jeff Bailey <jbailey@ubuntu.com>
1556 * elf/tst-auditmod1.c: Fix typo in #error.
1558 2006-07-31 Ulrich Drepper <drepper@redhat.com>
1560 * elf/tst-auditmod1.c: Remove code for unsupported architectures.
1562 * iconvdata/run-iconv-test.sh: Run cmp in C locale.
1564 2006-07-20 Adam Nemet <anemet@caviumnetworks.com>
1566 * stdlib/test-canon.c (do_test): Close fd before unlinking file so
1567 that the directory is empty even on non-POSIX filesystems.
1569 2006-07-31 Ulrich Drepper <drepper@redhat.com>
1571 * elf/dl-open.c (dl_open_worker): Add branch prediction.
1573 * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into
1574 the backend NSS module. If backend setgrent call failed, don't have
1575 internal_setgrent fail. Just remember this until it is needed.
1576 * nis/nss_compat/compat-pwd.c: Likewise.
1577 * nis/nss_compat/compat-spwd.c: Likewise.
1579 2006-07-30 Roland McGrath <roland@redhat.com>
1581 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed.
1582 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed.
1583 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed.
1584 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed.
1586 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro.
1587 (nanosleep_not_cancel): New macro.
1588 (sigsuspend_not_cancel): new macro.
1589 * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS]
1590 (do_sigsuspend): Define as inline.
1591 (__sigsuspend): Always use do_sigsuspend.
1592 [! NO_CANCELLATION] (__sigsuspend_nocancel): New function.
1593 * include/signal.h: Declare __sigsuspend_nocancel.
1594 * sysdeps/posix/pause.c
1595 [! NO_CANCELLATION] (__pause_nocancel): New function.
1597 * include/unistd.h (__pause_nocancel): Add attribute_hidden.
1598 * include/time.h (__nanosleep_nocancel): Likewise.
1600 2006-07-30 Ulrich Drepper <drepper@redhat.com>
1602 * locale/programs/localedef.c (add_to_readlist): Rename local
1603 variables to avoid confusion.
1605 * locale/programs/charmap.c (charmap_read): Emit error message if
1606 charmap couldn't be found or read.
1608 2006-07-28 Ulrich Drepper <drepper@redhat.com>
1610 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1611 __ASSUME_FUTEX_LOCK_PI.
1612 * include/time.h: Declare __nanosleep_nocancel.
1613 * include/unistd.h: Declare __pause_nocancel.
1615 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of
1616 LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we
1617 get the __stack_chk_fail_local definition when it's needed.
1619 2006-07-26 Ulrich Drepper <drepper@redhat.com>
1621 * dlfcn/Makefile: Add rules to build and run bug-atexit3.
1622 * dlfcn/bug-atexit3.c: New file.
1623 * dlfcn/bug-atexit3-lib.cc: New file.
1625 * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be
1626 used when the namespace is not the base namespace.
1628 2006-07-26 Gavin Romig-Koch <gavin@redhat.com>
1630 * stdlib/cxa_atexit.c (__new_exitfn_called): New variable.
1631 (__new_exitfn): Bump it in every successful call.
1632 * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered
1633 more exit handlers, call them right away.
1634 * stdlib/exit.h: Declare __new_exitfn_called.
1636 2006-07-25 Ulrich Drepper <drepper@redhat.com>
1638 * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when
1639 calling registered handler.
1641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment.
1642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1647 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
1648 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1650 2006-07-10 Ulrich Drepper <drepper@redhat.com>
1652 * elf/dl-lookup.c (dl_new_hash): New functions.
1653 (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute
1654 value here. Compute new-style hash value. Pass new hash value
1655 and reference to variable with the old value to do_lookup_x.
1656 (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not
1657 old-style hash table.
1658 (_dl_debug_bindings): Pass new hash value and reference to variable
1659 with the old value to do_lookup_x.
1660 * elf/do-lookup.h (do_lookup_x): Accept additional parameter with
1661 new-style hash value and change old-style hash value parameter to
1662 be a reference. Reoganize functions to determine whether
1663 new-style hash table is available. Only fall back on old-style
1664 table. If old-style hash value is needed, compute it here.
1665 * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH
1667 * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT,
1668 DT_TLSDEC_GOT. Adjust DT_ADDRNUM.
1669 * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits,
1670 l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero.
1671 * Makeconfig: If linker supports --hash-style option add it to all
1672 linker command lines to build DSOs.
1673 * config.make.in: Define have-hash-style.
1674 * configure.in: Test whether linker supports --hash-style option.
1676 * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const.
1677 * sysdeps/generic/ldsodefs.h: Adjust prototype.
1679 2006-06-27 Ulrich Drepper <drepper@redhat.com>
1681 * elf/dl-load.c (open_path): Fix test to determine whether DSO is
1684 * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at
1685 RPATH of main map twice.
1687 2006-06-22 Ulrich Drepper <drepper@redhat.com>
1689 * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't
1690 look further, return original strings.
1691 (_nl_find_msg): Do not return found translation if the conversion
1692 failed. Either signal the string is unusable or that something went
1693 wrong and the original should be used.
1695 2006-06-21 Ulrich Drepper <drepper@redhat.com>
1697 * string/_strerror.c (__strerror_r): Add __builtin_expect.
1699 2006-06-14 Jakub Jelinek <jakub@redhat.com>
1702 * misc/insremque.c (insque): Handle prev == NULL.
1703 * misc/Makefile (tests): Add tst-insremque.
1704 * misc/tst-insremque.c: New test.
1706 2006-06-17 Ulrich Drepper <drepper@redhat.com>
1709 * elf/dl-deps.c (expand_dst): Rename __cnt variable to not
1710 conflict with DL_DST_REQUIRED.
1712 2006-06-16 Ulrich Drepper <drepper@redhat.com>
1714 * nis/nis_subr.c (nis_getnames): Fix the implementation to better
1715 match what Solaris does.
1717 2006-06-04 Ulrich Drepper <drepper@redhat.com>
1719 * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and
1720 local_setegid instead of seteuid and setegid.
1721 * sysdeps/generic/local-setxid.h: New file.
1722 * sysdeps/unix/sysv/linux/local-setxid.h: New file.
1724 * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces.
1726 * string/Makefile (tests): Add bug-envz1.
1727 * string/bug-envz1.c: New file.
1729 2006-06-02 Jakub Jelinek <jakub@redhat.com>
1731 * posix/regex_internal.c (re_string_skip_chars): If no character has
1732 been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc
1733 to the byte which couldn't be converted.
1734 (re_string_reconstruct): Don't clear valid_raw_len before calling
1735 re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set
1736 tip_context using re_string_context_at.
1737 * posix/Makefile: Add rules to build and run bug-regex25 test.
1738 * posix/bug-regex25.c: New test.
1740 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com>
1743 * string/envz.c (envz_strip): Correct erroneously reversed src
1744 and dest parameters to memmove() invocation.
1746 2006-05-30 Jakub Jelinek <jakub@redhat.com>
1748 * nscd/nscd.h (prune_cache): Add fd argument to prototype.
1749 * nscd/nscd.c (parse_opt): Read response from INVALIDATE request
1750 to make sure the database has been already invalidated.
1751 * nscd/cache.c (prune_cache): Add fd argument. Write response to fd
1752 after the cache has been invalidated. Use pthread_mutex_lock rather
1753 than pthread_mutex_trylock if fd != -1.
1754 * nscd/connections.c (invalidate_cache): Add fd argument, write
1755 response to fd if not calling prune_cache, pass fd to prune_cache.
1756 (handle_request): Adjust invalidate_cache caller.
1757 (nscd_run): Pass -1 as fd to prune_cache.
1759 2006-05-30 Ulrich Drepper <drepper@redhat.com>
1761 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in
1764 2006-05-29 Ulrich Drepper <drepper@redhat.com>
1766 * nscd/nscd.h (struct database_dyn): Add prunelock field.
1767 * nscd/cache.c (prune_cache): Take prunelock before starting the
1768 work. Just return in case it is already taken.
1769 * nscd/connections.c (dbs): Initialize .prunelock.
1771 2006-05-25 Ulrich Drepper <drepper@redhat.com>
1773 * nis/nis_removemember.c (nis_removemember): Avoid unnecessary
1774 copying. No need to allocate new array for group members. Just
1775 move the pointers and update the size.
1777 * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying.
1778 Avoid memory leak in case realloc fails. Simplification for
1779 better code generation.
1781 Avoid deprecation warning because of libc_hidden_proto for
1783 * inet/inet6_option.c (option_alloc): Renamed from
1784 inet6_option_alloc. Made static.
1785 (inet6_option_alloc): Now a simple wrapper around option_alloc.
1786 (inet6_option_append): Call option_alloc.
1787 * include/netinet/in.h: Remove libc_hidden_proto for
1790 * nis/nis_callback.c (__nis_create_callback): Always call xdr_free
1791 for cleanup when cb!=NULL [Coverity CID 233].
1793 2006-05-24 Ulrich Drepper <drepper@redhat.com>
1796 * inet/Makefile (routines): Add inet6_opt and inet6_rth.
1797 * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init,
1798 inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next,
1799 inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init,
1800 inet6_rth_add, inet6_rth_reverse, inet6_rth_segments,
1801 and inet6_rth_getaddr.
1802 * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible
1804 * inet/netinet/in.h (struct ip6_mtuinfo): Define.
1805 Mark inet6_option_* interfaces as deprecated.
1806 Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish,
1807 inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val,
1808 inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse,
1809 inet6_rth_segments, and inet6_rth_getaddr.
1810 * inet/inet6_opt.c: New file.
1811 * inet/inet6_rth.c: New file.
1813 * inet/netinet/icmp6.h: Pretty printing.
1816 * elf/dl-addr.c (_dl_addr): Don't match undefined references.
1818 2006-05-23 Ulrich Drepper <drepper@redhat.com>
1820 * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of
1821 doing it all here. When server does not know the answer do not
1822 fail immediate, try parent first.
1824 * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer
1827 2006-05-20 Ulrich Drepper <drepper@redhat.com>
1829 * nis/nis_call.c (__prepare_niscall): New function. Split out
1831 * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request
1833 (__follow_path): New function. Split out from nis_list.
1834 * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and
1836 * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and
1838 * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request,
1840 * nis/Versions: Export __prepare_niscall, __create_ib_request,
1841 __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result
1842 from libnsl for version GLIBC_PRIVATE.
1843 * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk.
1844 Remove entry parameter from _nss_nisplus_parse_pwent and
1845 _nss_nisplus_parse_grent.
1846 * nis/nss_nisplus/nisplus-parser.c: Likewise.
1847 * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ
1848 again. Rewrite getpwent handling to not use nis_first_entry and
1849 nis_next_entry. Roll out own niscall handling.
1850 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1852 * sunrpc/xdr_rec.c: Fix typo in comment.
1854 2006-05-19 Ulrich Drepper <drepper@redhat.com>
1856 * nis/nis_call.c (__do_niscall3): Avoid code duplication in error
1859 * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc
1860 to allocate memory for my_pollfd. Better initialization of
1861 cb_is_running. Use TEMP_FAILURE_RETRY.
1863 * malloc/memusage.sh (memusageso): Add quotes.
1864 (memusagestat): Likewise.
1865 * debug/xtrace.sh (pcprofileso): Likewise.
1866 (pcprofiledump): Likewise.
1867 * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR
1869 * malloc/Makefile ($(objpfx)memusage): Likewise.
1871 * nis/nis_callback.c (__nis_create_callback): Calls to
1872 svcudp_bufcreate and svctcp_create can fail. Free ->xprt if
1873 asprintf call fails.
1875 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure
1876 no uninitialized memory is passed to sendto.
1878 2006-05-18 Ulrich Drepper <drepper@redhat.com>
1880 * nis/nis_callback.c (__nis_create_callback): Use asprinf instead
1881 of snprintf+strdup. Handle OOM.
1882 * nis/nis_callback.c (__nis_create_callback): Allocate cb and
1883 cb->serv together. Remove now obsolete free calls.
1884 (__nis_destroy_callback): Remove now obsolete free call.
1886 2006-05-18 David Woodhouse <dwmw2@redhat.com>
1888 * sysdeps/posix/getaddrinfo.c: Add unique labels to the default
1889 RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local
1890 and ULA respectively). Set precedence for IPv4 address to 10 as
1891 defined in RFC3484 for preferring IPv6.
1892 * posix/gai.conf: Update to match the new default tables.
1894 2006-05-18 Jakub Jelinek <jakub@redhat.com>
1896 * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent
1897 returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS.
1898 * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1899 * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise.
1901 * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent):
1903 (init_nss_interface): Remove initialization of these variables.
1905 2006-05-18 Ulrich Drepper <drepper@redhat.com>
1907 * nis/nis_call.c (rec_dirsearch): Little optimization: pull
1908 nis_free_directory forward to avoid duplication.
1910 2006-05-17 Ulrich Drepper <drepper@redhat.com>
1912 * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and
1913 rec_dirsearch returning NULL.
1914 (first_shoot): Handle __nis_finddirectory returning NULL.
1915 (__nisfind_server): Fix leak when rec_dirsearch returns NULL.
1917 * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE,
1918 IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD.
1920 2006-05-17 Jakub Jelinek <jakub@redhat.com>
1922 * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if
1925 2006-05-15 Ulrich Drepper <drepper@redhat.com>
1927 * include/rpc/pmap_prot.h: Mark all functions as hidden.
1929 * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden.
1930 * nscd/nscd_getgr_r.c: Likewise.
1932 * include/rpc/pmap_rmt.h: Mark all functions as hidden.
1934 * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden.
1935 * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise.
1937 * stdlib/longlong.h (__clz_tab): Mark as hidden.
1939 * iconv/gconv_int.h: Mark __gconv_lock as hidden.
1941 * include/rpc/key_prot.h: Mark all _internal functions as hidden.
1943 * include/rpc/auth.h: Mark xdr_des_block_internal and
1944 xdr_opaque_auth_internal as hidden.
1946 * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as
1949 * include/rpc/xdr.h: Mark all _internal functions as hidden.
1951 * misc/getusershell.c (okshells): Don't use static initializers,
1954 * stdlib/fmtmsg.c (keywords): Change type of len element to
1955 uint32_t to not waste space on 64bit machines.
1957 * locale/setlocale.c: Change _nl_category_names into a string.
1958 Add new _nl_category_name_idxs. Change all users.
1959 * locale/localeinfo.h: Adjust declaration of _nl_category_names.
1960 Declare _nl_category_name_idxs.
1961 * locale/findlocale.c: Adjust for _nl_category_names change.
1962 * locale/loadlocale.c: Likewise.
1963 * locale/newlocale.c: Likewise.
1964 * intl/dcigettext.c: Likewise.
1966 * iconv/gconv_conf.c (add_alias): Move actual alias handling to...
1967 (add_alias2): ...here. New function.
1968 (__gconv_read_conf): Simplify builtin alias handling.
1969 (builtin_aliases): Convert to string to avoid relocations.
1970 * iconv/gconv_builtin.h: Add comment about correct formatting.
1972 2006-05-15 Jakub Jelinek <jakub@redhat.com>
1974 * resolv/res_debug.c (loc_ntoa): Make error const.
1976 2006-05-14 Andreas Schwab <schwab@suse.de>
1978 * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH.
1980 2006-05-12 Jakub Jelinek <jakub@redhat.com>
1982 * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h.
1983 (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than
1986 2006-05-11 Ulrich Drepper <drepper@redhat.com>
1988 * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer.
1990 * include/arpa/nameser.h: Declare _ns_flagdata as hidden.
1992 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master.
1993 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master.
1995 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp.
1996 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp.
1998 * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data.
1999 * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for
2002 * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args.
2003 * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for
2006 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order.
2007 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order.
2009 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist.
2010 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist.
2012 * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p.
2013 * include/rpcsvc/nis_callback.h: New file.
2015 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val.
2016 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val.
2018 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey.
2019 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey.
2021 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist.
2022 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist.
2024 * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey.
2025 * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey.
2027 * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args.
2028 * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for
2031 * nis/nis_xdr.h: Mark all functions as hidden. Remove
2032 __BEGIN_DECLS and __END_DECLS, the header is not installed.
2034 * nis/nis_error.c: Remove table of strings. Use position
2035 independent mechanism.
2036 * nis/nis_error.h: New file.
2038 2006-05-11 Jakub Jelinek <jakub@redhat.com>
2040 * locale/programs/ld-time.c (time_finish): If wide era name or
2041 format aren't provided, set both wname and wformat to L"".
2043 2006-05-10 Ulrich Drepper <drepper@redhat.com>
2045 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store
2046 results if the call was succesful.
2048 * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden.
2050 * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count
2053 2006-05-10 Jakub Jelinek <jakub@redhat.com>
2055 * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros.
2057 2006-05-10 Ulrich Drepper <drepper@redhat.com>
2059 * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the
2060 caller makes sure this is not the case.
2061 (wordexp): Simplify ifs_white creation. [Coverity CID 231]
2063 2006-05-09 Ulrich Drepper <drepper@redhat.com>
2065 * posix/wordexp.c: Remove numerous NULL pointer tests before FREE
2068 * io/ftw.c (open_dir_stream): Return right away if REALLOC fails.
2069 [Coverity CID 229, 230]
2071 * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and
2073 (hol_help): Likewise. [Coverity CID 226, 227]
2075 * string/argz-replace.c (__argz_replace): Unconditionally call
2076 free on SRC. [Coverity CID 225]
2078 * nis/nis_creategroup.c (nis_creategroup): No need to duplicate
2079 the return value of __nis_default_owner and __nis_default_group,
2080 it has been especially allocated. [Coverity CID 224]
2082 * nis/nis_defaults.c (searchXYX): New functions. Used by both
2083 searchgroup and searchowner. Significantly simplified.
2084 (__nis_default_owner): Remove duplication. Do not locally copy the
2085 string before duplicating it.
2086 (__nis_default_group): Likewise.
2088 * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory,
2089 we must clear the variable before calling __nisfind_server.
2091 * nis/nis_lookup.c (nis_lookup): Always free memory allocated with
2092 nis_getnames. [Coverity CID 223]
2094 * locale/programs/locfile.c (locfile_read): Use alloca instead of
2095 xmalloc to allocate local repertoire name. [Coverity CID 222]
2097 * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically
2098 allocate memory for the input to add_bytes. [Coverity CID 221]
2100 * posix/wordexp.c (w_addword): Free word if realloc fails and it
2101 was allocated here. [Coverity CID 219, 220]
2103 * posix/getconf.c (print_all): Free confstr data after printing.
2106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if
2107 list allocation fails. [Coverity CID 215]
2109 * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition.
2112 * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if
2113 string is NULL. [Coverity CID 212]
2114 * argp/Makefile: Add rules to build and run bug-argp1.
2115 * argp/bug-argp1.c: New file.
2117 * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find
2119 * stdlib/canonicalize.c (__realpath): Likewise.
2121 * locale/programs/ld-time.c (time_finish): Don't dereference NULL
2122 pointer. [Coverity CID 206]
2124 * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map
2125 in statically linked code.
2126 * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in
2127 statically built code, be prepared to have no link map.
2130 * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in
2131 dgettext calls. [Coverity CID 204]
2133 * argp/argp-help.c (struct uparams): Remove valid member. Change
2135 (uparam_names): Reduce size. Avoid relative relocations.
2136 Moved to read-only segment.
2137 (fill_in_uparams): Update for new layout.
2139 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be
2140 assumed to always be != NULL. [Coverity CID 202]
2142 * argp/argp-help.c (hol_entry_help): Remove some dead code
2145 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize
2146 away a few more unconditional yperr2nss calls.
2147 (_nss_nis_getservbyname_r): Likewise.
2149 2006-05-06 Ulrich Drepper <drepper@redhat.com>
2151 * sysdeps/generic/ldsodefs.h: Remove support for non-core
2154 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure
2155 that unused memory passed to sendto is nevertheless initialized.
2158 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid
2159 possibly unaligned memory accesses.
2161 * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32.
2162 * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort
2163 and __putlong respectively. Correct buffer overflow check for
2166 * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort.
2168 * resolv/res_send.c (res_queriesmatch): Fix typo in comment.
2169 (send_dg): Rewrite error handling to be more compact and avoid
2170 double recomputation of timeouts. Pass MSG_NOSIGNAL to send.
2172 * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32.
2174 * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly
2175 instead of ns_get16.
2176 (res_queriesmatch): Likewise. Minor optimization.
2179 * resolv/res_query.c (__libc_res_nquery): If answerp != NULL,
2180 __libc_res_nsend might reallocate the buffer for the answer. In
2181 this case we have to reload the HP pointer.
2183 2006-05-05 Ulrich Drepper <drepper@redhat.com>
2185 * stdio-common/vfscanf.c (memory_error): Remove definition. Add
2186 some branch prediction hints.
2188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*.
2189 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2194 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2197 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2199 * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation
2200 by a GOT relocation to make Scrt1.o position independent.
2201 * sysdeps/s390/s390-64/elf/start.S: Likewise.
2203 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for
2204 six system call parameters.
2205 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2207 2006-05-05 Ulrich Drepper <drepper@redhat.com>
2209 * sunrpc/svcauth_des.c (cache_init): Use calloc instead of
2212 * sunrpc/svc_udp.c (BZERO): Remove definition.
2214 (svc_enablecache): Use CALLOC instead of ALLOC&BZERO.
2216 * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it.
2217 (des_SPtrans): Use uint32_t type.
2218 (des_skb): Likewise.
2220 * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero.
2222 2006-05-05 Jakub Jelinek <jakub@redhat.com>
2225 * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even
2228 2006-05-05 Ulrich Drepper <drepper@redhat.com>
2230 * locale/programs/ld-address.c (address_finish): Fix one more
2231 place where the iso639 array might be accessed beyond the limits.
2233 2006-05-04 Ulrich Drepper <drepper@redhat.com>
2235 * nis/nis_table.c (nis_list): Avoid clearing res twice before
2236 filling it for the first time.
2238 * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath.
2240 Free res object content before returning.
2242 * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero.
2244 * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free
2247 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire
2248 cleanup for initial thread, just the free call on TVP.
2250 * nscd/gai.c (__getline): Define.
2253 See ChangeLog.16 for earlier changes.