1 2007-07-18 Jakub Jelinek <jakub@redhat.com>
3 * include/features.h (__USE_ISOC95): New define.
4 * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf,
5 swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even
6 for -std=iso9899:199409.
7 * CONFORMANCE: Remove comments about unsupported AMD1.
9 2007-07-17 Jakub Jelinek <jakub@redhat.com>
11 * sysdeps/ia64/sched_cpucount.c: New file.
12 * sysdeps/powerpc/sched_cpucount.c: New file.
14 2007-07-17 Jakub Jelinek <jakub@redhat.com>
16 * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add
17 __BEGIN_DECLS/__END_DECLS around the prototype.
18 * bits/sched.h (__sched_cpucount): Likewise. Make second argument
19 pointer to const cpu_set_t.
21 * bits/types.h: Don't include stddef.h, don't define __need_size_t.
22 * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define
23 __need_size_t and include stddef.h.
24 * sysvipc/sys/msg.h: Likewise.
25 * posix/sched.h: Likewise.
26 * hurd/hurd/signal.h (__need_size_t): Define.
28 * CONFORMANCE: ctype.h and wctype.h no longer define size_t,
29 neither does signal.h in pedantic ISO C namespaces. stdio.h
30 no longer defines wint_t or wchar_t.
32 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function.
33 * debug/vfwprintf_chk.c (__vfwprintf_chk): Use
34 _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock.
35 * debug/vprintf_chk.c (__vprintf_chk): Likewise.
36 * debug/vwprintf_chk.c (__vwprintf_chk): Likewise.
37 * debug/vfprintf_chk.c (__vfprintf_chk): Likewise.
38 * debug/fwprintf_chk.c (__fwprintf_chk): Likewise.
39 * debug/printf_chk.c (__printf_chk): Likewise.
40 * debug/fprintf_chk.c (__fprintf_chk): Likewise.
41 * debug/wprintf_chk.c (__wprintf_chk): Likewise.
43 * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2):
46 * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define.
47 * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS.
49 2007-07-16 Jakub Jelinek <jakub@redhat.com>
52 * stdlib/stdlib.h (realloc): Remove __attribute_malloc__.
53 * malloc/malloc.h (realloc): Likewise.
55 * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end
56 if one of proc_file_chain streams has that fileno.
57 * stdio-common/Makefile (tests): Add tst-popen2.
58 * stdio-common/tst-popen2.c: New test.
60 2007-07-14 Jakub Jelinek <jakub@redhat.com>
62 * elf/ldconfig.c: Allow GPLv2 or any later version.
63 * elf/readlib.c: Likewise.
64 * elf/chroot_canon.c: Likewise.
65 * elf/cache.c: Likewise.
66 * nscd/mem.c: Likewise.
67 * nscd/getpwuid_r.c: Likewise.
68 * nscd/grpcache.c: Likewise.
69 * nscd/aicache.c: Likewise.
70 * nscd/getsrvbynm_r.c: Likewise.
71 * nscd/nscd.c: Likewise.
72 * nscd/servicescache.c: Likewise.
73 * nscd/getsrvbypt_r.c: Likewise.
74 * nscd/initgrcache.c: Likewise.
75 * nscd/gethstbyad_r.c: Likewise.
76 * nscd/gethstbynm2_r.c: Likewise.
77 * nscd/getgrnam_r.c: Likewise.
78 * nscd/nscd_setup_thread.c: Likewise.
79 * nscd/getpwnam_r.c: Likewise.
80 * nscd/gai.c: Likewise.
81 * nscd/connections.c: Likewise.
82 * nscd/dbg_log.c: Likewise.
83 * nscd/cache.c: Likewise.
84 * nscd/hstcache.c: Likewise.
85 * nscd/nscd_conf.c: Likewise.
86 * nscd/getgrgid_r.c: Likewise.
87 * nscd/pwdcache.c: Likewise.
88 * catgets/gencat.c: Likewise.
89 * locale/programs/linereader.h: Likewise.
90 * locale/programs/locarchive.c: Likewise.
91 * locale/programs/ld-paper.c: Likewise.
92 * locale/programs/locfile-kw.h: Likewise.
93 * locale/programs/ld-address.c: Likewise.
94 * locale/programs/xmalloc.c: Likewise.
95 * locale/programs/ld-time.c: Likewise.
96 * locale/programs/localedef.c: Likewise.
97 * locale/programs/simple-hash.c: Likewise.
98 * locale/programs/xstrdup.c: Likewise.
99 * locale/programs/ld-numeric.c: Likewise.
100 * locale/programs/locfile-kw.gperf: Likewise.
101 * locale/programs/ld-collate.c: Likewise.
102 * locale/programs/charmap-kw.gperf: Likewise.
103 * locale/programs/charmap.h: Likewise.
104 * locale/programs/charmap-kw.h: Likewise.
105 * locale/programs/config.h: Likewise.
106 * locale/programs/locfile.c: Likewise.
107 * locale/programs/ld-ctype.c: Likewise.
108 * locale/programs/charmap.c: Likewise.
109 * locale/programs/ld-messages.c: Likewise.
110 * locale/programs/repertoire.h: Likewise.
111 * locale/programs/locale.c: Likewise.
112 * locale/programs/ld-name.c: Likewise.
113 * locale/programs/linereader.c: Likewise.
114 * locale/programs/locfile.h: Likewise.
115 * locale/programs/3level.h: Likewise.
116 * locale/programs/ld-monetary.c: Likewise.
117 * locale/programs/ld-measurement.c: Likewise.
118 * locale/programs/charmap-dir.c: Likewise.
119 * locale/programs/ld-identification.c: Likewise.
120 * locale/programs/localedef.h: Likewise.
121 * locale/programs/charmap-dir.h: Likewise.
122 * locale/programs/repertoire.c: Likewise.
123 * locale/programs/simple-hash.h: Likewise.
124 * locale/programs/ld-telephone.c: Likewise.
125 * locale/programs/locale-spec.c: Likewise.
126 * locale/programs/locfile-token.h: Likewise.
127 * posix/getconf.c: Likewise.
128 * iconv/dummy-repertoire.c: Likewise.
129 * iconv/iconv_charmap.c: Likewise.
130 * iconv/iconvconfig.c: Likewise.
131 * iconv/iconv_prog.c: Likewise.
132 * malloc/memusagestat.c: Likewise.
133 * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
135 2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
137 * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers.
138 * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise.
139 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity
140 check for the first argument.
142 2007-07-12 Jakub Jelinek <jakub@redhat.com>
145 * math/tgmath.h (__tgmath_real_type_sub): Formatting.
146 (__tgmath_real_type): Fix if expr is const int or other const
147 qualified integral type.
148 (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement
149 expressions and handle const qualified arguments.
150 (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG,
151 __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
152 (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using
153 statement expressions.
154 (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
155 __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise.
156 (__TGMATH_UNARY_IMAG): Define.
157 (conj, cproj): Use __TGMATH_UNARY_IMAG macro.
158 * math/Makefile (tests): Add test-tgmath2.
159 (CFLAGS-test-tgmath2.c): Add.
160 * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble,
161 count_cfloat, count_cldouble): New variables.
163 (main): Check number of complex calls as well.
164 (F(compile_test)): Add complex tests and tests with const qualified
166 (y, z, ccount): Define.
167 (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh),
168 F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog),
169 F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj),
170 F(cproj)): New functions.
171 * math/test-tgmath2.c: New test.
173 2007-07-11 Jakub Jelinek <jakub@redhat.com>
176 * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH,
177 RPATH etc. as "/" rather than "", don't segfault on empty paths,
179 * dlfcn/Makefile (distribute): Add glreflib3.c.
180 (module-names): Add glreflib3.
181 ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than
183 (LDFLAGS_glreflib3.so): New.
184 * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of
186 * dlfcn/glreflib3.c: New file.
188 * intl/finddomain.c (_nl_find_domain): If _nl_explode_name
189 returned -1, return NULL.
190 * intl/explodename.c (_nl_explode_name): Return -1 if
191 _nl_normalize_codeset failed.
193 2007-07-07 Steven Munroe <sjmunroe@us.ibm.com>
195 * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments.
196 Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops
197 and avoid branch misspredicts for > 31 bytes memset case.
198 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
199 Remove toc ref to __cache_line_size.
201 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4
202 to get ISA-V2.0 branch hints.
203 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise
204 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise
205 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
206 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
207 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
208 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
209 Remove toc ref to __cache_line_size.
211 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S:
212 Include math_ldbl_opt.h.
214 2007-07-10 Ulrich Drepper <drepper@redhat.com>
217 * time/strptime_l.c (__strptime_internal): Implement greedy
218 matching of weekday and month names.
220 2007-07-09 Roland McGrath <roland@redhat.com>
222 * elf/elf.h (NT_GNU_ABI_TAG): New macro.
223 (ELF_NOTE_ABI): Use it.
224 (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
226 2007-07-09 Ulrich Drepper <drepper@redhat.com>
228 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries.
229 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
231 2007-07-07 Ulrich Drepper <drepper@redhat.com>
234 * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF
235 in loop to look for conversion specifier to avoid testing of
237 * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a.
238 * stdio-common/bug18.c: New file.
239 * stdio-common/bug18a.c: New file.
240 * stdio-common/bug19.c: New file.
241 * stdio-common/bug19a.c: New file.
243 2007-07-05 Mike Frysinger <vapier@gentoo.org>
245 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when
248 2007-07-01 Jakub Jelinek <jakub@redhat.com>
250 * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
251 * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0).
252 Return NULL if mmap failed instead of asserting it does not.
253 (calloc): Check for integer overflow.
255 * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger
258 2007-07-03 Jakub Jelinek <jakub@redhat.com>
261 * nis/nss-default.c: Include errno.h.
262 (init): Preserve errno.
264 2007-07-02 Ulrich Drepper <drepper@redhat.com>
266 * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment.
268 2007-06-30 Ulrich Drepper <drepper@redhat.com>
270 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC.
272 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
274 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV.
276 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
278 * sysdeps/s390/dl-procinfo.c: New file.
279 * sysdeps/s390/dl-procinfo.h: New file.
280 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file.
282 2007-06-29 Jakub Jelinek <jakub@redhat.com>
284 * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even
285 in PT_NOTE segments with multiple notes.
286 * elf/readelflib.c (process_elf_file): Likewise.
288 2007-06-22 Ulrich Drepper <drepper@redhat.com>
290 * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more
293 2007-06-19 Ulrich Drepper <drepper@redhat.com>
295 * elf/dl-close.c (free_mem): Free _dl_scope_free_list.
297 2007-06-13 Jakub Jelinek <jakub@redhat.com>
299 * include/link.h: Don't include rtld-lowlevel.h.
300 (struct link_map): Remove l_scope_lock.
301 * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h.
302 (_dl_scope_free_list): New field (variable) in _rtld_global.
303 (DL_LOOKUP_SCOPE_LOCK): Remove.
304 (_dl_scope_free): New prototype.
305 * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock.
306 Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x.
307 (_dl_profile_fixup): Likewise.
308 * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x
309 whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and
310 THREAD_GSCOPE_RESET_FLAG around it.
311 * elf/dl-close.c (_dl_close_worker): Don't use
312 __rtld_mrlock_{change,done}. Call _dl_scope_free on the old
313 scope. Make sure THREAD_GSCOPE_WAIT () happens if any old
314 scopes were queued or if l_scope_mem has been abandoned.
315 * elf/dl-open.c (_dl_scope_free): New function.
316 (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}.
317 * elf/dl-support.c (_dl_scope_free_list): New variable.
318 * elf/dl-lookup.c (add_dependency): Remove flags argument.
319 Remove DL_LOOKUP_SCOPE_LOCK handling.
320 (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK
322 * elf/dl-object.c (_dl_new_object): Don't use
323 __rtld_mrlock_initialize.
325 2007-06-19 Ulrich Drepper <drepper@redhat.com>
327 * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements
329 (rtld_global_ro): Likewise.
331 2007-06-18 Jakub Jelinek <jakub@redhat.com>
333 * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous.
334 Move PT_LOAD checking to...
335 (_dl_addr_inside_object): ... here, new function.
336 * elf/dl-sym.c (do_sym): If not l_contiguous,
337 call _dl_addr_inside_object.
338 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise.
339 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
340 * elf/dl-open.c (dl_open_worker): Likewise.
341 (_dl_addr_inside_object): New function if IS_IN_rtld.
342 * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no
343 holes are present or are PROT_NONE protected.
344 * include/link.h (struct link_map): Add l_contiguous field.
345 * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype.
347 2007-06-18 Jakub Jelinek <jakub@redhat.com>
348 Tomas Janousek <tjanouse@redhat.com>
349 Ulrich Drepper <drepper@redhat.com>
352 * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail
353 member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6
355 * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make
356 unused member a bitmap.
357 * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6
358 servers are configured.
360 2007-06-18 Jakub Jelinek <jakub@redhat.com>
362 * elf/rtld.c (dl_main): Don't call init_tls more than once.
364 2007-06-17 Andreas Schwab <schwab@suse.de>
366 * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections.
368 2007-06-16 Andreas Jaeger <aj@suse.de>
371 * sysdeps/unix/sysv/linux/sys/ptrace.h
372 (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK,
373 PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC,
374 PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK,
375 PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE,
376 PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT):
378 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
379 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
380 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
383 2007-06-16 Ulrich Drepper <drepper@redhat.com>
386 * sysdeps/unix/sysv/linux/check_pf.c (make_request): When
387 determining whether there are IPv4/IPv6 addresses, ignore loopback
390 2007-06-14 Uros Bizjak <ubizjak@gmail.com>
392 * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined.
393 * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int
394 as the return type. Change type of "r" variable to CMPtype.
395 * soft-fp/eqsf2.c (__eqsf2): Likewise.
396 * soft-fp/eqtf2.c (__eqtf2): Likewise.
397 * soft-fp/gedf2.c (__gedf2): Likewise.
398 * soft-fp/gesf2.c (__gesf2): Likewise.
399 * soft-fp/getf2.c (__getf2): Likewise.
400 * soft-fp/ledf2.c (__ledf2): Likewise.
401 * soft-fp/lesf2.c (__lesf2): Likewise.
402 * soft-fp/letf2.c (__letf2): Likewise.
403 * soft-fp/unorddf2 (__unorddf2): Likewise.
404 * soft-fp/unordsf2 (__unordsf2): Likewise.
405 * soft-fp/unordtf2 (__unordtf2): Likewise.
407 2007-06-09 Ulrich Drepper <drepper@redhat.com>
409 * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and
410 make sure gcc doesn't mess around with this.
412 2007-06-08 Ulrich Drepper <drepper@redhat.com>
414 * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist.
416 2007-06-08 Jakub Jelinek <jakub@redhat.com>
418 * elf/dl-close.c (_dl_close_worker): Remove all to be removed
419 libraries from the global scope at once and call THREAD_GSCOPE_WAIT
420 at most once per _dl_close_worker.
422 2007-06-08 Ulrich Drepper <drepper@redhat.com>
424 * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of
425 __sched_cpucount as const.
426 * posix/sched_cpucount.c: Adjust.
428 * posix/sched_cpucount.c (__sched_cpucount): Allow using special
429 instruction for counting bits.
430 * sysdeps/x86_64/sched_cpucount.c: New file.
432 2007-06-07 Ulrich Drepper <drepper@redhat.com>
434 * configure.in: Avoid variable named BASH.
435 * config.make.in: Likewise.
436 Patch in part by Mike Frysinger.
438 2007-06-06 Jakub Jelinek <jakub@redhat.com>
441 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat
442 pseudo-zeros as zero.
443 * sysdeps/x86_64/ldbl2mpn.c: New file.
444 * sysdeps/ia64/ldbl2mpn.c: New file.
446 2007-06-04 Jakub Jelinek <jakub@redhat.com>
448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove
449 unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf.
450 Remove unreachable code at the end.
452 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com>
454 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of
455 ldbl-128ibm in comment.
456 (fpclassifyl): Correct classification of denormals.
457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct
458 return value for MIN denormal. Rewrite using long double math too
459 correctly handle denormals and canonicalize the results.
461 2007-06-05 Jakub Jelinek <jakub@redhat.com>
463 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
464 (__mpn_construct_long_double): Fix conversion where result ought
465 to be smaller than __LDBL_MIN__, or the low double should be
466 denormal. Fix decision where to negate low double - honor round
468 * stdio-common/tst-sprintf2.c: Include string.h.
469 (COMPARE_LDBL): Define.
470 (TEST): Also test whether a string hexadecimal float representation
471 can be parsed back to the number.
472 (main): Add a couple of further tests.
474 2007-06-04 Jakub Jelinek <jakub@redhat.com>
476 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
477 (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double
478 is non-zero, but smaller than 2 * __DBL_MIN__.
479 * stdio-common/tst-sprintf2.c: New test.
480 * stdio-common/Makefile (tests): Add tst-sprintf2.
482 * math/test-misc.c (main): Don't run last batch of tests with
483 IBM long double format.
485 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com>
487 * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file.
488 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file.
489 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file.
490 * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file.
491 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
492 * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file.
493 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file.
494 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file.
495 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file.
496 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file.
497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies:
500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies:
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies:
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies:
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies:
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies:
511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies:
513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies:
515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies:
517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies:
520 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com>
522 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move.
523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here.
524 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move.
525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here.
526 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move.
527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here.
528 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move.
529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here.
531 2007-05-22 Steven Munroe <sjmunroe@us.ibm.com>
533 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S
534 (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
535 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S
536 (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
537 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S
538 (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
539 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S
540 (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
542 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com>
544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file.
545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file.
546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file.
547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file.
549 2007-03-15 Steven Munroe <sjmunroe@us.ibm.com>
551 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S
552 [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1.
554 2006-02-13 Steven Munroe <sjmunroe@us.ibm.com>
556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File
557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File
558 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File
559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File
561 2006-10-20 Steven Munroe <sjmunroe@us.ibm.com>
563 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file.
564 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file.
566 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com>
568 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file.
569 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file.
571 * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved.
572 * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise.
573 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here.
574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
576 2006-09-29 Steven Munroe <sjmunroe@us.ibm.com>
578 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file.
579 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file.
580 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file.
581 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file.
583 2006-09-28 Steven Munroe <sjmunroe@us.ibm.com>
585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file.
586 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file.
587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file.
588 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file.
590 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file.
592 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com>
594 * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file.
595 * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file.
596 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file.
597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file.
599 2006-06-15 Steven Munroe <sjmunroe@us.ibm.com>
601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file.
602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file.
603 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file.
604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file.
605 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file.
606 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file.
607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file.
608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file.
609 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file.
610 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file.
611 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file.
612 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file.
613 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file.
614 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file.
615 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file.
616 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file.
618 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com>
620 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file.
621 * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file.
623 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com>
625 * sysdeps/powerpc/powerpc32/power6/memset.S: New file.
626 * sysdeps/powerpc/powerpc64/power6/memset.S: New file.
628 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com>
630 * sysdeps/powerpc/powerpc32/970/Implies: New file.
631 * sysdeps/powerpc/powerpc32/power5/Implies: New file.
632 * sysdeps/powerpc/powerpc32/power5+/Implies: New file.
633 * sysdeps/powerpc/powerpc32/power6/Implies: New file.
634 * sysdeps/powerpc/powerpc32/power6x/Implies: New file.
635 * sysdeps/powerpc/powerpc64/970/Implies: New file.
636 * sysdeps/powerpc/powerpc64/power5/Implies: New file.
637 * sysdeps/powerpc/powerpc64/power5+/Implies: New file.
638 * sysdeps/powerpc/powerpc64/power6/Implies: New file.
639 * sysdeps/powerpc/powerpc64/power6x/Implies: New file.
641 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com>
643 * sysdeps/powerpc/powerpc32/power4/memset.S: New file
645 2007-03-13 Steven Munroe <sjmunroe@us.ibm.com>
647 * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize
648 branch miss-predicts. Ensure that cache line crossing does not impact
651 2006-12-13 Steven Munroe <sjmunroe@us.ibm.com>
653 * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include
654 "../../powerpc32/power4/memcopy.h".
655 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include
656 "../../powerpc32/power4/wordcopy.c".
658 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com>
660 * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved.
661 * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise.
662 * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise.
663 * sysdeps/powerpc/powerpc32/power4/Makefile: To here.
664 * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise.
665 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
667 2006-09-10 Steven Munroe <sjmunroe@us.ibm.com>
669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file.
671 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com>
673 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file.
674 * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file.
675 * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file.
676 * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file.
677 * sysdeps/powerpc/powerpc64/power4/Makefile: New file.
678 * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file.
679 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file.
680 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file.
682 2006-07-06 Steven Munroe <sjmunroe@us.ibm.com>
684 * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file.
686 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com>
688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file.
689 * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file.
690 * sysdeps/powerpc/powerpc32/power4/memset.S: New file.
691 * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file.
692 * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file.
693 * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file.
694 * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file.
696 2007-05-29 Roland McGrath <roland@redhat.com>
698 * po/Makefile (po-sed-cmd): New variable.
699 (libc.pot.files): Move sed command text in there, avoid \ inside ''.
701 2007-05-29 Ulrich Drepper <drepper@redhat.com>
703 * crypt/md5-crypt.c: Fix comment.
705 * nscd/nscd_helper.c (get_mapping): Handle short replies instead
706 of crashing. When this is the case or if the reply is malformed,
707 don't try to close the new file descriptor since it does not
709 Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>.
711 2007-05-28 Jakub Jelinek <jakub@redhat.com>
713 * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define
714 if __NR_utimensat is not defined.
716 2007-05-26 Ulrich Drepper <drepper@redhat.com>
718 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>.
720 2007-05-25 Jakub Jelinek <jakub@redhat.com>
722 * io/bits/fcntl2.h (__open_2): Add nonnull attribute.
723 (open): Fix comment typos. Don't call __open_2 if flags
724 is a compile time constant without O_CREAT.
725 (__open64_2): Add nonnull attribute.
726 (open64): Fix comment typos. Don't call __open64_2 if flags
727 is a compile time constant without O_CREAT.
728 (__openat_2): Add nonnull attribute, fix nonnull attribute
730 (openat): Fix comment typos. Don't call __openat_2 if flags
731 is a compile time constant without O_CREAT.
732 (__openat64_2): Add nonnull attribute, fix nonnull attribute
734 (openat64): Fix comment typos. Don't call __openat64_2 if flags
735 is a compile time constant without O_CREAT.
737 2007-05-24 Ulrich Drepper <drepper@redhat.com>
739 * Makerules (sysd-rules): Define PTW for ptw-* files.
740 * Versions: Define GLIBC_2.7 for libc.
741 * include/stdio.h: Declare __fortify_fail.
742 * debug/fortify_fail.c: New file.
743 * debug/Makefile (routines): Add fortify_fail.
744 * debug/chk_fail.c: Use __fortify_fail.
745 * debug/stack_chk_fail.c: Likewise.
746 * io/Versions: Export __open_2, __open64_2, __openat_2, and
747 __openat64_2 for GLIBC_2.7.
748 * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h.
749 * io/open.c: Define *_2 variant of function which checks for O_CREAT
750 and fails if necessary.
751 * io/open64.c: Likewise.
752 * io/openat.c: Likewise.
753 * io/openat64.c: Likewise.
754 * sysdeps/unix/sysv/linux/open64.c: Likewise.
755 * sysdeps/unix/sysv/linux/openat.c: Likewise.
756 * sysdeps/unix/sysv/linux/openat64.c: Likewise.
757 * io/bits/fcntl2.h: New file.
758 * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and
760 * include/bits/fcntl2.h: New file.
761 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
763 * sysdeps/unix/sysv/linux/open_2.c: New file.
765 2007-05-21 Ulrich Drepper <drepper@redhat.com>
767 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value
768 as second parameter to handle_intel.
770 * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache
773 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information
775 * sysdeps/x86_64/cacheinfo.c: ... here. New file.
776 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
778 * sysdeps/x86_64/memcpy.S: Complete rewrite.
779 * sysdeps/x86_64/mempcpy.S: Adjust appropriately.
780 Patch by Evandro Menezes <evandro.menezes@amd.com>.
782 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file.
784 2007-05-21 Jakub Jelinek <jakub@redhat.com>
787 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait.
788 * sysdeps/unix/sysv/linux/epoll_pwait.c: New file.
789 * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove.
791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare.
794 * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable,
795 reinitialize workend at the start of each do_positional format spec
796 loop, free workstart before do_positional loops.
797 (printf_unknown): Fix size of work_buffer.
798 * stdio-common/tst-sprintf.c (main): Add 3 new testcases.
800 * malloc/hooks.c (MALLOC_STATE_VERSION): Bump.
801 (public_sET_STATe): If ms->version < 3, put all chunks into
802 unsorted chunks and clear {fd,bk}_nextsize fields of largebin
805 * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes.
806 * malloc/hooks.c: Likewise.
807 * malloc/arena.c: Likewise.
808 * malloc/malloc.c (do_check_malloc_state): Don't assert
809 n_mmaps is not greater than n_mmaps_max. This removes the need
810 for the previous change.
812 * malloc/Makefile (CFLAGS-malloc.c): Revert accidental
815 2007-05-19 Ulrich Drepper <drepper@redhat.com>
817 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX):
818 Define for kernel >= 2.6.22.
820 2007-05-18 Ulrich Drepper <drepper@redhat.com>
822 * elf/dl-close.c (_dl_close_worker): When removing object from
823 global scope, wait for all lookups to finish afterwards.
824 * elf/dl-open.c (add_to_global): When global scope array must
825 grow, allocate a new one and free old array only after all
827 * elf/dl-runtime.c (_dl_fixup): Protect using global scope.
828 (_dl_lookup_symbol_x): Likewise.
829 * elf/dl-support.c: Define _dl_wait_lookup_done.
830 * sysdeps/generic/ldsodefs.h (struct rtld_global): Add
831 _dl_wait_lookup_done.
833 * malloc/malloc.c (do_check_chunk): Correct check for mmaped block
834 not overlapping with arena.
836 * malloc/mcheck.c (reallochook): If size==0, free the block.
838 * rt/tst-shm.c: Use fstat64 instead of fstat.
840 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where
841 __NR_sync_file_range is not defined.
843 2007-05-17 Ulrich Drepper <drepper@redhat.com>
845 Dummy files to prevent stub versions from being used.
846 * sysdeps/x86_64/fpu/k_cosl.c: New file.
847 * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file.
848 * sysdeps/x86_64/fpu/k_sinl.c: New file.
849 * sysdeps/x86_64/fpu/k_tanl.c: New file.
851 * version.h (VERSION): Set to 2.6.90.
853 2007-05-14 Ulrich Drepper <drepper@redhat.com>
855 * version.h (VERSION): Define to 2.6.
856 * include/features.h (__GLIBC_MINOR__): Define to 6.
858 * malloc/malloc.c: Use all small bin slots on 64-bit archs.
860 * malloc/malloc.c (largebin_index): Really have 32 buckets with 64
863 2007-05-13 Ulrich Drepper <drepper@redhat.com>
865 * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum
866 number of mmaps. n_mmaps_max is the target.
867 * malloc/hooks.c: Likewise.
868 * malloc/arena.c: Likewise.
870 2007-05-12 Andreas Jaeger <aj@suse.de>
872 * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for
875 2007-05-11 Ulrich Drepper <drepper@redhat.com>
877 * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by
878 adding new variables.
880 * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc
881 optimize. Completely extend global scope array before making the
884 2007-05-10 Ulrich Drepper <drepper@redhat.com>
886 * sysdeps/unix/sysv/linux/tst-getcpu.c: New file.
887 * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add
890 * include/link.h: Move l_version and l_nversion members around to
893 * scripts/check-c++-types.sh: Don't use -fnu89-inline option.
895 * sysdeps/unix/sysv/linux/sched_setaffinity.c
896 (__sched_setaffinity_new): If syscall was successful and
897 RESET_VGETCPU_CACHE is defined, use it before returning.
898 * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file.
900 * io/sys/stat.h: Make sure struct timespec is defined for
903 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and
905 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
906 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
907 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
908 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
909 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
910 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT.
912 * io/sys/stat.h: Declare utimensat, futimens.
913 * io/utimensat.c: New file.
914 * io/futimens.c: New file.
915 * sysdeps/unix/sysv/linux/utimensat.c: New file.
916 * sysdeps/unix/sysv/linux/futimens.c: New file.
917 * io/Makefile (routines): Add utimensat, futimens.
918 * io/Versions: Add utimensat, futimens to GLIBC_2.6.
919 * sysdeps/unix/sysv/linux/lutimes.c: New file.
920 * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if
923 * include/sys/cdefs.h: Redefine __nonnull so that test for
924 incorrect parameters in the libc code itself are not omitted.
926 2007-05-09 Jakub Jelinek <jakub@redhat.com>
928 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow
929 exception in addition to inexact when asked to raise only FE_INEXACT.
932 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions
935 2007-05-07 Ulrich Drepper <drepper@redhat.com>
938 * string/strfry.c (strfry): Make result more random.
940 2007-05-07 Richard Henderson <rth@redhat.com>
942 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
943 if __NO_LONG_DOUBLE_MATH.
944 * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
945 available in the compiler, add .arch directive to the assembly.
947 2007-05-07 Jakub Jelinek <jakub@redhat.com>
949 * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
950 compat_symbol to GLIBC_2_1.
951 * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
952 * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
953 * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
954 * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
955 * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
956 * sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
957 * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
959 (__isnanl): New compat_symbol.
961 2007-05-07 Ulrich Drepper <drepper@redhat.com>
962 Jakub Jelinek <jakub@redhat.com>
964 * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
965 (new_heap): Initialize mprotect_size.
966 (grow_heap): When growing, only mprotect from mprotect_size till
967 new_size if mprotect_size is smaller. When shrinking, use PROT_NONE
968 MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
970 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com>
971 Peter Bergner <bergner@us.ibm.com>
973 * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern.
974 Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV.
975 * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support.
976 * sysdeps/powerpc/fpu/fe_mask.c: New file.
977 * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment.
978 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept):
979 Call __fe_mask_env() if all FP exceptions disabled.
980 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits
981 from old FPSCR to new fenv to propagate DFP rounding modes.
982 Call __fe_mask_env() if FP exceptions previously enabled.
983 * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge
984 exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when
985 transitioning from all exceptions disabled to any exception enabled
987 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to
988 merge exceptions from env. Call __fe_nomask_env or __fe_mask_env
989 when transitioning from all exceptions disabled to any exception
990 enabled or visa versa.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to...
992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to...
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file.
998 2007-05-06 Ulrich Drepper <drepper@redhat.com>
1001 * posix/unistd.h: Remove __THROW from fdatasync.
1003 2007-05-06 Mike Frysinger <vapier@gentoo.org>
1006 * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args.
1008 2007-05-06 Ulrich Drepper <drepper@redhat.com>
1010 * stdio-common/vfprintf.c (process_string_arg): Optimize
1011 ridiculous precision in wide char code printing multi-byte string.
1012 Reported by Jim Meyering <jim@meyering.net>.
1015 * elf/dl-addr.c (_dl_addr): Compare address with actual segment
1016 boundaries to work around systems with overlapping binary loading.
1017 Based on a patch by Suzuki <suzuki@in.ibm.com>.
1019 2007-05-04 Ulrich Drepper <drepper@redhat.com>
1021 * stdio-common/vfprintf.c (process_string_arg): Adjust call to
1022 __mbsnrtowcs after last change.
1024 * locale/programs/linereader.c (get_symname): Fix adding final NUL.
1025 (get_ident): Likewise.
1027 2007-05-03 Jakub Jelinek <jakub@redhat.com>
1029 * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT
1030 with setting the sticky bit.
1031 * math/test-misc.c (main): Add more truncation tests.
1033 2007-04-14 Uros Bizjak <ubizjak@gmail.com>
1035 * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of
1036 double in the function declaration.
1037 * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of
1038 double in the function declaration.
1039 * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
1040 float in the function declaration.
1041 * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
1042 float in the function declaration.
1044 * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for
1045 denormal operands. Do not generate FP_EX_DENORM exception.
1046 (FP_UNPACK_RAW_EP): Ditto.
1047 (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of
1048 undefined _FP_UNPACK_RAW_E.
1049 (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of
1050 undefined _FP_UNPACK_RAW_EP.
1051 (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of
1052 undefined _FP_PACK_RAW_E.
1053 (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of
1054 undefined _FP_PACK_RAW_EP.
1056 * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to
1058 * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to
1061 2007-04-16 Uros Bizjak <ubizjak@gmail.com>
1062 Jakub Jelinek <jakub@redhat.com>
1064 * soft-fp/op-common.h (FP_EXTEND): Do not abort when
1065 _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for
1067 * soft-fp/op-common.h (FP_TRUNC): Ditto.
1069 2007-05-03 Jakub Jelinek <jakub@redhat.com>
1071 * math/test-misc.c (main): Add tests for rounding long double
1072 values close to smallest double denormalized value to double.
1074 2007-04-30 Joseph Myers <joseph@codesourcery.com>
1076 * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in
1077 condition for truncating to 0. Set sticky bit for such
1080 2007-05-02 Jakub Jelinek <jakub@redhat.com>
1082 * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than
1083 fixed length array for ignore.
1085 2007-04-30 Ulrich Drepper <drepper@redhat.com>
1088 * stdio-common/vfprintf.c (process_string_arg): Don't overflow the
1089 stack for large precisions.
1090 * stdio-common/test-vfprintf.c (main): Add test for large
1093 2007-04-30 Jakub Jelinek <jakub@redhat.com>
1095 * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign
1097 * stdio-common/tfformat.c (sprint_doubles): Add a new test.
1100 * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into
1101 account in the size check.
1102 * resolv/tst-inet_ntop.c: New test.
1103 * resolv/Makefile (tests): Add tst-inet_ntop.
1105 2007-04-30 Ulrich Drepper <drepper@redhat.com>
1106 Jakub Jelinek <jakub@redhat.com>
1109 * malloc/malloc.c: Keep separate list for first blocks on the bin
1110 lists with a given size. This helps skipping over list elements
1111 we know won't fit in two places.
1112 Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>.
1114 2007-04-28 Ulrich Drepper <drepper@redhat.com>
1117 * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate
1118 label to Teredo tunnel addresses 2001://32.
1120 2007-04-27 Ulrich Drepper <drepper@redhat.com>
1122 * locale/programs/ld-collate.c (collate_read): Allow order_start
1125 * locale/programs/ld-collate.c (collate_read): Fix printing of
1129 * locale/C-translit.h.in: Add entry for U2044.
1132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow
1133 hexa-decimal floats without exponent.
1134 * stdio-common/tstscanf.c (main): Adjust Test 8 test for success.
1136 2007-04-25 Ulrich Drepper <drepper@redhat.com>
1138 * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.
1139 * sysdeps/unix/sysv/linux/sched_getcpu.c: New file.
1140 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file.
1141 * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for
1143 * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):
1146 2007-04-25 Jakub Jelinek <jakub@redhat.com>
1148 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead
1149 of 0 after the out_fail label.
1151 2007-04-25 Ulrich Drepper <drepper@redhat.com>
1154 * iconv/gconv_charset.h (strip): Allow ':'.
1155 * iconv/iconv_open.c (iconv_open): Adjust comment.
1157 2007-04-25 Jakub Jelinek <jakub@redhat.com>
1159 * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
1162 2007-04-23 Jakub Jelinek <jakub@redhat.com>
1165 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient
1166 alignment of buffer and tmp_buffer.
1167 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r,
1168 internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient
1169 alignment of buffer.
1170 * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen
1171 bigger than INT_MAX.
1172 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and
1173 h_errnop arguments. Fail if buflen is too small.
1174 (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers.
1176 2007-04-23 Jakub Jelinek <jakub@redhat.com>
1179 * iconvdata/gconv-modules (E13B): Add a missing slash to the alias
1180 name. Patch by Aurelien Jarno <aurelien@aurel32.net>.
1182 2007-04-22 Roland McGrath <roland@redhat.com>
1184 * elf/elf.h (NT_PRXFPREG): New macro.
1186 2007-04-19 Andreas Jaeger <aj@suse.de>
1189 * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU,
1190 IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST):
1193 2007-04-19 Ulrich Drepper <drepper@redhat.com>
1195 * include/sys/mman.h: Mark madvise hidden.
1196 * misc/madvise.c: Add libc_hidden_def.
1198 2007-04-06 Jakub Jelinek <jakub@redhat.com>
1200 * nis/nis_domain_of.c (__nis_domain_of): New function.
1201 * include/rpcsvc/nislib.h (__nis_domain_of): New prototype.
1202 * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of.
1203 * nis/nis_call.c (rec_dirsearch): Likewise.
1204 (first_shoot): Likewise. Remove search_parent_first argument.
1205 (struct nis_server_cache): Rename search_parent_first field
1207 (nis_server_cache_search, nis_server_cache_add): Rename
1208 search_parent_first argument to search_parent.
1209 (__nisfind_server): Likewise. If search_parent, call
1212 2007-04-18 Ulrich Drepper <drepper@redhat.com>
1214 * sysdeps/posix/getaddrinfo.c: Remove commented-out code.
1216 2007-04-17 Ulrich Drepper <drepper@redhat.com>
1219 * stdlib/stdlib.h: Remove obsolete part of comment for realpath.
1221 2007-04-16 Ulrich Drepper <drepper@redhat.com>
1224 * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
1226 2007-04-15 Jakub Jelinek <jakub@redhat.com>
1228 * locale/programs/locarchive.c (INITIAL_NUM_NAMES,
1229 INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate
1230 current number of locales in SUPPORTED.
1231 (create_archive): Initialize serial.
1232 (enlarge_archive): Preserve aliases rather than duplicating
1235 2007-04-13 Jakub Jelinek <jakub@redhat.com>
1237 * libio/genops.c (_IO_default_finish): Call _IO_lock_fini
1238 after _IO_un_link, not before it.
1240 * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4
1241 special case handling when wcp == wstartp + 1. Fix a comment typo.
1242 * stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
1244 2007-03-30 Jakub Jelinek <jakub@redhat.com>
1246 * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow,
1247 __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn,
1248 _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn):
1250 * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap,
1251 _IO_file_xsgetn_maybe_mmap): Likewise.
1252 * libio/oldfileops.c (old_do_write): Likewise.
1253 * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode,
1254 _IO_init_marker, _IO_init_wmarker, _IO_default_uflow,
1255 _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos,
1256 _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write,
1257 _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup,
1258 _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos,
1259 _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64,
1260 _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64,
1261 _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn,
1262 _IO_file_underflow, _IO_file_underflow_mmap,
1263 _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach,
1264 _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read,
1265 _IO_file_sync, _IO_file_close_it, _IO_file_finish,
1266 _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish,
1267 _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap,
1268 _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow,
1269 _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn,
1270 _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn,
1271 _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach,
1272 _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync,
1273 _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn,
1274 _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow,
1275 _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open,
1276 _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal,
1277 _IO_adjust_column_internal, _IO_default_uflow_internal,
1278 _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal,
1279 _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal,
1280 _IO_file_setbuf_internal, _IO_file_seekoff_internal,
1281 _IO_file_xsputn_internal, _IO_file_xsgetn_internal,
1282 _IO_file_close_it_internal, _IO_file_underflow_internal,
1283 _IO_file_overflow_internal, _IO_file_attach_internal,
1284 _IO_file_fopen_internal, _IO_file_sync_internal,
1285 _IO_file_finish_internal, _IO_wfile_xsputn_internal,
1286 _IO_wfile_seekoff_internal, _IO_wfile_sync_internal,
1287 _IO_switch_to_wget_mode_internal, _IO_padn_internal,
1288 _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked,
1289 _IO_seekpos_unlocked): Likewise.
1290 (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write,
1291 _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes.
1293 2007-04-16 Jakub Jelinek <jakub@redhat.com>
1295 * locale/programs/locarchive.c (show_archive_content): Fix sizeof
1296 argument in xmalloc size computation.
1298 2007-04-01 Jakub Jelinek <jakub@redhat.com>
1300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use
1301 math_opt_barrier and math_force_eval macros.
1303 2007-03-27 Jakub Jelinek <jakub@redhat.com>
1306 * math/math_private.h (math_opt_barrier, math_force_eval): Define.
1307 * sysdeps/i386/fpu/math_private.h: New file.
1308 * sysdeps/x86_64/fpu/math_private.h: New file.
1309 * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and
1310 math_force_eval macros. Use "+m" constraint on asm rather than
1312 * math/s_nextafter.c (__nextafter): Likewise.
1313 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1315 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1316 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise.
1317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1318 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use
1319 math_opt_barrier and math_force_eval macros.
1320 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise.
1321 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise.
1322 * sysdeps/i386/fpu/s_nexttoward.c: Include float.h.
1323 (__nexttoward): Use math_opt_barrier and
1324 math_force_eval macros. Use "+m" constraint on asm rather than
1325 "=m" and "m". Only use asm to force double result if
1326 FLT_EVAL_METHOD is 2.
1327 * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h.
1328 (__nexttowardf): Use math_opt_barrier and
1329 math_force_eval macros. Use "+m" constraint on asm rather than
1330 "=m" and "m". Only use asm to force double result if
1331 FLT_EVAL_METHOD is not 0.
1332 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h.
1333 (__nexttowardf): Use math_opt_barrier and
1334 math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
1335 x to float using asm.
1336 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h.
1337 (__nldbl_nexttowardf): Use math_opt_barrier and
1338 math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
1339 x to float using asm.
1340 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h.
1341 (__nexttowardf): Use math_opt_barrier and math_force_eval
1342 macros. If FLT_EVAL_METHOD is not 0, force x to float using asm.
1343 * math/bug-nextafter.c (zero, inf): New variables.
1344 (main): Add new tests.
1345 * math/bug-nexttoward.c (zero, inf): New variables.
1346 (main): Add new tests.
1348 2007-03-22 Jakub Jelinek <jakub@redhat.com>
1351 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all
1352 exceptions both in SW and MXCSR.
1353 * sysdeps/x86_64/fpu/feupdateenv.c: New file.
1354 * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code.
1355 * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1356 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions
1357 in MXCSR if SSE is available.
1358 * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h
1360 (__feupdateenv): Query exceptions also from MXCSR if SSE is available.
1362 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions.
1363 Return 0 rather than 1.
1364 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo.
1365 Remove incorrect part of a comment. Fix argument to feraiseexcept.
1366 * math/test-fenv.c (feholdexcept_tests): New function.
1369 2007-01-05 Richard B. Kreckel <kreckel@ginac.de>
1372 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions
1375 2007-04-13 Jakub Jelinek <jakub@redhat.com>
1378 * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors.
1379 Reported by David Anderson <davea42@earthlink.net>.
1381 2007-04-07 Ulrich Drepper <drepper@redhat.com>
1383 * posix/sys/wait.h: Remove unnecessary forward declaration.
1385 2007-04-05 Jakub Jelinek <jakub@redhat.com>
1387 * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
1388 with obj->do_servers after first_shoot.
1390 2007-04-03 Ulrich Drepper <drepper@redhat.com>
1392 * posix/Makefile (routines): Add sched_cpucount.
1393 (tests): Add tst-cpucount.
1394 * posix/sched_cpucount.c: New file.
1395 * posix/tst-cpucount.c: New file.
1396 * posix/Versions: Export __sched_cpucount with version GLIBC_2.6.
1397 * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount.
1398 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1399 * posix/sched.h: Define CPU_COUNT.
1401 2007-03-27 Jakub Jelinek <jakub@redhat.com>
1403 * posix/fnmatch.c (STRUCT): Define.
1404 (fnmatch): Pass NULL as last argument to internal_fn{,w}match.
1405 * posix/fnmatch_loop.c (struct STRUCT): New type.
1406 (FCT): Add ends argument. If ends != NULL and normal * is
1407 seen in the pattern, store current pattern and string pointers
1408 and return. Adjust recursive calls.
1409 (EXT): Adjust FCT callers.
1410 (STRUCT): Undef at the end of the file.
1411 * posix/Makefile (tests): Add tst-fnmatch2.
1412 * posix/tst-fnmatch2.c: New test.
1414 2007-04-01 Jakub Jelinek <jakub@redhat.com>
1416 * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success
1419 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1420 Change last argument to unsigned int.
1422 2007-03-23 Jakub Jelinek <jakub@redhat.com>
1424 * scripts/check-local-headers.sh: Filter out sys/capability.h.
1426 2007-03-22 Jakub Jelinek <jakub@redhat.com>
1428 * config.h.in (HAVE_LIBCAP): Add.
1429 * nscd/selinux.h: Include sys/capability.h rather than non-existent
1431 * nscd/selinux.c (preserve_capabilities): Use cap_free instead of
1432 free_caps. Cast away const from 4th cap_set_flag argument.
1434 2007-03-26 Ulrich Drepper <drepper@redhat.com>
1436 * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to
1438 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
1439 Add sync_file_range.
1440 Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
1442 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com>
1444 * sysdeps/powerpc/bits/atomic.h
1445 [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ.
1446 [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL.
1447 (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx.
1448 (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx.
1449 (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx.
1450 (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx.
1451 * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]:
1452 Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0".
1453 (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx.
1454 (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx.
1455 * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]:
1456 Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0".
1457 (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx.
1458 (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx.
1459 (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx.
1460 (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx.
1461 (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx.
1462 (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx.
1463 (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx.
1464 (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx.
1466 2007-03-20 Jakub Jelinek <jakub@redhat.com>
1468 * sysdeps/unix/sysv/linux/powerpc/libc-start.c
1469 (__cache_line_size): Define the variable here. Add
1470 attribute_hidden, remove weak_extern.
1471 (__libc_start_main): Set __cache_line_size
1473 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1474 (__cache_line_size): Define the variable here. Add
1475 attribute_hidden, remove weak_extern.
1476 (DL_PLATFORM_AUXV): Set __cache_line_size
1478 * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove
1479 weak_extern, add attribute_hidden.
1480 (__elf_machine_runtime_setup): Assume __cache_line_size is always
1482 * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove
1484 * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise.
1486 2007-03-26 Jakub Jelinek <jakub@redhat.com>
1489 * timezone/africa: Update from tzdata2007d.
1490 * timezone/asia: Likewise.
1491 * timezone/australasia: Likewise.
1492 * timezone/backward: Likewise.
1493 * timezone/europe: Likewise.
1494 * timezone/iso3166.tab: Likewise.
1495 * timezone/leapseconds: Likewise.
1496 * timezone/northamerica: Likewise.
1497 * timezone/southamerica: Likewise.
1498 * timezone/zone.tab: Likewise.
1500 * timezone/private.h: Update from tzcode2007d.
1501 * timezone/zdump.c: Likewise.
1502 * timezone/zic.c: Likewise.
1504 2007-03-21 Jakub Jelinek <jakub@redhat.com>
1506 * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h.
1507 (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New
1509 (nis_server_cache_search, nis_server_cache_add): New functions.
1510 (__nisfind_server): Use them. Add dbp and flags argument, if
1511 call __nisbind_create.
1512 (__nisbind_create): Add server_used and current_ep arguments,
1513 only call __nis_findfastest if server_used is ~0.
1514 (__do_niscall2, __prepare_niscall): Adjust callers.
1515 (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid,
1516 ckey_cache_euid, ckey_cache_lock): New variables.
1517 (get_ckey): New function.
1518 (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to
1519 __pmap_getnisport. Save __pmap_getnisport result in
1520 dbp->addr.sin_port if non-zero. Use get_ckey to create conversation
1522 * nis/nis_lookup.c (nis_lookup): Likewise.
1523 * nis/nis_table.c (nis_list): Likewise.
1524 * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust
1527 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r,
1528 _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list.
1529 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r,
1530 _nss_nisplus_getservbyport_r): Likewise.
1531 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1532 _nss_nisplus_getnetbyaddr_r): Likewise.
1533 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise.
1534 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1535 _nss_nisplus_getntohost_r): Likewise.
1536 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r,
1537 _nss_nisplus_getrpcbynumber_r): Likewise.
1539 2007-03-20 Jakub Jelinek <jakub@redhat.com>
1541 * configure.in (libc_cv_gnu89_inline): Only do compile test.
1542 * configure: Rebuilt.
1544 * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac
1546 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1548 2006-06-07 Joseph Myers <joseph@codesourcery.com>
1551 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac
1554 2007-03-18 Jakub Jelinek <jakub@redhat.com>
1556 * nscd/gai.c: Include alloca.h.
1557 (__libc_use_alloca): Define.
1559 2007-03-16 Jakub Jelinek <jakub@redhat.com>
1561 * elf/dl-open.c (dl_open_worker): Declare l in 2 different
1563 * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument.
1564 (DL_DST_REQUIRED): Adjust user.
1566 * include/dlfcn.h (struct link_map): New forward decl.
1568 * inet/getnameinfo.c: Include stddef.h.
1569 (getnameinfo): Use offsetof.
1571 * time/tst-mktime2.c (do_test): Don't rely on signed wrap.
1573 * stdio-common/vfprintf.c (_itoa): Undef before redefining.
1575 * string/strerror_l.c: Include stdlib.h.
1577 * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline.
1578 * config.make.in (gnu89-inline-CFLAGS): New variable.
1579 * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with
1581 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define.
1582 * argp/argp.h: Use it.
1583 * bits/mathinline.h: Likewise.
1584 * bits/sigset.h: Likewise.
1585 * bits/string.h: Likewise.
1586 * ctype/ctype.h: Likewise.
1587 * hurd/hurd.h: Likewise.
1588 * hurd/hurd/fd.h: Likewise.
1589 * hurd/hurd/port.h: Likewise.
1590 * hurd/hurd/signal.h: Likewise.
1591 * hurd/hurd/threadvar.h: Likewise.
1592 * hurd/hurd/userlink.h: Likewise.
1593 * io/sys/stat.h: Likewise.
1594 * libio/bits/stdio.h: Likewise.
1595 * libio/bits/stdio2.h: Likewise.
1596 * mach/lock-intern.h: Likewise.
1597 * mach/mach/mig_support.h: Likewise.
1598 * math/bits/cmathcalls.h: Likewise.
1599 * posix/bits/unistd.h: Likewise.
1600 * socket/bits/socket2.h: Likewise.
1601 * stdlib/bits/stdlib.h: Likewise.
1602 * stdlib/stdlib.h: Likewise.
1603 * string/argz.h: Likewise.
1604 * string/bits/string2.h: Likewise.
1605 * string/bits/string3.h: Likewise.
1606 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
1607 * sysdeps/generic/inttypes.h: Likewise.
1608 * sysdeps/generic/machine-lock.h: Likewise.
1609 * sysdeps/generic/machine-sp.h: Likewise.
1610 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1611 * sysdeps/i386/i486/bits/string.h: Likewise.
1612 * sysdeps/ia64/fpu/bits/mathinline.h: Likewise.
1613 * sysdeps/mach/alpha/machine-lock.h: Likewise.
1614 * sysdeps/mach/alpha/machine-sp.h: Likewise.
1615 * sysdeps/mach/i386/machine-lock.h: Likewise.
1616 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1617 * sysdeps/mach/powerpc/machine-sp.h: Likewise.
1618 * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
1619 * sysdeps/s390/bits/string.h: Likewise.
1620 * sysdeps/s390/fpu/bits/mathinline.h: Likewise.
1621 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1622 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
1623 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1624 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1625 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
1626 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1627 * wcsmbs/bits/wchar2.h: Likewise.
1628 * wcsmbs/wchar.h: Likewise.
1629 * stdlib/gmp.h: Likewise. Include <features.h> to get
1630 __extern_inline definition.
1632 2007-03-15 Jakub Jelinek <jakub@redhat.com>
1634 * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is
1638 * math/libm-test.inc (log_test): Test -Inf and NaN.
1639 (log10_test, log1p_test, log2_test): Test -Inf.
1640 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise
1641 FE_INVALID when argument is qNaN.
1642 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1643 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1644 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1645 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace
1646 andb $1, %ah with testb $1, %ah, don't test for parity, instead
1647 testb $4, %ah and jump if non-zero.
1648 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1649 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1652 * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find
1653 ancestors with the same depths.
1654 Patch by Niels Moeller <nisse@lysator.liu.se>.
1655 (filter_doc): Don't crash if argp is NULL.
1656 * argp/Makefile (tests): Add tst-argp2.
1657 * argp/tst-argp2.c: New test.
1660 * login/utmp_file.c (setutent_file): Use O_LARGEFILE for
1662 (updwtmp_file): Likewise.
1665 * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0.
1666 (inet6_opt_append): Don't check extlen is big enough if extbuf
1668 (inet6_opt_finish): Likewise.
1669 * inet/Makefile (tests): Add test-inet6_opt.
1670 * inet/test-inet6_opt.c: New test.
1672 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never
1673 reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY
1674 NLMSG_ERR. Instead use a page sized buffer.
1675 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized
1678 2007-03-14 Richard Henderson <rth@redhat.com>
1680 * sysdeps/alpha/fpu/s_llround.c: New file.
1681 * sysdeps/alpha/fpu/s_llroundf.c: New file.
1682 * sysdeps/alpha/fpu/s_lround.c: New file.
1683 * sysdeps/alpha/fpu/s_lroundf.c: New file.
1684 * sysdeps/alpha/fpu/s_round.c: New file.
1685 * sysdeps/alpha/fpu/s_roundf.c: New file.
1686 * sysdeps/alpha/fpu/s_trunc.c: New file.
1687 * sysdeps/alpha/fpu/s_truncf.c: New file.
1689 * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
1690 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1691 * sysdeps/alpha/fpu/s_floor.c: Likewise.
1692 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1693 * sysdeps/alpha/fpu/s_rint.c: Likewise.
1694 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
1696 * sysdeps/alpha/fpu/s_fmax.S: New file.
1697 * sysdeps/alpha/fpu/s_fmaxf.S: New file.
1698 * sysdeps/alpha/fpu/s_fmin.S: New file.
1699 * sysdeps/alpha/fpu/s_fminf.S: New file.
1700 * sysdeps/alpha/fpu/s_isnan.c: New file.
1701 * sysdeps/alpha/fpu/s_isnanf.c: New file.
1702 * sysdeps/alpha/fpu/s_llrint.c: New file.
1703 * sysdeps/alpha/fpu/s_llrintf.c: New file.
1704 * sysdeps/alpha/fpu/s_lrint.c: New file.
1705 * sysdeps/alpha/fpu/s_lrintf.c: New file.
1706 * sysdeps/alpha/fpu/s_nearbyint.c: New file.
1707 * sysdeps/alpha/fpu/s_nearbyintf.c: New file.
1709 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
1710 (__fdimf, fdimf, __fdim, fdim): Remove.
1711 (__signbitf, __signbit, __signbitl): Use gcc builtin if available.
1712 (__isnanf, __isnan, __isnanl): New.
1714 2007-03-13 Richard Henderson <rth@redhat.com>
1716 * sysdeps/ieee754/ldbl-128/Makefile: New file.
1718 2007-03-13 Richard Henderson <rth@redhat.com>
1720 * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.
1721 * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New.
1722 * sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
1723 * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file.
1724 * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file.
1725 * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
1727 2007-03-13 Richard Henderson <rth@redhat.com>
1729 * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
1730 * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
1731 * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
1732 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
1733 Move to dl-auxv.h; initialize instead of extern weak.
1734 (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
1736 * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
1737 Extern instead of initialized.
1739 2007-03-13 Richard Henderson <rth@redhat.com>
1741 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
1742 __sigsuspend_nocancel.
1744 2007-03-06 Ulrich Drepper <drepper@redhat.com>
1746 * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
1747 172.16/12 address range.
1749 2007-03-02 Jakub Jelinek <jakub@redhat.com>
1751 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with
1752 a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC
1755 2007-03-01 Jakub Jelinek <jakub@redhat.com>
1758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN
1760 * math/libm-test.inc (pow_test): Add more tests involving NaNs.
1762 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception
1763 for x qNaN and y either +-inf or non-integer value.
1764 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise.
1765 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1766 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1768 2007-02-10 Mike Frysinger <vapier@gentoo.org>
1770 * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h
1771 from sysdep_headers.
1773 2007-02-28 Jakub Jelinek <jakub@redhat.com>
1775 * time/tzfile.c (find_transition): Instead of a linear search try to
1776 guess the transition index, use a linear search if the result is at
1777 most 10 transitions away from the guess or binary search otherwise.
1779 2007-02-27 Jakub Jelinek <jakub@redhat.com>
1781 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
1782 memory reallocation.
1784 2007-02-21 Ulrich Drepper <drepper@redhat.com>
1786 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions
1788 Optimize use of TOLOWER.
1791 * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem.
1792 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
1793 * sysdeps/i386/fpu/e_fmod.S: Likewise.
1796 * sysdeps/unix/sysv/linux/posix_madvise.c: New file.
1797 * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry.
1800 * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /.
1801 (open_dir_stream): Likewise.
1802 * io/Makefile (tests): Add bug-ftw5.
1803 * io/bug-ftw5.c: New file.
1805 * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.
1806 * nscd/servicescache.c (cache_addserv): Likewise.
1808 * nscd/grpcache.c (cache_addgr): In case a record changed on
1809 refresh, adjust key_copy.
1812 * nscd/pwdcache.c (cache_addpw): In case a record changed on
1813 refresh, adjust key_copy.
1816 * stdio-common/printf_fp.c (___printf_fp): Handle a few more
1818 * stdio-common/tfformat.c (sprint_doubles): Some more tests.
1820 2007-02-19 Ulrich Drepper <drepper@redhat.com>
1822 * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor
1825 * stdio-common/vfscanf.c: Small cleanups throughout.
1827 2007-02-18 Ulrich Drepper <drepper@redhat.com>
1830 * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem.
1831 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
1832 * sysdeps/i386/fpu/e_fmod.S: Likewise.
1833 Patch by Jared Casper <jaredcasper@gmail.com>.
1835 * sysdeps/unix/closedir.c: Outside libc don't use locking.
1836 * sysdeps/unix/opendir.c: Likewise.
1837 * sysdeps/unix/readdir.c: Likewise.
1840 * stdio-common/vfscanf.c: Handle localized digits etc for floating
1842 Patch mostly by Hamed Malek <hamed@farsiweb.info>.
1844 * stdio-common/vfscanf.c: Fix problems in width accounting.
1845 * stdio-common/tst-sscanf.c (double_tests): New tests.
1846 (main): Hook them up.
1848 * stdio-common/vfscanf.c: Remove unused WIDTH handling.
1849 More simplifications of floating-point reader.
1851 * stdio-common/Makefile (tests): Add tst-swscanf.
1852 * stdio-common/tst-sscanf.c: Make tests usable for swscanf
1854 * stdio-common/tst-swscanf.c: New file.
1856 2007-02-17 Ulrich Drepper <drepper@redhat.com>
1859 * libio/stdio.h: Define struct _IO_FILE in global namespace.
1860 * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace.
1861 Remove using for __jmp_buf_tag.
1862 * locale/locale.h (struct lconv): Also define in std namespace.
1863 * wcsmbs/wchar.h: Move using declaration for tm out of namespace.
1866 * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut
1867 using __libc_enable_secure.
1870 * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define.
1873 * locale/programs/ld-collate.c (handle_ellipsis): Fix generation
1874 of names for ellipsises.
1877 * malloc/memusage.sh: Cleanups.
1878 * debug/xtrace.sh: Quoting and trap changes.
1880 2007-02-16 Ulrich Drepper <drepper@redhat.com>
1882 * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries.
1884 * locale/iso-3166.def: Update entry for Serbia.
1885 * locale/iso-4217.def: Define RSD, remove CSD.
1887 * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16-
1888 and 64-bit operations.
1891 * sysdeps/i386/i486/bits/atomic.h: One more change, this time for
1894 * nscd/nscd.c (parse_opt): One more conversion to use send instead
1897 2007-02-15 Ulrich Drepper <drepper@redhat.com>
1900 * assert/assert.h (assert): Simplify.
1901 (assert_perror): Likewise.
1902 Patch by Israel G. Lugo <ilugo@bridonsecurity.com>.
1904 * nscd/nscd_helper.c (open_socket): Don't send padding bytes from
1907 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic
1908 change: don't pass NULL in place of an integer.
1910 2007-02-02 Bruno Haible <bruno@clisp.org>
1913 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs):
1914 Add mapping for U+327E.
1915 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment.
1916 * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
1917 mapping of 0xD9 0xE8.
1918 * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable
1920 Reported by Jungshik Shin <jungshik@google.com>.
1923 * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
1924 mapping of 0xD9 0xE6 and of 0xD9 0xE7.
1925 Reported by Jungshik Shin <jungshik@google.com>.
1927 2007-02-14 Ulrich Drepper <drepper@redhat.com>
1929 * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some
1933 * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some
1934 byte variants. Patch mostly be tom@tommay.net.
1936 2007-02-14 Jakub Jelinek <jakub@redhat.com>
1939 * posix/glob.c (attribute_hidden): Define if not defined.
1940 (glob): Unescape dirname, filename or username when needed and not
1941 GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename
1942 is NULL. Handle unescaped [ in pattern without closing ].
1943 Don't pass GLOB_CHECK down to recursive glob for directories.
1944 (__glob_pattern_type): New function.
1945 (__glob_pattern_p): Implement using __glob_pattern_type.
1946 (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta
1947 characters and backslashes if not GLOB_NOESCAPE or unterminated [.
1948 Remove unreachable code.
1949 * posix/globtest.sh: Add a couple of new tests.
1951 2007-02-13 Ulrich Drepper <drepper@redhat.com>
1953 * po/ru.po: Update from translation team.
1955 2007-02-12 Jakub Jelinek <jakub@redhat.com>
1957 * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
1958 to the list of i486+ CPUs.
1959 * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
1961 2007-02-12 Ulrich Drepper <drepper@redhat.com>
1963 * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.
1964 * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined
1967 2007-02-09 Ulrich Drepper <drepper@redhat.com>
1969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment.
1971 * resolv/res_init.c (res_setoptions): Recognize edns0 option.
1972 * resolv/res_mkquery.c: Define __res_nopt.
1973 * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set
1974 try adding EDNS0 record.
1975 * resolv/res_send.c (send_dg): If request failed with FORMERR and
1976 EDNS0 record was send make sure we don't try it again.
1977 * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0.
1978 * include/resolv.h: Declare __res_nopt.
1980 2007-02-08 Jakub Jelinek <jakub@redhat.com>
1983 * time/strptime_l.c (__strptime_internal): Set have_mon for
1984 %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday
1985 have been computed from tm_yday and tm_year. Don't crash
1986 in day_of_the_week or day_of_the_year if not have_mon
1987 and tm_mon contains bogus value.
1988 * time/Makefile (tests): Add tst-strptime3.
1989 * time/tst-strptime3.c: New test.
1991 2007-02-05 Jakub Jelinek <jakub@redhat.com>
1994 * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0'
1995 bit for RE_HAT_LISTS_NOT_NEWLINE.
1996 (build_charclass_op): Remove bogus comment.
1997 * posix/Makefile (tests): Add bug-regex27 and bug-regex28.
1998 * posix/bug-regex27.c: New test.
1999 * posix/bug-regex28.c: New test.
2001 2007-02-03 Ulrich Drepper <drepper@redhat.com>
2003 * po/sv.po: Update from translation team.
2005 2007-02-02 Ulrich Drepper <drepper@redhat.com>
2007 * nscd/nscd_helper.c (open_socket): Minor size optimization.
2009 2007-02-02 Jakub Jelinek <jakub@redhat.com>
2011 * include/locale.h (__uselocale): Add libc_hidden_proto.
2012 * locale/uselocale.c (__uselocale): Add libc_hidden_def.
2014 * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
2017 2007-02-01 Ulrich Drepper <drepper@redhat.com>
2019 * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before
2021 (PTR_DEMANGLE): Real definition now that it's not the same as
2023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2025 * string/strerror_l.c: New file.
2026 * string/Makefile (routines): Add strerror_l.
2027 * string/string.h: Declare strerror_l.
2028 * string/Versions: Export strerror_l for GLIBC_2.6.
2030 2007-01-31 Ulrich Drepper <drepper@redhat.com>
2032 * nscd/nscd_helper.c (open_socket): Now takes request type and key
2033 as parameter. Construct request record. Try sending request
2034 before the first poll use, it usually succeeds. Adjust all
2036 * nscd/nscd-client.h: Define MAXKEYLEN.
2037 * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here.
2039 2007-01-31 Jakub Jelinek <jakub@redhat.com>
2041 * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
2043 * nscd/nscd_helper.c: Include string.h.
2044 (__nscd_cache_search): Remove const qualifier from return value.
2045 On strict alignment architectures check hash entry and data head
2047 * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
2048 mmapped data during GC cycle contains garbage. If
2049 __nscd_drop_map_ref fails, decrement mapped->counter when returning
2050 error or if retrying with NO_MAPPING, only __nscd_unmap if counter
2052 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2053 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2054 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2055 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2058 2007-01-30 Ulrich Drepper <drepper@redhat.com>
2060 * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test.
2062 2007-01-26 Ulrich Drepper <drepper@redhat.com>
2064 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register
2065 names not numbers in cfi_*.
2067 2007-01-26 Andreas Jaeger <aj@suse.de>
2069 * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
2070 ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.
2071 Correct values of PER_HPUX and PER_OSF4.
2073 2007-01-24 Ulrich Drepper <drepper@redhat.com>
2075 * elf/dl-minimal.c: Undefine _itoa first.
2076 * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms.
2077 * malloc/mtrace.c: Revert last change.
2078 * posix/wordexp.c: Likewise.
2080 2007-01-24 Jakub Jelinek <jakub@redhat.com>
2082 * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__
2083 and __geode__ to the list of i486+ CPUs.
2084 * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2086 2007-01-23 Ulrich Drepper <drepper@redhat.com>
2088 * stdio-common/_itoa.c: Include <limits.h>.
2089 * stdio-common/_itowa.c: Likewise.
2091 2007-01-22 Ulrich Drepper <drepper@redhat.com>
2093 * stdio-common/_itowa.c: Don't compile _itowa for 64-bit
2095 * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for
2097 * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if
2099 * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa
2103 * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted.
2104 * stdio-common/Makefile (tests): Add bug17.
2105 * stdio-common/bug17.c: New file.
2107 2007-01-19 Ulrich Drepper <drepper@redhat.com>
2109 * iconvdata/brf.c: New file.
2110 * iconvdata/testdata/BRF: New file.
2111 * iconvdata/testdata/BRF..UTF8: New file.
2112 Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2113 * iconvdata/Makefile: Add rules to build BRF.
2114 * iconvdata/TESTS: Add BRF entry.
2115 * iconvdata/gconv-modules: Likewise.
2116 * iconvdata/tst-tables.sh: Likewise.
2118 2007-01-18 Anton Nikishaev <anton.nik@gmail.com>
2120 * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of
2121 type `long long int', not `long int'.
2124 2007-01-18 Ulrich Drepper <drepper@redhat.com>
2126 * scripts/gen-as-const.awk: Add cast to long to avoid int promotion
2127 of values on 64-bit platforms which are too large.
2129 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com>
2130 Joe Kerian <jkerian@us.us.ibm.com>
2133 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
2134 <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro.
2135 (__copysignl): Use signbit() for comparison.
2136 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for
2137 SET_LDOUBLE_WORDS64.
2140 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>.
2141 (__ceill): Remove calls to fegetround(), fesetround().
2142 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2146 2007-01-17 Jakub Jelinek <jakub@redhat.com>
2148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
2150 * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
2152 2007-01-17 Ulrich Drepper <drepper@redhat.com>
2154 * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to
2156 * csu/libc-start.c: Likewise.
2158 2007-01-16 Ulrich Drepper <drepper@redhat.com>
2160 * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot
2163 2007-01-15 Ulrich Drepper <drepper@redhat.com>
2165 * nscd/connections.c (servinfo): Renamed to reqinfo. Change all
2167 (handle_request): Remove unnecessary tests.
2169 * nscd/cache.c (cache_add): Record the failure to add to the cache.
2171 2007-01-15 Jakub Jelinek <jakub@redhat.com>
2173 * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear
2174 workbits in semi-raw fraction.
2176 * math/test-misc.c: Add new tests.
2178 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com>
2180 * math/basic-test.c: Include test-skeleton.c.
2181 (TEST_TRUNC): Define.
2182 (truncdfsf_test, trunctfsf_test, trunctfdf_test): New.
2183 (main): Rename to ...
2184 (do_test): ...this. Run new tests.
2185 (TEST_FUNCTION): Define.
2187 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com>
2188 Joe Kerian <jkerian@us.us.ibm.com>
2191 * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow
2192 handling for high words.
2193 * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact
2194 and overflow for infinity.
2196 2007-01-15 Ulrich Drepper <drepper@redhat.com>
2198 * nscd/connections.c (handle_request): Add a __builtin_expect.
2200 * nscd/connections.c (serv2db): Change type into structure which
2201 also says whether this is a request for data. Renamed to
2202 servinfo. All users changed.
2203 (handle_request): Much simpler test whether we should search the cache.
2205 * nscd/connections.c (handle_request): Fix thinko in selinux test
2208 * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK.
2209 * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock
2210 it before getting dl_load_lock and then relock.
2211 (_dl_lookup_symbol_x): Pass flags to add_dependency.
2212 When rerunning _dl_lookup_symbol_x, compute symbol_scope again in
2213 case we unlocked the scope.
2214 * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to
2215 _dl_lookup_symbol_x in case we locked the scope.
2216 (_dl_profile_fixup): Likewise.
2217 * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also
2218 set DL_LOOKUP_SCOPE_LOCK.
2220 2007-01-13 Ulrich Drepper <drepper@redhat.com>
2222 * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and
2223 CFLAGS-getsrvbynpt_r.c.
2224 * nscd/getsrvbynm_r.c: New file.
2225 * nscd/getsrvbypt_r.c: New file.
2226 * nscd/nscd_getserv_r.c: New file.
2227 * nscd/servicescache.c: New file.
2228 * nscd/Makefile (routines): Add nscd_getserv_r.
2229 (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache.
2230 Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and
2231 CFLAGS-getsrvbypt_r.c.
2232 * nscd/cache.c (prune_cache): Rewrite to get re-add function from
2233 table. Add entries for services database.
2234 * nscd/connections.c (serv2str): Mark as const. Add entries for
2236 (dbs): Add .reset_res and servdb initialization.
2237 (serv2db): Add entries for services database.
2238 (verify_persistent_db): Accept dbnr == servdb.
2239 (invalidate_cache): Rewrite database name recognition to use a table.
2240 Call res_init() if .reset_res is set for database.
2241 (handle_request): Add code to handle services database.
2242 * nscd/gai.c: Don't define __getservbyname_r.
2243 * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add
2244 GETSERVBYNAME, GETSERVBYPORT, GETFDSERV.
2245 (serv_response_header): Define.
2246 (struct datahead): Add serv_response_header member.
2247 * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value
2249 * nscd/nscd.conf: Add entries for services database.
2250 * nscd/nscd.h: Adjust declaration of dbnames and serv2str.
2251 Declare serv_iov_disabled.
2252 Declare addservbyname, readdservbyname, addservbyport, and
2254 * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry.
2255 (find_db): Fix error message.
2256 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services,
2257 __nscd_getservbyname_r, and __nscd_getservbyport_r.
2258 * nscd/selinux.c (perms): Add entries for services database.
2259 * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE.
2260 * nss/nsswitch.c (__nss_disable_nscd): Also disable services database.
2262 * nscd/grpcache.c: Remove obsolete code. Cleanups.
2263 * nscd/hstcache.c: Likewise.
2264 * nscd/pwdcache.c: Likewise.
2266 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct
2267 computation of keylen.
2269 * include/string.h: Only redefine strndupa if this is really for
2272 2007-01-12 Ulrich Drepper <drepper@redhat.com>
2274 * nscd/nscd_gethst_r.c: Minor cleanups.
2276 * nscd/connections.c (handle_request): Check selinux permissions
2277 for all non-admin commands.
2279 * sysdeps/i386/i486/bits/atomic.h: Define
2280 atomic_compare_and_exchange_val_acq,
2281 atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add
2282 using __sync_* built-ins for gcc >= 4.1.
2283 * sysdeps/x86_64/bits/atomic.h: Likewise.
2286 * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d,
2289 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com>
2291 * stdlib/tst-makecontext.c: Include errno.h. Change main()
2292 to do_test(). Define TEST_FUNCTION. Include test-skeleton.c.
2293 (do_test): Check errno and exit(0) if ENOSYS.
2295 2007-01-11 Jakub Jelinek <jakub@redhat.com>
2297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte
2298 thousands separators.
2299 * stdlib/Makefile: Add rules to build and run tst-strtod4.
2300 * stdlib/tst-strtod4.c: New test.
2303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by
2304 hexadecimal digit should accept just the initial 0.
2305 * stdlib/tst-strtod2.c (tests): New variable.
2306 (do_test): Run several tests rather than just one.
2308 2007-01-11 Jakub Jelinek <jakub@redhat.com>
2310 * sysdeps/i386/soft-fp/sfp-machine.h: Remove.
2311 * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
2313 2007-01-10 Ulrich Drepper <drepper@redhat.com>
2315 * io/fts.c: Make sure fts_cur is always valid after return from
2317 Patch by Miloslav Trmac <mitr@redhat.com>.
2319 2006-10-27 Richard Sandiford <richard@codesourcery.com>
2321 * elf/elf.h (R_MIPS_GLOB_DAT): Define.
2322 (R_MIPS_NUM): Bump by 1.
2324 2007-01-03 Jakub Jelinek <jakub@redhat.com>
2326 * posix/execvp.c: Include alloca.h.
2327 (allocate_scripts_argv): Renamed to...
2328 (scripts_argv): ... this. Don't allocate buffer here nor count
2330 (execvp): Use alloca if possible.
2331 * posix/Makefile: Add rules to build and run tst-vfork3 test.
2332 * posix/tst-vfork3.c: New test.
2334 2007-01-03 Ulrich Drepper <drepper@redhat.com>
2336 * string/Makefile (tst-strxfrm2-ENV): Define.
2337 * stdlib/Makefile (tst-strtod3-ENV): Define.
2339 2007-01-02 Ulrich Drepper <drepper@redhat.com>
2341 * posix/getconf.c: Update copyright year.
2342 * nss/getent.c: Likewise.
2343 * iconv/iconvconfig.c: Likewise.
2344 * iconv/iconv_prog.c: Likewise.
2345 * elf/ldconfig.c: Likewise.
2346 * catgets/gencat.c: Likewise.
2347 * csu/version.c: Likewise.
2348 * elf/ldd.bash.in: Likewise.
2349 * elf/sprof.c (print_version): Likewise.
2350 * locale/programs/locale.c: Likewise.
2351 * locale/programs/localedef.c: Likewise.
2352 * nscd/nscd.c (print_version): Likewise.
2353 * debug/xtrace.sh: Likewise.
2354 * malloc/memusage.sh: Likewise.
2355 * malloc/mtrace.pl: Likewise.
2356 * debug/catchsegv.sh: Likewise.
2358 2006-12-24 Ulrich Drepper <drepper@redhat.com>
2360 * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment
2363 2006-12-23 Ulrich Drepper <drepper@redhat.com>
2365 * posix/wordexp.c: Remove some unnecessary tests.
2367 2006-12-22 Gavin Romig-Koch <gavin@redhat.com>
2369 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't
2370 blacklist the group till after we look it up.
2372 2006-12-21 Ulrich Drepper <drepper@redhat.com>
2374 * include/atomic.h (atomic_forced_read): New macro.
2376 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
2378 * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.
2380 2006-12-19 Jakub Jelinek <jakub@redhat.com>
2382 * nss/getXXbyYY_r.c: Include atomic.h.
2383 (INTERNAL (REENTRANT_NAME)): Write startp after start_fct,
2384 add atomic_write_barrier () in between.
2386 * stdlib/Makefile (tests): Add tst-makecontext.
2387 * stdlib/tst-makecontext.c: New test.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2390 (__makecontext): Don't realign uc_mcontext.uc_regs.
2392 2006-11-28 Jakub Jelinek <jakub@redhat.com>
2394 * elf/dl-support.c: Include dl-procinfo.h.
2395 * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4,
2396 PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS,
2397 PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X):
2399 (_dl_string_platform): Use PPC_PLATFORM_* macros instead of
2400 hardcoded constants.
2401 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use
2402 PPC_PLATFORM_* macros for array designators.
2404 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com>
2406 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap
2407 names to the beginning.
2408 (_dl_powerpc_platforms): Add "power6x".
2409 * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
2410 (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
2411 (_DL_PLATFORMS_COUNT): Increase.
2412 (_dl_string_platform): Handle power6x case.
2413 * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP,
2414 PPC_FEATURE_POWER6_EXT): Define.
2415 (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
2417 2006-12-18 Jakub Jelinek <jakub@redhat.com>
2420 * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the
2421 [-2^31 .. 2^31) range.
2422 * stdlib/tst-rand48.c (main): Fix expected values for 64-bit
2424 * stdlib/tst-rand48-2.c: New test.
2425 * stdlib/Makefile (tests): Add tst-rand48-2.
2427 2006-12-14 Jakub Jelinek <jakub@redhat.com>
2429 * misc/tst-pselect.c (do_test): Fix sigblock argument.
2431 2006-12-14 Ulrich Drepper <drepper@redhat.com>
2433 * misc/tst-pselect.c (do_test): Make sure the helper process is
2434 terminating when the test is aborted.
2436 2006-12-13 Ulrich Drepper <drepper@redhat.com>
2438 * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME.
2439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2440 Handle relatime mount option.
2443 * libio/Makefile (tests): Add tst-setvbuf1.
2444 * libio/tst-setvbuf1.c: New file.
2446 2006-12-08 Jakub Jelinek <jakub@redhat.com>
2449 * libio/genops.c (__uflow): Fix a typo.
2450 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat
2451 nor set _IO_LINE_BUF bit here. Size the wide buffer based on
2452 the narrow buffer size.
2454 2006-11-24 Jakub Jelinek <jakub@redhat.com>
2457 * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define.
2458 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set
2459 _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit
2461 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf,
2462 _IO_wstr_finish): Likewise.
2463 * libio/wmemstream.c (open_wmemstream): Likewise.
2464 * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp]
2465 even for wide streams.
2467 2006-12-13 Jakub Jelinek <jakub@redhat.com>
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include
2472 2006-12-11 Ulrich Drepper <drepper@redhat.com>
2474 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand
2475 separators also if no non-zero digits found.
2476 * stdlib/Makefile (tests): Add tst-strtod3.
2478 2006-12-09 Ulrich Drepper <drepper@redhat.com>
2481 * include/features.h: Fix comment about default value for
2485 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize
2486 empty parsed strings.
2487 * stdlib/Makefile (tests): Add tst-strtod2.
2488 * stdlib/tst-strtod2.c: New file.
2491 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit
2493 * stdlib/Makefile (tests): Add tst-atof2.
2494 * stdlib/tst-atof2.c: New file.
2497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
2498 correctly if removing trailing zero of hex-float.
2499 * stdlib/Makefile (tests): Add tst-atof1.
2500 * stdlib/tst-atof1.c: New file.
2502 2006-12-09 Jakub Jelinek <jakub@redhat.com>
2504 * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
2505 Start searching for next comma at p rather than rest.
2506 * misc/Makefile (tests): Add tst-mntent2.
2507 * misc/tst-mntent2.c: New test.
2509 * misc/getusershell.c (initshells): Check for integer overflows.
2510 Make strings buffer one bigger as fgets always succeeds when second
2511 argument is 1. Don't use calloc for shells array. Disallow
2514 2006-12-08 Ulrich Drepper <drepper@redhat.com>
2516 * malloc/memusage.c: Handle realloc with new size of zero and
2517 non-NULL pointer correctly.
2518 (me): Really write first record twice.
2519 (struct entry): Make format bi-arch safe.
2520 (dest): Write out more realloc statistics.
2521 * malloc/memusagestat.c (struct entry): Make format bi-arch safe.
2523 2006-12-05 Jakub Jelinek <jakub@redhat.com>
2525 * nis/nis_subr.c (nis_getnames): Revert last change.
2527 2006-12-04 Jakub Jelinek <jakub@redhat.com>
2529 * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.
2530 (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.
2531 * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h.
2532 (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to
2534 * io/Makefile: Add rules to build and run tst-ttyname_r test.
2535 * io/tst-ttyname_r.c: New test.
2537 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2539 * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed.
2541 2006-11-30 H.J. Lu <hongjiu.lu@intel.com>
2543 * sysdeps/i386/i686/memcmp.S: Use jump table as the base of
2546 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2548 * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost
2549 `clone' function to ensure proper unwinding stop of gdb.
2550 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2552 2006-12-01 Ulrich Drepper <drepper@redhat.com>
2554 * nscd/nscd.init: Remove obsolete and commented-out -S option
2557 2006-11-23 Jakub Jelinek <jakub@redhat.com>
2560 * manual/string.texi (strncmp): Fix pastos from wcscmp description.
2563 * manual/string.texi (strtok): Remove duplicate paragraph.
2565 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2567 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
2568 libgcc not supporting `rflags' unwinding (register # >= 17).
2570 2006-11-30 Jakub Jelinek <jakub@redhat.com>
2572 * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
2575 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com>
2576 Jakub Jelinek <jakub@redhat.com>
2577 Jan Kratochvil <jan.kratochvil@redhat.com>
2579 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct
2581 * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for
2582 'restore_rt' even in the 'signal' directory.
2583 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list.
2585 2006-11-27 Jakub Jelinek <jakub@redhat.com>
2588 * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if
2589 malloc crashed. Don't allocate memory unnecessarily in each
2592 2006-10-21 Jakub Jelinek <jakub@redhat.com>
2594 * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change.
2596 2006-11-20 Ulrich Drepper <drepper@redhat.com>
2598 * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit.
2600 2006-11-18 Bruno Haible <bruno@clisp.org>
2602 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke
2603 __sysconf only after having tried to call getgroups32.
2605 2006-11-19 Ulrich Drepper <drepper@redhat.com>
2607 * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style
2608 addresses for IPv4 queries if they can be mapped.
2610 2006-11-16 Jakub Jelinek <jakub@redhat.com>
2612 * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
2613 * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
2614 (signmask): Add .size directive.
2615 (othermask): Add .type directive.
2617 2006-11-14 Ulrich Drepper <drepper@redhat.com>
2619 * po/nl.po: Update from translation team.
2621 * timezone/zdump.c: Redo fix for BZ #3137.
2623 2006-11-14 Jakub Jelinek <jakub@redhat.com>
2625 * nss/nss_files/files-alias.c (get_next_alias): Set line back
2626 to first_unused after parsing :include: file.
2628 2006-11-10 Ulrich Drepper <drepper@redhat.com>
2630 * timezone/africa: Update from tzdata2006o.
2631 * timezone/antarctica: Likewise.
2632 * timezone/asia: Likewise.
2633 * timezone/australasia: Likewise.
2634 * timezone/backward: Likewise.
2635 * timezone/europe: Likewise.
2636 * timezone/iso3166.tab: Likewise.
2637 * timezone/northamerica: Likewise.
2638 * timezone/southamerica: Likewise.
2639 * timezone/zone.tab: Likewise.
2641 * time/tzfile.c (__tzfile_read): Extend to handle new file format
2642 on machines with 64-bit time_t.
2644 * timezone/checktab.awk: Update from tzcode2006o.
2645 * timezone/ialloc.c: Likewise.
2646 * timezone/private.h: Likewise.
2647 * timezone/scheck.c: Likewise.
2648 * timezone/tzfile.h: Likewise.
2649 * timezone/tzselect.ksh: Likewise.
2650 * timezone/zdump.c: Likewise.
2651 * timezone/zic.c: Likewise.
2654 * elf/ldconfig.c (main): Call setlocale and textdomain.
2655 Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
2658 * manual/argp.texi: Fix typos.
2659 * manual/charset.texi: Likewise.
2660 * manual/errno.texi: Likewise.
2661 * manual/filesys.texi: Likewise.
2662 * manual/lang.texi: Likewise.
2663 * manual/maint.texi: Likewise.
2664 * manual/memory.texi: Likewise.
2665 * manual/message.texi: Likewise.
2666 * manual/resource.texi: Likewise.
2667 * manual/search.texi: Likewise.
2668 * manual/signal.texi: Likewise.
2669 * manual/startup.texi: Likewise.
2670 * manual/stdio.texi: Likewise.
2671 * manual/sysinfo.texi: Likewise.
2672 * manual/syslog.texi: Likewise.
2673 * manual/time.texi: Likewise.
2674 Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
2677 * sunrpc/clnt_raw.c: Minimal message improvements.
2678 * sunrpc/pm_getmaps.c: Likewise.
2679 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2680 * nis/nis_print_group_entry.c: Likewise.
2681 * locale/programs/repertoire.c: Likewise.
2682 * locale/programs/charmap.c: Likewise.
2683 * malloc/memusage.sh: Likewise.
2684 * elf/dl-deps.c: Likewise.
2685 * locale/programs/ld-collate.c: Likewise.
2686 * libio/vswprintf.c: Likewise.
2687 * malloc/memusagestat.c: Likewise.
2688 * sunrpc/auth_unix.c: Likewise.
2689 * sunrpc/rpc_main.c: Likewise.
2690 * nscd/cache.c: Likewise.
2691 * locale/programs/repertoire.c: Unify output messages.
2692 * locale/programs/charmap.c: Likewise.
2693 * locale/programs/ld-ctype.c: Likewise.
2694 * locale/programs/ld-monetary.c: Likewise.
2695 * locale/programs/ld-numeric.c: Likewise.
2696 * locale/programs/ld-time.c: Likewise.
2697 * elf/ldconfig.c: Likewise.
2698 * nscd/selinux.c: Likewise.
2699 * elf/cache.c: Likewise.
2700 Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
2703 * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode
2707 2006-11-10 Jakub Jelinek <jakub@redhat.com>
2709 * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization
2710 if N is one bigger than return value.
2711 * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1
2712 and l1 last arguments, if buf is defined, verify the return value
2713 equals to strlen (buf) and verify no byte beyond passed length
2716 2006-11-10 Ulrich Drepper <drepper@redhat.com>
2718 * po/sv.po: Update from translation team.
2720 2006-11-09 Ulrich Drepper <drepper@redhat.com>
2722 * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add
2725 2006-11-10 Jakub Jelinek <jakub@redhat.com>
2727 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add
2730 * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev):
2731 Use __new_sys_siglist instead of _sys_siglist_internal as
2732 second macro argument.
2733 (_old_sys_siglist): Use declare_symbol_alias macro instead of
2736 2006-11-09 Ulrich Drepper <drepper@redhat.com>
2739 * posix/unistd.h (sysconf): Remove const attribute.
2741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for
2742 temporary or deprecated addresses.
2743 Patch by Sridhar Samudrala <sri@us.ibm.com>.
2745 * string/Makefile (tests): Add tst-strxfrm2.
2746 * string/tst-strxfrm2.c: New file.
2748 2006-10-09 Jakub Jelinek <jakub@redhat.com>
2750 * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
2751 rather than r->r_brk.
2753 2006-11-08 Jakub Jelinek <jakub@redhat.com>
2755 * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal
2756 optimization even if needed > n.
2758 * elf/dl-load.c (decompose_rpath): Return bool rather than void.
2759 If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and
2760 return false, otherwise return true.
2761 (cache_rpath): Return decompose_rpath return value.
2763 2006-11-07 Jakub Jelinek <jakub@redhat.com>
2765 * include/libc-symbols.h (declare_symbol): Rename to...
2766 (declare_symbol_alias): ... this. Add ORIGINAL argument, imply
2767 strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes
2769 * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias
2771 * sysdeps/gnu/siglist.c: Likewise.
2773 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com>
2775 * sysdeps/powerpc/fpu/bits/mathinline.h
2776 [__LIBC_INTERNAL_MATH_INLINES]: Moved to ...
2777 * sysdeps/powerpc/fpu/math_private.h: ...here. New file.
2779 2006-11-05 Ulrich Drepper <drepper@redhat.com>
2781 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
2782 Update handling of cache descriptor 0x49 for new models.
2783 * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word):
2786 2006-11-02 Jakub Jelinek <jakub@redhat.com>
2788 * malloc/memusage.c (dest): Reset not_me back to false after
2789 printing statistics.
2791 2006-11-02 Ulrich Drepper <drepper@redhat.com>
2793 * configure.in: Work around ld --help change and avoid -z relro
2794 test completely if the architecture doesn't care about security.
2796 2006-11-01 Ulrich Drepper <drepper@redhat.com>
2798 * po/sv.po: Update from translation team.
2800 2006-10-31 Ulrich Drepper <drepper@redhat.com>
2802 * stdlib/atexit.c (atexit): Don't mark as hidden when used to
2803 generate compatibility version.
2805 2006-10-29 Ulrich Drepper <drepper@redhat.com>
2807 * configure.in: Relax -z relro requirement a bit.
2809 * po/sv.po: Update from translation team.
2811 2006-10-29 Jakub Jelinek <jakub@redhat.com>
2813 * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.
2814 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2815 * elf/dl-close.c (_dl_close_worker): Likewise.
2816 * elf/dl-open.c (_dl_open_worker): Likewise.
2817 * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define.
2819 2006-10-27 Ulrich Drepper <drepper@redhat.com>
2821 * configure.in: Require assembler support for visibility, compiler
2822 support for visibility and aliases, linker support for various -z
2824 * Makeconfig: Remove conditional code which now is unnecessary.
2825 * config.h.in: Likewise.
2826 * config.make.in: Likewise.
2827 * dlfcn/Makefile: Likewise.
2828 * elf/Makefile: Likewise.
2829 * elf/dl-load.c: Likewise.
2830 * elf/rtld.c: Likewise.
2831 * include/libc-symbols.h: Likewise.
2832 * include/stdio.h: Likewise.
2833 * io/Makefile: Likewise.
2834 * io/fstat.c: Likewise.
2835 * io/fstat64.c: Likewise.
2836 * io/fstatat.c: Likewise.
2837 * io/fstatat64.c: Likewise.
2838 * io/lstat.c: Likewise.
2839 * io/lstat64.c: Likewise.
2840 * io/mknod.c: Likewise.
2841 * io/mknodat.c: Likewise.
2842 * io/stat.c: Likewise.
2843 * io/stat64.c: Likewise.
2844 * libio/stdio.c: Likewise.
2845 * nscd/Makefile: Likewise.
2846 * stdlib/Makefile: Likewise.
2847 * stdlib/atexit.c: Likewise.
2848 * sysdeps/generic/ldsodefs.h: Likewise.
2849 * sysdeps/i386/dl-machine.h: Likewise.
2850 * sysdeps/i386/sysdep.h: Likewise.
2851 * sysdeps/i386/i686/memcmp.S: Likewise.
2852 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2853 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2854 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2856 * Makerules: USE_TLS support is now default.
2857 * tls.make.c: Likewise.
2858 * csu/Versions: Likewise.
2859 * csu/libc-start.c: Likewise.
2860 * csu/libc-tls.c: Likewise.
2861 * csu/version.c: Likewise.
2862 * dlfcn/dlinfo.c: Likewise.
2863 * elf/dl-addr.c: Likewise.
2864 * elf/dl-cache.c: Likewise.
2865 * elf/dl-close.c: Likewise.
2866 * elf/dl-iteratephdr.c: Likewise.
2867 * elf/dl-load.c: Likewise.
2868 * elf/dl-lookup.c: Likewise.
2869 * elf/dl-object.c: Likewise.
2870 * elf/dl-open.c: Likewise.
2871 * elf/dl-reloc.c: Likewise.
2872 * elf/dl-support.c: Likewise.
2873 * elf/dl-sym.c: Likewise.
2874 * elf/dl-sysdep.c: Likewise.
2875 * elf/dl-tls.c: Likewise.
2876 * elf/ldconfig.c: Likewise.
2877 * elf/rtld.c: Likewise.
2878 * elf/tst-tls-dlinfo.c: Likewise.
2879 * elf/tst-tls1.c: Likewise.
2880 * elf/tst-tls10.h: Likewise.
2881 * elf/tst-tls14.c: Likewise.
2882 * elf/tst-tls2.c: Likewise.
2883 * elf/tst-tls3.c: Likewise.
2884 * elf/tst-tls4.c: Likewise.
2885 * elf/tst-tls5.c: Likewise.
2886 * elf/tst-tls6.c: Likewise.
2887 * elf/tst-tls7.c: Likewise.
2888 * elf/tst-tls8.c: Likewise.
2889 * elf/tst-tls9.c: Likewise.
2890 * elf/tst-tlsmod1.c: Likewise.
2891 * elf/tst-tlsmod13.c: Likewise.
2892 * elf/tst-tlsmod13a.c: Likewise.
2893 * elf/tst-tlsmod14a.c: Likewise.
2894 * elf/tst-tlsmod2.c: Likewise.
2895 * elf/tst-tlsmod3.c: Likewise.
2896 * elf/tst-tlsmod4.c: Likewise.
2897 * elf/tst-tlsmod5.c: Likewise.
2898 * elf/tst-tlsmod6.c: Likewise.
2899 * include/errno.h: Likewise.
2900 * include/link.h: Likewise.
2901 * include/tls.h: Likewise.
2902 * locale/global-locale.c: Likewise.
2903 * locale/localeinfo.h: Likewise.
2904 * malloc/arena.c: Likewise.
2905 * malloc/hooks.c: Likewise.
2906 * malloc/malloc.c: Likewise.
2907 * resolv/Versions: Likewise.
2908 * sysdeps/alpha/dl-machine.h: Likewise.
2909 * sysdeps/alpha/libc-tls.c: Likewise.
2910 * sysdeps/generic/ldsodefs.h: Likewise.
2911 * sysdeps/generic/tls.h: Likewise.
2912 * sysdeps/i386/dl-machine.h: Likewise.
2913 * sysdeps/ia64/dl-machine.h: Likewise.
2914 * sysdeps/ia64/libc-tls.c: Likewise.
2915 * sysdeps/mach/hurd/fork.c: Likewise.
2916 * sysdeps/mach/hurd/i386/tls.h: Likewise.
2917 * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise.
2918 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2919 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2920 * sysdeps/s390/libc-tls.c: Likewise.
2921 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2922 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2923 * sysdeps/sh/dl-machine.h: Likewise.
2924 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2925 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2926 * sysdeps/x86_64/dl-machine.h: Likewise.
2928 * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and
2929 split out locking and parameter checking.
2930 (_dl_close): Call _dl_close_worker after locking and checking.
2931 * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of
2933 * elf/Makefile: Add rules to build and run tst-thrlock.
2934 * elf/tst-thrlock.c: New file.
2937 * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to
2941 * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until
2942 we are sure we do not need it anymore for _dl_close. Also move
2943 the asserts inside the lock region.
2944 Patch mostly by Suzuki <suzuki@in.ibm.com>.
2946 2006-10-27 Jakub Jelinek <jakub@redhat.com>
2948 * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
2950 (_dl_lookup_symbol_x): Adjust caller.
2952 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove
2954 * elf/rtld.c (dl_main): Don't initialize _ns_global_scope.
2956 * elf/dl-libc.c: Revert l_scope name changes.
2957 * elf/dl-load.c: Likewise.
2958 * elf/dl-object.c: Likewise.
2959 * elf/rtld.c: Likewise.
2960 * elf/dl-close.c (_dl_close): Likewise.
2961 * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P,
2962 always use __rtld_mrlock_{change,done}. Always free old scope list
2963 here if not l_scope_mem.
2964 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name
2965 change. Never free scope list here. Just __rtld_mrlock_lock before
2966 the lookup and __rtld_mrlock_unlock it after the lookup.
2967 * elf/dl-sym.c: Likewise.
2968 * include/link.h (struct r_scoperec): Remove.
2969 (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem
2970 with l_scope_mem and l_scoperec_lock with l_scope_lock.
2972 2006-10-25 Ulrich Drepper <drepper@redhat.com>
2974 * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.
2976 2006-10-18 Ulrich Drepper <drepper@redhat.com>
2978 * configure.in: Disable building profile libraries by default.
2980 2006-10-17 Jakub Jelinek <jakub@redhat.com>
2982 * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses
2983 as signed longs, check for x_base + pos overflow.
2984 * sunrpc/Makefile (tests): Add tst-xdrmem2.
2985 * sunrpc/tst-xdrmem2.c: New test.
2987 2006-10-18 Ulrich Drepper <drepper@redhat.com>
2989 * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to
2990 _dl_lookup_symbol_x code.
2992 2006-10-17 Jakub Jelinek <jakub@redhat.com>
2994 * elf/dl-runtime.c: Include sysdep-cancel.h.
2995 (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and
2996 scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_*
2997 instead of catomic_* macros.
2998 * elf/dl-sym.c: Include sysdep-cancel.h.
2999 (do_sym): Use __rtld_mrlock_* and scoperec->nusers only
3000 if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
3001 * elf/dl-close.c: Include sysdep-cancel.h.
3002 (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only
3003 if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
3004 * elf/dl-open.c: Include sysdep-cancel.h.
3005 (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only
3006 if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
3008 2006-10-17 Jakub Jelinek <jakub@redhat.com>
3011 * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last
3012 fastbin rather than end of fastbin array.
3014 2006-10-18 Ulrich Drepper <drepper@redhat.com>
3016 * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct
3018 * sysdeps/x86_64/bits/atomic.h
3019 (__arch_c_compare_and_exchange_val_64_acq): Add missing casts.
3020 (catomic_decrement): Use correct body macro.
3022 2006-10-17 Jakub Jelinek <jakub@redhat.com>
3024 * include/atomic.h: Add a unique prefix to all local variables
3026 * csu/tst-atomic.c (do_test): Test also catomic_* macros.
3028 2006-10-16 Ulrich Drepper <drepper@redhat.com>
3031 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4
3034 2006-10-14 Ulrich Drepper <drepper@redhat.com>
3036 * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.
3038 2006-10-13 Ulrich Drepper <drepper@redhat.com>
3041 * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to
3042 determine highest fast bin to consolidate, always look into all of
3044 (do_check_malloc_state): Only require for empty bins for large
3045 sizes in main arena.
3047 * libio/stdio.h: Add more __wur attributes.
3049 * elf/dl-minimal.c (realloc): Optimize last patch.
3051 2006-10-12 Richard Sandiford <richard@codesourcery.com>
3054 * elf/dl-minimal.c (realloc): Let malloc() return a new pointer,
3055 and use memcpy() if it does.
3057 2006-11-12 Andreas Jaeger <aj@suse.de>
3060 * manual/search.texi (Hash Search Function): Clarify.
3061 (Array Search Function): Clarify.
3063 2006-11-12 Joseph Myers <joseph@codesourcery.com>
3066 * math/atest-exp.c (main): Cast hex value to mp_limb_t before
3068 * math/atest-exp2.c (read_mpn_hex): Likewise.
3069 * math/atest-sincos.c (main): Likewise.
3071 2006-10-11 Ulrich Drepper <drepper@redhat.com>
3073 * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.
3074 * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait.
3075 * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for
3077 * Versions.def: Add GLIBC_2.6 for libc.
3079 * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset.
3081 * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support.
3083 2006-10-11 Jakub Jelinek <jakub@redhat.com>
3085 * malloc/malloc.c (_int_malloc): Remove unused any_larger variable.
3087 * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice.
3089 * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv.
3090 * sysdeps/generic/unsecvars.h: Add NIS_PATH.
3092 2006-10-11 Ulrich Drepper <drepper@redhat.com>
3094 * include/atomic.c: Define catomic_* operations.
3095 * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems.
3096 * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*.
3097 * malloc/memusage.c: Likewise.
3098 * gmon/mcount.c: Likewise.
3099 * elf/dl-close.c: Likewise.
3100 * elf/dl-open.c: Likewise.
3101 * elf/dl-profile.c: Likewise.
3102 * elf/dl-sym.c: Likewise.
3103 * elf/dl-runtime.c: Likewise.
3104 * elf/dl-fptr.c: Likewise.
3105 * resolv/res_libc.c: Likewise.
3107 2006-10-10 Ulrich Drepper <drepper@redhat.com>
3109 * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH
3110 components which lack them.
3112 * nis/nis_subr.c (nis_getnames): Make sure that we always return
3113 at least one entry consisting of the parameter concatenated with
3116 2006-10-10 Roland McGrath <roland@frob.com>
3118 * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast.
3119 * sysdeps/mach/hurd/futimes.c: Likewise.
3120 * sysdeps/mach/hurd/lutimes.c: Likewise.
3122 2006-10-09 Ulrich Drepper <drepper@redhat.com>
3123 Jakub Jelinek <jakub@redhat.com>
3125 Implement reference counting of scope records.
3126 * elf/dl-close.c (_dl_close): Remove all scopes from removed objects
3127 from the list in objects which remain. Always allocate new scope
3129 * elf/dl-open.c (dl_open_worker): When growing array for scopes,
3130 don't resize, allocate a new one.
3131 * elf/dl-runtime.c: Update reference counters before using a scope
3133 * elf/dl-sym.c: Likewise.
3134 * elf/dl-libc.c: Adjust for l_scope name change.
3135 * elf/dl-load.c: Likewise.
3136 * elf/dl-object.c: Likewise.
3137 * elf/rtld.c: Likewise.
3138 * include/link.h: Include <rtld-lowlevel.h>. Define struct
3139 r_scoperec. Replace r_scope with pointer to r_scoperec structure.
3140 Add l_scoperec_lock.
3141 * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>.
3142 * sysdeps/generic/rtld-lowlevel.h: New file.
3144 * include/atomic.h: Rename atomic_and to atomic_and_val and
3145 atomic_or to atomic_or_val. Define new macros atomic_and and
3146 atomic_or which do not return values.
3147 * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or.
3149 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3151 * po/sv.po: Update from translation team.
3153 2006-10-07 Ulrich Drepper <drepper@redhat.com>
3155 * Versions.def: Add GLIBC_2.6 to libpthread.
3157 * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.
3158 (versioned_symbol): Likewise.
3159 (compat_symbol): Likewise.
3161 * po/tr.po: Update from translation team.
3163 2006-10-06 Ulrich Drepper <drepper@redhat.com>
3165 * nis/Banner: Removed. It's been integral part forever and the
3166 author info is incomplete anyway.
3167 * libio/Banner: Likewise.
3169 * nis/nis_table.c (nis_list): If __follow_path fails in the new
3170 code, make sure the nis_freeresult call doesn't crash and that the
3171 result is reported correctly.
3173 2006-09-27 Jakub Jelinek <jakub@redhat.com>
3175 * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS
3176 when callback is NULL.
3178 * nis/Versions (libnss_nisplus): Add
3179 _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE.
3180 * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups.
3181 * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len,
3182 _nss_create_tablename): Rename to...
3183 (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename):
3184 ... these. No longer static.
3185 (internal_setgrent): Adjust users.
3186 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3187 Don't use locking around _nss_grp_create_tablename call.
3188 * nis/nss_nisplus/nisplus-initgroups.c: New file.
3190 2006-10-06 Ulrich Drepper <drepper@redhat.com>
3192 * version.h (VERSION): Bump to 2.5.90 for new development tree.
3194 2006-10-06 Andreas Jaeger <aj@suse.de>
3196 * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now.
3198 2006-10-06 Ulrich Drepper <drepper@redhat.com>
3200 * po/pl.po: Update from translation team.
3202 * nscd/nscd.c (main): Fix typo in message.
3203 Patch by Jakub Bogsz <qboosh@pld-linux.org>.
3205 2006-10-02 Jakub Jelinek <jakub@redhat.com>
3208 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
3209 errno.h, signal.h, unistd.h and sysdep-cancel.h.
3210 (__sigprocmask): Define.
3212 2006-10-02 Ulrich Drepper <drepper@redhat.com>
3214 * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is
3217 2006-10-02 Jakub Jelinek <jakub@redhat.com>
3219 * nscd/mem.c (mempool_alloc): Round array size to 16 bytes
3220 in oldtotal and newtotal calculation.
3221 * nscd/nscd-client.h (struct mapped_database): Add datasize
3223 * nscd/nscd_helper.c (get_mapping): Initialize datasize field.
3224 (__nscd_get_map_ref): Get a new mapping even if mapping's data_size
3226 (__nscd_cache_search): Add checks to make sure we never reference
3227 data beyond the current mapping.
3229 2006-10-02 Dmitry V. Levin <ldv@altlinux.org>
3231 * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val
3232 variables const to avoid compiler warnings.
3234 * io/fts.c (fts_close): Remove redundant checks.
3235 (fts_build): Likewise.
3236 (fts_palloc): Likewise.
3238 * manual/message.texi (Advanced gettext functions,
3239 Using gettextized software): Fix typos.
3241 2006-09-30 Ulrich Drepper <drepper@redhat.com>
3243 * posix/glob.c (glob_in_dir): Add some comments and asserts to
3244 explain why there are no leaks.
3246 2006-09-29 Ulrich Drepper <drepper@redhat.com>
3248 * libio/wmemstream.c: Include <wchar.h>.
3249 * libio/bug-wmemstream1.c: Likewise.
3250 * libio/tst-wmemstream1.c: Likewise.
3251 * libio/tst-wmemstream2.c: Likewise.
3253 * version.h (RELEASE): Bump to 2.5.
3254 * README: Regenerated.
3256 * locale/iso-3166.def: Add Aaland Islands and Montenegro.
3259 * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have
3260 found no group members.
3261 Patch by Petr Baudis.
3263 2006-09-29 Jakub Jelinek <jakub@redhat.com>
3265 * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't
3266 assert bootstrap_map.l_tls_modid is zero.
3267 (_dl_start): Initialize bootstrap_map.l_tls_modid to 0
3270 2006-09-27 Ulrich Drepper <drepper@redhat.com>
3272 * libio/stdio.h: Move open_wmemstream prototype to ...
3273 * wcsmbs/wchar.h: ... here.
3275 2006-09-25 Jakub Jelinek <jakub@redhat.com>
3278 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only
3279 fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call
3280 __{,l}chown to handle the rest.
3281 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only
3282 fchownat syscall and __ASSUME_32BITUIDS case inline, call
3283 __{,l}chown to handle the rest.
3284 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include
3286 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
3287 * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise.
3290 * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a
3291 time, rather allocate increasingly bigger arrays of pointers, if
3292 possible with alloca, if too large with malloc.
3294 2006-09-24 Jakub Jelinek <jakub@redhat.com>
3296 * sysdeps/powerpc/fpu/libm-test-ulps: Updated.
3298 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos.
3300 2006-09-24 Ulrich Drepper <drepper@redhat.com>
3302 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4,
3304 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize
3305 IFA_F_HOMEADDRESS flag for interfaces.
3306 * include/ifaddrs.h (struct in6addrinfo): Define
3309 2006-09-21 Jakub Jelinek <jakub@redhat.com>
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3,
3313 PTR_DEMANGLE3): Define.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3,
3315 PTR_DEMANGLE3): Likewise.
3316 * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them.
3317 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
3319 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3321 2006-09-20 Jakub Jelinek <jakub@redhat.com>
3323 * po/libc.pot: Regenerated.
3324 * po/be.po: Updated.
3325 * po/ca.po: Likewise.
3326 * po/cs.po: Likewise.
3327 * po/da.po: Likewise.
3328 * po/de.po: Likewise.
3329 * po/el.po: Likewise.
3330 * po/en_GB.po: Likewise.
3331 * po/es.po: Likewise.
3332 * po/fi.po: Likewise.
3333 * po/fr.po: Likewise.
3334 * po/gl.po: Likewise.
3335 * po/hr.po: Likewise.
3336 * po/hu.po: Likewise.
3337 * po/ja.po: Likewise.
3338 * po/ko.po: Likewise.
3339 * po/nb.po: Likewise.
3340 * po/nl.po: Likewise.
3341 * po/pl.po: Likewise.
3342 * po/pt_BR.po: Likewise.
3343 * po/ru.po: Likewise.
3344 * po/rw.po: Likewise.
3345 * po/sk.po: Likewise.
3346 * po/sv.po: Likewise.
3347 * po/tr.po: Likewise.
3348 * po/zh_CN.po: Likewise.
3349 * po/zh_TW.po: Likewise.
3352 * iconv/iconv_prog.c (main): Fix spelling in error message.
3353 * iconv/iconvconfig.c (main): Likewise.
3354 * locale/programs/ld-collate.c (handle_ellipsis): Likewise.
3355 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise.
3356 * locale/programs/localedef.c (main): Likewise.
3357 * locale/programs/repertoire.c (repertoire_read): Likewise.
3358 * timezone/zdump.c (main): Likewise.
3359 * nscd/connections.c (handle_request): Fix spelling in log message.
3360 Patch by Malcolm Parsons <malcolm.parsons@gmail.com>.
3362 2006-09-20 Ulrich Drepper <drepper@redhat.com>
3364 * inet/inet6_option.c: Also emit linker warnings for the RFC 2292
3367 2006-09-20 Andreas Jaeger <aj@suse.de>
3369 * math/libm-test.inc (lrint_test_upward): Fix typo.
3371 2006-06-17 Joseph S. Myers <joseph@codesourcery.com>
3374 * math/libm-test.inc (lrint_test_tonearest): New function.
3375 (lrint_test_towardzero): New function.
3376 (lrint_test_downward): New function.
3377 (lrint_test_upward): New function.
3378 (main): Run these new tests.
3379 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding
3380 of values near to 0.
3381 (two52): Use double not long double.
3382 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3383 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3384 (two23): Use float not double.
3385 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3386 (two23): Use float not double.
3387 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
3388 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3389 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
3390 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3392 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
3394 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext):
3395 Cast sp to unsigned long to avoid compiler warning.
3396 Use __makecontext_ret function instead of a trampoline on the stack.
3397 (__makecontext_ret): New function.
3398 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise.
3400 2006-09-19 Jakub Jelinek <jakub@redhat.com>
3402 * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but
3403 platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM
3406 2006-09-19 Ulrich Drepper <drepper@redhat.com>
3408 * elf/dl-close.c (_dl_close): If dependency is not unloaded make
3409 sure no reference to the unloaded map's search list remains in the
3412 2006-09-16 Jakub Jelinek <jakub@redhat.com>
3414 * elf/Makefile: Add rules to build and run unload7 test.
3415 * elf/unload7.c: New test.
3416 * elf/unload7mod1.c: New file.
3417 * elf/unload7mod2.c: New file.
3419 2006-09-18 Jakub Jelinek <jakub@redhat.com>
3421 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto.
3422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS,
3423 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
3424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS,
3425 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise.
3426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS,
3427 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise.
3428 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS,
3429 PTRACE_GETEVENTMSG): Likewise.
3430 (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent
3433 2006-09-17 Mike Frysinger <vapier@gentoo.org>
3435 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS,
3436 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
3437 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS,
3438 PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO.
3440 2006-09-16 Jakub Jelinek <jakub@redhat.com>
3442 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't
3443 write '\0' to the fd.
3444 * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise.
3445 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise.
3446 Change regs to unsigned long pointer from unsigned int, fix fscr
3449 2006-09-14 Jakub Jelinek <jakub@redhat.com>
3451 * io/Makefile (CFLAGS-fstatat.c): Set.
3452 (CFLAGS-fstatat64.c): Likewise.
3453 (CFLAGS-mknodat.c): Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes.
3456 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten.
3458 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten.
3460 2006-09-14 Jakub Jelinek <jakub@redhat.com>
3461 Steven Munroe <sjmunroe@us.ibm.com>
3463 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap
3464 names to the beginning. Rename "cell" to "cellbe".
3465 (_dl_powerpc_platforms): New.
3466 * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
3467 (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell.
3468 (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define.
3469 (_DL_HWCAP_PLATFORM): Define to new mask.
3470 (_dl_platform_string, _dl_string_platform): New functions.
3471 * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT,
3472 PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define.
3474 2006-09-12 Jakub Jelinek <jakub@redhat.com>
3477 * README.libm: Fix a thinko in sqrt algorithm description.
3480 * manual/string.texi (argz_delete): Fix prototype.
3481 Patch by <alpt@freaknet.org>.
3483 2006-08-26 Joseph Myers <joseph@codesourcery.com>
3486 * io/test-lfs.c (do_prepare): Give name_len type size_t.
3487 * io/tst-fcntl.c (do_prepare): Likewise.
3488 * posix/tst-exec.c (do_prepare): Likewise.
3489 * posix/tst-preadwrite.c (do_prepare): Likewise.
3490 * posix/tst-spawn.c (do_prepare): Likewise.
3491 * posix/tst-truncate.c (do_prepare): Likewise.
3492 * rt/tst-aio.c (do_prepare): Likewise.
3493 * rt/tst-aio64.c (do_prepare): Likewise.
3494 * stdlib/test-canon2.c (do_prepare): Give test_dir_len type
3497 2006-09-09 Ulrich Drepper <drepper@redhat.com>
3500 * time/mktime.c (guess_time_tm): Fix overflow detection.
3501 * time/Makefile (tests): Add bug-mktime1.
3502 * time/bug-mktime1.c: New file.
3505 * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
3508 2006-09-07 Jakub Jelinek <jakub@redhat.com>
3511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3512 Ensure relocation doesn't clobber any bits outside of the
3513 immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30,
3514 R_SPARC_HI22 and R_SPARC_H44.
3517 * malloc/malloc.c (sYSMALLOc): Only call grow_heap if
3518 (long) (MINSIZE + nb - old_size) is positive.
3520 * malloc/arena.c (grow_heap): When growing bail even if new_size
3524 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access
3527 2006-09-06 Jakub Jelinek <jakub@redhat.com>
3529 * posix/regex_internal.c (re_string_reconstruct): Handle
3530 offset < pstr->valid_raw_len && pstr->offsets_needed case.
3531 Ensure no bytes read before raw_mbs array. Pass a saved copy of
3532 pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to
3533 re_string_context_at.
3534 * posix/Makefile: Add rules to build and run bug-regex26 test.
3535 * posix/bug-regex26.c: New test.
3537 * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free
3538 rather than col_sym_free. Move seqp declaration earlier.
3540 * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized.
3542 2006-09-05 Jakub Jelinek <jakub@redhat.com>
3544 * nscd/initgrcache.c (addinitgroupsX): Move any_success
3545 decl before first goto out.
3547 2006-09-04 Jakub Jelinek <jakub@redhat.com>
3549 * Makerules (shlib.lds): If have-hash-style, put .hash section
3550 at the end of the RO segment.
3552 2006-09-04 Ulrich Drepper <drepper@redhat.com>