1 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4 the first argument and return value of __tls_get_addr_internal.
6 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14 * sysdeps/s390/rtld-global-offsets.sym: New file.
15 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
29 halfs of GPRs for high_gprs contexts.
30 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
33 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38 for high GPRs (uc_high_gprs) and for future extensions
40 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41 for future extensions (__reserved).
42 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45 SC_HIGHGPRS offset definition.
46 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51 * Versions.def: Add GLIBC_2.19 for libpthread.
52 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
53 siglongjmp for libpthread with GLIBC_2.19 symver.
54 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57 * sysdeps/s390/__longjmp.c: New file.
58 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
59 * sysdeps/s390/longjmp.c: New file.
60 * sysdeps/s390/setjmp.S: New file.
61 * sysdeps/s390/sigjmp.S: New file.
62 * sysdeps/s390/v1-longjmp.c: New file.
63 * sysdeps/s390/v1-setjmp.h: New file.
64 * sysdeps/s390/v1-sigjmp.c: New file.
65 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
66 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
68 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
69 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
70 versioned symbols for ____longjmp_chk.
71 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
73 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
75 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
79 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
82 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
83 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
84 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
85 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
86 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
87 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
88 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
89 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
90 * sysdeps/s390/rtld-__longjmp.c: New file.
91 * sysdeps/s390/rtld-setjmp.S: New file.
93 2014-01-06 Joseph Myers <joseph@codesourcery.com>
96 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
97 Return -__logl (x) for small positive arguments without evaluating
100 2014-01-06 Mike Frysinger <vapier@gentoo.org>
102 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
104 (__ptrace_peeksiginfo_args): ... this.
105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
109 2014-01-06 Allan McRae <allan@archlinux.org>
111 * inet/netinet/in.h: Fix typo in comment.
113 2014-01-05 Andreas Jaeger <aj@suse.de>
115 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 2014-01-05 Allan McRae <allan@archlinux.org>
119 * po/libc.pot: Regenerated.
121 * malloc/memusagestat.c: Fix gettext call formatting.
123 2014-01-04 Sami Kerola <kerolasa@iki.fi>
125 * nscd/nscd.c: Improve usage() output.
127 2014-01-04 Mike Frysinger <vapier@gentoo.org>
129 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
130 * sysdeps/unix/sysv/linux/configure: Regenerated.
131 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
132 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
134 2014-01-03 Joseph Myers <joseph@codesourcery.com>
137 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
138 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
140 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
143 extra tokens at end of #undef directive.
144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
146 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
148 2014-01-03 Andrew Hunter <ahh@google.com>
150 * elf/dl-open.c (dl_open_worker): New comment.
151 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
152 atomic_compare_and_exchange_bool_acq
153 (_dl_allocate_static_tls): Block signals.
154 * elf/dl-tls.c (allocate_and_init): Return void.
155 (_dl_update_slotinfo): Block signals, use atomic update.
157 2014-01-03 Joseph Myers <joseph@codesourcery.com>
159 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
161 * math/auto-libm-test-in: Mark various tests with
162 xfail-rounding:ldbl-128ibm.
163 * math/auto-libm-test-out: Regenerated.
165 2014-01-02 Joseph Myers <joseph@codesourcery.com>
168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
169 numbers with subnormal high part when calculating exponent.
172 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
176 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
178 (__ieee754_acoshl): Use __log1pl not __log1p.
180 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
182 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
183 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
184 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
185 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
186 Convert to GNU style.
187 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
188 mem2mem_check, mem2chunk_check, top_check, realloc_check,
189 memalign_check, __malloc_set_state): Likewise.
190 * malloc/mallocbug.c (main): Likewise.
191 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
192 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
193 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
194 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
195 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
196 * malloc/malloc.h: Likewise.
197 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
198 memalignhook, reallochook, mabort): Likewise.
199 * malloc/mcheck.h: Likewise.
200 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
201 mmap64, mremap, munmap, dest): Likewise.
202 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
203 * malloc/morecore.c (__default_morecore): Likewise.
204 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
205 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
206 _obstack_allocated_p, obstack_free, _obstack_memory_used,
207 print_and_abort): Likewise.
208 * malloc/obstack.h: Likewise.
209 * malloc/set-freeres.c (__libc_freeres): Likewise.
210 * malloc/tst-mallocstate.c (main): Likewise.
211 * malloc/tst-mtrace.c (main): Likewise.
212 * malloc/tst-realloc.c (do_test): Likewise.
214 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
217 * nscd/netgroupcache.c (do_notfound): New function.
218 (addgetnetgrentX): Use it.
221 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
224 2014-01-01 Joseph Myers <joseph@codesourcery.com>
226 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
229 2014-01-01 Allan McRae <allan@archlinux.org>
231 * scripts/update-copyrights: Update configure input file suffix.
233 * NEWS: Update copyright year.
234 * catgets/gencat.c: Likewise.
235 * csu/version.c: Likewise.
236 * debug/catchsegv.sh: Likewise.
237 * debug/pcprofiledump.c: Likewise.
238 * debug/xtrace.sh: Likewise.
239 * elf/ldconfig.c: Likewise.
240 * elf/ldd.bash.in: Likewise.
241 * elf/pldd.c: Likewise.
242 * elf/sotruss.ksh: Likewise.
243 * elf/sprof.c: Likewise.
244 * iconv/iconv_prog.c: Likewise.
245 * iconv/iconvconfig.c: Likewise.
246 * locale/programs/locale.c: Likewise.
247 * locale/programs/localedef.c: Likewise.
248 * login/programs/pt_chown.c: Likewise.
249 * malloc/memusage.sh: Likewise.
250 * malloc/memusagestat.c: Likewise.
251 * malloc/mtrace.pl: Likewise.
252 * manual/libc.texinfo: Likewise.
253 * nscd/nscd.c: Likewise.
254 * nss/getent.c: Likewise.
255 * nss/makedb.c: Likewise.
256 * posix/getconf.c: Likewise.
257 * scripts/test-installation.pl: Likewise.
259 * All files with FSF copyright notices: Update copyright dates
260 using scripts/update-copyrights.
261 * intl/plural.c: Regenerated.
262 * locale/programs/charmap-kw.h: Likewise.
263 * locale/programs/locfile-kw.h: Likewise.
265 2013-12-31 Mike Frysinger <vapier@gentoo.org>
267 * sysdeps/unix/sysv/linux/configure: Regenerated.
268 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
269 the linux/fanotify.h header.
270 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
271 HAVE_LINUX_FANOTIFY_H is defined.
273 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
275 * benchtests/cos-inputs: New inputs.
276 * benchtests/sin-inputs: Likewise.
278 * benchtests/atan-inputs: New inputs. Fix name of multiple
279 precision fallback inputs.
281 * benchtests/atanh-inputs: New inputs.
282 * benchtests/tanh-inputs: Likewise.
284 * benchtests/acosh-inputs: New inputs.
285 * benchtests/asinh-inputs: Likewise.
287 * benchtests/cosh-inputs: New inputs.
288 * benchtests/sinh-inputs: Likewise.
290 * benchtests/acos-inputs: Add more inputs.
291 * benchtests/asin-inputs: Likewise.
293 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
296 * manual/arith.texi: Fix spelling.
297 * manual/charset.texi: Likewise.
298 * manual/errno.texi: Likewise.
299 * manual/filesys.texi: Likewise.
300 * manual/lang.texi: Likewise.
301 * manual/llio.texi: Likewise.
302 * manual/locale.texi: Likewise.
303 * manual/message.texi: Likewise.
304 * manual/resource.texi: Likewise.
305 * manual/search.texi: Likewise.
306 * manual/setjmp.texi: Likewise.
307 * manual/stdio.texi: Likewise.
308 * manual/string.texi: Likewise.
309 * manual/sysinfo.texi: Likewise.
310 * manual/time.texi: Likewise.
312 2013-12-27 Carlos O'Donell <carlos@redhat.com>
314 * po/sl.po: New file.
316 2013-12-27 Mike Frysinger <vapier@gentoo.org>
318 * .gitignore: Add core/.gdbinit/.gdb_history.
320 2013-12-27 Allan McRae <allan@archlinux.org>
323 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
324 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
326 2013-12-24 Brooks Moses <bmoses@google.com>
328 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
329 all compilers that claim C++98 compliance, not just GCC.
330 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
333 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
335 * NEWS: Restore accidentally deleted bug-fix entries.
337 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
338 Ondřej Bílka <neleai@seznam.cz>
341 * malloc/malloc.c (_int_free): Perform sanity check only if we
344 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
347 * manual/stdio.texi (String Input Conversions): Clarify that character
348 classes are not supported.
350 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
354 2013-12-22 Joseph Myers <joseph@codesourcery.com>
357 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
358 Calculate results for small negative arguments directly rather
359 than using reflection formula with special underflow handling.
361 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
362 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
363 sysdeps/unix/bsd/bsd4.4/syscalls.list.
364 (fchflags): Likewise.
366 (setlogin): Likewise.
367 (sigaltstack): Likewise.
370 (sigsetmask): Likewise.
373 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
374 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
376 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
377 * sysdeps/unix/bsd/Makefile: ... here.
378 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
379 * sysdeps/unix/bsd/Versions: ... here.
380 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
381 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
382 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
383 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
384 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
385 * sysdeps/unix/bsd/sigblock.c: ... here.
386 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
387 * sysdeps/unix/bsd/sigsetmask.c: ... here.
388 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
389 * sysdeps/unix/bsd/sigvec.c: ... here.
390 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
391 * sysdeps/unix/bsd/tcdrain.c: ... here.
392 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
393 * sysdeps/unix/bsd/tcgetattr.c: ... here.
394 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
395 * sysdeps/unix/bsd/tcsetattr.c: ... here.
396 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
397 * sysdeps/unix/bsd/wait.c: ... here.
398 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
399 * sysdeps/unix/bsd/wait3.c: ... here.
400 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
401 * sysdeps/unix/bsd/waitpid.c: ... here.
403 2013-12-21 Joseph Myers <joseph@codesourcery.com>
406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
407 round-to-nearest for [!USE_AS_EXPM1L].
408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
409 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
410 more tests of exp and exp10. Expect some exp10 tests to miss
411 exceptions or fail in directed rounding modes.
412 * math/auto-libm-test-out: Regenerated.
413 * math/libm-test.inc (exp10_tonearest_test_data): New array.
414 (exp10_test_tonearest): New function.
415 (exp10_towardzero_test_data): New array.
416 (exp10_test_towardzero): New function.
417 (exp10_downward_test_data): New array.
418 (exp10_test_downward): New function.
419 (exp10_upward_test_data): New array.
420 (exp10_test_upward): New function.
421 (main): Call the new functions.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
425 2013-12-20 Joseph Myers <joseph@codesourcery.com>
427 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
428 asinh, atan, atan2, atanh, cbrt, cos and cosh.
429 * math/auto-libm-test-out: Regenerated.
430 * math/libm-test.inc (acosh_test_data): Add more tests.
431 (atanh_test_data): Likewise.
432 (ceil_test_data): Likewise.
433 (copysign_test_data): Likewise.
434 * sysdeps/i386/fpu/libm-test-ulps: Update.
435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
437 * timezone/checktab.awk: Update from tzcode 2013i.
438 * timezone/private.h: Likewise.
439 * timezone/scheck.c: Likewise.
440 * timezone/tzfile.h: Likewise.
441 * timezone/tzselect.ksh: Likewise.
442 * timezone/zdump.c: Likewise.
443 * timezone/zic.c: Likewise.
445 * math/auto-libm-test-in: Add tests of cpow.
446 * math/auto-libm-test-out: Regenerated.
447 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
448 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
450 (func_calc_desc): Add mpc_cc_c union field.
451 (test_functions): Add cpow.
452 (special_fill_2pi): New function.
453 (special_real_inputs): Add 2pi.
454 (calc_generic_results): Handle mpc_cc_c.
455 * sysdeps/i386/fpu/libm-test-ulps: Update.
456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
458 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
459 csqrt, ctan and ctanh.
460 * math/auto-libm-test-out: Regenerated.
461 * math/libm-test.inc (TEST_COND_x86_64): New macro.
462 (TEST_COND_x86): Likewise.
463 (ccos_test_data): Use AUTO_TESTS_c_c.
464 (ccosh_test_data): Likewise.
465 (cexp_test_data): Likewise.
466 (clog_test_data): Likewise.
467 (csqrt_test_data): Likewise.
468 (ctan_test_data): Likewise.
469 (ctan_tonearest_test_data): Likewise.
470 (ctan_towardzero_test_data): Likewise.
471 (ctan_downward_test_data): Likewise.
472 (ctan_upward_test_data): Likewise.
473 (ctanh_test_data): Likewise.
474 (ctanh_tonearest_test_data): Likewise.
475 (ctanh_towardzero_test_data): Likewise.
476 (ctanh_downward_test_data): Likewise.
477 (ctanh_upward_test_data): Likewise.
478 * math/gen-auto-libm-tests.c (func_calc_method): Add value
480 (func_calc_desc): Add mpc_c_c union field.
481 (FUNC_mpc_c_c): New macro.
482 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
483 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
485 (special_fill_min_subnorm_p120): New function.
486 (special_real_inputs): Add min_subnorm_p120.
487 (calc_generic_results): Handle mpc_c_c.
488 * sysdeps/i386/fpu/libm-test-ulps: Update.
489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
491 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
493 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
494 do_sin_slow): New functions.
495 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
496 cslow2, csloww1, csloww2): Use the new functions.
498 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
499 Use M to change sign of result instead of X. Assume X is
505 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
512 (sloww1): Don't adjust sign of DX.
514 (sloww2): Use X directly and don't adjust sign of DX.
517 2013-12-19 Joseph Myers <joseph@codesourcery.com>
519 * math/auto-libm-test-in: Add tests of cabs and carg.
520 * math/auto-libm-test-out: Regenerated.
521 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
522 (carg_test_data): Likewise.
523 * math/gen-auto-libm-tests.c (func_calc_method): Add value
525 (func_calc_desc): Add mpc_c_f union field.
526 (test_functions): Add cabs and carg.
527 (calc_generic_results): Handle mpc_c_f.
529 * sysdeps/powerpc/powerpc32/libgcc-compat.S
530 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
531 as a macro and a compat symbol.
532 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
533 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
534 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
535 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
536 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
537 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
543 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
545 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
547 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
549 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
550 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
553 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
557 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
559 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
560 (__signal_safe_memalign, __signal_safe_free): Use it.
561 (__signal_safe_realloc): Likewise.
563 2013-12-19 Joseph Myers <joseph@codesourcery.com>
565 * manual/texinfo.tex: Update to version 2013-11-26.10 with
566 trailing whitespace removed.
567 * scripts/config.guess: Update to version 2013-11-29.
568 * scripts/config.sub: Update to version 2013-10-01.
570 * math/auto-libm-test-in: Add tests of sincos.
571 * math/auto-libm-test-out: Regenerated.
572 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
573 * math/gen-auto-libm-tests.c (func_calc_method): Add value
575 (func_calc_desc): Add mpfr_f_11 union field.
576 (test_functions): Add sincos.
577 (calc_generic_results): Handle mpfr_f_11.
578 * sysdeps/i386/fpu/libm-test-ulps: Update.
579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
581 2013-12-19 Andreas Schwab <schwab@suse.de>
583 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
586 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
587 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
589 2013-12-19 Joseph Myers <joseph@codesourcery.com>
591 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
592 * sysdeps/i386/fpu/libm-test-ulps: Update.
593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
596 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
597 round-to-nearest mode when using frndint.
598 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
599 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
600 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
602 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
604 * math/auto-libm-test-out: Regenerated.
605 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
606 (TEST_COND_x86): Likewise.
607 (expm1_tonearest_test_data): New array.
608 (expm1_test_tonearest): New function.
609 (expm1_towardzero_test_data): New array.
610 (expm1_test_towardzero): New function.
611 (expm1_downward_test_data): New array.
612 (expm1_test_downward): New function.
613 (expm1_upward_test_data): New array.
614 (expm1_test_upward): New function.
615 (main): Run the new test functions.
616 * sysdeps/i386/fpu/libm-test-ulps: Update.
617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
619 * include/features.h: Update comment documenting feature test
620 macros. Mention _DEFAULT_SOURCE in comment.
621 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
622 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
623 _BSD_SOURCE and _SVID_SOURCE.
624 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
625 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
626 !_SVID_SOURCE]: Likewise.
627 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
628 (__USE_POSIX_IMPLICITLY): Define.
629 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
630 (_POSIX_SOURCE): Undefine and redefine.
631 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
632 (_POSIX_C_SOURCE): Likewise.
633 * manual/creature.texi (_DEFAULT_SOURCE): Document.
634 (Feature Test Macros): Update documentation of default features.
636 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
638 * benchtests/Makefile: Add bench-strtok.
639 * benchtests/bench-strtok.c: New file: strtok benchtest.
641 2013-12-19 Allan McRae <allan@archlinux.org>
643 * manual/install.texi: Suppress menu for plain text output.
644 * INSTALL: Regenerated.
646 2013-12-18 Andrew Hunter <ahh@google.com>
648 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
649 (__signal_safe_malloc, __signal_safe_free): Likewise.
650 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
651 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
652 (__signal_safe_memalign, __signal_safe_malloc): New function.
653 (__signal_safe_free, __signal_safe_realloc): Likewise.
654 (__signal_safe_calloc): Likewise.
655 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
657 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
659 2013-12-18 Andrew Hunter <ahh@google.com>
661 * elf/Versions (ld): Add _dl_clear_dtv.
662 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
663 * elf/dl-tls.c (_dl_clear_dtv): New function.
664 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
666 2013-12-18 Andrew Hunter <ahh@google.com>
668 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
669 (_dl_unmask_signals): Likewise.
670 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
671 (_dl_unmask_all_signals): Likewise.
672 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
673 (_dl_unmask_all_signals): Likewise.
674 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
675 (_dl_unmask_signals): Likewise.
677 2013-12-18 Brooks Moses <bmoses@google.com>
680 * misc/getauxval.c: Include errno.h.
681 (__getauxval): Set errno to ENOENT if the requested type is not
683 * misc/sys/auxv.h (getauxval): Document that it may set errno;
684 don't declare with __attribute_const__.
685 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
686 * manual/startup.texi: Document that getauxval sets errno.
688 2013-12-18 Joseph Myers <joseph@codesourcery.com>
690 * math/auto-libm-test-in: Add tests of jn and yn.
691 * math/auto-libm-test-out: Regenerated.
692 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
693 (yn_test_data): Likewise.
694 * math/gen-auto-libm-tests.c (func_calc_method): Add value
696 (func_calc_desc): Add mpfr_if_f union field.
697 (FUNC_mpfr_if_f): New macro.
698 (test_functions): Add jn and yn.
699 (calc_generic_results): Assert type of second input for
700 mpfr_ff_f. Handle mpfr_if_f.
701 (output_for_one_input_case): Disable all checking for arguments
702 fitting floating-point types in case of an integer argument.
703 * sysdeps/i386/fpu/libm-test-ulps: Update.
704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
707 Don't expect fegetround reference in libm.so.
709 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
711 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
712 $(config-cflags-nofma).
714 2013-12-18 Joseph Myers <joseph@codesourcery.com>
716 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
717 * math/auto-libm-test-out: Regenerated.
720 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
721 to determine exponent and adjust argument to have exponent of -1.
722 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
724 * math/auto-libm-test-out: Regenerated.
725 * sysdeps/i386/fpu/libm-test-ulps: Update.
726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
728 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
730 * manual/probes.texi: Remove cases when per-thread arenas are
733 2013-12-18 Andreas Schwab <schwab@suse.de>
735 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
736 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
737 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
738 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
739 * sysdeps/i386/i686/multiarch/Makefile: Update.
740 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
742 2013-12-17 Joseph Myers <joseph@codesourcery.com>
744 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
745 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
747 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
749 Support TZ transition times < 00:00:00.
750 This is needed for version-3 tz-format files; it supports time
751 stamps past 2037 for America/Godthab (the only entry in the tz
752 database for which this change is relevant).
753 * manual/time.texi (TZ Variable): Document transition times
754 from -167:59:59 through -00:00:01.
755 * time/tzset.c (tz_rule): Time of day is now signed.
756 (__tzset_parse_tz): Parse negative time of day.
758 Document TZ transition times >= 25:00:00.
759 * manual/time.texi (TZ Variable): Document transition times from
760 25:00:00 through 167:59:59. These are already supported, and this
761 support will help with version-3 tz-format files.
763 * manual/time.texi (TZ Variable): Modernize North America example
764 to reflect current (i.e., 2007-and-later) daylight saving rules.
766 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
768 2013-12-17 Joseph Myers <joseph@codesourcery.com>
770 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
771 * sysdeps/unix/bsd/bits/stat.h: Likewise.
772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
774 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
775 * sysdeps/unix/bsd/bsdstat.h: Likewise.
776 * sysdeps/unix/bsd/clock.c: Likewise.
777 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
778 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
779 * sysdeps/unix/bsd/init-posix.c: Likewise.
780 * sysdeps/unix/bsd/poll.c: Likewise.
781 * sysdeps/unix/bsd/ptsname.c: Likewise.
782 * sysdeps/unix/bsd/seekdir.c: Likewise.
783 * sysdeps/unix/bsd/setegid.c: Likewise.
784 * sysdeps/unix/bsd/seteuid.c: Likewise.
785 * sysdeps/unix/bsd/setgid.c: Likewise.
786 * sysdeps/unix/bsd/setrgid.c: Likewise.
787 * sysdeps/unix/bsd/setruid.c: Likewise.
788 * sysdeps/unix/bsd/setsid.c: Likewise.
789 * sysdeps/unix/bsd/setuid.c: Likewise.
790 * sysdeps/unix/bsd/sigaction.c: Likewise.
791 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
792 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
793 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
794 * sysdeps/unix/bsd/telldir.c: Likewise.
795 * sysdeps/unix/bsd/times.c: Likewise.
796 * sysdeps/unix/bsd/usleep.c: Likewise.
798 * misc/Makefile (install-lib): Remove libbsd-compat.a.
799 ($(objpfx)libbsd-compat.a): Remove rule.
801 * include/features.h (__FAVOR_BSD): Do not define.
802 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
803 features conflicting with POSIX.
804 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
805 (_BSD_SOURCE): Remove description of not being a subset of other
807 * manual/job.texi (getpgrp): Do not document BSD version.
808 (getpgid): Do not document by reference to BSD getpgrp.
809 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
810 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
811 * signal/signal.h [__FAVOR_BSD]: Likewise.
812 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
813 instead of making contents conditional on [__FAVOR_BSD].
814 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
816 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
820 2013-12-17 Joseph Myers <joseph@codesourcery.com>
823 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
824 values below 2**-450, not 2**-500.
825 * math/auto-libm-test-in: Don't allow spurious underflow from
827 * math/auto-libm-test-out: Regenerated.
831 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
832 values of ha and hb and sort them after adjusting subnormal
834 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
836 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
837 values of ea and eb and sort them after adjusting subnormal
839 * math/auto-libm-test-in: Do not expect some hypot tests of
840 subnormals to fail. Add more hypot tests.
841 * math/auto-libm-test-out: Regenerated.
843 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
846 * sysdeps/sh/s_fma.c: New file.
847 * sysdeps/sh/s_fmaf.c: New file.
848 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
850 * sysdeps/sh/Implies: Add sh/soft-fp.
852 2013-12-16 Roland McGrath <roland@hack.frob.com>
854 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
855 level of indirection to members `objname', `errstring', `malloced'.
856 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
857 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
858 it as the __longjmp argument (just pass 1 instead).
859 (_dl_catch_error): Initialize C with argument pointers and address of
860 volatile local ERRCODE rather than copying values out of C at return.
862 2013-12-16 Joseph Myers <joseph@codesourcery.com>
864 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
865 * math/auto-libm-test-out: Regenerated.
866 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
867 (hypot_test_data): Likewise.
868 (pow_test_data): Likewise.
869 (pow_tonearest_test_data): Likewise.
870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
872 (func_calc_desc): Add mpfr_ff_f union field.
873 (FUNC_mpfr_ff_f): New macro.
874 (test_functions): Add atan2, hypot and pow.
875 (special_fill_min): New function.
876 (special_fill_minus_min): Likewise.
877 (special_fill_min_subnorm): Likewise.
878 (special_fill_minus_min_subnorm): Likewise.
879 (special_real_inputs): Add min, -min, min_subnorm and
881 (calc_generic_results): Handle mpfr_ff_f.
882 * sysdeps/i386/fpu/libm-test-ulps: Update.
883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
885 2013-12-16 Will Newton <will.newton@linaro.org>
887 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
888 (Aligned Memory Blocks): Add documentation for aligned_alloc
889 and suggest it as an alternative to posix_memalign.
890 (Hooks for Malloc): Document __memalign_hook is also called
891 for aligned_alloc. (Summary of Malloc): Add summary for
892 aligned alloc. Document __memalign_hook is also called
895 2013-12-16 Will Newton <will.newton@linaro.org>
897 * manual/memory.texi (Malloc Examples): Clarify default
898 alignment documentation. Suggest posix_memalign rather
899 than memalign or valloc.
900 (Aligned Memory Blocks): Remove suggestion to use memalign
901 or valloc. Remove obsolete comment about BSD.
902 Document memalign errno values and mark the function obsolete.
903 Document posix_memalign returned error codes. Mark valloc
904 as obsolete. (Hooks for Malloc): __memalign_hook is also
905 called for posix_memalign and valloc.
906 (Summary of Malloc): Add posix_memalign to function summary.
907 __memalign_hook is also called for posix_memalign and valloc.
909 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
911 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
915 (sloww): Use mynumber union. Expand ternary operator into
917 (cslow): use mynumber union.
919 2013-12-16 Allan McRae <allan@archlinux.org>
921 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
922 * configure: Regenerated.
924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
927 * configure.ac: Added --enable-maintainer-mode. Check for
928 autoconf when enabled.
929 * configure: Regenerated.
931 * nscd/nscd.service: New file.
932 * nscd/nscd.tmpfiles: New file.
934 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
937 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
938 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
939 * sysdeps/x86_64/multiarch/strstr.c: ... here.
940 (strstr): Add __strstr_sse2_unaligned ifunc.
941 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
942 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
943 (strcasestr): Remove __strcasestr_sse42 ifunc.
944 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
948 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
950 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
951 * sysdeps/sh/bits/fenv.h: ... here.
952 * sysdeps/sh/sh4/fpu/bits: Remove directory.
954 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
956 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
958 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
961 hypotf multiarch implementations.
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
965 multiarch hypot for PPC64.
966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
969 multiarch hypotf for PPC64.
971 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
974 modff multiarch implementations.
975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
978 multiarch modf for PPC64.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
982 multiarch modff for PPC64.
984 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
987 and logl multiarch implementations.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
991 multiarch logb for PPC64.
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
995 multiarch logb for PPC64.
996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
999 multiarch logb for PPC64.
1001 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1004 isinff multiarch implementation.
1005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1009 multiarch isinf for PPC64.
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1013 multiarch isinff for PPC64.
1015 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1018 finitef multiarch implementation.
1019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1023 multiarch finite for PPC64.
1024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1027 multiarch finitef for PPC64.
1029 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1031 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1032 lrint multiarch implementation.
1033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1037 multiarch llrint for PPC64.
1038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1039 multiarch lrint for PPC64.
1041 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1044 copysignf multiarch implementation.
1045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1050 multiarch copysign for PPC64.
1051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1052 multiarch copysignf for PPC64.
1054 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1057 multiarch implementation.
1058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1066 multiarch llround for PPC64.
1067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1068 multiarch trunc for PPC64.
1069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1070 multiarch truncf for PPC64.
1072 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1075 multiarch implementation.
1076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1084 multiarch llround for PPC64.
1085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1086 multiarch round for PPC64.
1087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1088 multiarch roundf for PPC64.
1090 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1093 multiarch implementation.
1094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1102 multiarch llround for PPC64.
1103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1104 multiarch floor for PPC64.
1105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1106 multiarch floorf for PPC64.
1108 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1111 multiarch implementation.
1112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1120 multiarch llround for PPC64.
1121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1122 multiarch ceil for PPC64.
1123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1124 multiarch ceilf for PPC64.
1126 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1129 multiarch implementation.
1130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1137 multiarch llround for PPC64.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1139 multiarch lround for PPC64.
1141 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1144 multiarch implementation.
1145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1152 multiarch isnan for PPC64.
1153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1154 multiarch isnanf for PPC64.
1156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1159 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1160 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1161 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1162 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1165 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1167 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1168 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1172 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1175 multiarch implementations.
1176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1177 (__libc_ifunc_impl_list): Likewise.
1178 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1179 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1180 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1181 multiarch stpcpy for PPC64.
1183 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1186 multiarch implementations.
1187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1188 (__libc_ifunc_impl_list): Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1190 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1191 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1192 multiarch strcpy for PPC64.
1194 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1197 redefine function name.
1198 (_wordcopy_fwd_dest_aligned): Likewise.
1199 (_wordcopy_bwd_aligned): Likewise.
1200 (_wordcopy_bwd_dest_aligned): Likewise.
1201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1202 multiarch implementations.
1203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1204 (__libc_ifunc_impl_list): Likewise.
1205 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1206 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1207 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1208 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1209 multiarch wcscpy for PPC64.
1211 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1214 multiarch implementations.
1215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1216 (__libc_ifunc_impl_list): Likewise.
1217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1218 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1219 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1220 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1221 multiarch wcscpy for PPC64.
1223 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1226 multiarch implementations.
1227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1228 (__libc_ifunc_impl_list): Likewise.
1229 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1230 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1231 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1232 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1233 multiarch wcsrchr for PPC64.
1235 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1238 multiarch implementations.
1239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1240 (__libc_ifunc_impl_list): Likewise.
1241 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1242 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1243 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1244 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1245 multiarch wcschr for PPC64.
1247 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1250 multiarch implementations.
1251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1252 (__libc_ifunc_impl_list): Likewise.
1253 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1254 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1255 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1256 multiarch strchrnul for PPC64.
1258 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1263 (__libc_ifunc_impl_list): Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1265 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1266 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1267 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1270 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1275 (__libc_ifunc_impl_list): Likewise.
1276 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1277 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1279 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1282 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1285 multiarch implementations.
1286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1287 (__libc_ifunc_impl_list): Likewise.
1288 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1289 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1290 strncasecmp for PPC64.
1291 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1292 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1293 multiarch strncasecmp_l for PPC64.
1295 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1298 multiarch implementations.
1299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1300 (__libc_ifunc_impl_list): Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1302 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1303 multiarch strcasecmp for PPC64.
1304 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1307 multiarch strcasecmp_l for PPC64.
1309 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Likewise.
1315 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1316 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1317 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1320 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1325 (__libc_ifunc_impl_list): Likewise.
1326 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1327 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1328 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1331 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1336 (__libc_ifunc_impl_list): Likewise.
1337 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1338 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1339 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1340 rawmemrchr for PPC64.
1342 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1347 (__libc_ifunc_impl_list): Likewise.
1348 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1349 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1350 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1353 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1358 (__libc_ifunc_impl_list): Likewise.
1359 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1360 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1361 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1364 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1369 (__libc_ifunc_impl_list): Likewise.
1370 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1371 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1372 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1375 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1378 avoid cretion of __bzero symbol.
1379 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1381 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1383 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1386 multiarch implementations.
1387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1388 (__libc_ifunc_impl_list): Likewise.
1389 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1390 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1391 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1392 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1394 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1395 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1396 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1397 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1398 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1400 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1402 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1408 (__libc_ifunc_impl_list): Likewise.
1409 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1410 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1411 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1412 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1415 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1418 multiarch for POWER/PPC64.
1419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1420 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1421 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1422 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1423 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1424 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1425 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1426 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1430 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1433 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1434 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1435 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1436 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1437 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1438 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1439 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1440 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1441 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1442 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1443 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1444 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1445 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1446 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1455 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1457 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1459 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * benchtests/Makefile (bench): Add exp2 and log2.
1462 (LDLIBS-bench-exp2): Add -lm.
1463 (LDLIBS-bench-log2): Likewise.
1464 * benchtests/exp2-inputs: New inputs file.
1465 * benchtests/log2-inputs: New inputs file.
1466 * benchtests/log-inputs: Add new inputs.
1467 * benchtests/tan-inputs: Likewise.
1469 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1471 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1473 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1474 csloww1, csloww2): ... from here.
1476 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1477 instead of structures.
1478 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1479 (POLYNOMIAL): Likewise.
1480 (TAYLOR_SLOW): Likewise.
1488 (bsloww1): Likewise.
1489 (bsloww2): Likewise.
1492 (csloww1): Likewise.
1493 (csloww2): Likewise.
1495 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1497 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1498 (__malloc_assert, __libc_realloc, __libc_calloc,
1499 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1501 * malloc/hooks.c (realloc_check): Likewise.
1503 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1505 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1506 * malloc/arena.c: Remove PER_THREAD conditional.
1507 [!PER_THREAD]: Remove code.
1508 (ptmalloc_unlock_all2): Likewise.
1509 (ptmalloc_init): Likewise.
1510 (_int_new_arena): Likewise.
1511 (arena_get2): Likewise.
1512 * malloc/hooks.c (__malloc_get_state): Likewise.
1513 (__malloc_set_state): Likewise.
1514 * malloc/malloc.c: Likewise.
1515 (struct malloc_state): Likewise.
1516 (struct malloc_par): Likewise.
1517 (__libc_realloc): Likewise.
1518 (__libc_mallopt): Likewise.
1520 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1522 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1524 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1526 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1527 macro to a function. Check for zero perturb_byte.
1528 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1530 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1532 * malloc/malloc.c: (force_reg): Remove.
1533 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1534 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1535 force_reg by atomic_forced_read.
1536 * malloc/arena.c (ptmalloc_init): Likewise.
1537 * malloc/hooks.c (top_check): Likewise.
1539 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1543 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1547 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1549 * math/auto-libm-test-in: Add tests of lgamma.
1550 * math/auto-libm-test-out: Regenerated.
1551 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1552 (M_LOG_2_SQRT_PIl): Likewise.
1553 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1554 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1556 (func_calc_desc): Add mpfr_f_f1 union field.
1565 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1566 (test_functions): Add lgamma.
1567 (calc_generic_results): Handle mpfr_f_f1.
1568 * sysdeps/i386/fpu/libm-test-ulps: Update.
1569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1571 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1574 __mpn_add_n for PowerPC64/POWER7.
1575 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1576 __mpn_sub_n for PowerPC64/POWER7.
1578 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1580 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1581 __mpn_addmul_1 for PowerPC64.
1582 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1583 __mpn_submul_1 for PowerPC64.
1584 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1586 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1589 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1592 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1594 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1598 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1601 add multiarch folders.
1602 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1603 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1604 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1605 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1606 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1607 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1608 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1609 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1610 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1611 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1612 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1620 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1623 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1629 multiarch __ieee754_hypot for PowerPC32.
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1635 multiarch __ieee754_hypotf for PowerPC32.
1637 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1640 long_double_symbol only if __logbl is defined.
1641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1642 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1644 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1646 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1648 path for implementation.
1649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1650 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1652 logb, and logbl multiarch implementations for PowerPC32.
1653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1658 multiarch logb for PowerPC32.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1664 multiarch logbf for PowerPC32.
1665 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1669 multiarch logbl implementation for PowerPC32.
1671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1674 and modff multiarch implementations.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1680 multiarch modf for PowerPC32.
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1686 multiarch modff for PowerPC32.
1688 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1691 and lrintf multiarch implementations.
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1697 multiarch lrint for PowerPC32.
1698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1699 file: multiarch lrintf for PowerPC32.
1701 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1704 and lroundf multiarch implementations.
1705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1712 multiarch lround for PowerPC32.
1713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1714 file: multiarch lroundf for PowerPC32.
1716 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1719 copysign and copysignf multiarch implementations.
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1725 file: multiarch copysign for PowerPC32.
1726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1727 file: multiarch copysignf for PowerPC32.
1729 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1732 and truncf multiarch implementations.
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1738 multiarch trunc for PowerPC32.
1739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1744 multiarch truncf for PowerPC32.
1746 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1749 and roundf multiarch implementations.
1750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1755 multiarch round for PowerPC32.
1756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1761 multiarch roundf for PowerPC32.
1763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1766 and floorf multiarch implementations.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1772 multiarch floor for PowerPC32.
1773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1778 multiarch floorf for PowerPC32.
1780 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1783 and ceilf multiarch implementations.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1789 multiarch ceil for PowerPC32.
1790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1795 multiarch ceilf for PowerPC32.
1797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1799 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1801 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1804 and finitef multiarch implementations.
1805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1810 multiarch finite for PowerPC32.
1811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1814 file: multiarch finitef for PowerPC32.
1816 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1819 and isinff multiarch implementations.
1820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1825 multiarch isinf for PowerPC32.
1826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1829 multiarch isinff for PowerPC32.
1831 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1833 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1834 alias when __isnan is defined.
1835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1836 and isnanf multiarch implementations.
1837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1846 multiarch isnan for PowerPC32.
1847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1852 multiarch isnanf for PowerPC32.
1854 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1857 and sqrtf multiarch implementations.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1863 multiarch sqrt for PowerPC32.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1869 multiarch sqrtf for PowerPC32.
1871 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1874 and llroundf multiarch implementations.
1875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1882 file: multiarch llround for PowerPC32.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1884 file: multiarch llroundf for PowerPC32.
1886 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1889 multiarch PowerPC32 fpu implementations.
1890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1895 multiarch llrint for PowerPC32.
1896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1907 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1916 multiarch wordcopy for PPC32.
1917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1920 (__libc_ifunc_impl_list): Likewise.
1921 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1922 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1923 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1924 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1925 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1926 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1928 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1930 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1938 multiarch wcscpy for PPC32.
1939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1942 (__libc_ifunc_impl_list): Likewise.
1943 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1944 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1945 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1946 sysdeps/powerpc/power6/wcscpy.c.
1948 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1958 multiarch wcsrchr for PPC32.
1959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1962 (__libc_ifunc_impl_list): Likewise.
1963 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1964 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1965 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1966 sysdeps/powerpc/power6/wcsrchr.c.
1968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1976 multiarch wcschr for PPc32.
1977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1980 (__libc_ifunc_impl_list): Likewise.
1981 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1982 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1983 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1984 sysdeps/powerpc/power6/wcschr.c.
1986 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1992 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1993 file: multiarch strchr for PPC32.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1997 (__libc_ifunc_impl_list): Likewise.
1999 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2001 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2003 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2007 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2008 multiarch strchrnul for PPC32.
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2012 (__libc_ifunc_impl_list): Likewise.
2014 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2018 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2019 multiarch strncasecmp for PPC32.
2020 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2023 multiarch strncasecmp_l for PPC32.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2025 strncasecmp multiarch objects.
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2027 (__libc_ifunc_impl_list): Likewise.
2029 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2034 multiarch strncasecmp for PPC32.
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2038 multiarch strcasecmp_l for PPC32.
2039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2042 (__libc_ifunc_impl_list): Likewise.
2044 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2051 multiarch strncmp for PPC32.
2052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2055 (__libc_ifunc_impl_list): Likewise.
2057 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2060 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2067 (__libc_ifunc_impl_list): Likewise.
2069 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2071 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2073 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2075 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2079 (__libc_ifunc_impl_list): Likewise.
2081 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2088 multiarch rawmemchr for PPC32.
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2092 (__libc_ifunc_impl_list): Likewise.
2094 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2096 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2101 file: memrchr multiarch for PPC32.
2102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2105 (__libc_ifunc_impl_list): Likewise.
2107 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2109 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2110 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2113 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2114 multiarch memchr for PPC32.
2115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2118 (__libc_ifunc_impl_list): Likewise.
2120 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2122 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2123 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2125 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2127 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2128 file: multiarch mempcpy for PPC32.
2129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2132 (__libc_ifunc_impl_list): Likewise.
2134 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2137 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2139 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2140 multiarch bzero for PPC32.
2141 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2143 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2145 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2146 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2147 file: multiarch memset for PPC32.
2148 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2150 memset multiarch objects.
2151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2152 (__libc_ifunc_impl_list): Likewise.
2154 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2159 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2161 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2165 (__libc_ifunc_impl_list): Likewise.
2167 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2171 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2173 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2177 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2178 multiarch memcpy for PPC32.
2179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2182 (__libc_ifunc_impl_list): Likewise.
2184 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2187 support multiarch for POWER/PPC32.
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2192 Implies file to make multiarch folder appers before the fpu and
2193 default folder for power4 configuration.
2195 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2197 * scripts/bench.pl: Append volatile keyword to type.
2199 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2201 * sysdeps/sh/sotruss-lib.c: New file.
2202 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2204 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2208 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2211 * math/w_tgamma.c: Include <errno.h>.
2212 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2213 * math/w_tgammaf.c: Include <errno.h>.
2214 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2215 * math/w_tgammal.c: Include <errno.h>.
2216 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2217 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2218 underflow. Add more tgamma tests.
2219 * math/auto-libm-test-out: Regenerated.
2220 * sysdeps/i386/fpu/libm-test-ulps: Update.
2221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2223 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2224 sin, sinh, tan, tanh, tgamma, y0 and y1.
2225 * math/auto-libm-test-out: Regenerated.
2226 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2227 (TEST_COND_x86): Likewise.
2228 (M_E2l): Remove macro.
2230 (M_2_SQRT_PIl): Likewise.
2231 (M_SQRT_PIl): Likewise.
2232 (M_1_DIV_El): Likewise.
2233 (log_test_data): Use AUTO_TESTS_f_f.
2234 (log10_test_data): Likewise.
2235 (log1p_test_data): Likewise.
2236 (log2_test_data): Likewise.
2237 (sin_test_data): Likewise.
2238 (sin_tonearest_test_data): Likewise.
2239 (sin_towardzero_test_data): Likewise.
2240 (sin_downward_test_data): Likewise.
2241 (sin_upward_test_data): Likewise.
2242 (sinh_test_data): Likewise.
2243 (sinh_tonearest_test_data): Likewise.
2244 (sinh_towardzero_test_data): Likewise.
2245 (sinh_downward_test_data): Likewise.
2246 (sinh_upward_test_data): Likewise.
2247 (tan_test_data): Likewise.
2248 (tan_tonearest_test_data): Likewise.
2249 (tan_towardzero_test_data): Likewise.
2250 (tan_downward_test_data): Likewise.
2251 (tan_upward_test_data): Likewise.
2252 (tanh_test_data): Likewise.
2253 (tgamma_test_data): Likewise.
2254 (y0_test_data): Likewise.
2255 (y1_test_data): Likewise.
2256 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2257 (special_real_inputs): Add pi/4.
2258 * sysdeps/i386/fpu/libm-test-ulps: Update.
2259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2261 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2263 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2264 "longjmp_target" static probes.
2265 (__longjmp): Rename to __longjmp_symbol.
2266 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2267 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2268 on which longjmp to generate.
2269 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2270 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2272 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2273 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2274 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2275 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2276 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2277 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2279 __longjmp_symbol based on which __longjmp to generate.
2280 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2282 (setjmp): Rename to setjmp_symbol.
2283 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2284 (_setjmp): Rename to _setjmp_symbol.
2285 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2286 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2287 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2288 which setjmp to generate.
2289 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2290 "longjmp_target" static probes.
2292 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2294 * benchtests/README: Add note about output arguments.
2295 * benchtests/bench-sincos.c: Remove file.
2296 * benchtests/sincos-inputs: New file.
2297 * scripts/bench.pl: Identify output arguments and define
2298 static variables for them.
2300 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2303 * Makefile (INSTALL): Add install-plain.texi as the primary
2305 * manual/install-plain.texi: New file.
2306 * manual/install.texi: Include node directive only for
2307 non-plaintext output.
2309 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2311 * stdlib/longlong.h: Update from GCC.
2315 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2316 * math/w_j0f.c (y0f): Likewise.
2317 * math/w_j0l.c (__y0l): Likewise.
2318 * math/w_j1.c (y1): Likewise.
2319 * math/w_j1f.c (y1f): Likewise.
2320 * math/w_j1l.c (__y1l): Likewise
2321 * math/w_jn.c (yn): Likewise.
2322 * math/w_jnf.c (ynf): Likewise.
2323 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2324 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2325 value for Bessel function domain errors outside _SVID_ mode.
2326 Adjust sign of return value for yn (negative integer, 0).
2327 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2328 by zero in return for negative x and set sign appropriately for
2330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2331 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2332 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2333 expectations in error cases.
2334 (y1_test_data): Likewise.
2335 (yn_test_data): Likewise.
2336 * sysdeps/i386/fpu/libm-test-ulps: Update.
2337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2341 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2342 "64" to "64-v1". Add "64-v2".
2343 (abi-64-options): Rename to ...
2344 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2345 (abi-64-condition): Rename to ...
2346 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2347 (abi-64-ld-soname): Rename to ...
2348 (abi-64-v1-ld-soname): ... this.
2349 (abi-64-v2-options): Define.
2350 (abi-64-v2-condition): Likewise.
2351 (abi-64-v2-ld-soname): Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2353 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2358 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2359 Alan Modra <amodra@gmail.com>
2361 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2362 New versions for use with the ELFv2 ABI.
2363 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2364 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2366 (struct La_ppc64v2_retval): Likewise.
2367 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2368 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2369 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2370 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2371 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2372 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2373 Do not save or restore CR.
2374 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2375 (_dl_profile_resolve): Do no save or restore CR. Support extended
2376 return values for ELFv2 ABI. Fix location of FPR return registers.
2377 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2378 updated values for _CALL_ELF == 2.
2379 (La_regs, La_retval, int_retval): Likewise.
2381 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2383 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2384 (FRAME_MIN_SIZE_PARM): Likewise.
2385 (FRAME_BACKCHAIN): Likewise.
2386 (FRAME_CR_SAVE): Likewise.
2387 (FRAME_LR_SAVE): Likewise.
2388 (FRAME_TOC_SAVE): Likewise.
2389 (FRAME_PARM_SAVE): Likewise.
2390 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2391 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2392 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2393 (call_mcount_parm_offset): New macro.
2394 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2395 (PROF): Use symbolic stack frame offsets.
2396 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2397 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2398 Redefine in terms of FRAME_MIN_SIZE.
2399 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2400 (_dl_profile_resolve): Likewise. Update comment.
2401 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2402 symbols stack frame offsets.
2403 (__sigsetjmp): Likewise.
2404 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2405 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2406 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2407 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2410 (FRAME_BACKCHAIN): Remove.
2411 (FRAME_CR_SAVE): Likewise.
2412 (FRAME_LR_SAVE): Likewise.
2413 (FRAME_COMPILER_DW): Likewise.
2414 (FRAME_LINKER_DW): Likewise.
2415 (FRAME_TOC_SAVE): Likewise.
2416 (FRAME_PARM_SAVE): Likewise.
2417 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2418 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2419 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2421 (CHECK_SP): Use symbolic stack frame offsets.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2423 zone" instead of caller's parameter save area for temp storage.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2425 Likewise. Also, use symbolic stack frame offsets.
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2427 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2428 our own stack frame instead of the caller's.
2429 (__socket): Use symbolic stack frame offsets.
2431 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2432 Alan Modra <amodra@gmail.com>
2434 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2436 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2437 PPC64_LOCAL_ENTRY_OFFSET): Define.
2438 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2440 (elf_machine_fixup_plt): Call it.
2441 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2443 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2444 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2445 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2446 r2 before calling target.
2448 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2449 Alan Modra <amodra@gmail.com>
2451 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2452 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2453 versions of macros to support ELFv2 ABI.
2454 (LOCALENTRY): New macro.
2455 (ENTRY, EALIGN): Use it.
2456 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2457 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2458 fall through into ENTRY entry point.
2459 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2460 Only define if _CALL_ELF != 2.
2462 (elf_machine_matches_host): Verify ABI version matches.
2463 (RTLD_START): Use LOCALENTRY.
2464 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2465 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2466 (PLT_ENTRY_WORDS): New macro.
2467 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2468 (elf_machine_runtime_setup): Support ELFv2 ABI.
2469 (elf_machine_fixup_plt): Likewise.
2470 (elf_machine_plt_conflict): Likewise.
2471 (resolve_ifunc): Likewise.
2472 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2476 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2478 (makecontext): Support ELFv2 ABI.
2479 * elf/elf.h (EF_PPC64_ABI): Define.
2481 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2483 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2484 New assembler macro.
2485 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2486 [ASSEMBLER] (ENTRY): ... but instead here ...
2487 [ASSEMBLER] (EALIGN): ... and here.
2488 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2489 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2490 [!ASSEMBLER] (ENTRY_2): Use it.
2491 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2492 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2494 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2495 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2497 Use PPC64_LOAD_FUNCPTR.
2499 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2501 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2503 2013-12-04 Alan Modra <amodra@gmail.com>
2505 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2506 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2507 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2508 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2511 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2512 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2513 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2514 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2515 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2517 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2520 (__makecontext): Fix incorrect CFI when backtracing out of
2521 context created via makecontext.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2523 (__setcontext): Fix incorrect CFI during switch to new context.
2524 (__novec_setcontext): Likewise.
2526 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2529 * time/strptime_l.c (__strptime_internal): Allow modifiers
2531 * time/tst-strptime.c (day_tests): Add testcase.
2534 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2536 * scripts/bench.pl: Skip over blank lines.
2538 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2541 * manual/time.texi (Calendar Time): Clarify what timezone functions
2544 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2548 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2550 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2552 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2553 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2554 * debug/memset_chk.c (__memset_chk): Likewise.
2555 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2556 * debug/strncpy_chk.c: Likewise.
2558 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2562 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2563 (__ieee754_exp): For possibly underflowing results, check size of
2564 result and force underflow exception if required.
2565 * math/auto-libm-test-in: Add more tests of exp.
2566 * math/auto-libm-test-out: Regenerated.
2567 * sysdeps/i386/fpu/libm-test-ulps: Update.
2568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2571 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2572 * math/w_exp2f.c (__exp2f): Likewise.
2573 * math/w_exp2l.c (__exp2l): Likewise.
2574 * math/auto-libm-test-in: Do not allow missing errno on exp2
2576 * math/auto-libm-test-out: Regenerated.
2578 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2581 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2582 handle filename validation.
2583 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2586 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2589 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2590 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2591 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2593 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2594 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2595 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2596 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2597 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2599 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2600 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2601 Add more erfc tests.
2602 * math/auto-libm-test-out: Regenerated.
2603 * sysdeps/i386/fpu/libm-test-ulps: Update.
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2606 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2607 exp2, expm1, j0 and j1.
2608 * math/auto-libm-test-out: Regenerated.
2609 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2610 (erfc_test_data): Likewise.
2611 (exp_test_data): Likewise.
2612 (exp_tonearest_test_data): Likewise.
2613 (exp_towardzero_test_data): Likewise.
2614 (exp_downward_test_data): Likewise.
2615 (exp_upward_test_data): Likewise.
2616 (exp10_test_data): Likewise.
2617 (exp2_test_data): Likewise.
2618 (expm1_test_data): Likewise.
2619 (j0_test_data): Likewise.
2620 (j1_test_data): Likewise.
2621 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2622 (input_flag_type): Add flag_xfail_rounding.
2623 (input_flags): Add xfail-rounding.
2624 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2625 (output_for_one_input_case): Handle flag_xfail_rounding.
2626 * sysdeps/i386/fpu/libm-test-ulps: Update.
2627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2629 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2632 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2635 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2638 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2639 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2640 (STAP_PROBE0): New macro.
2641 (STAP_PROBE1): Likewise.
2642 (STAP_PROBE2): Likewise.
2643 (STAP_PROBE3): Likewise.
2644 (STAP_PROBE4): Likewise.
2646 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2648 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2650 2013-12-02 Steve Ellcey <sellcey@mips.com>
2652 * benchtests/Makefile (bench): Add sqrt.
2653 (LDLIBS-bench-sqrt): New.
2654 * benchtests/sqrt-input: New.
2656 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2658 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2659 (GAIH_EAI): Likewise.
2660 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2661 (gaih_inet): Likewise.
2662 (getaddrinfo): Don't use GAIH_EAI.
2664 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2665 (struct gaih): Remove definition.
2667 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2669 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2670 Use HERRNOP directly.
2672 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2676 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2678 * math/gen-auto-libm-tests.c (test_functions): Add more
2679 single-argument functions.
2680 (special_fill_pi_2): New function.
2681 (special_fill_minus_pi_2): Likewise.
2682 (special_fill_pi_6): Likewise.
2683 (special_fill_minus_pi_6): Likewise.
2684 (special_fill_pi_3): Likewise.
2685 (special_fill_2pi_3): Likewise.
2686 (special_fill_e): Likewise.
2687 (special_fill_1_e): Likewise.
2688 (special_fill_e_minus_1): Likewise.
2689 (special_real_inputs): Add more special inputs.
2690 (output_for_one_input_case): Do not require ERANGE on underflow to
2691 zero if round-to-nearest result does not underflow to zero, unless
2692 exact results required.
2693 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2694 atan, atanh, cbrt, cos and cosh.
2695 * math/auto-libm-test-out: Regenerated.
2696 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2697 (acos_tonearest_test_data): Likewise.
2698 (acos_towardzero_test_data): Likewise.
2699 (acos_downward_test_data): Likewise.
2700 (acos_upward_test_data): Likewise.
2701 (acosh_test_data): Likewise.
2702 (asin_test_data): Likewise.
2703 (asin_tonearest_test_data): Likewise.
2704 (asin_towardzero_test_data): Likewise.
2705 (asin_upward_test_data): Likewise.
2706 (asinh_test_data): Likewise.
2707 (atan_test_data): Likewise.
2708 (atanh_test_data): Likewise.
2709 (cbrt_test_data): Likewise.
2710 (cos_test_data): Likewise.
2711 (cos_tonearest_test_data): Likewise.
2712 (cos_towardzero_test_data): Likewise.
2713 (cos_downward_test_data): Likewise.
2714 (cos_upward_test_data): Likewise.
2715 (cosh_test_data): Likewise.
2716 (cosh_tonearest_test_data): Likewise.
2717 (cosh_towardzero_test_data): Likewise.
2718 (cosh_downward_test_data): Likewise.
2719 (cosh_upward_test_data): Likewise.
2720 * sysdeps/i386/fpu/libm-test-ulps: Update.
2721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2723 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2726 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2727 * math/w_exp10f.c (__exp10f): Likewise.
2728 * math/w_exp10l.c (__exp10l): Likewise.
2729 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2730 errno settings in existing tests.
2733 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2734 precision control set to double precision.
2735 * sysdeps/i386/fpu/w_sqrt.c: New file.
2736 * math/auto-libm-test-in: Add more tests.
2737 * math/auto-libm-test-out: Update.
2739 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2740 (sqrt_test_tonearest): New function.
2741 (sqrt_towardzero_test_data): New variable.
2742 (sqrt_test_towardzero): New function.
2743 (sqrt_downward_test_data): New variable.
2744 (sqrt_test_downward): New function.
2745 (sqrt_upward_test_data): New variable.
2746 (sqrt_test_upward): New function.
2747 (main): Call the new functions.
2749 * math/gen-auto-libm-tests.c: New file.
2750 * math/auto-libm-test-in: Likewise.
2751 * math/auto-libm-test-out: New generated file.
2752 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2754 (%beautify): Add generated representations of zero.
2755 (top level): Set $auto_input and call parse_auto_input.
2756 (beautify): Remove trailing "f" from hex float constants.
2757 (parse_args): Handle XFAIL_TEST.
2758 (convert_condition): New function.
2759 (or_value): Likewise.
2760 (or_cond_value): Likewise.
2761 (generate_testfile): Handle AUTO_TESTS_* lines.
2762 (parse_auto_input): New function.
2763 * math/libm-test.inc (XFAIL_TEST): New macro.
2764 (ERRNO_UNCHANGED): Update value.
2765 (ERRNO_EDOM): Likewise.
2766 (ERRNO_ERANGE): Likewise.
2767 (IGNORE_RESULT): Likewise.
2768 (TEST_COND_flt_32): New macro.
2769 (TEST_COND_dbl_64): Likewise.
2770 (TEST_COND_ldbl_96_intel): Likewise.
2771 (TEST_COND_ldbl_96_m68k): Likewise.
2772 (TEST_COND_ldbl_128): Likewise.
2773 (TEST_COND_ldbl_128ibm): Likewise.
2774 (TEST_COND_long32): Likewise.
2775 (TEST_COND_long64): Likewise.
2776 (TEST_COND_before_rounding): Likewise.
2777 (TEST_COND_after_rounding): Likewise.
2778 (enable_test): Handle XFAIL_TEST flag.
2779 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2780 with finite results.
2781 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2784 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2785 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2788 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2789 __tls_get_addr_internal instead of __tls_get_offset in order to
2790 avoid GOT pointer dependency. Make rtld export
2791 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2792 __tls_get_addr since we are a __tls_get_offset platform.
2793 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2794 GOT pointer being set up before.
2795 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2797 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2799 * manual/math.texi (Errors in Math Functions): Document accuracy
2803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2804 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2806 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2807 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2809 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2811 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2812 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2814 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2820 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2821 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2822 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2823 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2824 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2826 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2828 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2830 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2831 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2832 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2833 atomic-feupdateenv and flt-rounds.
2834 * sysdeps/powerpc/nofpu/Versions (libc): Add
2835 __atomic_feholdexcept, __atomic_feclearexcept,
2836 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2837 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2838 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2839 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2840 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2845 * manual/arith.texi (FP Exceptions): Document that exceptions may
2846 not be raised when matherr is used.
2847 (Math Error Reporting): Document overflow in directed rounding
2848 modes. Document that errno may not be set when finite values are
2849 returned on overflow. Document intent to set errno on underflow
2850 only for underflow to zero.
2853 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2854 round-to-nearest then adjust result for other rounding modes.
2855 * include/fenv.h (fegetround): Use libm_hidden_proto.
2856 * math/fegetround.c (fegetround): Use libm_hidden_def.
2857 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2858 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2859 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2860 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2862 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2863 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2864 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2865 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2867 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2870 * nss/Versions (libnss_files): Add
2871 _nss_files_gethostbyname3_r.
2872 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2874 (HOST_DB_LOOKUP): Remove macro.
2875 (_nss_files_gethostbyname_r): Implement function without the
2876 HOST_DB_LOOKUP macro.
2877 (_nss_files_gethostbyname2_r): Likewise.
2879 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2881 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2883 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2885 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2886 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2889 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2891 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2892 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2893 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2894 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2895 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2896 __fe_nomask_env_priv and attribute_hidden.
2897 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2898 (libc_feupdateenv_test_ppc): Likewise.
2899 (libc_feresetround_ppc): Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2901 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2902 compat_symbol macro.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2904 (__fe_nomask_env): Likewise.
2905 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2907 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2909 * string/Makefile: Remove ifunc tests.
2910 * string/test-string.h: Define TEST_IFUNC.
2911 * string/test-bcopy-ifunc.c: Remove.
2912 * string/test-bzero-ifunc.c: Likewise.
2913 * string/test-memccpy-ifunc.c: Likewise.
2914 * string/test-memchr-ifunc.c: Likewise.
2915 * string/test-memcmp-ifunc.c: Likewise.
2916 * string/test-memcpy-ifunc.c: Likewise.
2917 * string/test-memmem-ifunc.c: Likewise.
2918 * string/test-memmove-ifunc.c: Likewise.
2919 * string/test-mempcpy-ifunc.c: Likewise.
2920 * string/test-memrchr-ifunc.c: Likewise.
2921 * string/test-memset-ifunc.c: Likewise.
2922 * string/test-rawmemchr-ifunc.c: Likewise.
2923 * string/test-stpcpy-ifunc.c: Likewise.
2924 * string/test-stpncpy-ifunc.c: Likewise.
2925 * string/test-strcasecmp-ifunc.c: Likewise.
2926 * string/test-strcasestr-ifunc.c: Likewise.
2927 * string/test-strcat-ifunc.c: Likewise.
2928 * string/test-strchr-ifunc.c: Likewise.
2929 * string/test-strchrnul-ifunc.c: Likewise.
2930 * string/test-strcmp-ifunc.c: Likewise.
2931 * string/test-strcpy-ifunc.c: Likewise.
2932 * string/test-strcspn-ifunc.c: Likewise.
2933 * string/test-strlen-ifunc.c: Likewise.
2934 * string/test-strncasecmp-ifunc.c: Likewise.
2935 * string/test-strncat-ifunc.c: Likewise.
2936 * string/test-strncmp-ifunc.c: Likewise.
2937 * string/test-strncpy-ifunc.c: Likewise.
2938 * string/test-strnlen-ifunc.c: Likewise.
2939 * string/test-strpbrk-ifunc.c: Likewise.
2940 * string/test-strrchr-ifunc.c: Likewise.
2941 * string/test-strspn-ifunc.c: Likewise.
2942 * string/test-strstr-ifunc.c: Likewise.
2944 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2946 * benchtests/Makefile: Remove ifunc tests.
2947 * benchtests/bench-string.h: Define TEST_IFUNC.
2948 * benchtests/bench-bcopy-ifunc.c: Remove.
2949 * benchtests/bench-bzero-ifunc.c: Likewise.
2950 * benchtests/bench-memccpy-ifunc.c: Likewise.
2951 * benchtests/bench-memchr-ifunc.c: Likewise.
2952 * benchtests/bench-memcmp-ifunc.c: Likewise.
2953 * benchtests/bench-memcpy-ifunc.c: Likewise.
2954 * benchtests/bench-memmem-ifunc.c: Likewise.
2955 * benchtests/bench-memmove-ifunc.c: Likewise.
2956 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2957 * benchtests/bench-memrchr-ifunc.c: Likewise.
2958 * benchtests/bench-memset-ifunc.c: Likewise.
2959 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2960 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2961 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2962 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2963 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2964 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2965 * benchtests/bench-strcat-ifunc.c: Likewise.
2966 * benchtests/bench-strchr-ifunc.c: Likewise.
2967 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2968 * benchtests/bench-strcmp-ifunc.c: Likewise.
2969 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2970 * benchtests/bench-strcpy-ifunc.c: Likewise.
2971 * benchtests/bench-strcspn-ifunc.c: Likewise.
2972 * benchtests/bench-strlen-ifunc.c: Likewise.
2973 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2974 * benchtests/bench-strncat-ifunc.c: Likewise.
2975 * benchtests/bench-strncmp-ifunc.c: Likewise.
2976 * benchtests/bench-strncpy-ifunc.c: Likewise.
2977 * benchtests/bench-strnlen-ifunc.c: Likewise.
2978 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2979 * benchtests/bench-strrchr-ifunc.c: Likewise.
2980 * benchtests/bench-strsep-ifunc.c: Likewise.
2981 * benchtests/bench-strspn-ifunc.c: Likewise.
2982 * benchtests/bench-strstr-ifunc.c: Likewise.
2984 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2986 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2988 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2990 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2991 * rt/aio.h: Likewise.
2992 * sysdeps/gnu/bits/utmp.h: Likewise.
2993 * sysdeps/gnu/bits/utmpx.h: Likewise.
2994 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2995 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2996 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2997 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2998 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2999 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3000 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3001 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3003 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3005 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3006 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3008 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3009 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3010 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3011 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3012 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3013 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3014 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3015 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3016 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3017 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3018 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3020 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3021 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3022 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3024 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3025 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3026 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3028 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3029 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3030 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3031 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3032 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3033 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3034 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3035 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3037 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3040 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3041 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3043 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3045 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3046 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3049 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3052 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3053 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3054 (__fesetround): Remove define.
3055 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3056 rounding and exceptions handling.
3057 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3058 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3059 (__fe_nomask_env): Likewise.
3060 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3061 __fegetround instead of fegetround.
3062 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3063 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3065 2013-11-21 Roland McGrath <roland@hack.frob.com>
3067 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3070 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3072 2013-11-21 Meador Inge <meadori@codesourcery.com>
3075 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3076 (encrypt_r): Likewise.
3077 * malloc/obstack.h (obstack_free): Likewise.
3078 * posix/unistd.h (encrypt): Likewise.
3080 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3082 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3083 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3084 DL_CALL_DT_FINI() that call the functions directly.
3085 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3086 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3087 * elf/dl-fini.c: Likewise.
3089 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3091 * malloc/hooks.c (memalign_check): Add alignment rounding.
3092 * malloc/malloc.c (_mid_memalign): New function.
3093 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3094 Implement by calling _mid_memalign.
3095 * manual/probes.texi (Memory Allocation Probes): Remove
3096 memory_valloc_retry and memory_pvalloc_retry.
3098 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3100 * locale/programs/locarchive.c (open_archive): Add const
3101 qualifier to ARCHIVEFNAME and copy default fname to
3105 * libio/tst-widetext.input: Rename Oriya to Odia.
3106 * locale/iso-639.def: Likewise.
3108 * manual/probes.texi (Mathematical Function Probes): Add
3109 documentation for sin, cos, asin and acos probes.
3110 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3111 (__sin32): Add slowasin probe.
3112 (__cos32): Add slowacos probe.
3113 (__mpsin): Add slowsin probe.
3114 (__mpcos): Add slowcos probe.
3116 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3119 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3120 thread-local __sim_exceptions_thread and global
3121 __sim_exceptions_global.
3122 (__sim_disabled_exceptions): Change to thread-local
3123 __sim_disabled_exceptions_thread and global
3124 __sim_disabled_exceptions_global.
3125 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3126 and global __sim_round_mode_global.
3127 (__simulate_exceptions): Use thread-local floating-point state and
3128 set global state from it as needed.
3129 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3130 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3131 __sim_round_mode_thread.
3132 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3133 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3134 and global __sim_exceptions_global.
3135 (__sim_disabled_exceptions): Change to thread-local
3136 __sim_disabled_exceptions_thread and global
3137 __sim_disabled_exceptions_global.
3138 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3139 and global __sim_round_mode_global.
3140 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3141 (SIM_SET_GLOBAL): Likewise.
3142 * sysdeps/powerpc/soft-fp/sfp-machine.h
3143 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3144 __sim_round_mode_thread.
3145 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3146 __sim_disabled_exceptions_thread.
3147 (__sim_exceptions): Change to __sim_exceptions_thread.
3148 (__sim_disabled_exceptions): Change to
3149 __sim_disabled_exceptions_thread.
3150 (__sim_round_mode): Change to __sim_round_mode_thread.
3151 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3152 thread-local floating-point state and set global state from it as
3154 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3155 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3156 (__sim_disabled_exceptions): Remove extern declaration.
3157 (feenableexcept): Use thread-local floating-point state and set
3158 global state from it as needed.
3159 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3161 (__sim_disabled_exceptions): Likewise.
3162 (__sim_round_mode): Likewise.
3163 (__fegetenv): Use thread-local floating-point state.
3164 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3165 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3166 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3167 floating-point state and set global state from it as needed.
3168 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3169 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3170 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3172 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3173 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3175 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3176 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3177 Use __sim_round_mode_thread.
3178 * math/test-fenv-tls.c: New file.
3179 * math/Makefile (tests): Add test-fenv-tls.
3180 ($(objpfx)test-fenv-tls): Depend on
3181 $(common-objpfx)nptl/libpthread.so.
3183 2013-11-19 Andreas Schwab <schwab@suse.de>
3185 * locale/programs/locale.c (show_info): Decode wordarray elements.
3186 * locale/categories.def (LC_MONETARY): Add element for
3187 _NL_MONETARY_CRNCYSTR.
3188 * locale/C-monetary.c (conversion_rate): New variable.
3189 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3192 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3194 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3195 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3197 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3199 * elf/Makefile (tst-auxv): New test.
3200 * elf/tst-auxv.c: New
3201 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3203 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3205 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3206 (hidden_proto): Caller changed.
3207 (hidden_tls_proto): New macro.
3208 (libc_hidden_tls_proto): Likewise.
3209 (rtld_hidden_tls_proto): Likewise.
3210 (libm_hidden_tls_proto): Likewise.
3211 (libresolv_hidden_tls_proto): Likewise.
3212 (librt_hidden_tls_proto): Likewise.
3213 (libdl_hidden_tls_proto): Likewise.
3214 (libnss_files_hidden_tls_proto): Likewise.
3215 (libnsl_hidden_tls_proto): Likewise.
3216 (libnss_nisplus_hidden_tls_proto): Likewise.
3217 (libutil_hidden_tls_proto): Likewise.
3219 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3222 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3223 (decompose_rpath): Defer expansion to fillin_rpath.
3224 (_dl_init_paths): Pass linkmap to fillin_rpath.
3226 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3228 * benchtests/Makefile: Add strsep.
3229 * benchtests/bench-strsep.c: New file: strsep benchtest.
3230 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3232 2013-11-18 Andreas Schwab <schwab@suse.de>
3234 * locale/programs/locale.c (show_info) [case byte]: Check for
3235 '\377' instead of '\177'.
3236 * locale/C-monetary.c (not_available): Always use "\377".
3237 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3238 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3239 detect unavailable sign_posn locale elements.
3240 * locale/localeconv.c (__localeconv): For grouping and
3241 mon_grouping handle "\177" and "\377" like no grouping.
3242 (INT_ELEM): New macro. Use it to set all numeric members.
3243 * locale/programs/ld-monetary.c (monetary_read)
3244 <tok_mon_grouping>: Normalize single -1 to the empty string.
3245 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3248 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3251 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3252 when we match (nil).
3253 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3255 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3257 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3258 (NO_TEST_INLINE): Update value.
3259 (ERRNO_UNCHANGED): Likewise.
3260 (ERRNO_EDOM): Likewise.
3261 (ERRNO_ERANGE): Likewise.
3262 (IGNORE_RESULT): Likewise.
3263 (check_float_internal): Check signs of NaN results if
3265 (check_complex): Pass TEST_NAN_SIGN flag through to second
3266 check_float_internal call.
3267 (copysign_test_data): Add tests with quiet NaNs as second
3268 argument. Use TEST_NAN_SIGN.
3269 (fabs_test_data): Add test of negative quiet NaN argument. Use
3271 (signbit_test_data): Add tests of quiet NaN argument.
3272 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3274 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3276 (parse_args): Handle function results specified as IGNORE.
3277 * math/libm-test.inc (IGNORE_RESULT): New macro.
3278 (check_float_internal): Do not check numerical result if flag
3280 (check_complex): Pass through IGNORE_RESULT to second
3281 check_float_internal call.
3282 (check_int): Do not check numerical result if flag IGNORE_RESULT
3284 (check_long): Likewise.
3285 (check_bool): Likewise.
3286 (check_longlong): Likewise.
3287 (lrint_test_data): Add tests of infinite and NaN arguments.
3288 (lrint_tonearest_test_data): Likewise.
3289 (lrint_towardzero_test_data): Likewise.
3290 (lrint_downward_test_data): Likewise.
3291 (lrint_upward_test_data): Likewise.
3292 (llrint_test_data): Likewise.
3293 (llrint_tonearest_test_data): Likewise.
3294 (llrint_towardzero_test_data): Likewise.
3295 (llrint_downward_test_data): Likewise.
3296 (llrint_upward_test_data): Likewise.
3297 (lround_test_data): Likewise.
3298 (llround_test_data): Likewise.
3300 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3301 (ERRNO_UNCHANGED): Update value.
3302 (ERRNO_EDOM): Likewise.
3303 (ERRNO_ERANGE): Likewise.
3304 (NO_TEST_INLINE_FLOAT): New macro.
3305 (NO_TEST_INLINE_DOUBLE): Likewise.
3306 (enable_test): New function.
3307 (RUN_TEST_f_f): Check enable_test before running test.
3308 (RUN_TEST_2_f): Likewise.
3309 (RUN_TEST_fff_f): Likewise.
3310 (RUN_TEST_c_f): Likewise.
3311 (RUN_TEST_f_f1): Likewise.
3312 (RUN_TEST_fF_f1): Likewise.
3313 (RUN_TEST_fI_f1): Likewise.
3314 (RUN_TEST_ffI_f1): Likewise.
3315 (RUN_TEST_c_c): Likewise.
3316 (RUN_TEST_cc_c): Likewise.
3317 (RUN_TEST_f_i): Likewise.
3318 (RUN_TEST_f_i_tg): Likewise.
3319 (RUN_TEST_ff_i_tg): Likewise.
3320 (RUN_TEST_f_b): Likewise.
3321 (RUN_TEST_f_b_tg): Likewise.
3322 (RUN_TEST_f_l): Likewise.
3323 (RUN_TEST_f_L): Likewise.
3324 (RUN_TEST_fFF_11): Likewise.
3325 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3327 (cosh_test_data): Likewise.
3328 (exp_test_data): Likewise.
3329 (expm1_test_data): Likewise.
3330 (hypot_test_data): Likewise.
3331 (pow_test_data): Likewise.
3332 (sinh_test_data): Likewise.
3333 (tanh_test_data): Likewise.
3334 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3337 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3338 tests with quiet NaN input and output.
3339 (acosh_test_data): Likewise.
3340 (asin_test_data): Likewise.
3341 (asinh_test_data): Likewise.
3342 (atan_test_data): Likewise.
3343 (atanh_test_data): Likewise.
3344 (atan2_test_data): Likewise.
3345 (cbrt_test_data): Likewise.
3346 (cos_test_data): Likewise.
3347 (cosh_test_data): Likewise.
3348 (erf_test_data): Likewise.
3349 (erfc_test_data): Likewise.
3350 (exp_test_data): Likewise.
3351 (exp10_test_data): Likewise.
3352 (exp2_test_data): Likewise.
3353 (expm1_test_data): Likewise.
3354 (hypot_test_data): Likewise.
3355 (j0_test_data): Likewise.
3356 (j1_test_data): Likewise.
3357 (jn_test_data): Likewise.
3358 (lgamma_test_data): Likewise.
3359 (log_test_data): Likewise.
3360 (log10_test_data): Likewise.
3361 (log1p_test_data): Likewise.
3362 (log2_test_data): Likewise.
3363 (pow_test_data): Likewise.
3364 (scalb_test_data): Likewise.
3365 (sin_test_data): Likewise.
3366 (sincos_test_data): Likewise.
3367 (sinh_test_data): Likewise.
3368 (tan_test_data): Likewise.
3369 (tanh_test_data): Likewise.
3370 (tgamma_test_data): Likewise.
3371 (y0_test_data): Likewise.
3372 (y1_test_data): Likewise.
3373 (yn_test_data): Likewise.
3376 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3377 argument being NaN and avoid computations with second argument in
3379 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3380 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3381 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3383 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3385 * locale/iso-639.def: Add Chitwani Tharu (the).
3387 2013-11-14 Andreas Schwab <schwab@suse.de>
3389 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3390 word instead of empty string.
3392 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3395 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3397 (__fe_nomask_env): Likewise.
3399 2013-11-13 Steve Ellcey <sellcey@mips.com>
3401 * benchtests/bench-timing.h: Include time.h.
3403 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3406 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3408 * sysdeps/unix/sysv/linux/configure: Regenerated.
3410 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3413 * stdlib/strtod_l.c (round_and_return): Do not consider
3414 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3415 exponent one less than half the least subnormal exponent.
3416 * stdlib/test-strtod-round-data: Add more tests.
3417 * stdlib/tst-strtod-round.c (tests): Regenerated.
3419 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3422 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3423 (__fe_mask_env): Likewise.
3424 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3425 libm_hidden_proto and add function prototype.
3426 (__fe_mask_env): Add function prototype.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3428 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3430 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3432 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3434 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3436 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3437 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3439 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3441 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3442 of htab_find_slot().
3444 2013-11-11 David S. Miller <davem@davemloft.net>
3447 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3448 symbol in the non-vis3 case in static builds.
3449 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3450 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3451 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3452 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3454 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3457 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3460 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462 * benchtests/Makefile: Add bench-strtod.
3463 * benchtests/bench-strtod.c: New file: strtod benchtest
3465 2013-11-11 Andreas Schwab <schwab@suse.de>
3468 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3469 terminating NUL in key length.
3471 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3474 Add artificial ODP entry for vDSO symbol for PPC64.
3475 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3476 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3478 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3481 * nss/getent.c (services_keys): Recognize services starting with digit.
3483 2013-11-06 David S. Miller <davem@davemloft.net>
3486 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3487 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3489 2013-11-06 Will Newton <will.newton@linaro.org>
3491 * manual/memory.texi (Malloc Examples): Remove register
3492 keyword from examples.
3494 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3496 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3498 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3500 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3501 depending on [__GCC_IEC_559 > 0].
3502 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3503 depending on [__GCC_IEC_559_COMPLEX > 0].
3505 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3507 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3510 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3512 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3514 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3517 * malloc/malloc (malloc_info): Do not handle first bin as
3520 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3522 * locale/iso-639.def: Add Central Nahuatl (nhn).
3524 2013-11-01 Bruno Haible <bruno@clisp.org>
3527 * manual/math.texi (BSD Random): Specify range upper bound as
3530 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3532 * locale/iso-639.def: Add Meadow Mari (mhr).
3534 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3536 [BZ #14752], [BZ #15763]
3537 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3539 * rt/tst_shm.c: Add test for escaping directory.
3541 2013-10-31 Andreas Schwab <schwab@suse.de>
3544 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3545 followed by 'x' as part of digit sequence.
3546 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3548 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3551 * configure.ac: allow GNU Make 4.0 and greater.
3552 * configure: Regenerated.
3554 2013-10-30 Will Newton <will.newton@linaro.org>
3557 * malloc/hooks.c (memalign_check): Limit alignment to the
3558 maximum representable power of two.
3559 * malloc/malloc.c (__libc_memalign): Likewise.
3560 * malloc/tst-memalign.c (do_test): Add test for very
3561 large alignment values.
3562 * malloc/tst-posix_memalign.c (do_test): Likewise.
3564 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3567 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3568 (munmap_chunk): Likewise.
3569 (mremap_chunk): Likewise.
3571 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3574 * stdlib/div.c (div): Remove obsolete code.
3575 * stdlib/ldiv.c (ldiv): Likewise.
3576 * stdlib/lldiv.c (lldiv): Likewise.
3578 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3581 * nss/nss_files/files-XXX.c (get_contents_ret): New
3583 (get_contents): New function.
3584 (internal_getent): Use it. Expand size of LINEBUFLEN.
3586 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3588 * configure.in: Moved to ...
3589 * configure.ac: ... here. Change reference to configure.in
3591 * sysdeps/arm/preconfigure.ac: ... here.
3592 configure.in to configure.ac.
3593 * sysdeps/gnu/configure.in: Moved to ...
3594 * sysdeps/gnu/configure.ac: ... here.
3595 * sysdeps/i386/configure.in: Moved to ...
3596 * sysdeps/i386/configure.ac: ... here.
3597 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3598 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3599 * sysdeps/mach/configure.in: Moved to ...
3600 * sysdeps/mach/configure.ac: ... here.
3601 * sysdeps/mach/hurd/configure.in: Moved to ...
3602 * sysdeps/mach/hurd/configure.ac: ... here.
3603 * sysdeps/powerpc/configure.in: Moved to ...
3604 * sysdeps/powerpc/configure.ac: ... here.
3605 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3606 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3607 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3608 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3609 * sysdeps/s390/s390-32/configure.in: Moved to ...
3610 * sysdeps/s390/s390-32/configure.ac: ... here.
3611 * sysdeps/s390/s390-64/configure.in: Moved to ...
3612 * sysdeps/s390/s390-64/configure.ac: ... here.
3613 * sysdeps/sh/configure.in: Moved to ...
3614 * sysdeps/sh/configure.ac: ... here.
3615 * sysdeps/sparc/configure.in: Moved to ...
3616 * sysdeps/sparc/configure.ac: ... here.
3617 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3618 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3619 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3620 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3621 * sysdeps/x86_64/configure.in: Moved to ...
3622 * sysdeps/x86_64/configure.ac: ... here.
3623 * sysdeps/x86_64/preconfigure.in: Moved to ...
3624 * sysdeps/x86_64/preconfigure.ac: ... here.
3625 * aclocal.m4: Change reference to configure.in to configure.ac.
3626 * config.h.in: Likewise.
3627 * manual/install.texi: Likewise.
3628 * manual/maint.texi: Likewise.
3629 * Makefile: Likewise.
3630 * malloc/Makefile: Likewise.
3631 * nscd/Makefile: Likewise.
3632 * Makeconfig: Change reference to configure.in and
3633 preconfigure.in to configure.ac and preconfigure.ac
3635 * INSTALL: Regenerated.
3636 * configure: Likewise.
3637 * sysdeps/gnu/configure: Likewise.
3638 * sysdeps/i386/configure: Likewise.
3639 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3640 * sysdeps/mach/configure: Likewise.
3641 * sysdeps/mach/hurd/configure: Likewise.
3642 * sysdeps/powerpc/configure: Likewise.
3643 * sysdeps/powerpc/powerpc32/configure: Likewise.
3644 * sysdeps/powerpc/powerpc64/configure: Likewise.
3645 * sysdeps/s390/s390-32/configure: Likewise.
3646 * sysdeps/s390/s390-64/configure: Likewise.
3647 * sysdeps/sh/configure: Likewise.
3648 * sysdeps/sparc/configure: Likewise.
3649 * sysdeps/unix/sysv/linux/configure: Likewise.
3650 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3651 * sysdeps/x86_64/configure: Likewise.
3652 * sysdeps/x86_64/preconfigure: Likewise.
3654 2013-10-29 Andreas Schwab <schwab@suse.de>
3656 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3658 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3660 * benchtests/pow-inputs: Add new inputs.
3662 * benchtests/exp-inputs: Add new inputs.
3664 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3665 conditional check for return value.
3666 (__cos32): Likewise.
3668 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3671 to provide a boost for large inputs with word alignment.
3672 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3673 implementation based on optimized PPC64 strcpy.
3674 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3675 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3676 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3677 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3679 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3682 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3684 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3687 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3688 * time/tst-strptime.c (day_tests): Add testcase.
3690 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3693 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3695 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3698 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3699 MAP_FAILED on error.
3701 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3704 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3705 heap for large requests.
3707 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3710 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3711 result if the result has no associated interface.
3712 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3713 interface for all 127.X.Y.Z addresses.
3715 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3717 * locale/iso-639.def: Add Ligurian (lij)
3719 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3722 * sunrpc/rpc_main.c: Document rpcgen -5.
3724 2013-10-19 Michael Stahl <mstahl@redhat.com>
3726 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3728 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3731 * posix/glob.c: Match only directories when trailing slash is present.
3732 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3733 (main): Add testcase.
3735 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3738 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3740 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3742 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3743 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3744 AUTH_DES and cindex for FIPS 140-2.
3745 (DES Encryption): Add cindex FIPS 46-3.
3747 * locale/locarchive.h (struct locarhandle): Add fname.
3748 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3749 if an optional argument was specified to --list-archive,
3751 * locale/programs/locarchive.c (show_archive_content): Take new
3752 argument fname and pass it via ah.fname to open_archive.
3753 * locale/programs/localedef.h: Update decl.
3754 (open_archive): If AH->fname is non-null, open that file
3755 rather than the default file name, and don't ignore ENOENT.
3756 (create_archive): Set AH.fname to NULL.
3757 (delete_locales_from_archive): Likewise.
3758 (add_locales_to_archive): Likewise.
3759 * locale/programs/locfile.c (write_all_categories): Likewise.
3761 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3762 Aldy Hernandez <aldyh@redhat.com>
3764 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3765 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3766 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3767 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3768 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3769 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3770 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3771 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3772 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3773 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3774 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3775 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3776 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3777 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3778 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3780 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3782 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3784 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3786 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3787 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3789 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3790 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3791 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3792 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3794 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3795 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3796 * sysdeps/powerpc/preconfigure: Likewise.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3799 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3800 Replace contents of file by #include of <fenv_libc.h>.
3801 * sysdeps/powerpc/soft-fp/sfp-machine.h
3802 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3804 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3805 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3806 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3807 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3808 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3809 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3811 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3812 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3813 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3814 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3815 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3817 Allow copysignl PLT reference to be missing.
3819 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3820 Joseph Myers <joseph@codesourcery.com
3823 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3825 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3827 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3829 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3830 * elf/tst-tls1.c: Likewise.
3831 * elf/tst-tls10.h: Likewise.
3832 * elf/tst-tls14.c: Likewise.
3833 * elf/tst-tls2.c: Likewise.
3834 * elf/tst-tls3.c: Likewise.
3835 * elf/tst-tls4.c: Likewise.
3836 * elf/tst-tls5.c: Likewise.
3837 * elf/tst-tls6.c: Likewise.
3838 * elf/tst-tls7.c: Likewise.
3839 * elf/tst-tls8.c: Likewise.
3840 * elf/tst-tls9.c: Likewise.
3841 * elf/tst-tlsmod1.c: Likewise.
3842 * elf/tst-tlsmod13.c: Likewise.
3843 * elf/tst-tlsmod13a.c: Likewise.
3844 * elf/tst-tlsmod14a.c: Likewise.
3845 * elf/tst-tlsmod16a.c: Likewise.
3846 * elf/tst-tlsmod16b.c: Likewise.
3847 * elf/tst-tlsmod2.c: Likewise.
3848 * elf/tst-tlsmod3.c: Likewise.
3849 * elf/tst-tlsmod4.c: Likewise.
3850 * elf/tst-tlsmod5.c: Likewise.
3851 * elf/tst-tlsmod6.c: Likewise.
3853 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3856 * malloc/malloc.c: remove checks for statistics.
3858 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3861 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3862 * inet/tst-network.c: Add testcase.
3864 2013-10-17 Andreas Schwab <schwab@suse.de>
3867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3868 to determine canonical name.
3870 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3872 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3873 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3889 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3896 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3897 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3902 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3904 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3905 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3906 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3907 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3913 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3914 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3915 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3916 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3931 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3934 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3935 make result into a quiet NaN.
3937 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3939 * soft-fp/adddf3.c: Fix horizontal whitespace.
3940 * soft-fp/addsf3.c: Likewise.
3941 * soft-fp/addtf3.c: Likewise.
3942 * soft-fp/divdf3.c: Likewise.
3943 * soft-fp/divsf3.c: Likewise.
3944 * soft-fp/divtf3.c: Likewise.
3945 * soft-fp/double.h: Likewise.
3946 * soft-fp/eqdf2.c: Likewise.
3947 * soft-fp/eqsf2.c: Likewise.
3948 * soft-fp/eqtf2.c: Likewise.
3949 * soft-fp/extenddftf2.c: Likewise.
3950 * soft-fp/extended.h: Likewise.
3951 * soft-fp/extendsfdf2.c: Likewise.
3952 * soft-fp/extendsftf2.c: Likewise.
3953 * soft-fp/extendxftf2.c: Likewise.
3954 * soft-fp/fixdfdi.c: Likewise.
3955 * soft-fp/fixdfsi.c: Likewise.
3956 * soft-fp/fixdfti.c: Likewise.
3957 * soft-fp/fixsfdi.c: Likewise.
3958 * soft-fp/fixsfsi.c: Likewise.
3959 * soft-fp/fixsfti.c: Likewise.
3960 * soft-fp/fixtfdi.c: Likewise.
3961 * soft-fp/fixtfsi.c: Likewise.
3962 * soft-fp/fixtfti.c: Likewise.
3963 * soft-fp/fixunsdfdi.c: Likewise.
3964 * soft-fp/fixunsdfsi.c: Likewise.
3965 * soft-fp/fixunsdfti.c: Likewise.
3966 * soft-fp/fixunssfdi.c: Likewise.
3967 * soft-fp/fixunssfsi.c: Likewise.
3968 * soft-fp/fixunssfti.c: Likewise.
3969 * soft-fp/fixunstfdi.c: Likewise.
3970 * soft-fp/fixunstfsi.c: Likewise.
3971 * soft-fp/fixunstfti.c: Likewise.
3972 * soft-fp/floatdidf.c: Likewise.
3973 * soft-fp/floatdisf.c: Likewise.
3974 * soft-fp/floatditf.c: Likewise.
3975 * soft-fp/floatsidf.c: Likewise.
3976 * soft-fp/floatsisf.c: Likewise.
3977 * soft-fp/floatsitf.c: Likewise.
3978 * soft-fp/floattidf.c: Likewise.
3979 * soft-fp/floattisf.c: Likewise.
3980 * soft-fp/floattitf.c: Likewise.
3981 * soft-fp/floatundidf.c: Likewise.
3982 * soft-fp/floatundisf.c: Likewise.
3983 * soft-fp/floatunditf.c: Likewise.
3984 * soft-fp/floatunsidf.c: Likewise.
3985 * soft-fp/floatunsisf.c: Likewise.
3986 * soft-fp/floatunsitf.c: Likewise.
3987 * soft-fp/floatuntidf.c: Likewise.
3988 * soft-fp/floatuntisf.c: Likewise.
3989 * soft-fp/floatuntitf.c: Likewise.
3990 * soft-fp/fmadf4.c: Likewise.
3991 * soft-fp/fmasf4.c: Likewise.
3992 * soft-fp/fmatf4.c: Likewise.
3993 * soft-fp/gedf2.c: Likewise.
3994 * soft-fp/gesf2.c: Likewise.
3995 * soft-fp/getf2.c: Likewise.
3996 * soft-fp/ledf2.c: Likewise.
3997 * soft-fp/lesf2.c: Likewise.
3998 * soft-fp/letf2.c: Likewise.
3999 * soft-fp/muldf3.c: Likewise.
4000 * soft-fp/mulsf3.c: Likewise.
4001 * soft-fp/multf3.c: Likewise.
4002 * soft-fp/negdf2.c: Likewise.
4003 * soft-fp/negsf2.c: Likewise.
4004 * soft-fp/negtf2.c: Likewise.
4005 * soft-fp/op-1.h: Likewise.
4006 * soft-fp/op-2.h: Likewise.
4007 * soft-fp/op-4.h: Likewise.
4008 * soft-fp/op-8.h: Likewise.
4009 * soft-fp/op-common.h: Likewise.
4010 * soft-fp/quad.h: Likewise.
4011 * soft-fp/single.h: Likewise.
4012 * soft-fp/soft-fp.h: Likewise.
4013 * soft-fp/sqrtdf2.c: Likewise.
4014 * soft-fp/sqrtsf2.c: Likewise.
4015 * soft-fp/sqrttf2.c: Likewise.
4016 * soft-fp/subdf3.c: Likewise.
4017 * soft-fp/subsf3.c: Likewise.
4018 * soft-fp/subtf3.c: Likewise.
4019 * soft-fp/truncdfsf2.c: Likewise.
4020 * soft-fp/trunctfdf2.c: Likewise.
4021 * soft-fp/trunctfsf2.c: Likewise.
4022 * soft-fp/trunctfxf2.c: Likewise.
4023 * soft-fp/unorddf2.c: Likewise.
4024 * soft-fp/unordsf2.c: Likewise.
4025 * soft-fp/unordtf2.c: Likewise.
4027 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4029 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4030 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4032 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4034 * elf/dl-libc.c: Clear initfini list after freeing.
4036 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4038 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4039 * soft-fp/addsf3.c: Likewise.
4040 * soft-fp/addtf3.c: Likewise.
4041 * soft-fp/divdf3.c: Likewise.
4042 * soft-fp/divsf3.c: Likewise.
4043 * soft-fp/divtf3.c: Likewise.
4044 * soft-fp/double.h: Likewise.
4045 * soft-fp/eqdf2.c: Likewise.
4046 * soft-fp/eqsf2.c: Likewise.
4047 * soft-fp/eqtf2.c: Likewise.
4048 * soft-fp/extenddftf2.c: Likewise.
4049 * soft-fp/extended.h: Likewise.
4050 * soft-fp/extendsfdf2.c: Likewise.
4051 * soft-fp/extendsftf2.c: Likewise.
4052 * soft-fp/extendxftf2.c: Likewise.
4053 * soft-fp/fixdfdi.c: Likewise.
4054 * soft-fp/fixdfsi.c: Likewise.
4055 * soft-fp/fixdfti.c: Likewise.
4056 * soft-fp/fixsfdi.c: Likewise.
4057 * soft-fp/fixsfsi.c: Likewise.
4058 * soft-fp/fixsfti.c: Likewise.
4059 * soft-fp/fixtfdi.c: Likewise.
4060 * soft-fp/fixtfsi.c: Likewise.
4061 * soft-fp/fixtfti.c: Likewise.
4062 * soft-fp/fixunsdfdi.c: Likewise.
4063 * soft-fp/fixunsdfsi.c: Likewise.
4064 * soft-fp/fixunsdfti.c: Likewise.
4065 * soft-fp/fixunssfdi.c: Likewise.
4066 * soft-fp/fixunssfsi.c: Likewise.
4067 * soft-fp/fixunssfti.c: Likewise.
4068 * soft-fp/fixunstfdi.c: Likewise.
4069 * soft-fp/fixunstfsi.c: Likewise.
4070 * soft-fp/fixunstfti.c: Likewise.
4071 * soft-fp/floatdidf.c: Likewise.
4072 * soft-fp/floatdisf.c: Likewise.
4073 * soft-fp/floatditf.c: Likewise.
4074 * soft-fp/floatsidf.c: Likewise.
4075 * soft-fp/floatsisf.c: Likewise.
4076 * soft-fp/floatsitf.c: Likewise.
4077 * soft-fp/floattidf.c: Likewise.
4078 * soft-fp/floattisf.c: Likewise.
4079 * soft-fp/floattitf.c: Likewise.
4080 * soft-fp/floatundidf.c: Likewise.
4081 * soft-fp/floatundisf.c: Likewise.
4082 * soft-fp/floatunsidf.c: Likewise.
4083 * soft-fp/floatunsisf.c: Likewise.
4084 * soft-fp/floatuntidf.c: Likewise.
4085 * soft-fp/floatuntisf.c: Likewise.
4086 * soft-fp/floatuntitf.c: Likewise.
4087 * soft-fp/fmadf4.c: Likewise.
4088 * soft-fp/fmasf4.c: Likewise.
4089 * soft-fp/fmatf4.c: Likewise.
4090 * soft-fp/gedf2.c: Likewise.
4091 * soft-fp/gesf2.c: Likewise.
4092 * soft-fp/getf2.c: Likewise.
4093 * soft-fp/ledf2.c: Likewise.
4094 * soft-fp/lesf2.c: Likewise.
4095 * soft-fp/letf2.c: Likewise.
4096 * soft-fp/muldf3.c: Likewise.
4097 * soft-fp/mulsf3.c: Likewise.
4098 * soft-fp/multf3.c: Likewise.
4099 * soft-fp/negdf2.c: Likewise.
4100 * soft-fp/negsf2.c: Likewise.
4101 * soft-fp/negtf2.c: Likewise.
4102 * soft-fp/op-1.h: Likewise.
4103 * soft-fp/op-2.h: Likewise.
4104 * soft-fp/op-4.h: Likewise.
4105 * soft-fp/op-8.h: Likewise.
4106 * soft-fp/op-common.h: Likewise.
4107 * soft-fp/quad.h: Likewise.
4108 * soft-fp/single.h: Likewise.
4109 * soft-fp/soft-fp.h: Likewise.
4110 * soft-fp/sqrtdf2.c: Likewise.
4111 * soft-fp/sqrtsf2.c: Likewise.
4112 * soft-fp/sqrttf2.c: Likewise.
4113 * soft-fp/subdf3.c: Likewise.
4114 * soft-fp/subsf3.c: Likewise.
4115 * soft-fp/subtf3.c: Likewise.
4116 * soft-fp/truncdfsf2.c: Likewise.
4117 * soft-fp/trunctfdf2.c: Likewise.
4118 * soft-fp/trunctfsf2.c: Likewise.
4119 * soft-fp/trunctfxf2.c: Likewise.
4120 * soft-fp/unorddf2.c: Likewise.
4121 * soft-fp/unordsf2.c: Likewise.
4122 * soft-fp/unordtf2.c: Likewise.
4124 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4127 * misc/error.c (error_tail): Fix possible buffer overflow.
4129 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4132 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4135 2013-10-14 P. J. McDermott <pj@pehjota.net>
4138 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4139 testing pipefail option.
4141 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4143 * soft-fp/double.h: Indent preprocessor directives inside #if.
4144 * soft-fp/extended.h: Likewise.
4145 * soft-fp/op-2.h: Likewise.
4146 * soft-fp/op-4.h: Likewise.
4147 * soft-fp/op-common.h: Likewise.
4148 * soft-fp/quad.h: Likewise.
4149 * soft-fp/single.h: Likewise.
4150 * soft-fp/soft-fp.h: Likewise.
4152 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4154 * iconv/iconv_prog.c: Fix typos.
4155 * stdio-common/psiginfo-data.h: Likewise.
4157 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4160 * locale/setlocale.c: Fix typo.
4162 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4165 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4166 signaling NaN arguments.
4167 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4168 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4171 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4173 * soft-fp/gesf2.c (__gesf2): Likewise.
4174 * soft-fp/getf2.c (__getf2): Likewise.
4175 * soft-fp/ledf2.c (__ledf2): Likewise.
4176 * soft-fp/lesf2.c (__lesf2): Likewise.
4177 * soft-fp/letf2.c (__letf2): Likewise.
4179 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4180 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4181 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4182 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4183 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4184 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4185 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4186 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4187 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4188 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4189 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4190 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4191 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4192 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4193 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4194 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4195 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4196 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4197 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4198 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4199 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4200 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4201 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4202 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4203 * soft-fp/floattidf.c (__floattidf): Likewise.
4204 * soft-fp/floattisf.c (__floattisf): Likewise.
4205 * soft-fp/floattitf.c (__floattitf): Likewise.
4206 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4207 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4208 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4209 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4210 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4211 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4212 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4213 * soft-fp/gesf2.c (__gesf2): Likewise.
4214 * soft-fp/getf2.c (__getf2): Likewise.
4215 * soft-fp/ledf2.c (__ledf2): Likewise.
4216 * soft-fp/lesf2.c (__lesf2): Likewise.
4217 * soft-fp/letf2.c (__letf2): Likewise.
4219 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4220 Undefine and redefine.
4221 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4222 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4223 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4224 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4225 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4226 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4227 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4228 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4229 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4230 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4231 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4232 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4233 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4234 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4235 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4238 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4239 without decrementing exponent if mantissa >= that for the
4241 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4242 denominator, not >. Decrement exponent in < case instead of
4243 incrementing in >= case.
4244 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4245 without decrementing exponent if mantissa >= that for the
4248 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4249 computing saturated result for unsigned overflow.
4251 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4252 Jeff Law <law@redhat.com>
4254 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4255 (atan2Mp): Add systemtap probe marker.
4256 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4257 (__ieee754_log): Add systemtap probe marker.
4258 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4259 (atanMp): Add systemtap probe marker.
4260 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4261 (tanMp): Add systemtap probe marker.
4262 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4263 (__slowexp): Add systemtap probe marker.
4264 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4265 (__slowpow): Add systemtap probe marker.
4266 * manual/probes.texi: Document probes.
4268 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4271 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4273 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4275 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4276 written to buffer but not flushed.
4277 * libio/iofwrite_u.c: Likewise.
4278 * libio/iopadn.c: Return bytes returned even if EOF was
4280 * libio/iowpadn.c: Likewise.
4281 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4282 if _IO_padn does not write the whole buffer.
4283 [!COMPILE_WPRINTF] (PAD): Likewise.
4285 2013-10-10 David S. Miller <davem@davemloft.net>
4287 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4290 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4292 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4293 instead of FSF address.
4294 * soft-fp/fixdfti.c: Likewise.
4295 * soft-fp/fixsfti.c: Likewise.
4296 * soft-fp/fixtfti.c: Likewise.
4297 * soft-fp/fixunsdfti.c: Likewise.
4298 * soft-fp/fixunssfti.c: Likewise.
4299 * soft-fp/fixunstfti.c: Likewise.
4300 * soft-fp/floattidf.c: Likewise.
4301 * soft-fp/floattisf.c: Likewise.
4302 * soft-fp/floattitf.c: Likewise.
4303 * soft-fp/floatuntidf.c: Likewise.
4304 * soft-fp/floatuntisf.c: Likewise.
4305 * soft-fp/floatuntitf.c: Likewise.
4306 * soft-fp/trunctfxf2.c: Likewise.
4308 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4309 * soft-fp/fixdfti.c: Likewise.
4310 * soft-fp/fixsfti.c: Likewise.
4311 * soft-fp/fixtfti.c: Likewise.
4312 * soft-fp/fixunsdfti.c: Likewise.
4313 * soft-fp/fixunssfti.c: Likewise.
4314 * soft-fp/fixunstfti.c: Likewise.
4315 * soft-fp/floattidf.c: Likewise.
4316 * soft-fp/floattisf.c: Likewise.
4317 * soft-fp/floattitf.c: Likewise.
4318 * soft-fp/floatuntidf.c: Likewise.
4319 * soft-fp/floatuntisf.c: Likewise.
4320 * soft-fp/floatuntitf.c: Likewise.
4321 * soft-fp/trunctfxf2.c: Likewise.
4323 2013-10-10 David S. Miller <davem@davemloft.net>
4325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4327 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4329 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4330 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4331 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4332 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4333 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4334 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4335 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4338 for NaNs before doing comparisons on argument.
4339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4342 2013-10-10 Will Newton <will.newton@linaro.org>
4344 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4345 passed to _int_memalign does not overflow.
4347 2013-10-10 Torvald Riegel <triegel@redhat.com>
4349 * scripts/bench.pl: Add include-sources directive.
4350 * benchtests/README: Update documentation.
4352 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4354 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4355 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4356 instead of FP_INIT_ROUNDMODE.
4357 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4358 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4361 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4362 copy class of input value.
4363 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4364 not handle exceptions.
4365 * soft-fp/negsf2.c (__negsf2): Likewise.
4366 * soft-fp/negtf2.c (__negtf2): Likewise.
4367 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4369 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4371 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4372 semicolon. From Linux kernel.
4374 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4376 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4378 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4381 * manual/socket.texi: Added statement about buffer
4382 for gethostbyname2_r.
4384 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4386 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4387 Use .p2align directive instead, throughout.
4388 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4389 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4390 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4392 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4393 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4394 * sysdeps/x86_64/strchr.S: Likewise.
4395 * sysdeps/x86_64/strrchr.S: Likewise.
4397 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4399 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4401 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4403 * sysdeps/generic/math_private.h (__mpsin1): Remove
4405 (__mpcos1): Likewise.
4406 (__mpsin): New argument __range_reduce.
4407 (__mpcos): Likewise.
4408 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4409 (slow): Use __mpsin and __mpcos.
4416 (bsloww1): Likewise.
4417 (bsloww2): Likewise.
4420 (csloww1): Likewise.
4421 (csloww2): Likewise.
4422 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4423 range_reduce. Merge in __mpsin1.
4424 (__mpcos): Likewise.
4426 (__mpcos1): Likewise.
4428 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4430 * locale/loadlocale.c (_nl_intern_locale_data): Use
4432 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4433 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4434 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4435 obstack data is appropriately aligned.
4436 (obstack_int32_grow_fast): Likewise.
4437 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4438 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4439 (add_locale_uint32_array): Likewise.
4441 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4443 * benchtests/Makefile: Remove ARGLIST and RET variables.
4444 ($(objpfx)bench-%.c): Pass only function name to the script.
4445 * benchtests/README: Update documentation.
4446 * benchtests/acos-inputs: Add new directives.
4447 * benchtests/acosh-inputs: Likewise.
4448 * benchtests/asin-inputs: Likewise.
4449 * benchtests/asinh-inputs: Likewise.
4450 * benchtests/atan-inputs: Likewise.
4451 * benchtests/atanh-inputs: Likewise.
4452 * benchtests/cos-inputs: Likewise.
4453 * benchtests/cosh-inputs: Likewise.
4454 * benchtests/exp-inputs: Likewise.
4455 * benchtests/log-inputs: Likewise.
4456 * benchtests/pow-inputs: Likewise.
4457 * benchtests/rint-inputs: Likewise.
4458 * benchtests/sin-inputs: Likewise.
4459 * benchtests/sinh-inputs: Likewise.
4460 * benchtests/tan-inputs: Likewise.
4461 * benchtests/tanh-inputs: Likewise.
4462 * scripts/bench.pl: Add support for new directives.
4464 2013-10-07 Alan Modra <amodra@gmail.com>
4466 * README: Fix careless merge.
4468 2013-10-05 Alan Modra <amodra@gmail.com>
4470 * NEWS: Mention powerpc64le support and bugs fixed.
4471 * README: Both big-endian and little-endian powerpc64 supported.
4473 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4475 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4476 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4477 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4478 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4480 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4482 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4485 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4487 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4488 Move -mhard-float appending from
4489 ports/sysdeps/powerpc/powerpc32/Makefile.
4490 [$(with-fp) = yes] (ASFLAGS): Likewise.
4491 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4492 * sysdeps/powerpc/nofpu: Move directory from
4493 ports/sysdeps/powerpc/nofpu.
4494 * sysdeps/powerpc/soft-fp: Move directory from
4495 ports/sysdeps/powerpc/soft-fp.
4496 * sysdeps/powerpc/powerpc32/405: Move directory from
4497 ports/sysdeps/powerpc/powerpc32/405.
4498 * sysdeps/powerpc/powerpc32/440: Move directory from
4499 ports/sysdeps/powerpc/powerpc32/440.
4500 * sysdeps/powerpc/powerpc32/464: Move directory from
4501 ports/sysdeps/powerpc/powerpc32/464.
4502 * sysdeps/powerpc/powerpc32/476: Move directory from
4503 ports/sysdeps/powerpc/powerpc32/476.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4505 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4507 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4509 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4511 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4513 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4514 * README: Update for powerpc-*-linux-gnu software floating point
4517 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4518 case to powerpc/powerpc32*.
4519 * sysdeps/unix/sysv/linux/configure: Regenerated.
4521 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4522 (_FPU_MASK_OM): Define as 0x04.
4523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4531 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4534 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4537 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4538 and setcontext_e500.
4540 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4542 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4544 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4546 * manual/threads.texi (Default Thread Attributes): Fix typo.
4548 2013-10-04 Will Newton <will.newton@linaro.org>
4550 * malloc/Makefile: Add tst-memalign.
4551 * malloc/tst-memalign.c: New file.
4553 * malloc/tst-posix_memalign.c: Add comments.
4554 (do_test): Add comments and call free on all potentially
4555 allocated pointers. Add space after cast.
4557 * malloc/tst-pvalloc.c: Add comments.
4558 (do_test): Add comments and call free on all potentially
4559 allocated pointers. Remove duplicate check for NULL pointer.
4560 Add space after cast.
4562 * malloc/tst-valloc.c: Add comments.
4563 (do_test): Add comments and call free on all potentially
4564 allocated pointers. Remove duplicate check for NULL pointer.
4565 Add space after cast.
4567 2013-10-04 Alan Modra <amodra@gmail.com>
4569 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4570 Use stdint types in rather than __attribute__((mode())).
4571 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4573 2013-10-04 Alan Modra <amodra@gmail.com>
4575 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4576 Correct handling of unaligned relocs for little-endian.
4577 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4579 2013-10-04 Alan Modra <amodra@gmail.com>
4581 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4582 * configure: Regenerate.
4583 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4584 * shlib-versions: Likewise.
4586 2013-10-04 Alan Modra <amodra@gmail.com>
4588 * string/tester.c (test_memrchr): Increment reported test cycle.
4590 2013-10-04 Alan Modra <amodra@gmail.com>
4592 * string/test-memcpy.c (do_one_test): When reporting errors, print
4593 string address and don't overrun end of string.
4595 2013-10-04 Alan Modra <amodra@gmail.com>
4597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4598 insrdi. Make better use of reg selection to speed exit slightly.
4599 Schedule entry path a little better. Remove useless "are we done"
4600 checks on entry to main loop. Handle wrapping around zero address.
4601 Correct main loop count. Handle single left-over word from main
4602 loop inline rather than by using loop_small. Remove extra word
4603 case in loop_small caused by wrong loop count. Add little-endian
4605 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4608 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4609 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4610 support. Avoid rlwimi.
4611 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4613 2013-10-04 Alan Modra <amodra@gmail.com>
4615 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4617 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4618 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4619 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4620 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4621 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4622 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4624 2013-10-04 Alan Modra <amodra@gmail.com>
4626 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4628 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4629 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4630 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4631 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4635 use of regs. Use power7 mtocrf. Tidy function tails.
4637 2013-10-04 Alan Modra <amodra@gmail.com>
4639 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4640 Formatting. Consistently use rXXX register defines or rN defines.
4641 Use early exit labels that avoid restoring unused non-volatile regs.
4642 Make cr field use more consistent with rWORDn compares. Rename
4643 regs used as shift registers for unaligned loop, using rN defines
4644 for short lifetime/multiple use regs.
4645 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4646 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4647 addi 1,1,64 to pop stack frame. Simplify return value code.
4648 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4650 2013-10-04 Alan Modra <amodra@gmail.com>
4652 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4653 support. Correct typos, formatting. Optimize tail. Use insrdi
4655 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4656 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4657 little-endian support. Correct typos.
4658 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4660 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4661 in loop and entry code to keep "and." results.
4662 (strchr): Add little-endian support. Comment. Move cntlzd
4664 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4666 2013-10-04 Alan Modra <amodra@gmail.com>
4668 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4669 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4670 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4671 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4673 2013-10-04 Alan Modra <amodra@gmail.com>
4675 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4676 (rTMP): Define as r11.
4677 (strcmp): Add little-endian support. Optimise tail.
4678 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4679 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4680 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4681 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4686 2013-10-04 Alan Modra <amodra@gmail.com>
4688 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4689 little-endian support. Remove unnecessary "are we done" tests.
4690 Handle "s" wrapping around zero and extremely large "size".
4691 Correct main loop count. Handle single left-over word from main
4692 loop inline rather than by using small_loop. Correct comments.
4693 Delete "zero" tail, use "end_max" instead.
4694 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4696 2013-10-04 Alan Modra <amodra@gmail.com>
4698 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4699 support. Don't branch over align.
4700 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4701 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4702 support. Rearrange tmp reg use to suit. Comment.
4703 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4705 2013-10-04 Alan Modra <amodra@gmail.com>
4707 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4709 2013-10-04 Alan Modra <amodra@gmail.com>
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4712 conditional form of branch and link when obtaining pc.
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4715 2013-10-04 Alan Modra <amodra@gmail.com>
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4722 2013-10-04 Alan Modra <amodra@gmail.com>
4724 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4725 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4726 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4727 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4728 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4729 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4730 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4731 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4733 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4735 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4736 Alistair Popple <alistair@ozlabs.au.ibm.com>
4737 Alan Modra <amodra@gmail.com>
4740 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4741 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4742 _dl_hwcap access for little-endian.
4743 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4744 destroy vmx regs when saving unaligned.
4745 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4746 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4747 destroy vmx regs when saving unaligned.
4749 2013-10-04 Alan Modra <amodra@gmail.com>
4751 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4752 Don't use a union to pack hi/low value.
4754 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4756 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4758 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4759 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4760 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4761 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4762 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4764 2013-10-04 Alan Modra <amodra@gmail.com>
4766 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4767 constants to usual value for .cst8 section, and remove redundant
4769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4770 constant for 0x1p52. Load little-endian words of double from
4771 correct stack offsets.
4773 2013-10-04 Alan Modra <amodra@gmail.com>
4775 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4776 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4777 words of double from correct stack offsets.
4778 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4779 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4780 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4781 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4783 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4784 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4785 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4786 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4787 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4788 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4789 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4790 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4791 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4792 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4793 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4794 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4796 2013-10-04 Alan Modra <amodra@gmail.com>
4798 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4799 64-bit int/double union.
4800 (_FPU_SETCW): Likewise.
4801 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4802 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4804 2013-10-04 Alan Modra <amodra@gmail.com>
4806 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4807 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4809 2013-10-04 Alan Modra <amodra@gmail.com>
4811 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4812 use vector int constants.
4813 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4815 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4817 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4818 array with long long.
4819 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4820 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4821 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4822 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4823 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4824 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4825 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4826 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4827 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4828 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4829 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4830 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4831 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4833 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4835 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4836 (__signbit): Likewise. Correct for little-endian.
4837 (__signbitl): Call __signbit.
4838 (lrint): Correct for little-endian.
4839 (lrintf): Call lrint.
4841 2013-10-04 Alan Modra <amodra@gmail.com>
4843 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4844 union 32-bit int array member with 64-bit int array.
4845 (t515, tm256): Double rather than long double.
4846 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4848 2013-10-04 Alan Modra <amodra@gmail.com>
4850 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4852 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4854 version of math_ldbl.h.
4856 2013-10-04 Alan Modra <amodra@gmail.com>
4858 [BZ #15734], [BZ #15735]
4859 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4860 all uses of ieee875 long double macros and unions. Simplify test
4861 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4862 ldbl_extract_mantissa value for ix,iy exponents. Properly
4863 normalize after ldbl_extract_mantissa, and don't add hidden bit
4864 already handled. Don't treat low word of ieee854 mantissa like
4865 low word of IBM long double and mask off bit when testing for
4867 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4868 all uses of ieee875 long double macros and unions. Simplify tests
4869 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4870 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4871 two1022, instead use their values. Recognise that tests for large
4872 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4873 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4874 Rewrite all uses of ieee875 long double macros and unions. Simplify
4875 test for 0.0L and nan. Correct negation.
4876 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4877 ieee875 long double macros and unions. Correct output for large
4878 magnitude x. Correct absolute value calculation.
4879 (__erfcl): Likewise.
4880 * math/libm-test.inc: Add tests for errors discovered in IBM long
4881 double versions of fmodl, remainderl, erfl and erfcl.
4883 2013-10-04 Alan Modra <amodra@gmail.com>
4885 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4886 all uses of ieee854 long double macros and unions. Simplify tests
4887 for long doubles that are fully specified by the high double.
4888 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4890 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4891 Remove dead code too.
4892 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4893 (__ieee754_ynl): Likewise.
4894 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4895 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4897 Remove dead code too.
4898 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4899 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4901 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4903 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4905 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4908 Comment on variable precision.
4909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4912 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4913 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4914 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4916 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4918 2013-10-04 Alan Modra <amodra@gmail.com>
4920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4921 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4922 all uses of ieee854 long double macros and unions.
4923 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4930 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4936 Simplify sign and nan test too.
4937 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4940 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4942 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4943 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4948 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4952 2013-10-04 Alan Modra <amodra@gmail.com>
4954 * stdio-common/printf_size.c (__printf_size): Don't use
4955 union ieee854_long_double in fpnum union.
4956 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4957 signbit macro to retrieve sign from long double.
4958 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4959 retrieve sign from long double.
4960 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4961 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4962 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4963 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4964 * math/test-misc.c (main): Don't use union ieee854_long_double.
4966 2013-10-04 Alan Modra <amodra@gmail.com>
4969 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4970 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4971 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4972 calculation. Remove unnecessary test for denormal exponent.
4973 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4974 Correct handling of denormals. Avoid undefined shift behaviour.
4975 Correct normalisation of low mantissa when low double is denormal.
4976 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4977 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4978 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4979 Correct normalisation of low mantissa. Test for overflow of high
4980 mantissa and normalise.
4981 (ldbl_nearbyint): Use more readable constant for two52.
4982 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4983 (__mpn_construct_long_double): Fix test for overflow of high
4984 mantissa and correct normalisation. Avoid undefined shift.
4986 2013-10-04 Alan Modra <amodra@gmail.com>
4988 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4989 (union ibm_extended_long_double): Define as an array of ieee754_double.
4990 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4991 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4992 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4993 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4997 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4998 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5000 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5002 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5004 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5005 page size instead of calling getpagesize.
5007 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5008 (LOCFILE_ALIGN_MASK): Likewise.
5009 (LOCFILE_ALIGN_UP): Likewise.
5010 (LOCFILE_ALIGNED_P): Likewise.
5011 * locale/programs/ld-collate.c (collate_output): Use the new
5012 macros instead of __alignof__ (int32_t).
5013 * locale/weight.h (findidx): Likewise.
5015 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5018 * manual/string.texi: Fix strncat and wcsncat.
5020 2013-10-03 Brooks Moses <bmoses@google.com>
5023 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5024 * Makerules: ...here, and adjust associated comments.
5026 2013-10-02 Will Newton <will.newton@linaro.org>
5028 * malloc/Makefile: Add tst-pvalloc.
5029 * malloc/tst-pvalloc.c: New file.
5031 2013-10-02 Will Newton <will.newton@linaro.org>
5033 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5034 improve test coverage.
5036 2013-10-02 Will Newton <will.newton@linaro.org>
5038 * malloc/Makefile: Add tst-posix_memalign.
5039 * malloc/tst-posix_memalign.c: New file.
5041 2013-10-01 Eric Blake <eblake@redhat.com>
5043 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5044 Use __THROWNL rather than __THROW on static functions.
5046 2013-09-30 Petr Machata <pmachata@redhat.com>
5048 * elf/elf.h (R_AARCH64_ABS16): New macro.
5049 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5050 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5051 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5052 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5053 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5054 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5055 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5056 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5057 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5058 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5059 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5060 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5061 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5062 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5063 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5064 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5065 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5066 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5067 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5068 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5069 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5070 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5071 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5072 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5073 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5074 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5075 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5076 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5077 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5078 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5079 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5080 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5081 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5082 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5083 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5084 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5085 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5086 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5087 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5088 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5089 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5090 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5091 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5092 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5093 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5094 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5095 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5096 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5097 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5098 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5099 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5100 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5101 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5102 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5103 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5104 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5105 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5106 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5107 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5108 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5109 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5110 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5111 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5112 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5113 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5114 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5115 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5116 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5117 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5118 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5119 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5120 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5121 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5122 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5123 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5124 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5125 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5126 (R_AARCH64_TLSDESC_LDR): Likewise.
5127 (R_AARCH64_TLSDESC_ADD): Likewise.
5128 (R_AARCH64_TLSDESC_CALL): Likewise.
5130 2013-09-30 Andreas Schwab <schwab@suse.de>
5133 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5134 the nss database lookup.
5135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5138 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5140 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5142 2013-09-28 P. J. McDermott <pj@pehjota.net>
5144 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5145 ${Bash-specific parameter/pattern/string} parameter expansion.
5146 * sysdeps/unix/make-syscalls.sh: Likewise.
5148 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5150 * sysdeps/sh/stackguard-macros.h: New file.
5152 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5156 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5157 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5158 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5159 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5161 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5163 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5164 Fix thread ID register.
5166 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5168 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5169 [POSIX || UNIX98]: Require rather than permitting all symbols from
5171 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5172 element of struct sched_param.
5173 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5174 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5175 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5176 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5179 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5181 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5182 argument calculation.
5184 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5186 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5188 [POSIX] (pthread_attr_t): Do not require type.
5189 [POSIX] (pthread_cond_t): Likewise.
5190 [POSIX] (pthread_condattr_t): Likewise.
5191 [POSIX] (pthread_key_t): Likewise.
5192 [POSIX] (pthread_mutex_t): Likewise.
5193 [POSIX] (pthread_mutexattr_t): Likewise.
5194 [POSIX] (pthread_once_t): Likewise.
5195 [POSIX] (pthread_t): Likewise.
5196 [POSIX-based standards] (pthread_atfork): Expect function.
5198 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5199 Richard Sandiford <richard@codesourcery.com>
5201 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5202 (swap_endianness_p): New extern variable.
5203 (set_big_endian): New inline function.
5204 (maybe_swap_uint32): Likewise.
5205 (maybe_swap_uint32_array): Likewise.
5206 (maybe_swap_uint32_obstack): Likewise.
5207 * locale/programs/locfile.c: Include <stdbool.h>.
5208 (swap_endianness_p): New variable.
5209 (add_locale_uint32): Call maybe_swap_uint32.
5210 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5211 (write_locale_data): Call maybe_swap_uint32_array.
5212 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5214 (obstack_int32_grow_fast): Likewise.
5215 (output_weightwc): Call maybe_swap_uint32_obstack.
5216 (collate_output): Likewise.
5217 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5218 (OPT_LITTLE_ENDIAN): Likewise.
5219 (options): Add --little-endian and --big-endian options.
5220 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5221 * locale/programs/locarchive.c: Include "locfile.h".
5225 (create_archive): Use the new macros to access fields of
5226 structures directly mapped from or written to locale archives.
5227 (oldlocrecentcmp): Likewise.
5228 (enlarge_archive): Likewise.
5229 (insert_name): Likewise.
5230 (add_alias): Likewise.
5231 (add_locale): Likewise.
5232 (delete_locales_from_archive): Likewise.
5233 (show_archive_content): Likewise.
5234 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5237 2013-09-24 Roland McGrath <roland@hack.frob.com>
5239 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5240 http://www.gnu.org/doc/freemanuals.texi.
5241 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5243 2013-09-24 Will Newton <will.newton@linaro.org>
5245 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5248 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5250 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5253 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5255 * manual/threads.texi (POSIX Threads): Fix a typo.
5257 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5260 * string/tst-strcoll-overflow.c: New test case.
5261 * string/Makefile (xtests): Add tst-strcoll-overflow.
5262 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5263 cache if string sizes may cause integer overflow.
5266 * string/strcoll_l.c (coll_seq): New members rule, idx,
5267 save_idx and back_us.
5268 (get_next_seq_nocache): New function.
5269 (do_compare_nocache): New function.
5270 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5273 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5276 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5277 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5278 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5281 * elf/Makefile (tests): Add tst-ptrguard1.
5282 (tests-static): Add tst-ptrguard1-static.
5283 (tst-ptrguard1-ARGS): Define.
5284 (tst-ptrguard1-static-ARGS): Define.
5285 * elf/tst-ptrguard1.c: New file.
5286 * elf/tst-ptrguard1-static.c: New file.
5287 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5288 * sysdeps/i386/stackguard-macros.h: Likewise.
5289 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5290 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5291 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5292 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5293 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5294 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5296 2013-09-23 Hector Marco <hecmargi@upv.es>
5297 Ismael Ripoll <iripoll@disca.upv.es>
5298 Carlos O'Donell <carlos@redhat.com>
5301 * sysdeps/generic/stackguard-macros.h: Define
5302 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5303 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5304 Define __pointer_chk_guard_local.
5305 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5306 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5308 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5311 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5313 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5315 * include/string.h (__ffs): Declare as hidden.
5316 * string/ffs.c (__ffs): Define as hidden.
5317 * sysdeps/i386/ffs.c (__ffs): Likewise.
5318 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5319 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5320 * sysdeps/s390/ffs.c (__ffs): Likewise.
5321 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5323 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5325 * NEWS: Mention malloc probes.
5327 * malloc/arena.c (new_heap): New memory_heap_new probe.
5328 (grow_heap): New memory_heap_more probe.
5329 (shrink_heap): New memory_heap_less probe.
5330 (heap_trim): New memory_heap_free probe.
5331 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5332 (systrim): New memory_sbrk_less probe.
5333 * manual/probes.texi: Document them.
5335 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5336 * manual/probes.texi: Document it.
5338 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5339 (__libc_realloc): Add memory_realloc_retry probe.
5340 (__libc_memalign): Add memory_memalign_retry probe.
5341 (__libc_valloc): Add memory_valloc_retry probe.
5342 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5343 (__libc_calloc): Add memory_calloc_retry probe.
5344 * manual/probes.texi: Document them.
5346 * malloc/arena.c (get_free_list): Add probe
5347 memory_arena_reuse_free_list.
5348 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5349 and memory_arena_reuse.
5350 (arena_get2) [!PER_THREAD]: Likewise.
5351 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5352 memory_arena_reuse_realloc.
5353 * manual/probes.texi: Document them.
5355 * malloc/malloc.c (__libc_free): Add
5356 memory_mallopt_free_dyn_thresholds probe.
5357 (__libc_mallopt): Add multiple memory_mallopt probes.
5358 * manual/probes.texi: Document them.
5360 * malloc/malloc.c: Include stap-probe.h.
5361 (__libc_mallopt): Add memory_mallopt probe.
5362 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5363 * manual/probes.texi: New.
5364 * manual/Makefile (chapters): Add probes.
5365 * manual/threads.texi: Set next node.
5367 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5370 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5371 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5372 Add `Chinese' to `nan' entry name.
5374 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5376 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5377 (POLYNOMIAL): Likewise.
5378 (TAYLOR_SINCOS): Likewise.
5379 (TAYLOR_SLOW): Likewise.
5380 (__sin): Use TAYLOR_SINCOS.
5382 (slow): Use TAYLOR_SLOW.
5387 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5389 * stdlib/strtod_l.c: Fix buffer overrun.
5391 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5393 * benchtests/Makefile (bench): Add sincos.
5394 * benchtests/bench-sincos.c: New file.
5396 * math/libm-test.inc (cos_test_data): New test inputs.
5397 (sin_test_data): Likewise.
5399 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5407 (bsloww1): Likewise.
5408 (bsloww2): Likewise.
5410 (csloww1): Likewise.
5411 (csloww2): Likewise.
5413 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5422 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5424 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5425 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5426 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5427 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5428 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5429 * elf/cache.c (print_entry): Handle the new cache flags.
5431 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5432 Aldy Hernandez <aldyh@redhat.com>
5434 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5435 Change condition to [_SOFT_FLOAT].
5436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5448 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5451 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5454 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5456 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5457 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5458 (__longjmp): Use LOAD_GP to load saved GPRs.
5459 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5460 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5461 (__sigsetjmp): Use SAVE_GP to save GPRs.
5463 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5464 Do not append -msoft-float.
5465 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5467 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5469 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5471 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5474 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5475 (_FPU_GETCW): Use initial "__" on variable and field names but not
5476 on macro parameter name.
5477 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5478 parentheses around reference to macro parameter.
5480 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5482 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5484 (ctype_startup): Use uint32_t in cast and sizeof for
5487 2013-09-11 Jia Liu <proljc@gmail.com>
5489 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5491 [__FreeBSD__]: Likewise.
5493 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5496 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5497 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5498 (strchr): Remove __strchr_sse42 ifunc selection.
5499 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5500 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5502 2013-09-11 Will Newton <will.newton@linaro.org>
5504 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5505 parameter to RES. Remove hardcoded 1000 value.
5506 * benchtests/bench-skeleton.c (main): Pass RES parameter
5507 to TIMING_INIT and multiply result by 1000.
5509 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5513 2013-09-11 Andreas Schwab <schwab@suse.de>
5515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5517 (O_TMPFILE) [__USE_GNU]: Define.
5518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5521 2013-09-11 Will Newton <will.newton@linaro.org>
5524 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5527 2013-09-11 Will Newton <will.newton@linaro.org>
5530 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5533 2013-09-11 Will Newton <will.newton@linaro.org>
5536 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5539 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5541 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5542 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5547 2013-09-10 Allan McRae <allan@archlinux.org>
5550 * manual/arith.texi (Parsing of Floats): Clarify
5554 * manual/install.texi (Running make install): Mention
5556 * INSTALL: Regenerated.
5558 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5560 * csu/init-first.c (_init): Remove the !SHARED condition around
5561 FPU control word initialization.
5562 * elf/dl-support.c (_dl_fpu_control): New variable.
5563 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5564 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5565 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5566 * math/test-fpucw-static.c: New file.
5567 * math/test-fpucw-ieee.c: New file.
5568 * math/test-fpucw-ieee-static.c: New file.
5569 * math/Makefile (tests): Add `test-fpucw-ieee' and
5571 (tests-static): New variable.
5572 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5574 [($(build-shared),yes)]
5575 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5577 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5580 2013-09-09 Allan McRae <allan@archlinux.org>
5583 * manual/string.texi (Collation Functions): Fix typo in
5585 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5588 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5591 * libio/memstream.c (open_memstream): Fix memory leak.
5592 * libio/wmemstream.c (open_wmemstream): Likewise.
5595 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5597 2013-09-09 Will Newton <will.newton@linaro.org>
5599 * malloc/Makefile: Add tst-realloc to tests.
5600 * malloc/tst-realloc.c: New file.
5602 2013-09-09 Allan McRae <allan@archlinux.org>
5605 * COPYING: Update from GNU website to fix FSF address.
5606 * COPYING.LIB: Likewise.
5608 2013-09-06 David S. Miller <davem@davemloft.net>
5610 * po/zh_TW.po: Update Chinese (traditional) translation from
5611 translation project.
5613 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5614 Joseph Myers <joseph@codesourcery.com>
5616 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5618 (obstack_chunk_alloc): New macro.
5619 (obstack_chunk_free): Likewise.
5620 (record_offset): New function.
5621 (init_locale_data): Likewise.
5622 (align_locale_data): Likewise.
5623 (add_locale_empty): Likewise.
5624 (add_locale_raw_data): Likewise.
5625 (add_locale_raw_obstack): Likewise.
5626 (add_locale_string): Likewise.
5627 (add_locale_wstring): Likewise.
5628 (add_locale_uint32): Likewise.
5629 (add_locale_uint32_array): Likewise.
5630 (add_locale_char): Likewise.
5631 (start_locale_structure): Likewise.
5632 (end_locale_structure): Likewise.
5633 (start_locale_prelude): Likewise.
5634 (end_locale_prelude): Likewise.
5635 (write_locale_data): Take locale_file structure rather than an
5637 * locale/programs/locfile.h: Include "obstack.h".
5638 (struct locale_file): Change to store locale file contents instead
5640 (init_locale_data): New prototype.
5641 (align_locale_data): Likewise.
5642 (add_locale_empty): Likewise.
5643 (add_locale_raw_data): Likewise.
5644 (add_locale_raw_obstack): Likewise.
5645 (add_locale_string): Likewise.
5646 (add_locale_wstring): Likewise.
5647 (add_locale_uint32): Likewise.
5648 (add_locale_uint32_array): Likewise.
5649 (add_locale_char): Likewise.
5650 (start_locale_structure): Likewise.
5651 (end_locale_structure): Likewise.
5652 (start_locale_prelude): Likewise.
5653 (end_locale_prelude): Likewise.
5654 (write_locale_data): Update prototype.
5655 * locale/programs/3level.h (struct TABLE): Remove result field.
5656 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5657 Use new locale_file interface.
5658 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5659 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5660 * locale/programs/ld-address.c (address_output): Use new
5661 locale_file interface.
5662 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5664 (collate_finish): Don't call collseq_table_finalize.
5665 (collate_output): Use new locale_file interface.
5666 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5668 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5669 (TABLE): Move defines earlier in file.
5670 (ELEMENT): Likewise.
5671 (DEFAULT): Likewise.
5672 (wctrans_table_add): Move macro and inline function earlier in
5674 (struct wctype_table): Move type earlier in file.
5675 (add_locale_wctype_table): New static prototype.
5676 (struct locale_ctype_t): Use logical types instead of struct iovec
5677 pointers for members.
5678 (ctype_output): Use new locale_file interface.
5679 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5680 new locale_file interface.
5681 (allocate_arrays): Update for use of new locale_file interface.
5682 * locale/programs/ld-identification.c (identification_output): Use
5683 new locale_file interface.
5684 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5685 * locale/programs/ld-messages.c (messages_output): Likewise.
5686 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5687 * locale/programs/ld-name.c (name_output): Likewise.
5688 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5689 * locale/programs/ld-paper.c (paper_output): Likewise.
5690 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5691 * locale/programs/ld-time.c (time_output): Likewise.
5693 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5695 * benchtests/Makefile: Add memrchr benchmark.
5696 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5697 benchmark as memrchr.
5698 * benchtests/bench-memrchr-ifunc.c: New file.
5699 * benchtests/bench-memrchr.c: New file.
5701 2013-09-06 Will Newton <will.newton@linaro.org>
5703 * benchtests/Makefile (string-bench): Add memcpy.
5705 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5706 Cong Wang <amwang@redhat.com>
5708 * sysdeps/unix/sysv/linux/bits/in.h
5709 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5710 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5711 before __USE_KERNEL_IPV6_DEFS uses.
5712 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5714 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5715 sockaddr_in6, or ipv6_mreq.
5717 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5719 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5720 memory access for final bytes in some large inputs.
5721 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5723 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725 * string/test-memrchr.c: New file.
5726 * string/test-memrchr-ifunc.c: New file.
5727 * string/Makefile: Add new memrchr testcase.
5729 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5731 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5732 fanotify_init returns EPERM.
5734 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5736 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5738 (top level): Treat second token from macro or constant entries for
5739 allowed headers as allowed.
5740 * include/complex.h: Condition internal declarations on
5742 * include/fenv.h: Condition include of <stdbool.h> and internal
5743 declarations on [!_ISOMAC].
5745 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5748 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5750 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5752 * configure.in (--enable-versioning): Remove configure option.
5753 (libc_cv_asm_symver_directive): Remove configure test.
5754 (libc_cv_ld_version_script_option): Likewise.
5755 (VERSIONING): Remove variable and AC_SUBST.
5756 (DO_VERSIONING): Remove AC_DEFINE.
5757 * configure: Regenerated.
5758 * config.h.in (DO_VERSIONING): Remove macro.
5759 * Makerules [$(versioning) = yes]: Change conditionals to
5760 [$(build-shared) = yes].
5761 * config.make.in (versioning): Remove variable.
5762 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5763 [$(build-shared) = yes].
5764 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5765 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5766 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5767 [$(build-shared) = yes].
5768 * extra-lib.mk [$(versioning) = yes]: Likewise.
5769 * hurd/Makefile [$(versioning) = yes]: Likewise.
5770 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5772 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5774 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5775 [SHARED && !NO_HIDDEN].
5776 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5778 [SHARED && DO_VERSIONING]: Likewise..
5779 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5780 [$(build-shared) = yes].
5781 * manual/install.texi (--disable-versioning): Remove
5783 * INSTALL: Regenerated.
5784 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5786 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5787 [$(build-shared) = yes].
5788 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5789 * sysdeps/i386/i686/multiarch/strstr-c.c
5790 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5791 [SHARED && !NO_HIDDEN].
5792 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5793 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5794 * sysdeps/powerpc/powerpc32/dl-machine.c
5795 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5796 * sysdeps/powerpc/powerpc32/sysdep.h
5797 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5798 to [SHARED && PIC && !NO_HIDDEN].
5799 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5800 conditional to [SHARED].
5802 2013-09-04 Will Newton <will.newton@linaro.org>
5804 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5805 * benchtests/bench-string.h: Include bench-timing.h instead
5806 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5807 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5808 call to HP_TIMING_DIFF_INIT.
5809 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5810 instead of hp-timing.h macros.
5811 * benchtests/bench-memchr.c: Likewise.
5812 * benchtests/bench-memcmp.c: Likewise.
5813 * benchtests/bench-memcpy.c: Likewise.
5814 * benchtests/bench-memmem.c: Likewise.
5815 * benchtests/bench-memmove.c: Likewise.
5816 * benchtests/bench-memset.c: Likewise.
5817 * benchtests/bench-rawmemchr.c: Likewise.
5818 * benchtests/bench-strcasecmp.c: Likewise.
5819 * benchtests/bench-strcasestr.c: Likewise.
5820 * benchtests/bench-strcat.c: Likewise.
5821 * benchtests/bench-strchr.c: Likewise.
5822 * benchtests/bench-strcmp.c: Likewise.
5823 * benchtests/bench-strcpy.c: Likewise.
5824 * benchtests/bench-strcpy_chk.c: Likewise.
5825 * benchtests/bench-strlen.c: Likewise.
5826 * benchtests/bench-strncasecmp.c: Likewise.
5827 * benchtests/bench-strncat.c: Likewise.
5828 * benchtests/bench-strncmp.c: Likewise.
5829 * benchtests/bench-strncpy.c: Likewise.
5830 * benchtests/bench-strnlen.c: Likewise.
5831 * benchtests/bench-strpbrk.c: Likewise.
5832 * benchtests/bench-strrchr.c: Likewise.
5833 * benchtests/bench-strspn.c: Likewise.
5834 * benchtests/bench-strstr.c: Likewise.
5836 2013-09-04 Will Newton <will.newton@linaro.org>
5838 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5840 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5843 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5844 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5845 * math/libm-test.inc (lgamma_test_data): Add more tests.
5846 * sysdeps/i386/fpu/libm-test-ulps: Update.
5847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5851 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5855 Add strcmp-sse2-unaligned
5856 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5858 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5860 * Versions.def (libc): Add GLIBC_2.19.
5862 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5864 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5865 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5867 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5870 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5871 intermediate calculations in recurrence.
5872 (__ieee754_ynf): Likewise.
5873 * math/libm-test.inc (jn_test_data): Do not allow spurious
5874 underflow exception. Add more tests.
5875 (yn_test_data): Add more tests.
5876 * sysdeps/i386/fpu/libm-test-ulps: Update.
5877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5879 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5883 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5885 * csu/init-first.c: Fix then/than typos.
5886 * locale/programs/ld-collate.c: Likewise.
5887 * locale/programs/linereader.h: Likewise.
5888 * manual/charset.texi: Likewise.
5889 * manual/filesys.texi: Likewise.
5890 * manual/stdio.texi: Likewise.
5891 * manual/string.texi: Likewise.
5892 * stdlib/fmtmsg.c: Likewise.
5893 * sysdeps/i386/stpncpy.S: Likewise.
5894 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5895 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5896 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5897 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5899 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5901 * elf/dl-open.c: Fix typos.
5902 * iconvdata/gbbig5.c: Likewise.
5903 * iconvdata/iso-2022-jp.c: Likewise.
5904 * iconv/gconv_int.h: Likewise.
5905 * iconv/loop.c: Likewise.
5906 * nis/rpcsvc/nis.h: Likewise.
5907 * resolv/ns_name.c: Likewise.
5908 * stdio-common/vfscanf.c: Likewise.
5909 * streams/stropts.h: Likewise.
5910 * sunrpc/rpc_thread.c: Likewise.
5911 * sysdeps/i386/strpbrk.S: Likewise.
5912 * sysdeps/ieee754/k_standard.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5915 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5916 * sysdeps/mach/hurd/profil.c: Likewise.
5917 * sysdeps/s390/dl-procinfo.h: Likewise.
5918 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5919 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5920 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5921 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5924 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5926 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5929 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5931 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5933 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5934 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5935 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5936 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5938 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5939 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5940 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5942 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5943 Roland McGrath <roland@hack.frob.com>
5945 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5946 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5948 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5950 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5951 __executable_start symbol instead of _start.
5953 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5955 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5956 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5958 * sysdeps/gnu/ldsodefs.h: ... this new file.
5960 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5961 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5962 instead of ELFOSABI_LINUX.
5964 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5965 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5966 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5967 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5969 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5970 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5971 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5973 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5974 (ibm_extended_long_double): Add ieee_nan member.
5975 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5976 (do_test): New function.
5978 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5980 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5981 functions, renamed from truncdfsf_test, trunctfsf_test,
5983 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5985 (do_test): Run all these.
5987 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5989 * argp/argp-help.c: Fix typos.
5990 * argp/argp-parse.c: Likewise.
5991 * debug/backtracesyms.c: Likewise.
5992 * elf/elf.h: Likewise.
5993 * malloc/malloc.c: Likewise.
5994 * nis/nis_print.c: Likewise.
5995 * resolv/res_comp.c: Likewise.
5996 * stdlib/stdlib.h: Likewise.
5997 * sunrpc/clnt_tcp.c: Likewise.
5998 * sunrpc/clnt_udp.c: Likewise.
5999 * sunrpc/clnt_unix.c: Likewise.
6000 * sysdeps/unix/bsd/ptsname.c: Likewise.
6001 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6002 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6009 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6011 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6013 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6016 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6019 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6020 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6021 ($(objpfx)bug-dl-leaf): New rule.
6022 ($(objpfx)bug-dl-leaf.so): Likewise.
6023 ($(objpfx)bug-dl-leaf.out): Likewise.
6024 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6025 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6026 * dlfcn/bug-dl-leaf.c: New test.
6027 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6028 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6029 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6030 (dlclose): Likewise.
6031 (dlmopen): Likewise.
6033 2013-08-27 Roland McGrath <roland@hack.frob.com>
6035 * include/netdb.h [!_ISOMAC]:
6036 Don't include <tls.h>.
6037 (h_errno, __libc_h_errno): Move declaration and macros out of
6040 * include/resolv.h [_RESOLV_H_]:
6041 Don't include <tls.h>.
6042 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6043 * resolv/res_libc.c: Don't include <tls.h>.
6044 (_res): Use __attribute__ ((nocommon)) in place of
6045 __attribute__ ((section (".bss"))).
6047 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6048 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6050 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6052 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6053 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6055 * resolv/res_mkquery.c: Include <sys/time.h>.
6057 * inet/ifreq.c: Moved to ...
6058 * sysdeps/unix/ifreq.c: ... here.
6059 * inet/ifreq.c: New file, true stub version.
6061 * socket/sa_len.c: New file.
6062 * socket/Makefile (aux): Add it.
6063 * sysdeps/unix/sysv/linux/Makefile
6064 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6065 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6066 and #include <socket/sa_len.c>.
6067 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6068 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6070 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6071 * bits/socket.h: ... here.
6073 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6074 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6075 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6077 2013-08-27 Andreas Schwab <schwab@suse.de>
6080 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6081 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6082 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6083 * string/test-strcasecmp.c (test_main): Run tests in several
6085 * string/test-strncasecmp.c (test_main): Likewise.
6087 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6088 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6089 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6091 (__strncasecmp_ssse3) [PIC]: Likewise.
6093 2013-08-26 Roland McGrath <roland@hack.frob.com>
6095 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6097 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6098 instead of explicitly declaring xdecrypt.
6099 * nis/nss_nis/nis-publickey.c: Likewise.
6101 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6104 * nscd/aicache.c: Include res_hconf.h.
6105 (addhstaiX): Initialize res_hconf.
6107 2013-08-26 Andreas Schwab <schwab@suse.de>
6109 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6110 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6112 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6114 * nscd/aicache.c (addhstaiX): Fix indentation.
6116 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6118 * configure.ac: Quote $build_pt_chown test.
6119 * configure: Regenerated.
6121 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6124 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6125 * math/s_cexpf.c (__cexpf): Likewise.
6126 * math/s_cexpl.c (__cexpl): Likewise.
6127 * math/libm-test.inc (cexp_test_data): Correct expected return
6128 value for NaN + i0. Add another test.
6130 2013-08-22 David S. Miller <davem@davemloft.net>
6132 * po/ca.po: Update Catalan translation from translation project.
6133 * po/uk.po: Add Ukrainian translations from translation project.
6135 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6138 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6139 is infinite, not alongside NaN test.
6140 * math/s_fdimf.c (__fdimf): Likewise.
6141 * math/s_fdiml.c (__fdiml): Likewise.
6142 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6145 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6147 * argp/argp-help.c: Fix typos.
6148 * crypt/speeds.c: Likewise.
6149 * csu/check_fds.c: Likewise.
6150 * elf/dl-load.c: Likewise.
6151 * elf/dl-open.c: Likewise.
6152 * elf/reldep3.c: Likewise.
6153 * elf/reldep.c: Likewise.
6154 * elf/sprof.c: Likewise.
6155 * iconv/iconv_charmap.c: Likewise.
6156 * iconv/skeleton.c: Likewise.
6157 * iconv/strtab.c: Likewise.
6158 * io/lockf64.c: Likewise.
6159 * libio/libioP.h: Likewise.
6160 * resolv/gai_notify.c: Likewise.
6161 * resolv/ns_name.c: Likewise.
6162 * resolv/ns_samedomain.c: Likewise.
6163 * resolv/res_send.c: Likewise.
6164 * stdlib/random.c: Likewise.
6165 * sunrpc/rpc/xdr.h: Likewise.
6166 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6167 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6168 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6169 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6171 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6173 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6174 * sysdeps/mach/hurd/check_fds.c: Likewise.
6175 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6176 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6179 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6180 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6181 * sysdeps/pthread/aio_notify.c: Likewise.
6182 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6183 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6184 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6185 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6186 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6188 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6190 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6191 version if bit_Slow_SSE4_2 is set.
6192 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6193 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6195 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6199 trampoline stack frame information.
6200 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6201 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6202 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6203 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6204 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6205 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6206 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6207 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6209 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6210 interrupting a syscall and set with option SA_SIGINFO.
6212 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6215 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6216 argument is infinite.
6217 * math/s_cprojf.c (__cprojf): Likewise.
6218 * math/s_cprojl.c (__cprojl): Likewise.
6219 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6220 * math/libm-test.inc (cproj_test_data): Add more tests.
6222 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6224 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6225 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6226 size. Use __ffs to determine corresponding shift.
6228 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6229 Roland McGrath <roland@hack.frob.com>
6231 * Makefile (INSTALL): Remove trailing blank lines from output of
6234 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6236 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6237 Align 32 bit compat elf_greg to 8 bytes.
6239 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6241 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6243 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6245 * string/strcoll_l.c (coll_seq): New structure.
6246 (get_next_seq_cached): New function.
6247 (get_next_seq): New function.
6248 (do_compare): New function.
6249 (STRCOLL): Use GNU style definition. Simplify implementation
6250 by using get_next_seq, get_next_seq_cached and do_compare.
6252 2013-08-16 Florian Weimer <fweimer@redhat.com>
6256 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6258 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6260 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6261 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6262 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6264 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6265 GETDENTS_64BIT_ALIGNED.
6266 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6267 * manual/filesys.texi (Reading/Closing Directory): Document
6268 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6270 * manual/conf.texi (Limits for Files): Add portability note to
6272 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6274 2013-08-13 Andreas Schwab <schwab@suse.de>
6277 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6279 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6280 LDBL_MAX_EXP >= 16384]: Add tests for it.
6282 2013-08-12 David S. Miller <davem@davemloft.net>
6284 * version.h (RELEASE): Set to "development".
6285 (VERSION): Set to "2.18.90".
6286 * NEWS: Add 2.19 section.
6288 2013-08-03 David S. Miller <davem@davemloft.net>
6290 * po/ko.po: Update Korean translation from translation project.
6292 2013-08-01 David S. Miller <davem@davemloft.net>
6294 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6295 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6298 2013-07-30 David S. Miller <davem@davemloft.net>
6300 * po/fr.po: Update French translation from translation project.
6302 2013-07-28 David S. Miller <davem@davemloft.net>
6304 * po/cs.po: Update Czech translation from translation project.
6306 * po/sv.po: Update Swedish translation from translation project.
6308 2013-07-27 David S. Miller <davem@davemloft.net>
6310 * po/eo.po: Update Esperanto translation from translation project.
6312 * po/vi.po: Update Vietnamese translation from translation project.
6314 * po/de.po: Update German translation from translation project.
6316 2013-07-26 David S. Miller <davem@davemloft.net>
6318 * po/bg.po: Update Bulgarian translation from translation project.
6320 * po/nl.po: Update Dutch translation from translation project.
6321 * po/pl.po: Update Polish translation from translation project.
6322 * po/ru.po: Update Russian translation from translation project.
6324 2013-07-24 David S. Miller <davem@davemloft.net>
6326 * po/libc.pot: Update.
6328 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6330 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6332 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6333 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6336 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6338 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6340 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6341 Andreas Schwab <schwab@suse.de>
6342 Roland McGrath <roland@hack.frob.com>
6343 Joseph Myers <joseph@codesourcery.com>
6344 Carlos O'Donell <carlos@redhat.com>
6347 * config.h.in: Define HAVE_PT_CHOWN.
6348 * config.make.in (build-pt-chown): New variable.
6349 * configure.in (--enable-pt_chown): New configure option.
6350 * configure: Regenerate.
6351 * login/Makefile: Include Makeconfig. Build pt_chown only if
6352 build-pt-chown is enabled.
6353 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6354 pt_chown to fix pty ownership.
6355 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6357 * manual/install.texi (Configuring and compiling): Mention
6358 --enable-pt_chown. Add @findex for grantpt.
6359 * INSTALL: Regenerate.
6361 2013-07-20 David S. Miller <davem@davemloft.net>
6363 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6364 difference between 32-bit and 64-bit.
6366 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6369 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6370 Avoid system header dependency with -ffreestanding.
6371 ($(objpfx)bits/syscall%d): Likewise.
6373 2013-07-13 David S. Miller <davem@davemloft.net>
6375 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6376 underflows from atanl/atan2l due to bug 15319.
6377 (casinh_test_data): Likewise.
6379 2013-07-07 David S. Miller <davem@davemloft.net>
6381 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6383 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6385 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6388 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6390 * configure.in (--enable-lock-elision): Fix message text.
6391 * INSTALL: Regenerate.
6392 * configure: Regenerate.
6394 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6398 2013-07-03 Andreas Jaeger <aj@suse.de>
6400 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6402 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6403 (ptrace_peeksiginfo_args): Add.
6404 (__ptrace_peeksiginfo_flags): Add.
6405 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6406 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6407 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6409 2013-07-03 Allan McRae <allan@archlinux.org>
6411 * sysdeps/i386/fpu/libm-test-ulps: Update.
6413 2013-07-02 David S. Miller <davem@davemloft.net>
6415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6417 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6421 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6423 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6426 2013-07-02 Andi Kleen <ak@linux.intel.com>
6428 * config.h.in (ENABLE_LOCK_ELISION): Add.
6429 * configure.in (--enable-lock-elision): Add option.
6430 * manual/install.texi: Document --enable lock elision.
6431 * configure: Regenerate
6432 * INSTALL: Regenerate.
6434 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6436 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6437 SSE4.2 strcasecmp for libc.a.
6438 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6440 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6443 * soft-fp/op-common.h (_FP_FMA): New macro.
6444 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6445 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6446 (_FP_MUL_MEAT_1_imm): ... here.
6447 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6448 (_FP_MUL_MEAT_1_wide): ... here.
6449 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6450 (_FP_MUL_MEAT_1_hard): ... here.
6451 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6452 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6453 (_FP_MUL_MEAT_2_wide): ... here.
6454 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6455 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6456 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6457 (_FP_MUL_MEAT_2_gmp): ... here.
6458 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6459 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6460 (_FP_MUL_MEAT_4_wide): ... here.
6461 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6462 (_FP_MUL_MEAT_4_gmp): ... here.
6463 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6464 (_FP_WFRACBITS_DW_S): Likewise.
6465 (_FP_WFRACXBITS_DW_S): Likewise.
6466 (_FP_HIGHBIT_DW_S): Likewise.
6467 (FP_FMA_S): Likewise.
6468 (_FP_FRAC_HIGH_DW_S): Likewise.
6469 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6470 (_FP_WFRACBITS_DW_D): Likewise.
6471 (_FP_WFRACXBITS_DW_D): Likewise.
6472 (_FP_HIGHBIT_DW_D): Likewise.
6473 (FP_FMA_D): Likewise.
6474 (_FP_FRAC_HIGH_DW_D): Likewise.
6475 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6476 (_FP_WFRACBITS_DW_E): Likewise.
6477 (_FP_WFRACXBITS_DW_E): Likewise.
6478 (_FP_HIGHBIT_DW_E): Likewise.
6479 (FP_FMA_E): Likewise.
6480 (_FP_FRAC_HIGH_DW_E): Likewise.
6481 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6482 (_FP_WFRACBITS_DW_Q): Likewise.
6483 (_FP_WFRACXBITS_DW_Q): Likewise.
6484 (_FP_HIGHBIT_DW_Q): Likewise.
6485 (FP_FMA_Q): Likewise.
6486 (_FP_FRAC_HIGH_DW_Q): Likewise.
6487 * soft-fp/fmasf4.c: New file.
6488 * soft-fp/fmadf4.c: Likewise.
6489 * soft-fp/fmatf4.c: Likewise.
6491 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6494 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6496 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6498 (index_Slow_SSE4_2): Likewise.
6499 (index_Prefer_PMINUB_for_stringop): Likewise.
6500 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6501 bit_Slow_SSE4_2 is set.
6502 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6505 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6507 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6508 rtld_global._dl_hwcap2.
6509 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6511 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6512 POWER8 feature descriptions defined in _dl_hwcap2.
6513 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6514 string handling for POWER8 feature bits.
6515 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6516 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6517 _dl_powerpc_cap_flags.
6518 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6519 * sysdeps/powerpc/rtld-global-offsets.sym
6520 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6521 _dl_hwcap2 in the rtld_global_ro structure.
6523 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6525 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6526 hardware capabilities in support of AT_HWCAP2.
6527 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6528 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6530 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6531 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6532 explicitly the unknown a_type display mechanism is used.
6533 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6534 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6536 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6537 to macro prototype for AT_HWCAP2 support.
6538 * sysdeps/i386/dl-procinfo.h: Likewise.
6539 * sysdeps/s390/dl-procinfo.h: Likewise.
6540 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6541 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6542 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6543 return -1 for unknown a_type display fallback.
6544 * sysdeps/sparc/dl-procinfo.h: Likewise.
6545 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6546 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6548 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6550 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6551 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6553 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6556 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6557 mprotect making __stack_prot writable.
6559 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6560 Joseph Myers <joseph@codesourcery.com>
6562 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6563 as being properly aligned.
6565 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6567 * dlfcn/modstatic5.c: New file.
6568 * dlfcn/tststatic5.c: New file.
6569 * dlfcn/Makefile (tests): Add tststatic5.
6570 (tests-static): Likewise.
6571 (modules-names): Add modstatic5.
6572 (tststatic5-ENV): New variable.
6573 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6576 * elf/dl-support.c (_dl_main_map): New variable.
6577 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6578 (_dl_nns, _dl_load_adds): Set to 1.
6579 (_dl_initial_searchlist): Refer to _dl_main_map.
6580 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6581 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6582 call to _dl_get_origin.
6583 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6585 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6586 * dlfcn/modstatic3.c: New file.
6587 * dlfcn/tststatic3.c: New file.
6588 * dlfcn/tststatic4.c: New file.
6589 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6590 (tests-static): Likewise.
6591 (modules-names): Add modstatic3.
6592 (tststatic3-ENV, tststatic4-ENV): New variables.
6593 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6594 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6596 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6598 * configure.in (CC): Require GCC version 4.4 or later.
6599 * configure: Regenerated.
6600 * manual/install.texi (Tools for Compilation): Update GCC version
6602 * INSTALL: Regenerated.
6604 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6607 * string/test-memcmp.c (check2): New.
6608 (main): Call check2.
6610 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6612 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6615 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6617 (dl_open_worker) [!SHARED]: ... here.
6619 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6621 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6623 2013-06-25 Richard Henderson <rth@redhat.com>
6625 * locale/programs/locarchive.c: Include <libc-internal.h>
6627 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6629 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6630 trailing whitespace removed.
6632 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6635 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6636 * locale/programs/locarchive.c: Include libc-mmap.h.
6637 (prepare_address_space): Take two new outputs (the mmap base and len).
6638 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6640 (create_archive): Declare new mmap base and len values for
6641 prepare_address_space, and store the result in ah.
6642 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6643 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6644 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6645 Declare new mmap base and len values for
6646 prepare_address_space, and store the result in new_ah.
6647 (open_archive): Declare new mmap base and len values for
6648 prepare_address_space, and store the result in ah.
6649 (close_archive): If ah->mmap_base is not NULL, use that and
6650 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6651 * sysdeps/generic/libc-mmap.h: New file.
6653 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6655 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6656 (ALIGN_UP): Likewise.
6657 (PTR_ALIGN_DOWN): Likewise.
6658 (PTR_ALIGN_UP): Likewise.
6660 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6662 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6663 entry mapped to PPC_PLATFORM_POWER8.
6664 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6666 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6667 (_dl_string_platform): Add case for exporting platform position for
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6670 search path to sysdeps/powerpc/powerpc32/power8 directory.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6672 search path to sysdeps/powerpc/powerpc64/power8 directory.
6673 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6675 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6678 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6680 * INSTALL: Regenerate.
6682 * nscd/connections.c (nscd_init): Fix comment.
6684 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6686 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6689 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6690 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6692 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6694 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6696 (DL_DST_REQ_STATIC): Remove macro.
6698 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6701 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6702 with a shift of 0 bits.
6704 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6706 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6709 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6712 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6714 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6716 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6717 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6718 accepts -fno-tree-loop-distribute-patterns.
6719 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6720 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6722 * string/memset.c (memset): Likewise.
6723 * string/test-memmove.c (simple_memmove): Disable loop transformation
6725 * string/test-memset.c (simple_memset): Likewise.
6726 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6727 * benchtests/bench-memset.c (simple_memset): Likewise.
6728 * configure: Regenerated.
6730 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6732 * math/test-misc.c (main): Ignore fesetround failure when failures
6733 of subsequent rounding tests would be ignored.
6736 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6737 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6738 * math/fegetenv.c (__fegetenv): Return 0.
6739 * math/fegetexcept.c (fegetexcept): Return 0.
6740 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6742 * math/feholdexcpt.c (feholdexcept): Return 0.
6743 * math/fesetenv.c (__fesetenv): Return 0.
6744 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6745 argument FE_TONEAREST.
6746 * math/feupdateenv.c (__feupdateenv): Return 0.
6747 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6749 2013-06-18 Roland McGrath <roland@hack.frob.com>
6751 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6752 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6753 ($(objpfx)rtld-%.os rules): Use them.
6755 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6757 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6760 2013-06-17 Roland McGrath <roland@hack.frob.com>
6762 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6763 length of target pattern, then descending length of dependency pattern.
6764 * configure.in (AWK): Require gawk 3.1.2 or newer.
6765 * manual/install.texi (Tools for Compilation): Say that we do.
6766 * configure: Regenerated.
6768 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6769 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6770 * scripts/sysd-rules.awk: ... this new script.
6771 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6772 than a glob-style pattern.
6774 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6776 * math/test-misc.c (main): Do not treat incorrectly rounded
6777 conversions as failure unless ROUNDING_TESTS passes.
6779 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6782 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6783 restore exception state around main square root computation, then
6784 check for inexactness explicitly.
6786 * math/libm-test.inc (fma_test_data): Add another test.
6788 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6790 * manual/threads.texi (Non-POSIX Extensions): New document
6791 node. Document pthread_getattr_default_np and
6792 pthread_setattr_default_np.
6794 * Versions.def (libpthread): Add GLIBC_2.18.
6795 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6804 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6815 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6818 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6820 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6821 H.J. Lu <hjl.tools@gmail.com>
6824 * sysdeps/x86_64/rtld-memset.c: Remove file.
6825 * sysdeps/x86_64/rtld-memset.S: New file.
6827 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6829 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6830 (test_in_one_mode): Take arguments for whether the rounding mode
6831 is supported for each floating-point type.
6832 (do_test): Pass new arguments to test_in_one_mode using
6835 2013-06-13 Roland McGrath <roland@hack.frob.com>
6837 * posix/tst-waitid.c (do_test): Distinguish different instances of
6838 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6839 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6840 before entering the kernel for waitpid.
6842 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6844 * NEWS: Fix note on clock function precision. Text by Roland
6847 2013-06-13 Roland McGrath <roland@hack.frob.com>
6849 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6850 it into place only when and if the sanity check passes.
6852 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6854 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6855 output for whether conversion result is exact. Take argument
6856 indicating whether type is IBM long double.
6857 (round_for_all): Change need_exact field to ibm_ld.
6858 * stdlib/tst-strtod-round.c (struct exactness): New type.
6859 (struct test): Change bool ld_ok field to struct exactness exact.
6860 (TEST): Update all definitions for change to field.
6861 (tests): Regenerate array contents.
6862 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6863 field value. Check for IBM long double here.
6864 (do_test): Update calls to test_in_one_mode.
6866 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6869 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6870 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6872 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6876 generated by the compiler on loop optimizations.
6877 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6878 general definitions.
6880 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6882 * math/bug-nextafter.c: Include <math-tests.h>.
6883 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6885 * math/bug-nexttoward.c: Include <math-tests.h>.
6886 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6888 * math/test-misc.c: Include <math-tests.h>.
6889 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6892 2013-06-12 Andreas Jaeger <aj@suse.de>
6894 * po/ia.po: Update Interlingua translation from translation
6897 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6899 * include/fenv.h: Include stdbool.h.
6900 (struct rm_ctx): New structure.
6901 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6903 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6904 (SET_RESTORE_ROUNDF): Likewise.
6905 (SET_RESTORE_ROUNDL): Likewise.
6906 (SET_RESTORE_ROUND_NOEX): Likewise.
6907 (SET_RESTORE_ROUND_NOEXF): Likewise.
6908 (SET_RESTORE_ROUND_NOEXL): Likewise.
6909 (SET_RESTORE_ROUND_53BIT): Likewise.
6910 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6911 (libc_feresetround_noexf_ctx): Likewise.
6912 (libc_feresetround_noexl_ctx): Likewise.
6913 (libc_feholdsetround_53bit_ctx): Likewise.
6914 (libc_feresetround_53bit_ctx): Likewise.
6915 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6916 (libc_feholdexcept_setround_sse_ctx): New function.
6917 (libc_fesetenv_sse_ctx): Likewise.
6918 (libc_feupdateenv_sse_ctx): Likewise.
6919 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6920 (libc_feholdexcept_setround_387_ctx): Likewise.
6921 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6922 (libc_feholdsetround_387_prec_ctx): Likewise.
6923 (libc_feholdsetround_387_ctx): Likewise.
6924 (libc_feholdsetround_387_53bit_ctx): Likewise.
6925 (libc_feholdsetround_sse_ctx): Likewise.
6926 (libc_feresetround_sse_ctx): Likewise.
6927 (libc_feresetround_387_ctx): Likewise.
6928 (libc_feupdateenv_387_ctx): Likewise.
6929 (libc_feholdexcept_setroundf_ctx): Define macro.
6930 (libc_fesetenvf_ctx): Likewise.
6931 (libc_feupdateenvf_ctx): Likewise.
6932 (libc_feholdsetroundf_ctx): Likewise.
6933 (libc_feresetroundf_ctx): Likewise.
6934 (libc_feholdexcept_setround_ctx): Likewise.
6935 (libc_fesetenv_ctx): Likewise.
6936 (libc_feupdateenv_ctx): Likewise.
6937 (libc_feholdsetround_ctx): Likewise.
6938 (libc_feresetround_ctx): Likewise.
6939 (libc_feholdexcept_setroundl_ctx): Likewise.
6940 (libc_feupdateenvl_ctx): Likewise.
6941 (libc_feholdsetroundl_ctx): Likewise.
6942 (libc_feresetroundl_ctx): Likewise.
6943 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6944 (libc_feresetround_53bit_ctx): Likewise.
6946 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6948 * locale/iso-639.def: Convert to UTF-8.
6950 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6952 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6953 (EXCEPTION_TESTS_double): Likewise.
6954 (EXCEPTION_TESTS_long_double): Likewise.
6955 (EXCEPTION_TESTS): Likewise.
6956 * math/libm-test.inc (test_exceptions): Only test exceptions if
6957 EXCEPTION_TESTS (FLOAT).
6959 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6961 * benchtests/Makefile (string-bench): Add strcpy_chk and
6963 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6964 * benchtests/bench-stpcpy_chk.c: New file.
6965 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6966 * benchtests/bench-strcpy_chk.c: New file.
6967 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6969 (do_test): Likewise.
6971 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6973 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6974 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6975 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6976 with tabs where appropriate.
6977 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6979 [PPC_PLATFORM_PPC440]: Likewise.
6980 [PPC_PLATFORM_PPC464]: Likewise.
6981 [PPC_PLATFORM_PPC476]: Likewise.
6982 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6983 ppc464, and ppc476 platform strings merging from ports/
6986 2013-06-11 Andreas Schwab <schwab@suse.de>
6989 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6990 (from_ucs4_idx): Regenerate.
6991 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6992 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6993 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6994 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6995 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6996 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6997 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6998 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6999 from FROM_LOOP and TO_LOOP specific macros.
7000 (BODY): Handle combining characters.
7001 * iconvdata/BIG5HKSCS.irreversible: Update.
7002 * iconvdata/BIG5HKSCS.precomposed: New file.
7003 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7005 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7007 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7009 * include/sys/time.h: Fix indentation and add copyright header.
7011 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7012 (do_test): Likewise.
7013 * string/test-memchr.c (do_one_test): Likewise.
7014 (do_test): Likewise.
7015 * string/test-memcmp.c (do_one_test): Likewise.
7016 (do_test): Likewise.
7017 * string/test-memcpy.c (do_one_test): Likewise.
7018 (do_test): Likewise.
7019 * string/test-memmem.c (do_one_test): Likewise.
7020 (do_test): Likewise.
7021 (do_random_tests): Likewise.
7022 * string/test-memmove.c (do_one_test): Likewise.
7023 (do_test): Likewise.
7024 * string/test-memset.c (do_one_test): Likewise.
7025 (do_test): Likewise.
7026 * string/test-rawmemchr.c (do_one_test): Likewise.
7027 (do_test): Likewise.
7028 * string/test-strcasecmp.c (do_one_test): Likewise.
7029 (do_test): Likewise.
7030 * string/test-strcasestr.c (do_one_test): Likewise.
7031 (do_test): Likewise.
7032 * string/test-strcat.c (do_one_test): Likewise.
7033 (do_test): Likewise.
7034 * string/test-strchr.c (do_one_test): Likewise.
7035 (do_test): Likewise.
7036 * string/test-strcmp.c (do_one_test): Likewise.
7037 (do_test): Likewise.
7038 * string/test-strcpy.c (do_one_test): Likewise.
7039 (do_test): Likewise.
7040 * string/test-string.h: Likewise.
7041 (test_init): Likewise.
7042 * string/test-strlen.c (do_one_test): Likewise.
7043 (do_test): Likewise.
7044 * string/test-strncasecmp.c (do_one_test): Likewise.
7045 (do_test): Likewise.
7046 * string/test-strncat.c (do_one_test): Likewise.
7047 (do_test): Likewise.
7048 * string/test-strncmp.c (do_one_test): Likewise.
7049 (do_test_limit): Likewise.
7050 (do_test): Likewise.
7051 * string/test-strncpy.c (do_one_test): Likewise.
7052 (do_test): Likewise.
7053 * string/test-strnlen.c (do_one_test): Likewise.
7054 (do_test): Likewise.
7055 * string/test-strpbrk.c (do_one_test): Likewise.
7056 (do_test): Likewise.
7057 * string/test-strrchr.c (do_one_test): Likewise.
7058 (do_test): Likewise.
7059 * string/test-strspn.c (do_one_test): Likewise.
7060 (do_test): Likewise.
7061 * string/test-strstr.c (do_one_test): Likewise.
7062 (do_test): Likewise.
7064 * benchtests/Makefile (string-bench): Add string benchmarks.
7065 * benchtests/bench-bcopy-ifunc.c: New file.
7066 * benchtests/bench-bcopy.c: New file.
7067 * benchtests/bench-bzero-ifunc.c: New file.
7068 * benchtests/bench-bzero.c: New file.
7069 * benchtests/bench-memccpy-ifunc.c: New file.
7070 * benchtests/bench-memccpy.c: New file.
7071 * benchtests/bench-memchr-ifunc.c: New file.
7072 * benchtests/bench-memchr.c: New file.
7073 * benchtests/bench-memcmp-ifunc.c: New file.
7074 * benchtests/bench-memcmp.c: New file.
7075 * benchtests/bench-memmem-ifunc.c: New file.
7076 * benchtests/bench-memmem.c: New file.
7077 * benchtests/bench-memmove-ifunc.c: New file.
7078 * benchtests/bench-memmove.c: New file.
7079 * benchtests/bench-mempcpy-ifunc.c: New file.
7080 * benchtests/bench-mempcpy.c: New file.
7081 * benchtests/bench-memset-ifunc.c: New file.
7082 * benchtests/bench-memset.c: New file.
7083 * benchtests/bench-rawmemchr-ifunc.c: New file.
7084 * benchtests/bench-rawmemchr.c: New file.
7085 * benchtests/bench-stpcpy-ifunc.c: New file.
7086 * benchtests/bench-stpcpy.c: New file.
7087 * benchtests/bench-stpncpy-ifunc.c: New file.
7088 * benchtests/bench-stpncpy.c: New file.
7089 * benchtests/bench-strcasecmp-ifunc.c: New file.
7090 * benchtests/bench-strcasecmp.c: New file.
7091 * benchtests/bench-strcasestr-ifunc.c: New file.
7092 * benchtests/bench-strcasestr.c: New file.
7093 * benchtests/bench-strcat-ifunc.c: New file.
7094 * benchtests/bench-strcat.c: New file.
7095 * benchtests/bench-strchr-ifunc.c: New file.
7096 * benchtests/bench-strchr.c: New file.
7097 * benchtests/bench-strchrnul-ifunc.c: New file.
7098 * benchtests/bench-strchrnul.c: New file.
7099 * benchtests/bench-strcmp-ifunc.c: New file.
7100 * benchtests/bench-strcmp.c: New file.
7101 * benchtests/bench-strcpy-ifunc.c: New file.
7102 * benchtests/bench-strcpy.c: New file.
7103 * benchtests/bench-strcspn-ifunc.c: New file.
7104 * benchtests/bench-strcspn.c: New file.
7105 * benchtests/bench-strlen-ifunc.c: New file.
7106 * benchtests/bench-strlen.c: New file.
7107 * benchtests/bench-strncasecmp-ifunc.c: New file.
7108 * benchtests/bench-strncasecmp.c: New file.
7109 * benchtests/bench-strncat-ifunc.c: New file.
7110 * benchtests/bench-strncat.c: New file.
7111 * benchtests/bench-strncmp-ifunc.c: New file.
7112 * benchtests/bench-strncmp.c: New file.
7113 * benchtests/bench-strncpy-ifunc.c: New file.
7114 * benchtests/bench-strncpy.c: New file.
7115 * benchtests/bench-strnlen-ifunc.c: New file.
7116 * benchtests/bench-strnlen.c: New file.
7117 * benchtests/bench-strpbrk-ifunc.c: New file.
7118 * benchtests/bench-strpbrk.c: New file.
7119 * benchtests/bench-strrchr-ifunc.c: New file.
7120 * benchtests/bench-strrchr.c: New file.
7121 * benchtests/bench-strspn-ifunc.c: New file.
7122 * benchtests/bench-strspn.c: New file.
7123 * benchtests/bench-strstr-ifunc.c: New file.
7124 * benchtests/bench-strstr.c: New file.
7126 * benchtests/Makefile: Disable parallel execution of targets.
7127 (string-bench): Add memcpy.
7128 (benchset): New variable to store a list of benchmark sets.
7129 (bench-func): Renamed from bench.
7130 (bench-set): New target.
7131 (bench): Depend on bench-func and bench-set.
7132 * benchtests/README: Add section on benchmark sets.
7133 * benchtests/bench-memcpy-ifunc.c: New file.
7134 * benchtests/bench-memcpy.c: New file.
7135 * benchtests/bench-string.h: New file.
7137 2013-06-11 Andreas Schwab <schwab@suse.de>
7140 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7141 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7142 values in the triple.
7143 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7144 terminator in the group key.
7146 2013-06-11 Andreas Jaeger <aj@suse.de>
7148 * po/zh_TW.po: Update Chinese (traditional) translation from
7149 translation project.
7151 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7153 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7154 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7155 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7156 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7157 (clock_getcpuclockid): Likewise.
7158 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7159 Add weak_alias and libc_hidden_def.
7160 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7161 * rt/clock_gettime.c (clock_gettime): Rename to
7162 __clock_gettime. Add weak_alias and libc_hidden_def.
7163 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7164 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7165 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7166 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7167 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7169 * rt/clock_settime.c (clock_settime): Rename to
7170 __clock_settime. Add weak_alias and libc_hidden_def.
7171 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7173 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7175 * mach/err_boot.sub: Remove trailing whitespace.
7176 * mach/err_ipc.sub: Likewise.
7177 * mach/err_mach.sub: Likewise.
7179 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7180 (ROUNDING_TESTS_double): Likewise.
7181 (ROUNDING_TESTS_long_double): Likewise.
7182 (ROUNDING_TESTS): Likewise.
7183 * math/libm-test.inc: Include <math-tests.h>.
7184 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7185 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7186 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7187 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7189 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7191 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7194 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7196 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7197 otherwise empty TRANS lines.
7198 * sysdeps/gnu/errlist.c: Regenerated.
7200 * catgets/gencat.c (error_print): Use (void) in function
7202 * crypt/crypt_util.c (__init_des): Likewise.
7203 * crypt/speeds.c (Stop): Likewise.
7205 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7206 * inet/ruserpass.c (token): Likewise.
7207 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7208 * intl/localealias.c (extend_alias_table): Likewise.
7209 * intl/plural-exp.c (init_germanic_plural): Likewise.
7210 * libio/fcloseall.c (__fcloseall): Likewise.
7211 * libio/genops.c (_IO_flush_all): Likewise.
7212 (_IO_flush_all_linebuffered): Likewise.
7213 (_IO_cleanup): Likewise.
7214 (_IO_iter_begin): Likewise.
7215 (_IO_iter_end): Likewise.
7216 (_IO_list_lock): Likewise.
7217 (_IO_list_unlock): Likewise.
7218 (_IO_list_resetlock): Likewise.
7219 * libio/getchar.c (getchar): Likewise.
7220 * libio/getchar_u.c (getchar_unlocked): Likewise.
7221 * libio/getwchar.c (getwchar): Likewise.
7222 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7223 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7224 * login/getpt.c (__getpt): Likewise.
7225 * login/tst-utmp.c (main): Likewise.
7226 * malloc/hooks.c (__malloc_check_init): Likewise.
7227 * malloc/malloc.c (__malloc_stats): Likewise.
7228 * malloc/mtrace.c (tr_break): Likewise.
7230 (muntrace): Likewise.
7231 * misc/fstab.c (endfsent): Likewise.
7232 * misc/getclktck.c (__getclktck): Likewise.
7233 * misc/getdtsz.c (__getdtablesize): Likewise.
7234 * misc/gethostid.c (gethostid): Likewise.
7235 * misc/getpagesize.c (__getpagesize): Likewise.
7236 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7237 (__get_nprocs): Likewise.
7238 (__get_phys_pages): Likewise.
7239 (__get_avphys_pages): Likewise.
7240 * misc/getttyent.c (getttyent): Likewise.
7241 (setttyent): Likewise.
7242 (endttyent): Likewise.
7243 * misc/getusershell.c (getusershell): Likewise.
7244 (endusershell): Likewise.
7245 (setusershell): Likewise.
7246 (initshells): Likewise.
7247 * misc/hsearch.c (__hdestroy): Likewise.
7248 * misc/sync.c (sync): Likewise.
7249 * misc/syslog.c (closelog_internal): Likewise.
7250 (closelog): Likewise.
7251 * misc/ttyslot.c (ttyslot): Likewise.
7252 * misc/vhangup.c (vhangup): Likewise.
7253 * posix/fork.c (__fork): Likewise.
7254 * posix/getegid.c (__getegid): Likewise.
7255 * posix/geteuid.c (__geteuid): Likewise.
7256 * posix/getgid.c (__getgid): Likewise.
7257 * posix/getpid.c (__getpid): Likewise.
7258 * posix/getppid.c (__getppid): Likewise.
7259 * posix/getuid.c (__getuid): Likewise.
7260 * posix/pause.c (pause): Likewise.
7261 * posix/setpgrp.c (setpgrp): Likewise.
7262 * posix/setsid.c (__setsid): Likewise.
7263 * posix/test-vfork.c (noop): Likewise.
7264 * resolv/gethnamaddr.c (_endhtent): Likewise.
7265 (_gethtent): Likewise.
7266 (ht_endhostent): Likewise.
7267 (gethostent): Likewise.
7268 (dns_service): Likewise.
7269 * stdlib/drand48.c (drand48): Likewise.
7270 * stdlib/lrand48.c (lrand48): Likewise.
7271 * stdlib/mrand48.c (mrand48): Likewise.
7272 * stdlib/rand.c (rand): Likewise.
7273 * stdlib/random.c (__random): Likewise.
7274 * stdlib/setenv.c (clearenv): Likewise.
7275 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7276 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7277 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7278 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7279 (__get_nprocs): Likewise.
7280 (__get_phys_pages): Likewise.
7281 (__get_avphys_pages): Likewise.
7282 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7283 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7284 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7285 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7286 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7287 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7288 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7289 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7290 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7291 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7292 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7293 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7294 * sysdeps/posix/clock.c (clock): Likewise.
7295 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7296 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7297 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7298 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7299 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7300 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7301 (__get_nprocs_conf): Likewise.
7302 (__get_phys_pages): Likewise.
7303 (__get_avphys_pages): Likewise.
7304 * time/clock.c (clock): Likewise.
7305 * time/tzset.c (__tzname_max): Likewise.
7307 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7309 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7310 (__bswap_32): Do not use "register".
7311 * crypt/crypt.c (_ufc_doit_r): Likewise.
7312 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7313 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7314 * gmon/gmon.c (__monstartup): Likewise.
7315 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7316 * hurd/hurdmalloc.c (more_memory): Likewise.
7319 (realloc): Likewise.
7320 (malloc_fork_prepare): Likewise.
7321 (malloc_fork_parent): Likewise.
7322 (malloc_fork_child): Likewise.
7323 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7324 (_svcauth_des): Likewise.
7325 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7326 * inet/inet_net.c (inet_network): Likewise.
7327 * inet/inet_netof.c (inet_netof): Likewise.
7328 * inet/rcmd.c (__validuser2_sa): Likewise.
7329 * io/fts.c (fts_open): Likewise.
7330 (fts_load): Likewise.
7331 (fts_close): Likewise.
7332 (fts_read): Likewise.
7333 (fts_children): Likewise.
7334 (fts_build): Likewise.
7335 (fts_stat): Likewise.
7336 (fts_sort): Likewise.
7337 (fts_alloc): Likewise.
7338 (fts_lfree): Likewise.
7339 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7340 (_IO_file_xsgetn): Likewise.
7341 (_IO_file_xsgetn_mmap): Likewise.
7342 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7343 (_IO_cookie_write): Likewise.
7344 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7345 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7346 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7347 * malloc/obstack.c (_obstack_begin): Likewise.
7348 (_obstack_begin_1): Likewise.
7349 (_obstack_newchunk): Likewise.
7350 (_obstack_allocated_p): Likewise.
7351 (obstack_free): Likewise.
7352 (_obstack_memory_used): Likewise.
7353 * misc/getttyent.c (getttynam): Likewise.
7354 (getttyent): Likewise.
7357 * misc/getusershell.c (initshells): Likewise.
7358 * misc/syslog.c (__vsyslog_chk): Likewise.
7359 * misc/ttyslot.c (ttyslot): Likewise.
7360 * nis/nis_hash.c (__nis_hash): Likewise.
7361 * posix/fnmatch_loop.c (FCT): Likewise.
7362 * posix/getconf.c (print_all): Likewise.
7364 * posix/getopt.c (exchange): Likewise.
7365 * posix/glob.c (globfree): Likewise.
7366 (prefix_array): Likewise.
7367 (__glob_pattern_type): Likewise.
7368 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7369 (NS_GET32): Likewise.
7370 (NS_PUT16): Likewise.
7371 (NS_PUT32): Likewise.
7372 * resolv/gethnamaddr.c (getanswer): Likewise.
7373 (gethostbyname2): Likewise.
7374 (gethostbyaddr): Likewise.
7375 (_gethtent): Likewise.
7376 (_gethtbyname2): Likewise.
7377 (_gethtbyaddr): Likewise.
7378 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7379 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7380 * resolv/res_init.c (__res_vinit): Likewise.
7381 (net_mask): Likewise.
7382 * resolv/res_mkquery.c (outchar): Likewise.
7384 * stdio-common/printf_fp.c (outchar): Likewise.
7386 * stdio-common/printf_fphex.c (outchar): Likewise.
7388 * stdio-common/printf_size.c (outchar): Likewise.
7390 * stdio-common/test_rdwr.c (main): Likewise.
7391 * stdio-common/tfformat.c (matches): Likewise.
7392 * stdio-common/vfprintf.c (outchar): Likewise.
7393 (printf_unknown): Likewise.
7394 (buffered_vfprintf): Likewise.
7395 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7396 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7397 (ReadFile): Likewise.
7398 * stdlib/qsort.c (SWAP): Likewise.
7399 (_quicksort): Likewise.
7400 * stdlib/setenv.c (__add_to_environ): Likewise.
7401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7402 * stdlib/strtol_l.c (__strtol_l): Likewise.
7403 * stdlib/tst-strtod.c (main): Likewise.
7404 * stdlib/tst-strtol.c (main): Likewise.
7405 * stdlib/tst-strtoll.c (main): Likewise.
7406 * string/bits/string2.h (__strcmp_cc): Likewise.
7407 (__strcmp_cg): Likewise.
7408 (__strcspn_c1): Likewise.
7409 (__strcspn_c2): Likewise.
7410 (__strcspn_c3): Likewise.
7411 (__strspn_c1): Likewise.
7412 (__strspn_c2): Likewise.
7413 (__strspn_c3): Likewise.
7414 (__strsep_1c): Likewise.
7415 (__strsep_2c): Likewise.
7416 (__strsep_3c): Likewise.
7417 * string/memccpy.c (__memccpy): Likewise.
7418 * string/stpcpy.c (__stpcpy): Likewise.
7419 * string/strcmp.c (strcmp): Likewise.
7420 * string/strrchr.c (strrchr): Likewise.
7421 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7423 * sysdeps/mach/hurd/getcwd.c
7424 (_hurd_canonicalize_directory_name_internal): Likewise.
7425 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7426 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7427 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7428 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7429 Likewise, in both definitions.
7430 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7432 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7433 64] (__bswap_64): Likewise.
7434 * time/test_time.c (main): Likewise.
7435 * time/tzfile.c (__tzfile_read): Likewise.
7436 (__tzfile_compute): Likewise.
7437 * time/tzset.c (__tzset_parse_tz): Likewise.
7438 (tzset_internal): Likewise.
7439 (compute_change): Likewise.
7440 * wcsmbs/wcscat.c (__wcscat): Likewise.
7441 * wcsmbs/wcschr.c (wcschr): Likewise.
7442 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7443 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7444 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7445 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7446 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7447 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7448 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7449 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7450 * wcsmbs/wmemset.c (wmemset): Likewise.
7452 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7454 * scripts/config.guess: Update to version 2013-05-16.
7455 * scripts/config.sub: Update to version 2013-04-24.
7456 * scripts/install-sh: Update to version 2011-11-20.07.
7457 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7458 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7460 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7462 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7463 * elf/sln.c: Likewise.
7464 * hurd/hurd/ioctl.h: Likewise.
7465 * hurd/hurdmalloc.c: Likewise.
7466 * hurd/xattr.c: Likewise.
7467 * include/shlib-compat.h: Likewise.
7468 * inet/ruserpass.c: Likewise.
7469 * libio/iofgets_u.c: Likewise.
7470 * libio/iofgetws_u.c: Likewise.
7471 * locale/programs/ld-identification.c: Likewise.
7472 * locale/programs/ld-time.c: Likewise.
7473 * mach/msg-destroy.c: Likewise.
7474 * nss/nss_files/files-netgrp.c: Likewise.
7475 * resolv/res_data.c: Likewise.
7476 * soft-fp/op-1.h: Likewise.
7477 * soft-fp/op-2.h: Likewise.
7478 * soft-fp/op-4.h: Likewise.
7479 * soft-fp/op-common.h: Likewise.
7480 * stdio-common/printf_fphex.c: Likewise.
7481 * stdlib/strtod_l.c: Likewise.
7482 * sunrpc/rpc/clnt.h: Likewise.
7483 * sysdeps/generic/framestate.c: Likewise.
7484 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7485 * sysdeps/i386/bsd-setjmp.S: Likewise.
7486 * sysdeps/i386/__longjmp.S: Likewise.
7487 * sysdeps/i386/setjmp.S: Likewise.
7488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7490 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7506 * sysdeps/ieee754/support.c: Likewise.
7507 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7508 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7509 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7510 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7511 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7512 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7513 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7514 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7515 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7516 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7517 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7518 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7519 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7520 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7521 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7522 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7523 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7526 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7528 * posix/transbug.c: Remove executable mode.
7530 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7532 * crypt/speeds.c: Remove trailing whitespace.
7533 * dlfcn/default.c: Likewise.
7534 * elf/ifuncdep2.c: Likewise.
7535 * elf/ifuncmain1.c: Likewise.
7536 * elf/ifuncmain1vis.c: Likewise.
7537 * elf/testobj.h: Likewise.
7538 * elf/tst-stackguard1.c: Likewise.
7539 * gmon/sys/gmon.h: Likewise.
7540 * hurd/hurdmsg.c: Likewise.
7541 * hurd/new-fd.c: Likewise.
7542 * hurd/ports-get.c: Likewise.
7543 * iconvdata/ibm1008_420.c: Likewise.
7544 * inet/tst-getni1.c: Likewise.
7545 * inet/tst-getni2.c: Likewise.
7546 * libio/ioungetc.c: Likewise.
7547 * libio/wfiledoalloc.c: Likewise.
7548 * manual/libm-err-tab.pl: Likewise.
7549 * math/w_dremf.c: Likewise.
7550 * misc/ftruncate.c: Likewise.
7551 * posix/bug-glob2.c: Likewise.
7552 * posix/tst-pcre.c: Likewise.
7553 * posix/wait4.c: Likewise.
7554 * resolv/README: Likewise.
7555 * resolv/res_debug.h: Likewise.
7556 * resolv/tst-inet_ntop.c: Likewise.
7557 * setjmp/bug269-setjmp.c: Likewise.
7558 * soft-fp/extended.h: Likewise.
7559 * soft-fp/op-1.h: Likewise.
7560 * soft-fp/op-2.h: Likewise.
7561 * soft-fp/op-4.h: Likewise.
7562 * soft-fp/op-8.h: Likewise.
7563 * soft-fp/testit.c: Likewise.
7564 * stdio-common/bug16.c: Likewise.
7565 * stdlib/random.c: Likewise.
7566 * sunrpc/rpcsvc/rquota.x: Likewise.
7567 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7568 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7570 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7571 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7572 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7573 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7574 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7575 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7576 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7577 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7594 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7596 * sysdeps/ieee754/s_lib_version.c: Likewise.
7597 * sysdeps/mach/hurd/check_fds.c: Likewise.
7598 * sysdeps/mach/hurd/getsockname.c: Likewise.
7599 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7600 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7601 * sysdeps/powerpc/bits/link.h: Likewise.
7602 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7603 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7604 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7605 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7606 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7607 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7608 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7609 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7610 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7611 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7612 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7613 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7614 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7615 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7616 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7617 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7619 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7620 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7621 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7622 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7623 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7624 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7625 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7626 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7629 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7630 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7634 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7635 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7636 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7637 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7638 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7639 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7640 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7641 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7642 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7643 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7644 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7645 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7646 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7647 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7648 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7649 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7650 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7651 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7653 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7654 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7655 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7657 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7658 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7659 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7660 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7661 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7662 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7663 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7664 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7665 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7666 * sysdeps/powerpc/sysdep.h: Likewise.
7667 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7668 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7669 * sysdeps/sh/dl-trampoline.S: Likewise.
7670 * sysdeps/sh/memset.S: Likewise.
7671 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7672 * sysdeps/sh/strlen.S: Likewise.
7673 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7674 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7675 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7676 * sysdeps/sparc/sparc32/rem.S: Likewise.
7677 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7678 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7679 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7680 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7681 * sysdeps/sparc/sparc32/urem.S: Likewise.
7682 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7683 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7684 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7685 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7686 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7687 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7688 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7689 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7690 * sysdeps/unix/bsd/times.c: Likewise.
7691 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7692 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7696 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7697 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7698 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7699 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7700 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7702 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7703 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7704 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7705 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7706 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7707 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7708 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7709 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7710 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7711 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7712 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7713 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7714 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7715 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7716 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7717 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7719 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7720 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7721 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7722 * sysdeps/x86_64/strcspn.S: Likewise.
7724 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7726 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7727 generated file. Regenerate properly from gen-translit.pl.
7728 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7729 locale/C-translit.h.
7731 2013-06-05 Andreas Schwab <schwab@suse.de>
7734 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7735 week as 6 instead of -1.
7736 * time/tst-strptime.c (day_tests): Add test case.
7738 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7740 * sysdeps/generic/math_private.h
7741 (libc_feholdexcept_setround_53bit): Replace with
7742 libc_feholdsetround_53bit.
7743 (libc_feupdateenv_53bit): Replace with
7744 libc_feresetround_53bit.
7745 (SET_RESTORE_ROUND_53BIT): Adjust.
7747 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7749 * string/test-strchrnul.c: Add copyright header.
7751 * posix/tst-getaddrinfo4.c: Increase test timeout.
7753 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7756 * math/libm-test.inc (MAX_EXP): Remove
7758 (ulp): Use MIN_EXP - MANT_DIG.
7759 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7761 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7763 * po/be.po: Revert last change.
7764 * po/zh_CN.po: Likewise.
7765 * po/header.pot: Likewise.
7767 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7769 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7770 link-libc-deps to empty as target-specific variable.
7771 * Makerules (link-libc-args): New variable.
7772 (libc-for-link): Likewise.
7773 (link-libc-deps): Likewise.
7774 (lib%.so): Depend on $(link-libc-deps). Link with
7776 (build-module): Link with $(link-libc-args).
7777 (build-module-asneeded): Likewise.
7778 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7780 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7781 target-specific variable.
7782 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7783 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7784 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7786 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7788 ($(objpfx)libpcprofile.so): Likewise.
7789 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7791 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7792 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7793 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7795 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7796 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7797 * login/Makefile ($(objpfx)libutil.so): Likewise.
7798 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7799 * math/Makefile ($(objpfx)libm.so): Likewise.
7800 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7801 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7802 variable instead of depending directly on libc.
7803 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7804 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7806 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7808 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7809 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7810 ($(objpfx)libanl.so): Likewise.
7811 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7813 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7815 * sysdeps/i386/fpu/Makefile: Remove file.
7816 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7817 ($(objpfx)libm.so): Remove dependency on ld.so.
7819 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7822 * nis/yp_xdr.c (XDRMAXNAME): Define.
7823 (XDRMAXRECORD): Define.
7824 (xdr_domainname): Use XDRMAXNAME.
7825 (xdr_mapname): Likewise.
7826 (xdr_peername): Likewise.
7827 (xdr_keydat): Use XDRMAXRECORD.
7828 (xdr_valdat): Likewise.
7830 2013-05-30 Jeff Law <law@redhat.com>
7833 * manual/errno.texi (ESTALE): Update to account for more than
7834 just NFS file systems.
7835 * sysdeps/gnu/errlist.c: Regenerated.
7837 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7840 * elf/Makefile (tests): Add tst-null-argv.
7841 (modules-names): Add tst-null-argv-lib.
7842 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7843 (tst-null-argv-ENV): Set environment for tst-null-argv.
7844 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7845 (RTLD_PROGNAME): New macro.
7846 * elf/tst-null-argv.c: New test case.
7847 * elf/tst-null-argv-lib.c: Library for test case.
7848 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7849 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7850 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7851 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7852 * elf/dl-init.c (call_init): Likewise.
7853 (_dl_init): Likewise.
7854 * elf/dl-load.c (print_search_path): Likewise.
7855 (_dl_map_object): Likewise.
7856 * elf/dl-lookup.c (do_lookup_x): Likewise.
7857 (add_dependency): Likewise.
7858 (_dl_lookup_symbol_x): Likewise.
7859 (_dl_debug_bindings): Likewise.
7860 * elf/dl-open.c (_dl_show_scope): Likewise.
7861 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7862 * elf/dl-version.c (match_symbol): Likewise.
7863 (_dl_check_map_versions): Likewise.
7864 * elf/rtld.c (dl_main): Likewise.
7865 (print_unresolved): Use RTLD_PROGNAME.
7866 (print_missing_version): Likewise.
7867 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7868 (elf_machine_rela): Likewise.
7869 * sysdeps/powerpc/powerpc32/dl-machine.c
7870 (__process_machine_rela): Likewise.
7871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7873 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7875 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7877 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7884 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7886 * po/be.po: Add descriptive title.
7887 * po/zh_CN.po: Likewise.
7888 * po/header.pot: Likewise.
7890 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7892 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7894 (enlarge_archive): Likewise.
7896 2013-05-28 Ben North <ben@redfrontdoor.org>
7898 * manual/arith.texi (frexp): It is the magnitude of the return
7899 value which lies in [0.5, 1), not the return value itself.
7901 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7905 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7907 * stdio-common/bug26.c (main): Correct fscanf template.
7909 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7910 declare _dl_skip_args.
7912 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7915 * manual/platform.texi: Add missing @end deftypefun.
7917 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7920 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7921 bit of mantissa of 2^16382.
7922 * math/libm-test.inc (hypot_test_data): Add more tests.
7924 * math/libm-test.inc: Add drem and pow10 to list of tested
7926 (pow10_test): New function.
7927 (drem_test): Likewise.
7928 (drem_test_tonearest): Likewise.
7929 (drem_test_towardzero): Likewise.
7930 (drem_test_downward): Likewise.
7931 (drem_test_upward): Likewise.
7932 (main): Call the new functions.
7934 * math/libm-test.inc (finite_test_data): Remove.
7935 (finite_test): Run tests from isfinite_test_data.
7936 (gamma_test_data): Remove.
7937 (gamma_test): Run tests from lgamma_test_data.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7943 * manual/platform.texi: Add PowerPC PPR function set documentation.
7944 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7947 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7949 * math/libm-test.inc (MAX_EXP): Define.
7951 (ulp): New function.
7952 (check_float_internal): Use ULPDIFF.
7953 (cpow_test): Disable failing test.
7954 (check_ulp): Test ulp() implemetnation.
7955 (main): Call check_ulp before starting tests.
7957 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7959 * math/gen-libm-test.pl (generate_testfile): Do not handle
7960 START_DATA and END_DATA.
7961 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7963 (acos_tonearest_test_data): Likewise.
7964 (acos_towardzero_test_data): Likewise.
7965 (acos_downward_test_data): Likewise.
7966 (acos_upward_test_data): Likewise.
7967 (acosh_test_data): Likewise.
7968 (asin_test_data): Likewise.
7969 (asin_tonearest_test_data): Likewise.
7970 (asin_towardzero_test_data): Likewise.
7971 (asin_downward_test_data): Likewise.
7972 (asin_upward_test_data): Likewise.
7973 (asinh_test_data): Likewise.
7974 (atan_test_data): Likewise.
7975 (atanh_test_data): Likewise.
7976 (atan2_test_data): Likewise.
7977 (cabs_test_data): Likewise.
7978 (cacos_test_data): Likewise.
7979 (cacosh_test_data): Likewise.
7980 (carg_test_data): Likewise.
7981 (casin_test_data): Likewise.
7982 (casinh_test_data): Likewise.
7983 (catan_test_data): Likewise.
7984 (catanh_test_data): Likewise.
7985 (cbrt_test_data): Likewise.
7986 (ccos_test_data): Likewise.
7987 (ccosh_test_data): Likewise.
7988 (ceil_test_data): Likewise.
7989 (cexp_test_data): Likewise.
7990 (cimag_test_data): Likewise.
7991 (clog_test_data): Likewise.
7992 (clog10_test_data): Likewise.
7993 (conj_test_data): Likewise.
7994 (copysign_test_data): Likewise.
7995 (cos_test_data): Likewise.
7996 (cos_tonearest_test_data): Likewise.
7997 (cos_towardzero_test_data): Likewise.
7998 (cos_downward_test_data): Likewise.
7999 (cos_upward_test_data): Likewise.
8000 (cosh_test_data): Likewise.
8001 (cosh_tonearest_test_data): Likewise.
8002 (cosh_towardzero_test_data): Likewise.
8003 (cosh_downward_test_data): Likewise.
8004 (cosh_upward_test_data): Likewise.
8005 (cpow_test_data): Likewise.
8006 (cproj_test_data): Likewise.
8007 (creal_test_data): Likewise.
8008 (csin_test_data): Likewise.
8009 (csinh_test_data): Likewise.
8010 (csqrt_test_data): Likewise.
8011 (ctan_test_data): Likewise.
8012 (ctan_tonearest_test_data): Likewise.
8013 (ctan_towardzero_test_data): Likewise.
8014 (ctan_downward_test_data): Likewise.
8015 (ctan_upward_test_data): Likewise.
8016 (ctanh_test_data): Likewise.
8017 (ctanh_tonearest_test_data): Likewise.
8018 (ctanh_towardzero_test_data): Likewise.
8019 (ctanh_downward_test_data): Likewise.
8020 (ctanh_upward_test_data): Likewise.
8021 (erf_test_data): Likewise.
8022 (erfc_test_data): Likewise.
8023 (exp_test_data): Likewise.
8024 (exp_tonearest_test_data): Likewise.
8025 (exp_towardzero_test_data): Likewise.
8026 (exp_downward_test_data): Likewise.
8027 (exp_upward_test_data): Likewise.
8028 (exp10_test_data): Likewise.
8029 (exp2_test_data): Likewise.
8030 (expm1_test_data): Likewise.
8031 (fabs_test_data): Likewise.
8032 (fdim_test_data): Likewise.
8033 (finite_test_data): Likewise.
8034 (floor_test_data): Likewise.
8035 (fma_test_data): Likewise.
8036 (fma_towardzero_test_data): Likewise.
8037 (fma_downward_test_data): Likewise.
8038 (fma_upward_test_data): Likewise.
8039 (fmax_test_data): Likewise.
8040 (fmin_test_data): Likewise.
8041 (fmod_test_data): Likewise.
8042 (fpclassify_test_data): Likewise.
8043 (frexp_test_data): Likewise.
8044 (gamma_test_data): Likewise.
8045 (hypot_test_data): Likewise.
8046 (ilogb_test_data): Likewise.
8047 (isfinite_test_data): Likewise.
8048 (isgreater_test_data): Likewise.
8049 (isgreaterequal_test_data): Likewise.
8050 (isinf_test_data): Likewise.
8051 (isless_test_data): Likewise.
8052 (islessequal_test_data): Likewise.
8053 (islessgreater_test_data): Likewise.
8054 (isnan_test_data): Likewise.
8055 (isnormal_test_data): Likewise.
8056 (issignaling_test_data): Likewise.
8057 (isunordered_test_data): Likewise.
8058 (j0_test_data): Likewise.
8059 (j1_test_data): Likewise.
8060 (jn_test_data): Likewise.
8061 (ldexp_test_data): Likewise.
8062 (lgamma_test_data): Likewise.
8063 (lrint_test_data): Likewise.
8064 (lrint_tonearest_test_data): Likewise.
8065 (lrint_towardzero_test_data): Likewise.
8066 (lrint_downward_test_data): Likewise.
8067 (lrint_upward_test_data): Likewise.
8068 (llrint_test_data): Likewise.
8069 (llrint_tonearest_test_data): Likewise.
8070 (llrint_towardzero_test_data): Likewise.
8071 (llrint_downward_test_data): Likewise.
8072 (llrint_upward_test_data): Likewise.
8073 (log_test_data): Likewise.
8074 (log10_test_data): Likewise.
8075 (log1p_test_data): Likewise.
8076 (log2_test_data): Likewise.
8077 (logb_test_data): Likewise.
8078 (logb_downward_test_data): Likewise.
8079 (lround_test_data): Likewise.
8080 (llround_test_data): Likewise.
8081 (modf_test_data): Likewise.
8082 (nearbyint_test_data): Likewise.
8083 (nextafter_test_data): Likewise.
8084 (nexttoward_test_data): Likewise.
8085 (pow_test_data): Likewise.
8086 (pow_tonearest_test_data): Likewise.
8087 (pow_towardzero_test_data): Likewise.
8088 (pow_downward_test_data): Likewise.
8089 (pow_upward_test_data): Likewise.
8090 (remainder_test_data): Likewise.
8091 (remainder_tonearest_test_data): Likewise.
8092 (remainder_towardzero_test_data): Likewise.
8093 (remainder_downward_test_data): Likewise.
8094 (remainder_upward_test_data): Likewise.
8095 (remquo_test_data): Likewise.
8096 (rint_test_data): Likewise.
8097 (rint_tonearest_test_data): Likewise.
8098 (rint_towardzero_test_data): Likewise.
8099 (rint_downward_test_data): Likewise.
8100 (rint_upward_test_data): Likewise.
8101 (round_test_data): Likewise.
8102 (scalb_test_data): Likewise.
8103 (scalbn_test_data): Likewise.
8104 (scalbln_test_data): Likewise.
8105 (signbit_test_data): Likewise.
8106 (sin_test_data): Likewise.
8107 (sin_tonearest_test_data): Likewise.
8108 (sin_towardzero_test_data): Likewise.
8109 (sin_downward_test_data): Likewise.
8110 (sin_upward_test_data): Likewise.
8111 (sincos_test_data): Likewise.
8112 (sinh_test_data): Likewise.
8113 (sinh_tonearest_test_data): Likewise.
8114 (sinh_towardzero_test_data): Likewise.
8115 (sinh_downward_test_data): Likewise.
8116 (sinh_upward_test_data): Likewise.
8117 (sqrt_test_data): Likewise.
8118 (tan_test_data): Likewise.
8119 (tan_tonearest_test_data): Likewise.
8120 (tan_towardzero_test_data): Likewise.
8121 (tan_downward_test_data): Likewise.
8122 (tan_upward_test_data): Likewise.
8123 (tanh_test_data): Likewise.
8124 (tgamma_test_data): Likewise.
8125 (trunc_test_data): Likewise.
8126 (y0_test_data): Likewise.
8127 (y1_test_data): Likewise.
8128 (yn_test_data): Likewise.
8129 (significand_test_data): Likewise.
8131 * math/gen-libm-test.pl (@functions): Remove variable.
8132 (generate_testfile): Don't handle START and END lines.
8133 * math/libm-test.inc (START): New macro.
8135 (END_COMPLEX): Likewise.
8136 (acos_test): Use END macro without arguments.
8137 (acos_test_tonearest): Likewise.
8138 (acos_test_towardzero): Likewise.
8139 (acos_test_downward): Likewise.
8140 (acos_test_upward): Likewise.
8141 (acosh_test): Likewise.
8142 (asin_test): Likewise.
8143 (asin_test_tonearest): Likewise.
8144 (asin_test_towardzero): Likewise.
8145 (asin_test_downward): Likewise.
8146 (asin_test_upward): Likewise.
8147 (asinh_test): Likewise.
8148 (atan_test): Likewise.
8149 (atanh_test): Likewise.
8150 (atan2_test): Likewise.
8151 (cabs_test): Likewise.
8152 (cacos_test): Use END_COMPLEX macro without arguments.
8153 (cacosh_test): Likewise.
8154 (carg_test): Use END macro without arguments.
8155 (casin_test): Use END_COMPLEX macro without arguments.
8156 (casinh_test): Likewise.
8157 (catan_test): Likewise.
8158 (catanh_test): Likewise.
8159 (cbrt_test): Use END macro without arguments.
8160 (ccos_test): Use END_COMPLEX macro without arguments.
8161 (ccosh_test): Likewise.
8162 (ceil_test): Use END macro without arguments.
8163 (cexp_test): Use END_COMPLEX macro without arguments.
8164 (cimag_test): Use END macro without arguments.
8165 (clog_test): Use END_COMPLEX macro without arguments.
8166 (clog10_test): Likewise.
8167 (conj_test): Likewise.
8168 (copysign_test): Use END macro without arguments.
8169 (cos_test): Likewise.
8170 (cos_test_tonearest): Likewise.
8171 (cos_test_towardzero): Likewise.
8172 (cos_test_downward): Likewise.
8173 (cos_test_upward): Likewise.
8174 (cosh_test): Likewise.
8175 (cosh_test_tonearest): Likewise.
8176 (cosh_test_towardzero): Likewise.
8177 (cosh_test_downward): Likewise.
8178 (cosh_test_upward): Likewise.
8179 (cpow_test): Use END_COMPLEX macro without arguments.
8180 (cproj_test): Likewise.
8181 (creal_test): Use END macro without arguments.
8182 (csin_test): Use END_COMPLEX macro without arguments.
8183 (csinh_test): Likewise.
8184 (csqrt_test): Likewise.
8185 (ctan_test): Likewise.
8186 (ctan_test_tonearest): Likewise.
8187 (ctan_test_towardzero): Likewise.
8188 (ctan_test_downward): Likewise.
8189 (ctan_test_upward): Likewise.
8190 (ctanh_test): Likewise.
8191 (ctanh_test_tonearest): Likewise.
8192 (ctanh_test_towardzero): Likewise.
8193 (ctanh_test_downward): Likewise.
8194 (ctanh_test_upward): Likewise.
8195 (erf_test): Use END macro without arguments.
8196 (erfc_test): Likewise.
8197 (exp_test): Likewise.
8198 (exp_test_tonearest): Likewise.
8199 (exp_test_towardzero): Likewise.
8200 (exp_test_downward): Likewise.
8201 (exp_test_upward): Likewise.
8202 (exp10_test): Likewise.
8203 (exp2_test): Likewise.
8204 (expm1_test): Likewise.
8205 (fabs_test): Likewise.
8206 (fdim_test): Likewise.
8207 (finite_test): Likewise.
8208 (floor_test): Likewise.
8209 (fma_test): Likewise.
8210 (fma_test_towardzero): Likewise.
8211 (fma_test_downward): Likewise.
8212 (fma_test_upward): Likewise.
8213 (fmax_test): Likewise.
8214 (fmin_test): Likewise.
8215 (fmod_test): Likewise.
8216 (fpclassify_test): Likewise.
8217 (frexp_test): Likewise.
8218 (gamma_test): Likewise.
8219 (hypot_test): Likewise.
8220 (ilogb_test): Likewise.
8221 (isfinite_test): Likewise.
8222 (isgreater_test): Likewise.
8223 (isgreaterequal_test): Likewise.
8224 (isinf_test): Likewise.
8225 (isless_test): Likewise.
8226 (islessequal_test): Likewise.
8227 (islessgreater_test): Likewise.
8228 (isnan_test): Likewise.
8229 (isnormal_test): Likewise.
8230 (issignaling_test): Likewise.
8231 (isunordered_test): Likewise.
8232 (j0_test): Likewise.
8233 (j1_test): Likewise.
8234 (jn_test): Likewise.
8235 (ldexp_test): Likewise.
8236 (lgamma_test): Likewise.
8237 (lrint_test): Likewise.
8238 (lrint_test_tonearest): Likewise.
8239 (lrint_test_towardzero): Likewise.
8240 (lrint_test_downward): Likewise.
8241 (lrint_test_upward): Likewise.
8242 (llrint_test): Likewise.
8243 (llrint_test_tonearest): Likewise.
8244 (llrint_test_towardzero): Likewise.
8245 (llrint_test_downward): Likewise.
8246 (llrint_test_upward): Likewise.
8247 (log_test): Likewise.
8248 (log10_test): Likewise.
8249 (log1p_test): Likewise.
8250 (log2_test): Likewise.
8251 (logb_test): Likewise.
8252 (logb_test_downward): Likewise.
8253 (lround_test): Likewise.
8254 (llround_test): Likewise.
8255 (modf_test): Likewise.
8256 (nearbyint_test): Likewise.
8257 (nextafter_test): Likewise.
8258 (nexttoward_test): Likewise.
8259 (pow_test): Likewise.
8260 (pow_test_tonearest): Likewise.
8261 (pow_test_towardzero): Likewise.
8262 (pow_test_downward): Likewise.
8263 (pow_test_upward): Likewise.
8264 (remainder_test): Likewise.
8265 (remainder_test_tonearest): Likewise.
8266 (remainder_test_towardzero): Likewise.
8267 (remainder_test_downward): Likewise.
8268 (remainder_test_upward): Likewise.
8269 (remquo_test): Likewise.
8270 (rint_test): Likewise.
8271 (rint_test_tonearest): Likewise.
8272 (rint_test_towardzero): Likewise.
8273 (rint_test_downward): Likewise.
8274 (rint_test_upward): Likewise.
8275 (round_test): Likewise.
8276 (scalb_test): Likewise.
8277 (scalbn_test): Likewise.
8278 (scalbln_test): Likewise.
8279 (signbit_test): Likewise.
8280 (sin_test): Likewise.
8281 (sin_test_tonearest): Likewise.
8282 (sin_test_towardzero): Likewise.
8283 (sin_test_downward): Likewise.
8284 (sin_test_upward): Likewise.
8285 (sincos_test): Likewise.
8286 (sinh_test): Likewise.
8287 (sinh_test_tonearest): Likewise.
8288 (sinh_test_towardzero): Likewise.
8289 (sinh_test_downward): Likewise.
8290 (sinh_test_upward): Likewise.
8291 (sqrt_test): Likewise.
8292 (tan_test): Likewise.
8293 (tan_test_tonearest): Likewise.
8294 (tan_test_towardzero): Likewise.
8295 (tan_test_downward): Likewise.
8296 (tan_test_upward): Likewise.
8297 (tanh_test): Likewise.
8298 (tgamma_test): Likewise.
8299 (trunc_test): Likewise.
8300 (y0_test): Likewise.
8301 (y1_test): Likewise.
8302 (yn_test): Likewise.
8303 (significand_test): Likewise.
8305 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8308 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8310 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8313 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8314 __ppc_mdoio and __ppc_mdoom.
8315 * manual/platform.texi: Document new functions __ppc_yield,
8316 __ppc_mdoio and __ppc_mdoom.
8318 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8320 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8321 (main): Mention "tls" pseudo-hwcap is legacy.
8322 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8324 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8326 * math/gen-libm-test.pl (parse_args): Output only string of
8327 arguments as text for test name, not full call or descriptions of
8328 tests for extra outputs.
8329 (generate_testfile): Do not pass function name to parse_args.
8330 Generate this_func variable from START.
8331 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8333 (struct test_ff_f_data): Likewise.
8334 (test_ff_f_data_nexttoward): Likewise.
8335 (struct test_fi_f_data): Likewise.
8336 (struct test_fl_f_data): Likewise.
8337 (struct test_if_f_data): Likewise.
8338 (struct test_fff_f_data): Likewise.
8339 (struct test_c_f_data): Likewise.
8340 (struct test_f_f1_data): Likewise. Remove field extra_name.
8341 (struct test_fF_f1_data): Likewise.
8342 (struct test_ffI_f1_data): Likewise.
8343 (struct test_c_c_data): Rename test_name field to arg_str.
8344 (struct test_cc_c_data): Likewise.
8345 (struct test_f_i_data): Likewise.
8346 (struct test_ff_i_data): Likewise.
8347 (struct test_f_l_data): Likewise.
8348 (struct test_f_L_data): Likewise.
8349 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8351 (COMMON_TEST_SETUP): New macro.
8352 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8353 (COMMON_TEST_CLEANUP): Likewise.
8354 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8355 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8357 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8358 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8360 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8361 (RUN_TEST_fff_f): Take argument string. Call new setup and
8363 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8364 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8366 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8367 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8369 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8370 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8372 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8373 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8375 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8376 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8378 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8379 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8381 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8382 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8384 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8385 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8387 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8388 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8390 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8391 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8393 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8394 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8396 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8397 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8399 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8400 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8402 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8403 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8405 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8406 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8408 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8410 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8412 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8413 to _sifields.sigfault.
8414 (si_addr_lsb): Define new macro.
8415 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8416 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8417 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8419 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8422 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8424 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8426 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8429 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8431 * math/gen-libm-test.pl (parse_args): Do not include expected
8432 result in test name.
8433 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8434 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8435 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8437 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8440 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8442 * benchtests/Makefile: Sort function entries.
8444 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8445 tanh, asinh, acosh, atanh.
8446 * benchtests/acos-inputs: New file.
8447 * benchtests/acosh-inputs: New file.
8448 * benchtests/asin-inputs: New file.
8449 * benchtests/asinh-inputs: New file.
8450 * benchtests/atanh-inputs: New file.
8451 * benchtests/cosh-inputs: New file.
8452 * benchtests/log-inputs: New file.
8453 * benchtests/sinh-inputs: New file.
8454 * benchtests/tanh-inputs: New file.
8456 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8459 * posix/tst-getaddrinfo4.c: New test.
8460 * posix/Makefile (tests): Add it.
8462 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8465 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8466 when no services were used.
8467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8468 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8470 2013-05-21 Andreas Schwab <schwab@suse.de>
8473 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8474 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8476 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8477 redundant variable declarations and reallocation of buffer when
8478 parsing as IPv6 address. Always set NSS status when called from
8479 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8480 buffer too small. Correct computation of needed size.
8481 * nss/Makefile (tests): Add test-digits-dots.
8482 * nss/test-digits-dots.c: New test.
8484 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8486 * benchtests/Makefile: Remove instructions for adding
8488 * benchtests/README: New file to explain how to execute and
8489 enhance the benchmark tests.
8491 2013-05-21 Andreas Schwab <schwab@suse.de>
8494 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8495 * setjmp/tst-sigsetjmp.c: New test.
8497 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8499 * sysdeps/x86_64/memset.S (memset): New implementation.
8500 (__bzero): Likewise.
8501 (__memset_tail): New function.
8503 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8505 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8506 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8507 __memcpy_sse2_unaligned ifunc selection.
8508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8509 Add memcpy-sse2-unaligned.S.
8510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8511 Add: __memcpy_sse2_unaligned.
8513 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8516 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8517 math_force_eval before restoring floating-point envrionment.
8518 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8521 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8523 (__nearbyintl): Use math_force_eval before restoring
8524 floating-point environment.
8525 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8527 * math/gen-libm-test.pl (special_functions): Remove.
8528 (parse_args): Don't handle TEST_extra. Handle functions with no
8530 * math/libm-test.inc (struct test_sincos_data): Replace with
8531 struct test_fFF_11_data.
8532 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8533 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8534 (sincos_test_data): Change element type to struct
8535 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8536 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8537 RUN_TEST_LOOP_sincos.
8538 * math/README.libm-test: Don't mention special handling of
8539 individual functions.
8540 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8542 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8543 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8544 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8547 * math/gen-libm-test.pl (get_variable): Remove function.
8548 (parse_args): Don't show pointer parameters to call in test
8549 names. Use "extra output N" in test names for extra outputs
8550 rather than naming variables.
8552 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8555 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8556 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8557 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8559 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8561 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8564 * math/gen-libm-test.pl (@tests): Remove variable.
8566 (new_test): Remove function.
8567 (show_exceptions): New function.
8568 (special_functions): Use show_exceptions instead of new_test.
8569 (parse_args): Likewise.
8570 (generate_testfile): Pass only function name in generated call to
8571 print_max_error or print_complex_max_error.
8572 (get_ulps): Do not handle complex tests specially.
8573 (output_test): Rename to ...
8574 (get_all_ulps_for_test): ... this. Return a string rather than
8575 printing to a file. Require ulps to be present.
8576 (output_ulps): Generate arrays rather than #defines.
8577 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8578 (struct ulp_data): New type.
8579 (BUILD_COMPLEX_ULP): Remove macro.
8580 (compare_ulp_data): New function.
8581 (find_ulps): Likewise.
8582 (find_test_ulps): Likewise.
8583 (find_function_ulps): Likewise.
8584 (find_complex_function_ulps): Likewise.
8585 (print_max_error): Determine allowed ulps using
8587 (print_complex_max_error): Determine allowed ulps using
8588 find_complex_function_ulps.
8589 (check_float_internal): Determine max ulps using find_test_ulps.
8590 (check_float): Do not take max_ulp parameter. Update call to
8591 check_float_internal.
8592 (check_complex): Likewise.
8593 (check_int): Do not take max_ulp parameter.
8594 (check_long): Likewise.
8595 (check_bool): Likewise.
8596 (check_longlong): Likewise.
8597 (struct test_f_f_data): Remove max_ulp field.
8598 (struct test_ff_f_data): Likewise.
8599 (struct test_ff_f_data_nexttoward): Likewise.
8600 (struct test_fi_f_data): Likewise.
8601 (struct test_fl_f_data): Likewise.
8602 (struct test_if_f_data): Likewise.
8603 (struct test_fff_f_data): Likewise.
8604 (struct test_c_f_data): Likewise.
8605 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8606 (struct test_fF_f1_data): Likewise.
8607 (struct test_ffI_f1_data): Likewise.
8608 (struct test_c_c_data): Remove max_ulp field.
8609 (struct test_cc_c_data): Likewise.
8610 (struct test_f_i_data): Likewise.
8611 (struct test_ff_i_data): Likewise.
8612 (struct test_f_l_data): Likewise.
8613 (struct test_f_L_data): Likewise.
8614 (struct test_sincos_data): Likewise.
8615 (RUN_TEST_f_f): Do not handle ulps.
8616 (RUN_TEST_LOOP_f_f): Likewise.
8617 (RUN_TEST_2_f): Likewise.
8618 (RUN_TEST_LOOP_2_f): Likewise.
8619 (RUN_TEST_fff_f): Likewise.
8620 (RUN_TEST_LOOP_fff_f): Likewise.
8621 (RUN_TEST_c_f): Likewise.
8622 (RUN_TEST_LOOP_c_f): Likewise.
8623 (RUN_TEST_f_f1): Likewise.
8624 (RUN_TEST_LOOP_f_f1): Likewise.
8625 (RUN_TEST_fF_f1): Likewise.
8626 (RUN_TEST_LOOP_fF_f1): Likewise.
8627 (RUN_TEST_fI_f1): Likewise.
8628 (RUN_TEST_LOOP_fI_f1): Likewise.
8629 (RUN_TEST_ffI_f1): Likewise.
8630 (RUN_TEST_LOOP_ffI_f1): Likewise.
8631 (RUN_TEST_c_c): Likewise.
8632 (RUN_TEST_LOOP_c_c): Likewise.
8633 (RUN_TEST_cc_c): Likewise.
8634 (RUN_TEST_LOOP_cc_c): Likewise.
8635 (RUN_TEST_f_i): Likewise.
8636 (RUN_TEST_LOOP_f_i): Likewise.
8637 (RUN_TEST_f_i_tg): Likewise.
8638 (RUN_TEST_LOOP_f_i_tg): Likewise.
8639 (RUN_TEST_ff_i_tg): Likewise.
8640 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8641 (RUN_TEST_f_b): Likewise.
8642 (RUN_TEST_LOOP_f_b): Likewise.
8643 (RUN_TEST_f_b_tg): Likewise.
8644 (RUN_TEST_LOOP_f_b_tg): Likewise.
8645 (RUN_TEST_f_l): Likewise.
8646 (RUN_TEST_LOOP_f_l): Likewise.
8647 (RUN_TEST_f_L): Likewise.
8648 (RUN_TEST_LOOP_f_L): Likewise.
8649 (RUN_TEST_sincos): Likewise.
8650 (RUN_TEST_LOOP_sincos): Likewise.
8652 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8656 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8657 main case of finite arguments, set rounding mode to FE_TONEAREST
8658 and discard exceptions.
8659 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8661 (remainder_tonearest_test_data): New variable.
8662 (remainder_test_tonearest): New function.
8663 (remainder_towardzero_test_data): New variable.
8664 (remainder_test_towardzero): New function.
8665 (remainder_downward_test_data): New variable.
8666 (remainder_test_downward): New function.
8667 (remainder_upward_test_data): New variable.
8668 (remainder_test_upward): New function.
8669 (main): Call the new test functions.
8671 * math/libm-test.inc (struct test_f_f1_data): Remove field
8673 (struct test_fF_f1_data): Likewise.
8674 (struct test_ffI_f1_data): Likewise.
8675 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8676 based on value of EXTRA_EXPECTED.
8677 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8678 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8679 EXTRA_VAR based on value of EXTRA_EXPECTED.
8680 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8681 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8682 EXTRA_VAR based on value of EXTRA_EXPECTED.
8683 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8684 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8685 EXTRA_VAR based on value of EXTRA_EXPECTED.
8686 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8687 * math/gen-libm-test.pl (parse_args): Don't output initializers
8688 for extra output values.
8690 * math/libm-test.inc (check_int): Expect result to be exactly
8691 equal to expected value and do not handle ulps.
8692 (check_long): Likewise.
8693 (check_longlong): Likewise.
8695 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8697 (cimag_test_data): Likewise.
8698 (conj_test_data): Likewise.
8699 (copysign_test_data): Likewise.
8700 (cproj_test_data): Likewise.
8701 (creal_test_data): Likewise.
8702 (fabs_test_data): Likewise.
8703 (fdim_test_data): Likewise.
8704 (finite_test_data): Likewise.
8705 (floor_test_data): Likewise.
8706 (fmax_test_data): Likewise.
8707 (fmin_test_data): Likewise.
8708 (fmod_test_data): Likewise.
8709 (fpclassify_test_data): Likewise.
8710 (frexp_test_data): Likewise.
8711 (ilogb_test_data): Likewise.
8712 (isfinite_test_data): Likewise.
8713 (isgreater_test_data): Likewise.
8714 (isgreaterequal_test_data): Likewise.
8715 (isinf_test_data): Likewise.
8716 (isless_test_data): Likewise.
8717 (islessequal_test_data): Likewise.
8718 (islessgreater_test_data): Likewise.
8719 (isnan_test_data): Likewise.
8720 (isnormal_test_data): Likewise.
8721 (issignaling_test_data): Likewise.
8722 (isunordered_test_data): Likewise.
8723 (ldexp_test_data): Likewise.
8724 (lrint_test_data): Likewise.
8725 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8726 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8727 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8728 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8729 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8730 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8732 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8733 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8734 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8735 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8737 (lrint_downward_test_data): Test for "inexact" exceptions.
8738 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8739 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8740 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8742 (lrint_upward_test_data): Test for "inexact" exceptions.
8743 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8745 (llrint_test_data): Test for "inexact" exceptions.
8746 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8747 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8748 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8749 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8750 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8751 (llrint_downward_test_data): Test for "inexact" exceptions.
8752 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8753 (llrint_upward_test_data): Test for "inexact" exceptions.
8754 (logb_test_data): Likewise.
8755 (logb_downward_test_data): Likewise.
8756 (nextafter_test_data): Likewise.
8757 (nexttoward_test_data): Likewise.
8758 (remainder_test_data): Likewise.
8759 (remquo_test_data): Likewise.
8760 (scalbn_test_data): Likewise.
8761 (scalbln_test_data): Likewise.
8762 (signbit_test_data): Likewise.
8763 (sqrt_test_data): Likewise.
8764 (significand_test_data): Likewise.
8766 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8769 * benchtests/bench-modf.c (struct args): Mark arg0 as
8771 * scripts/bench.pl: Mark members of struct args as volatile.
8773 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8776 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8777 negative infinity on POWER6 or lower.
8778 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8780 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8783 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8784 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8785 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8786 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8787 (_FP_SETQNAN): New macro.
8788 (_FP_SETQNAN_SEMIRAW): Likewise.
8789 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8790 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8791 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8792 (FP_EXTEND): Use _FP_FRAC_SNANP.
8793 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8794 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8796 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8798 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8801 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8803 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8804 with DIVIDE_BY_ZERO_EXCEPTION.
8805 (gamma_test_data): Likewise.
8806 (lgamma_test_data): Likewise.
8807 (log_test_data): Likewise.
8808 (log10_test_data): Likewise.
8809 (log2_test_data): Likewise.
8810 (tgamma_test_data): Likewise.
8812 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8813 (acos_test_tonearest): Likewise.
8814 (acos_test_towardzero): Likewise.
8815 (acos_test_downward): Likewise.
8816 (acos_test_upward): Likewise.
8817 (acosh_test): Likewise.
8818 (asin_test): Likewise.
8819 (asin_test_tonearest): Likewise.
8820 (asin_test_towardzero): Likewise.
8821 (asin_test_downward): Likewise.
8822 (asin_test_upward): Likewise.
8823 (asinh_test): Likewise.
8824 (atan_test): Likewise.
8825 (atanh_test): Likewise.
8826 (atan2_test): Likewise.
8827 (cabs_test): Likewise.
8828 (cacos_test): Likewise.
8829 (cacosh_test): Likewise.
8830 (casin_test): Likewise.
8831 (casinh_test): Likewise.
8832 (catan_test): Likewise.
8833 (catanh_test): Likewise.
8834 (cbrt_test): Likewise.
8835 (ccos_test): Likewise.
8836 (ccosh_test): Likewise.
8837 (cexp_test): Likewise.
8838 (clog_test): Likewise.
8839 (clog10_test): Likewise.
8840 (cos_test): Likewise.
8841 (cos_test_tonearest): Likewise.
8842 (cos_test_towardzero): Likewise.
8843 (cos_test_downward): Likewise.
8844 (cos_test_upward): Likewise.
8845 (cosh_test): Likewise.
8846 (cosh_test_tonearest): Likewise.
8847 (cosh_test_towardzero): Likewise.
8848 (cosh_test_downward): Likewise.
8849 (cosh_test_upward): Likewise.
8850 (cpow_test): Likewise.
8851 (csin_test): Likewise.
8852 (csinh_test): Likewise.
8853 (csqrt_test): Likewise.
8854 (ctan_test): Likewise.
8855 (ctan_test_tonearest): Likewise.
8856 (ctan_test_towardzero): Likewise.
8857 (ctan_test_downward): Likewise.
8858 (ctan_test_upward): Likewise.
8859 (ctanh_test): Likewise.
8860 (ctanh_test_tonearest): Likewise.
8861 (ctanh_test_towardzero): Likewise.
8862 (ctanh_test_downward): Likewise.
8863 (ctanh_test_upward): Likewise.
8864 (erf_test): Likewise.
8865 (erfc_test): Likewise.
8866 (exp_test): Likewise.
8867 (exp_test_tonearest): Likewise.
8868 (exp_test_towardzero): Likewise.
8869 (exp_test_downward): Likewise.
8870 (exp_test_upward): Likewise.
8871 (exp10_test): Likewise.
8872 (exp2_test): Likewise.
8873 (expm1_test): Likewise.
8874 (fmod_test): Likewise.
8875 (gamma_test): Likewise.
8876 (hypot_test): Likewise.
8877 (j0_test): Likewise.
8878 (j1_test): Likewise.
8879 (jn_test): Likewise.
8880 (lgamma_test): Likewise.
8881 (log_test): Likewise.
8882 (log10_test): Likewise.
8883 (log1p_test): Likewise.
8884 (log2_test): Likewise.
8885 (logb_test_downward): Likewise.
8886 (pow_test): Likewise.
8887 (pow_test_tonearest): Likewise.
8888 (pow_test_towardzero): Likewise.
8889 (pow_test_downward): Likewise.
8890 (pow_test_upward): Likewise.
8891 (remainder_test): Likewise.
8892 (remquo_test): Likewise.
8893 (sin_test): Likewise.
8894 (sin_test_tonearest): Likewise.
8895 (sin_test_towardzero): Likewise.
8896 (sin_test_downward): Likewise.
8897 (sin_test_upward): Likewise.
8898 (sincos_test): Likewise.
8899 (sinh_test): Likewise.
8900 (sinh_test_tonearest): Likewise.
8901 (sinh_test_towardzero): Likewise.
8902 (sinh_test_downward): Likewise.
8903 (sinh_test_upward): Likewise.
8904 (sqrt_test): Likewise.
8905 (tan_test): Likewise.
8906 (tan_test_tonearest): Likewise.
8907 (tan_test_towardzero): Likewise.
8908 (tan_test_downward): Likewise.
8909 (tan_test_upward): Likewise.
8910 (tanh_test): Likewise.
8911 (tgamma_test): Likewise.
8912 (y0_test): Likewise.
8913 (y1_test): Likewise.
8914 (yn_test): Likewise.
8916 * math/gen-libm-test.pl (adjust_arg): Remove function.
8917 (special_function): Remove argument $in_func. Only handle
8918 generating output for tables of tests, not inside functions.
8919 (parse_args): Likewise.
8920 (generate_testfile): Remove variable $in_func. Update call to
8922 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8923 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8924 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8925 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8926 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8927 (MAX_VALUE_INIT): Rename macro to max_value.
8928 (MIN_VALUE_INIT): Rename macro to min_value.
8929 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8930 (plus_zero): Remove variable.
8931 (minus_zero): Likewise.
8932 (plus_infty): Likewise.
8933 (minus_infty): Likewise.
8934 (qnan_value): Likewise.
8935 (max_value): Likewise.
8936 (min_value): Likewise.
8937 (min_subnorm_value): Likewise.
8939 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8941 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8942 uint64_t or uint32_t usage.
8943 * crypt/sha256-block.c: Likewise.
8944 * crypt/sha256-crypt.c: Likewise.
8945 * crypt/sha256.c: Likewise.
8946 * crypt/sha512-block.c: Likewise.
8947 * crypt/sha512-crypt.c: Likewise.
8948 * crypt/sha512.c: Likewise.
8949 * debug/backtrace-tst.c: Likewise.
8950 * debug/pcprofiledump.c: Likewise.
8951 * elf/cache.c: Likewise.
8952 * elf/dl-cache.c: Likewise.
8953 * elf/dl-misc.c: Likewise.
8954 * elf/dl-profile.c: Likewise.
8955 * elf/dl-support.c: Likewise.
8956 * elf/ldconfig.c: Likewise.
8957 * elf/sprof.c: Likewise.
8958 * iconv/dummy-repertoire.c: Likewise.
8959 * iconv/iconv_charmap.c: Likewise.
8960 * iconv/skeleton.c: Likewise.
8961 * iconvdata/8bit-generic.c: Likewise.
8962 * iconvdata/cp737.h: Likewise.
8963 * iconvdata/cp775.h: Likewise.
8964 * iconvdata/ibm1008.h: Likewise.
8965 * iconvdata/ibm1025.h: Likewise.
8966 * iconvdata/ibm1046.h: Likewise.
8967 * iconvdata/ibm1097.h: Likewise.
8968 * iconvdata/ibm1112.h: Likewise.
8969 * iconvdata/ibm1122.h: Likewise.
8970 * iconvdata/ibm1123.h: Likewise.
8971 * iconvdata/ibm1124.h: Likewise.
8972 * iconvdata/ibm1129.h: Likewise.
8973 * iconvdata/ibm1130.h: Likewise.
8974 * iconvdata/ibm1132.h: Likewise.
8975 * iconvdata/ibm1133.h: Likewise.
8976 * iconvdata/ibm1137.h: Likewise.
8977 * iconvdata/ibm1140.h: Likewise.
8978 * iconvdata/ibm1141.h: Likewise.
8979 * iconvdata/ibm1142.h: Likewise.
8980 * iconvdata/ibm1143.h: Likewise.
8981 * iconvdata/ibm1144.h: Likewise.
8982 * iconvdata/ibm1145.h: Likewise.
8983 * iconvdata/ibm1146.h: Likewise.
8984 * iconvdata/ibm1147.h: Likewise.
8985 * iconvdata/ibm1148.h: Likewise.
8986 * iconvdata/ibm1149.h: Likewise.
8987 * iconvdata/ibm1153.h: Likewise.
8988 * iconvdata/ibm1154.h: Likewise.
8989 * iconvdata/ibm1155.h: Likewise.
8990 * iconvdata/ibm1156.h: Likewise.
8991 * iconvdata/ibm1157.h: Likewise.
8992 * iconvdata/ibm1158.h: Likewise.
8993 * iconvdata/ibm1160.h: Likewise.
8994 * iconvdata/ibm1161.h: Likewise.
8995 * iconvdata/ibm1162.h: Likewise.
8996 * iconvdata/ibm1163.h: Likewise.
8997 * iconvdata/ibm1164.h: Likewise.
8998 * iconvdata/ibm1166.h: Likewise.
8999 * iconvdata/ibm1167.h: Likewise.
9000 * iconvdata/ibm12712.h: Likewise.
9001 * iconvdata/ibm1390.h: Likewise.
9002 * iconvdata/ibm1399.h: Likewise.
9003 * iconvdata/ibm16804.h: Likewise.
9004 * iconvdata/ibm4517.h: Likewise.
9005 * iconvdata/ibm4899.h: Likewise.
9006 * iconvdata/ibm4909.h: Likewise.
9007 * iconvdata/ibm4971.h: Likewise.
9008 * iconvdata/ibm5347.h: Likewise.
9009 * iconvdata/ibm803.h: Likewise.
9010 * iconvdata/ibm856.h: Likewise.
9011 * iconvdata/ibm901.h: Likewise.
9012 * iconvdata/ibm902.h: Likewise.
9013 * iconvdata/ibm9030.h: Likewise.
9014 * iconvdata/ibm9066.h: Likewise.
9015 * iconvdata/ibm921.h: Likewise.
9016 * iconvdata/ibm922.h: Likewise.
9017 * iconvdata/ibm9448.h: Likewise.
9018 * iconvdata/isiri-3342.h: Likewise.
9019 * iconvdata/jis0201.h: Likewise.
9020 * include/link.h: Likewise.
9021 * include/netdb.h: Likewise.
9022 * inet/check_native.c: Likewise.
9023 * inet/check_pf.c: Likewise.
9024 * inet/getipv4sourcefilter.c: Likewise.
9025 * inet/getnameinfo.c: Likewise.
9026 * inet/getsourcefilter.c: Likewise.
9027 * inet/htonl.c: Likewise.
9028 * inet/setipv4sourcefilter.c: Likewise.
9029 * inet/setsourcefilter.c: Likewise.
9030 * inet/test-inet6_opt.c: Likewise.
9031 * inet/tst-network.c: Likewise.
9032 * locale/C-collate.c: Likewise.
9033 * locale/C-ctype.c: Likewise.
9034 * locale/C-time.c: Likewise.
9035 * locale/C-translit.h: Likewise.
9036 * locale/loadarchive.c: Likewise.
9037 * locale/programs/3level.h: Likewise.
9038 * locale/programs/charmap.c: Likewise.
9039 * locale/programs/charmap.h: Likewise.
9040 * locale/programs/ld-address.c: Likewise.
9041 * locale/programs/ld-collate.c: Likewise.
9042 * locale/programs/ld-ctype.c: Likewise.
9043 * locale/programs/ld-identification.c: Likewise.
9044 * locale/programs/ld-measurement.c: Likewise.
9045 * locale/programs/ld-messages.c: Likewise.
9046 * locale/programs/ld-monetary.c: Likewise.
9047 * locale/programs/ld-name.c: Likewise.
9048 * locale/programs/ld-numeric.c: Likewise.
9049 * locale/programs/ld-paper.c: Likewise.
9050 * locale/programs/ld-telephone.c: Likewise.
9051 * locale/programs/ld-time.c: Likewise.
9052 * locale/programs/linereader.c: Likewise.
9053 * locale/programs/locale.c: Likewise.
9054 * locale/programs/locarchive.c: Likewise.
9055 * locale/programs/locfile.h: Likewise.
9056 * locale/programs/repertoire.c: Likewise.
9057 * locale/programs/simple-hash.c: Likewise.
9058 * locale/programs/simple-hash.h: Likewise.
9059 * malloc/memusage.c: Likewise.
9060 * malloc/memusagestat.c: Likewise.
9061 * nis/nis_defaults.c: Likewise.
9062 * nis/nis_hash.c: Likewise.
9063 * nis/nis_print.c: Likewise.
9064 * nis/nis_xdr.c: Likewise.
9065 * nscd/connections.c: Likewise.
9066 * nscd/hstcache.c: Likewise.
9067 * nscd/nscd_gethst_r.c: Likewise.
9068 * nscd/nscd_getserv_r.c: Likewise.
9069 * nscd/nscd_helper.c: Likewise.
9070 * nscd/servicescache.c: Likewise.
9071 * nss/makedb.c: Likewise.
9072 * nss/nss_db/db-XXX.c: Likewise.
9073 * nss/nss_db/db-initgroups.c: Likewise.
9074 * nss/nss_db/db-netgrp.c: Likewise.
9075 * nss/nss_files/files-network.c: Likewise.
9076 * nss/nss_files/files-parse.c: Likewise.
9077 * posix/bug-regex5.c: Likewise.
9078 * posix/fnmatch_loop.c: Likewise.
9079 * posix/regcomp.c: Likewise.
9080 * posix/regexec.c: Likewise.
9081 * posix/tst-rfc3484-2.c: Likewise.
9082 * posix/tst-rfc3484-3.c: Likewise.
9083 * posix/tst-rfc3484.c: Likewise.
9084 * resolv/nss_dns/dns-canon.c: Likewise.
9085 * resolv/nss_dns/dns-network.c: Likewise.
9086 * resolv/res_init.c: Likewise.
9087 * resolv/res_mkquery.c: Likewise.
9088 * resolv/tst-aton.c: Likewise.
9089 * stdlib/cxa_atexit.c: Likewise.
9090 * stdlib/cxa_finalize.c: Likewise.
9091 * stdlib/gen-fpioconst.c: Likewise.
9092 * stdlib/strtol_l.c: Likewise.
9093 * string/tst-endian.c: Likewise.
9094 * sunrpc/auth_des.c: Likewise.
9095 * sunrpc/clnt_udp.c: Likewise.
9096 * sunrpc/rtime.c: Likewise.
9097 * sunrpc/svcauth_des.c: Likewise.
9098 * sunrpc/xdr.c: Likewise.
9099 * sunrpc/xdr_intXX_t.c: Likewise.
9100 * sunrpc/xdr_rec.c: Likewise.
9101 * sysdeps/generic/ldconfig.h: Likewise.
9102 * sysdeps/generic/ldsodefs.h: Likewise.
9103 * sysdeps/generic/memusage.h: Likewise.
9104 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9114 * sysdeps/posix/getaddrinfo.c: Likewise.
9115 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9116 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9117 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9118 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9119 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9120 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9121 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9122 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9123 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9124 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9125 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9126 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9127 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9128 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9129 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9130 * sysdeps/x86_64/dl-tls.h: Likewise.
9131 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9132 * time/alt_digit.c: Likewise.
9133 * time/era.c: Likewise.
9134 * wcsmbs/tst-c16c32-1.c: Likewise.
9136 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9138 * math/libm-test.inc (struct test_sincos_data): New type.
9139 (RUN_TEST_LOOP_sincos): New macro.
9140 (sincos_test_data): New variable.
9141 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9143 2013-05-16 Richard Henderson <rth@redhat.com>
9145 * math/atest-exp2.c (LIMB64): New macro.
9146 (CONSTSZ): New macro.
9147 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9149 (print_mpn_fp): ... to function scope.
9150 (read_mpn_hex): Remove.
9152 (exp2_mpn): Use mp_log2.
9153 (main): Use mp_exp1.
9155 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9157 * math/libm-test.inc: Remove comment about not testing "inexact"
9159 (INEXACT_EXCEPTION): New macro.
9160 (NO_INEXACT_EXCEPTION): Likewise.
9161 (INVALID_EXCEPTION_OK): Update value.
9162 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9163 (OVERFLOW_EXCEPTION_OK): Likewise.
9164 (UNDERFLOW_EXCEPTION_OK): Likewise.
9165 (IGNORE_ZERO_INF_SIGN): Likewise.
9166 (ERRNO_UNCHANGED): Likewise.
9167 (ERRNO_EDOM): Likewise.
9168 (ERRNO_ERANGE): Likewise.
9169 (test_exceptions): Handle testing "inexact" exceptions.
9170 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9171 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9172 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9173 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9175 (rint_towardzero_test_data): Likewise.
9176 (rint_downward_test_data): Likewise.
9177 (rint_upward_test_data): Likewise.
9179 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9180 with OVERFLOW_EXCEPTION.
9181 (exp10_test_data): Likewise.
9182 (exp2_test_data): Likewise.
9183 (expm1_test_data): Likewise.
9184 (lgamma_test_data): Likewise.
9185 (pow_test_data): Likewise.
9186 (tgamma_test_data): Likewise.
9187 (yn_test_data): Remove duplicate test of overflow.
9189 * math/libm-test.inc (struct test_cc_c_data): New type.
9190 (RUN_TEST_LOOP_cc_c): New macro.
9191 (cpow_test_data): New variable.
9192 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9194 * math/libm-test.inc (struct test_f_L_data): New type.
9195 (RUN_TEST_LOOP_f_L): New macro.
9196 (llrint_test_data): New variable.
9197 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9198 (llrint_tonearest_test_data): New variable.
9199 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9200 (llrint_towardzero_test_data): New variable.
9201 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9202 (llrint_downward_test_data): New variable.
9203 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9204 (llrint_upward_test_data): New variable.
9205 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9206 (llround_test_data): New variable.
9207 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9209 2013-05-13 Peter Collingbourne <pcc@google.com>
9211 * math/atest-exp2.c (get_log2): Remove const attribute.
9213 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9215 * math/libm-test.inc (struct test_f_l_data): New type.
9216 (RUN_TEST_LOOP_f_l): New macro.
9217 (lrint_test_data): New variable.
9218 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9219 (lrint_tonearest_test_data): New variable.
9220 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9221 (lrint_towardzero_test_data): New variable.
9222 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9223 (lrint_downward_test_data): New variable.
9224 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9225 (lrint_upward_test_data): New variable.
9226 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9227 (lround_test_data): New variable.
9228 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9230 2013-05-15 Peter Collingbourne <pcc@google.com>
9232 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9233 (EXTRACT_WORDS64) Use where appropriate.
9234 (INSERT_WORDS64) Likewise.
9236 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9237 constraints with x constraints.
9238 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9240 * malloc/obstack.c (_obstack_compat): Add initializer.
9242 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9244 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9245 si_trapno and add si_addr_lsb to _sifields.sigfault.
9246 (si_trapno): Remove macro.
9247 (si_addr_lsb): Define new macro.
9248 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9250 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9252 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9253 instead of TEST_f_l.
9254 (llrint_test_tonearest): Likewise.
9255 (llrint_test_towardzero): Likewise.
9256 (llrint_test_downward): Likewise.
9257 (llrint_test_upward): Likewise.
9258 (llround_test): Likewise.
9260 * math/libm-test.inc (struct test_f_i_data): Add comment.
9261 (RUN_TEST_LOOP_f_b): New macro.
9262 (RUN_TEST_LOOP_f_b_tg): Likewise.
9263 (finite_test_data): New variable.
9264 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9265 (isfinite_test_data): New variable.
9266 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9267 (isinf_test_data): New variable.
9268 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9269 (isnan_test_data): New variable.
9270 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9271 (isnormal_test_data): New variable.
9272 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9273 (issignaling_test_data): New variable.
9274 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9275 (signbit_test_data): New variable.
9276 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9278 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9279 with INVALID_EXCEPTION.
9280 (acosh_test_data): Likewise.
9281 (asin_test_data): Likewise.
9282 (atanh_test_data): Likewise.
9283 (fmod_test_data): Likewise.
9284 (log_test_data): Likewise.
9285 (log10_test_data): Likewise.
9286 (log2_test_data): Likewise.
9287 (pow_test_data): Likewise.
9288 (sqrt_test_data): Likewise.
9289 (y0_test_data): Likewise.
9290 (y1_test_data): Likewise.
9291 (yn_test_data): Likewise.
9293 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9296 * math/libm-test.inc (struct test_ff_i_data): New type.
9297 (RUN_TEST_LOOP_ff_i_tg): New macro.
9298 (isgreater_test_data): New variable.
9299 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9300 (isgreaterequal_test_data): New variable.
9301 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9302 (isless_test_data): New variable.
9303 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9304 (islessequal_test_data): New variable.
9305 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9306 (islessgreater_test_data): New variable.
9307 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9308 (isunordered_test_data): New variable.
9309 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9311 2013-05-14 David S. Miller <davem@davemloft.net>
9313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9315 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9317 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9319 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9321 (struct test_f_i_data): Change type of max_ulp to int.
9323 * math/libm-test.inc (test_ffI_f1_data): New type.
9324 (RUN_TEST_LOOP_ffI_f1): New macro.
9325 (remquo_test_data): New variable.
9326 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9328 * setjmp/tst-setjmp-fp.c: New file.
9329 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9330 (link-libm): New variable.
9331 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9333 * math/libm-test.inc (struct test_f_i_data): New type.
9334 (RUN_TEST_LOOP_f_i): New macro.
9335 (RUN_TEST_LOOP_f_i_tg): Likewise.
9336 (fpclassify_test_data): New variable.
9337 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9338 (ilogb_test_data): New variable.
9339 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9341 * math/libm-test.inc (scalbln_test): Correct function name in END
9344 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9345 (RUN_TEST_LOOP_fI_f1): New macro.
9346 (frexp_test_data): New variable.
9347 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9349 * math/libm-test.inc (struct test_fF_f1_data): New type.
9350 (RUN_TEST_LOOP_fF_f1): New macro.
9351 (modf_test_data): New variable.
9352 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9354 * math/libm-test.inc (struct test_f_f1_data): New type.
9355 (RUN_TEST_LOOP_f_f1): New macro.
9356 (gamma_test_data): New variable.
9357 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9358 (lgamma_test_data): New variable.
9359 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9361 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9363 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9364 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9365 (main): Comment "tls" pseudo-hwcap.
9367 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9369 * math/libm-test.inc (struct test_fl_f_data): New type.
9370 (RUN_TEST_LOOP_fl_f): New variable.
9371 (scalbln_test_data): New variable.
9372 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9374 * math/libm-test.inc (struct test_fi_f_data): New type.
9375 (RUN_TEST_LOOP_fi_f): New macro.
9376 (ldexp_test_data): New variable.
9377 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9378 (scalbn_test_data): New variable.
9379 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9381 * math/libm-test.inc (struct test_c_f_data): New type.
9382 (RUN_TEST_LOOP_c_f): New macro.
9383 (cabs_test_data): New variable.
9384 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9385 (carg_test_data): New variable.
9386 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9387 (cimag_test_data): New variable.
9388 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9389 (creal_test_data): New variable.
9390 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9392 * math/libm-test.inc (struct test_if_f_data): New type.
9393 (RUN_TEST_LOOP_if_f): New macro.
9394 (jn_test_data): New variable.
9395 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9396 (yn_test_data): New variable.
9397 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9399 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9401 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9403 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9404 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9406 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9408 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9409 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9410 (bench-deps): Add bench-timing.h.
9411 * benchtests-bench-skeleton.c: Include bench-timing.h.
9412 (main): Use TIMING_* macros instead of clock_gettime.
9413 * benchtests/bench-timing.h: New file.
9416 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9417 Renamed from _LIB_VERSION.
9418 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9420 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9422 * math/libm-test.inc (struct test_fff_f_data): New type.
9423 (RUN_TEST_LOOP_fff_f): New macro.
9424 (fma_test_data): New variable.
9425 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9426 (fma_towardzero_test_data): New variable.
9427 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9428 (fma_downward_test_data): New variable.
9429 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9430 (fma_upward_test_data): New variable.
9431 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9433 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9434 (struct test_c_c_data): New type.
9435 (RUN_TEST_LOOP_c_c): New macro.
9436 (cacos_test_data): New variable.
9437 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9438 (cacosh_test_data): New variable.
9439 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9440 (casin_test_data): New variable.
9441 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9442 (casinh_test_data): New variable.
9443 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9444 (catan_test_data): New variable.
9445 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9446 (catanh_test_data): New variable.
9447 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9448 (ccos_test_data): New variable.
9449 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9450 (ccosh_test_data): New variable.
9451 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9452 (cexp_test_data): New variable.
9453 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9454 (clog_test_data): New variable.
9455 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9456 (clog10_test_data): New variable.
9457 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9458 (conj_test_data): New variable.
9459 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9460 (cproj_test_data): New variable.
9461 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9462 (csin_test_data): New variable.
9463 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9464 (csinh_test_data): New variable.
9465 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9466 (csqrt_test_data): New variable.
9467 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9468 (ctan_test_data): New variable.
9469 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9470 (ctan_tonearest_test_data): New variable.
9471 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9472 (ctan_towardzero_test_data): New variable.
9473 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9474 (ctan_downward_test_data): New variable.
9475 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9476 (ctan_upward_test_data): New variable.
9477 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9478 (ctanh_test_data): New variable.
9479 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9480 (ctanh_tonearest_test_data): New variable.
9481 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9482 (ctanh_towardzero_test_data): New variable.
9483 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9484 (ctanh_downward_test_data): New variable.
9485 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9486 (ctanh_upward_test_data): New variable.
9487 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9488 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9491 * math/libm-test.inc (struct test_ff_f_data): New type.
9492 (struct test_ff_f_data_nexttoward): Likewise.
9493 (RUN_TEST_LOOP_2_f): New macro.
9494 (RUN_TEST_LOOP_ff_f): Likewise.
9495 (atan2_test_data): New variable.
9496 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9497 (copysign_test_data): New variable.
9498 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9499 (fdim_test_data): New variable.
9500 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9501 (fmax_test_data): New variable.
9502 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9503 (fmin_test_data): New variable.
9504 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9505 (fmod_test_data): New variable.
9506 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9507 (hypot_test_data): New variable.
9508 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9509 (nextafter_test_data): New variable.
9510 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9511 (nexttoward_test_data): New variable.
9512 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9513 (pow_test_data): New variable.
9514 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9515 (pow_tonearest_test_data): New variable.
9516 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9517 (pow_towardzero_test_data): New variable.
9518 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9519 (pow_downward_test_data): New variable.
9520 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9521 (pow_upward_test_data): New variable.
9522 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9523 (remainder_test_data): New variable.
9524 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9525 (scalb_test_data): New variable.
9526 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9527 * sysdeps/i386/fpu/libm-test-ulps: Update.
9529 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9531 * math/libm-test.inc (fma_test): Use max_value instead of local
9533 (nextafter_test): Likewise.
9535 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9536 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9537 (acos_downward_test_data): New variable.
9538 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9539 (acos_upward_test_data): New variable.
9540 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9541 (acosh_test_data): New variable.
9542 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9543 (asin_test_data): New variable.
9544 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9545 (asin_tonearest_test_data): New variable.
9546 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9547 (asin_towardzero_test_data): New variable.
9548 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9549 (asin_downward_test_data): New variable.
9550 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9551 (asin_upward_test_data): New variable.
9552 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9553 (asinh_test_data): New variable.
9554 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9555 (atan_test_data): New variable.
9556 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9557 (atanh_test_data): New variable.
9558 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9559 (cbrt_test_data): New variable.
9560 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9561 (ceil_test_data): New variable.
9562 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9563 (cos_test_data): New variable.
9564 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9565 (cos_tonearest_test_data): New variable.
9566 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9567 (cos_towardzero_test_data): New variable.
9568 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9569 (cos_downward_test_data): New variable.
9570 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9571 (cos_upward_test_data): New variable.
9572 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9573 (cosh_test_data): New variable.
9574 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9575 (cosh_tonearest_test_data): New variable.
9576 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9577 (cosh_towardzero_test_data): New variable.
9578 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9579 (cosh_downward_test_data): New variable.
9580 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9581 (cosh_upward_test_data): New variable.
9582 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9583 (erf_test_data): New variable.
9584 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9585 (erfc_test_data): New variable.
9586 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9587 (exp_test_data): New variable.
9588 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9589 (exp_tonearest_test_data): New variable.
9590 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9591 (exp_towardzero_test_data): New variable.
9592 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9593 (exp_downward_test_data): New variable.
9594 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9595 (exp_upward_test_data): New variable.
9596 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9597 (exp10_test_data): New variable.
9598 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9599 (exp2_test_data): New variable.
9600 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9601 (expm1_test_data): New variable.
9602 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9603 (fabs_test_data): New variable.
9604 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9605 (floor_test_data): New variable.
9606 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9607 (j0_test_data): New variable.
9608 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9609 (j1_test_data): New variable.
9610 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9611 (log_test_data): New variable.
9612 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9613 (log10_test_data): New variable.
9614 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9615 (log1p_test_data): New variable.
9616 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9617 (log2_test_data): New variable.
9618 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9619 (logb_test_data): New variable.
9620 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9621 (logb_downward_test_data): New variable.
9622 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9623 (nearbyint_test_data): New variable.
9624 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9625 (rint_test_data): New variable.
9626 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9627 (rint_tonearest_test_data): New variable.
9628 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9629 (rint_towardzero_test_data): New variable.
9630 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9631 (rint_downward_test_data): New variable.
9632 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9633 (rint_upward_test_data): New variable.
9634 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9635 (round_test_data): New variable.
9636 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9637 (sin_test_data): New variable.
9638 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9639 (sin_tonearest_test_data): New variable.
9640 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9641 (sin_towardzero_test_data): New variable.
9642 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9643 (sin_downward_test_data): New variable.
9644 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9645 (sin_upward_test_data): New variable.
9646 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9647 (sinh_test_data): New variable.
9648 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9649 (sinh_tonearest_test_data): New variable.
9650 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9651 (sinh_towardzero_test_data): New variable.
9652 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9653 (sinh_downward_test_data): New variable.
9654 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9655 (sinh_upward_test_data): New variable.
9656 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9657 (sqrt_test_data): New variable.
9658 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9659 (tan_test_data): New variable.
9660 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9661 (tan_tonearest_test_data): New variable.
9662 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9663 (tan_towardzero_test_data): New variable.
9664 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9665 (tan_downward_test_data): New variable.
9666 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9667 (tan_upward_test_data): New variable.
9668 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9669 (tanh_test_data): New variable.
9670 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9671 (tgamma_test_data): New variable.
9672 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9673 (trunc_test_data): New variable.
9674 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9675 (y0_test_data): New variable.
9676 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9677 (y1_test_data): New variable.
9678 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9679 (significand_test_data): New variable.
9680 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9682 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9685 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9687 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9689 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9691 2013-05-10 Andreas Jaeger <aj@suse.de>
9694 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9695 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9697 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9699 * math/gen-libm-test.pl (adjust_arg): New function.
9700 (special_functions): Handle generating output in both functions
9702 (parse_args): Likewise.
9703 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9704 $in_func argument to parse_args.
9705 * math/libm-test.inc (struct test_f_f_data): New type.
9706 (IF_ROUND_INIT_): New macro.
9707 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9708 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9709 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9710 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9711 (ROUND_RESTORE_): Likewise.
9712 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9713 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9714 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9715 (ROUND_RESTORE_FE_UPWARD): Likewise.
9716 (RUN_TEST_LOOP_f_f): New macro.
9717 (acos_test_data): New variable.
9718 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9719 (acos_tonearest_test_data): New variable.
9720 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9722 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9724 * benchtests/bench-skeleton.c (startup): Fix coding style.
9726 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9729 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9730 negative infinity argument.
9731 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9732 negative infinity argument.
9733 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9734 negative infinity argument.
9735 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9738 2013-05-10 Florian Weimer <fweimer@redhat.com>
9740 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9741 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9742 * iconv/iconv_prog.c (main): Likewise.
9743 * locale/programs/charmap-dir.c (charmap_readdir)
9744 (fopen_uncompressed): Likewise.
9745 * locale/programs/locfile.c (siblings_uncached)
9746 (write_locale_data): Use lstat64 instead of lstat.
9747 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9750 2013-05-10 Andreas Jaeger <aj@suse.de>
9753 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9757 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9759 * elf/dl-close.c (_dl_close_worker): Add comments.
9761 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9764 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9766 (__ieee754_rem_pio2l): Update comments.
9769 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9771 (__ieee754_rem_pio2l): Update comments.
9773 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9774 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9776 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9779 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9780 (M_PI_34_LOG10El): Likewise.
9781 (M_PI2_LOG10El): Likewise.
9782 (M_PI4_LOG10El): Likewise.
9783 (M_PI_LOG10El): Likewise.
9785 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9789 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9791 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9792 (MINUS_ZERO_INIT): Likewise.
9793 (PLUS_INFTY_INIT): Likewise.
9794 (MINUS_INFTY_INIT): Likewise.
9795 (QNAN_VALUE_INIT): Likewise.
9796 (MAX_VALUE_INIT): Likewise.
9797 (MIN_VALUE_INIT): Likewise.
9798 (MIN_SUBNORM_VALUE_INIT): Likewise.
9799 (plus_zero): Initialize with PLUS_ZERO_INIT.
9800 (minus_zero): Initialize with MINUS_ZERO_INIT.
9801 (plus_infty): Initialize with PLUS_INFTY_INIT.
9802 (minus_infty): Initialize with MINUS_INFTY_INIT.
9803 (qnan_value): Initialize with QNAN_VALUE_INIT.
9804 (max_value): Initialize with MAX_VALUE_INIT.
9805 (min_value): Initialize with MIN_VALUE_INIT.
9806 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9808 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9809 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9810 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9811 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9813 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9814 (RUN_TEST_2_f): Likewise.
9815 (RUN_TEST_ff_f): Likewise.
9816 (RUN_TEST_fi_f): Likewise.
9817 (RUN_TEST_fl_f): Likewise.
9818 (RUN_TEST_fff_f): Likewise.
9819 (RUN_TEST_c_f): Likewise.
9820 (RUN_TEST_f_f1): Likewise.
9821 (RUN_TEST_fF_f1): Likewise.
9822 (RUN_TEST_fI_f1): Likewise.
9823 (RUN_TEST_ffI_f1): Likewise.
9824 (RUN_TEST_c_c): Likewise.
9825 (RUN_TEST_cc_c): Likewise.
9826 (RUN_TEST_f_i): Likewise.
9827 (RUN_TEST_f_i_tg): Likewise.
9828 (RUN_TEST_ff_i_tg): Likewise.
9829 (RUN_TEST_f_b): Likewise.
9830 (RUN_TEST_f_b_tg): Likewise.
9831 (RUN_TEST_f_l): Likewise.
9832 (RUN_TEST_f_L): Likewise.
9833 (RUN_TEST_sincos): Likewise.
9834 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9835 whether to show exceptions. Do not include ");\n" in return
9837 (special_functions): Output call to RUN_TEST_sincos instead of
9838 check_float calls. Update calls to new_test.
9839 (parse_args): Output call to single RUN_TEST_* macro instead of
9840 check_* calls and other assignments. Update calls to new_test.
9846 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9847 input to result for tgamma overflow.
9848 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9849 (gamma_coeff): New variable.
9850 (NCOEFF): New macro.
9851 (gamma_positive): New function.
9852 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9853 underflow here. Use gamma_positive instead of exp (lgamma) for
9855 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9856 (gamma_coeff): New variable.
9857 (NCOEFF): New macro.
9858 (gammaf_positive): New function.
9859 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9860 underflow here. Use gamma_positive instead of exp (lgamma) for
9862 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9863 (gamma_coeff): New variable.
9864 (NCOEFF): New macro.
9865 (gammal_positive): New function.
9866 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9867 underflow here. Use gamma_positive instead of exp (lgamma) for
9869 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9870 (gamma_coeff): New variable.
9871 (NCOEFF): New macro.
9872 (gammal_positive): New function.
9873 (__ieee754_gammal_r): Handle positive infinity, overflow and
9874 underflow here. Handle NaN the same as positive infinity. Remove
9875 check x < 0xffffffff for negative integers. Use gamma_positive
9876 instead of exp (lgamma) for other arguments.
9877 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9878 (gamma_coeff): New variable.
9879 (NCOEFF): New macro.
9880 (gammal_positive): New function.
9881 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9882 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9886 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9887 * sysdeps/generic/math_private.h (__gamma_productf): New
9889 (__gamma_product): Likewise.
9890 (__gamma_productl): Likewise.
9891 * math/Makefile (libm-calls): Add gamma_product.
9892 * math/libm-test.inc (tgamma_test): Add more tests.
9893 * sysdeps/i386/fpu/libm-test-ulps: Update.
9894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9896 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9898 * benchtests/bench-skeleton.c (main): Preheat CPU.
9900 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9902 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9904 2013-05-07 Roland McGrath <roland@hack.frob.com>
9906 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9907 and _dl_skip_args_internal.
9909 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9911 * manual/message.texi (Message Translation): Talk about users.
9912 Message to key mapping impacts design.
9914 2013-05-06 Roland McGrath <roland@hack.frob.com>
9916 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9918 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9920 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9921 * sysdeps/wordsize-64/glob64.c: ... here.
9923 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9924 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9927 * debug/getlogin_r_chk.c: Moved to ...
9928 * login/getlogin_r_chk.c: ... here.
9929 * debug/Makefile (routines): Move getlogin_r_chk to ...
9930 * login/Makefile (routines): ... here.
9931 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9932 * login/Versions (libc: GLIBC_2.4): ... here.
9934 * io/poll.c (__poll): Renamed from poll.
9935 Add libc_hidden_def.
9936 (poll): Define as weak alias.
9938 * debug/ptsname_r_chk.c: Moved to ...
9939 * login/ptsname_r_chk.c: ... here.
9940 * debug/Makefile (routines): Move ptsname_r_chk to ...
9941 * login/Makefile (routines): ... here.
9942 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9943 * login/Versions (libc: GLIBC_2.4): ... here.
9945 * posix/getlogin.c: Moved to ...
9946 * login/getlogin.c: ... here.
9947 * posix/getlogin_r.c: Moved to ...
9948 * login/getlogin_r.c: ... here.
9949 * posix/getlogin_r.c: Moved to ...
9950 * login/getlogin_r.c: ... here.
9951 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9952 * login/Makefile (routines): ... here.
9953 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9954 * login/Versions (libc: GLIBC_2.0): ... here.
9956 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9957 (setrlimit): Define as weak alias.
9959 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9960 Call __ names for open, ftruncate, and close.
9961 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9962 (truncate): Define as weak alias.
9964 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9966 * math/gen-libm-test.pl (parse_args): Initialize x before each
9967 test of frexp, modf and remquo.
9969 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9972 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9976 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9978 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9980 2013-05-06 Roland McGrath <roland@hack.frob.com>
9982 * elf/dl-writev.h: New file.
9983 * elf/dl-misc.c: Include it.
9984 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9985 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9987 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9989 * math/libm-test.inc (noXFails): Remove variable.
9990 (noXPasses): Likewise.
9991 (BUILD_COMPLEX_INT): Remove macro.
9992 (print_screen): Remove xfail argument.
9993 (print_screen_max_error): Likewise.
9994 (update_stats): Likewise.
9995 (print_max_error): Likewise. Update calls to other affected
9997 (print_complex_max_error): Likewise.
9998 (test_single_exception): Update calls to print_screen.
9999 (test_single_errno): Likewise.
10000 (check_float_internal): Remove xfail argument. Update calls to
10001 other affected functions.
10002 (check_float): Likewise.
10003 (check_complex): Likewise.
10004 (check_int): Likewise.
10005 (check_long): Likewise.
10006 (check_bool): Likewise.
10007 (check_longlong): Likewise.
10008 (main): Don't print noXFails and noXPasses.
10009 * math/gen-libm-test.pl (top level): Don't mention expected
10010 failure handling in comment.
10011 (new_test): Don't handle expected failures.
10012 (parse_args): Don't mention expected failure handling in comment.
10013 (generate_testfile): Don't handle expected failures.
10014 (parse_ulps): Likewise.
10015 (print_ulps_file): Likewise.
10016 (get_failure): Remove function.
10017 (output_test): Don't handle expected failures.
10018 * make/README.libm-test: Don't mention expected failure handling.
10020 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10021 (minus_zero): Likewise.
10022 (plus_infty): Likewise.
10023 (minus_infty): Likewise.
10024 (qnan_value): Likewise.
10025 (max_value): Likewise.
10026 (min_value): Likewise.
10027 (min_subnorm_value): Likewise.
10028 (initialize): Do not initialize those variables dynamically.
10030 2013-05-03 Roland McGrath <roland@hack.frob.com>
10032 * io/open.c (__open_2): Moved to ...
10033 * io/open_2.c: ... this new file.
10034 * io/open64.c (__open64_2): Moved to ...
10035 * io/open64_2.c: ... this new file.
10036 * io/openat.c (__openat_2): Moved to ...
10037 * io/openat_2.c: ... this new file.
10038 * io/openat64.c (__openat64_2): Moved to ...
10039 * io/openat64_2.c: ... this new file.
10040 * io/Makefile (routines): Add them.
10041 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10042 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10043 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10044 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10045 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10046 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10047 (__openat64): Add hidden_ver.
10048 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10049 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10051 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10052 Separately conditionalize setting of GLRO(dl_sysinfo) so
10053 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10054 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10056 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10058 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10061 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10062 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10063 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10064 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10065 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10067 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10069 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10070 test signgam value.
10072 * math/libm-test.inc (hypot_test): Do not use
10073 IGNORE_ZERO_INF_SIGN.
10075 2013-05-03 Andreas Jaeger <aj@suse.de>
10077 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10079 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10080 (PF_MAX): Adjust for VSOCK change.
10082 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10086 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10089 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10090 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10091 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10093 2013-05-02 David S. Miller <davem@davemloft.net>
10095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10097 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10099 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10101 2013-05-01 Roland McGrath <roland@hack.frob.com>
10103 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10105 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10108 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10109 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10110 Use __attribute__ ((__gnu_inline__)).
10111 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10112 Don't use __attribute__ ((__gnu_inline__)).
10114 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10117 * math/s_catan.c (__catan): Handle small real or imaginary part of
10118 input specially to avoid spurious underflow.
10119 * math/s_catanf.c (__catanf): Likewise.
10120 * math/s_catanh.c (__catanh): Likewise.
10121 * math/s_catanhf.c (__catanhf): Likewise.
10122 * math/s_catanhl.c (__catanhl): Likewise.
10123 * math/s_catanl.c (__catanl): Likewise.
10124 * math/libm-test.inc (catan_test): Add more tests.
10125 (catanh_test): Likewise.
10126 * sysdeps/i386/fpu/libm-test-ulps: Update.
10127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10129 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10133 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10136 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10137 accurately for denominator in atan2.
10138 * math/s_catanf.c (__catanf): Likewise.
10139 * math/s_catanh.c (__catanh): Likewise.
10140 * math/s_catanhf.c (__catanhf): Likewise.
10141 * math/s_catanhl.c (__catanhl): Likewise.
10142 * math/s_catanl.c (__catanl): Likewise.
10143 * math/libm-test.inc (catan_test): Add more tests.
10144 (catanh_test): Likewise.
10145 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10148 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10150 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10152 * benchtests/Makefile (bench): Remove slow benchmarks.
10153 * benchtests/atan-inputs: Add slow benchmark inputs.
10154 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10155 (BENCH_FUNC): Accept variant offset.
10157 * benchtests/bench-skeleton.c (main): Run benchmark for each
10159 * benchtests/cos-inputs: Add slow benchmark inputs.
10160 * benchtests/exp-inputs: Likewise.
10161 * benchtests/pow-inputs: Likewise.
10162 * benchtests/sin-inputs: Likewise.
10163 * benchtests/slowatan-inputs: Remove.
10164 * benchtests/slowatan.c: Remove.
10165 * benchtests/slowcos-inputs: Remove.
10166 * benchtests/slowcos.c: Remove.
10167 * benchtests/slowexp-inputs: Remove.
10168 * benchtests/slowexp.c: Remove.
10169 * benchtests/slowpow-inputs: Remove.
10170 * benchtests/slowpow.c: Remove.
10171 * benchtests/slowsin-inputs: Remove.
10172 * benchtests/slowsin.c: Remove.
10173 * benchtests/slowtan-inputs: Remove.
10174 * benchtests/slowtan.c: Remove.
10175 * benchtests/tan-inputs: Add slow benchmark inputs.
10176 * scripts/bench.pl: Parse comments and directives.
10178 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10180 ($(objpfx)bench-%.c): Remove *-ITER.
10181 * benchtests/bench-modf.c: Remove definition of ITER.
10182 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10183 (main): Loop for DURATION seconds instead of fixed number of
10185 * scripts/bench.pl: Don't expect iterations in parameters.
10187 2013-04-29 Roland McGrath <roland@hack.frob.com>
10189 * io/fchdir.c (__fchdir): Renamed from fchdir.
10190 (fchdir): Define as weak alias.
10192 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10194 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10195 (ERRNO_EDOM): Likewise.
10196 (ERRNO_ERANGE): Likewise.
10197 (noErrnoTests): New variable.
10198 (init_max_error): Set errno to 0.
10199 (test_single_errno): New function.
10200 (test_errno): Likewise.
10201 (check_float_internal): Call test_errno. Set errno to 0.
10202 (check_complex): Refer to errno tests in comment.
10203 (check_int): Call test_errno. Set errno to 0.
10204 (check_long): Likewise.
10205 (check_bool): Likewise.
10206 (check_longlong): Likewise.
10207 (cos_test): Use ERRNO_* flags for errno tests instead of
10209 (expm1_test): Likewise.
10210 (fmod_test): Likewise.
10211 (ilogb_test): Likewise.
10212 (lgamma_test): Likewise.
10213 (pow_test): Likewise.
10214 (remainder_test): Likewise.
10215 (sin_test): Likewise.
10216 (tan_test): Likewise.
10217 (yn_test): Likewise.
10218 (initialize): Set errno to 0.
10219 (main): Print number of errno tests.
10220 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10222 2013-04-29 Andreas Jaeger <aj@suse.de>
10225 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10229 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10230 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10234 * stdlib/random.c (__initstate): Return NULL if
10238 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10239 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10242 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10246 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10248 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10249 of individual tests.
10250 (casin_test): Likewise.
10251 (casinh_test): Likewise.
10253 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10256 * math/s_catan.c (__catan): Handle arguments with large real or
10257 imaginary part separately without squaring.
10258 * math/s_catanf.c (__catanf): Likewise.
10259 * math/s_catanh.c (__catanh): Likewise.
10260 * math/s_catanhf.c (__catanhf): Likewise.
10261 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10263 (__catanhl): Handle arguments with large real or imaginary part
10264 separately without squaring.
10265 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10267 (__catanl): Handle arguments with large real or imaginary part
10268 separately without squaring.
10269 * math/libm-test.inc (catan_test): Add more tests.
10270 (catanh_test): Likewise.
10271 * sysdeps/i386/fpu/libm-test-ulps: Update.
10272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10274 2013-04-27 Andreas Jaeger <aj@suse.de>
10277 * stdlib/stdlib.h: Update guards for qecvt.
10278 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10281 2013-04-27 Allan McRae <allan@archlinux.org>
10283 * sysdeps/i386/fpu/libm-test-ulps: Update.
10285 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10288 * math/s_catan.c: Include <float.h>.
10289 (__catan): Ensure underflow exception occurs for underflowed
10291 * math/s_catanf.c: Include <float.h>.
10292 (__catanf): Ensure underflow exception occurs for underflowed
10294 * math/s_catanh.c: Include <float.h>.
10295 (__catanh): Ensure underflow exception occurs for underflowed
10297 * math/s_catanhf.c: Include <float.h>.
10298 (__catanhf): Ensure underflow exception occurs for underflowed
10300 * math/s_catanhl.c: Include <float.h>.
10301 (__catanhl): Ensure underflow exception occurs for underflowed
10303 * math/s_catanl.c: Include <float.h>.
10304 (__catanl): Ensure underflow exception occurs for underflowed
10306 * math/libm-test.inc (catan_test): Add more tests.
10307 (catanh_test): Likewise.
10310 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10311 underflowed result.
10312 * math/s_ccoshf.c (__ccoshf): Likewise.
10313 * math/s_ccoshl.c (__ccoshl): Likewise.
10314 * math/s_csin.c (__csin): Likewise.
10315 * math/s_csinf.c (__csinf): Likewise.
10316 * math/s_csinh.c (__csinh): Likewise.
10317 * math/s_csinhf.c (__csinhf): Likewise.
10318 * math/s_csinhl.c (__csinhl): Likewise.
10319 * math/s_csinl.c (__csinl): Likewise.
10320 * math/libm-test.inc (ccos_test): Add more tests.
10321 (ccosh_test): Likewise.
10322 (csin_test): Likewise.
10323 (csinh_test): Likewise.
10325 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10327 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10328 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10329 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10330 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10331 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10332 powerpc/power5+/fpu folders.
10333 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10336 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10340 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10342 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10343 additions to variable.
10344 [$(config-machine) = x86_64] (modules-names): Likewise.
10345 ($(objpfx)tst-audit3): Remove dependency.
10346 ($(objpfx)tst-audit3.out): Likewise.
10347 ($(objpfx)tst-audit4): Likewise.
10348 ($(objpfx)tst-audit4.out): Likewise.
10349 ($(objpfx)tst-audit5): Likewise.
10350 ($(objpfx)tst-audit5.out): Likewise.
10351 ($(objpfx)tst-audit6): Likewise.
10352 ($(objpfx)tst-audit6.out): Likewise.
10353 ($(objpfx)tst-audit7): Likewise.
10354 ($(objpfx)tst-audit7.out): Likewise.
10355 (tst-audit3-ENV): Remove variable.
10356 (tst-audit4-ENV): Likewise.
10357 (tst-audit5-ENV): Likewise.
10358 (tst-audit6-ENV): Likewise.
10359 (tst-audit7-ENV): Likewise.
10360 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10361 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10362 addition to variable.
10363 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10364 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10365 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10366 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10367 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10368 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10369 tst-audit3, tst-audit4 and tst-audit5.
10370 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10371 tst-audit6 and tst-audit7.
10372 [$(subdir) = elf] (modules-names): Add audit modules for those
10374 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10375 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10376 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10377 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10378 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10379 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10380 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10381 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10382 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10383 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10384 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10385 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10386 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10387 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10388 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10389 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10391 [$(subdir) = elf && $(config-cflags-avx) = yes]
10392 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10393 [$(subdir) = elf && $(config-cflags-avx) = yes]
10394 (CFLAGS-tst-auditmod4a.c): Likewise.
10395 [$(subdir) = elf && $(config-cflags-avx) = yes]
10396 (CFLAGS-tst-auditmod4b.c): Likewise.
10397 [$(subdir) = elf && $(config-cflags-avx) = yes]
10398 (CFLAGS-tst-auditmod6b.c): Likewise.
10399 [$(subdir) = elf && $(config-cflags-avx) = yes]
10400 (CFLAGS-tst-auditmod6c.c): Likewise.
10401 [$(subdir) = elf && $(config-cflags-avx) = yes]
10402 (CFLAGS-tst-auditmod7b.c): Likewise.
10403 * elf/tst-audit3.c: Move to ...
10404 * sysdeps/x86_64/tst-audit3.c: ... here.
10405 * elf/tst-audit4.c: Move to ...
10406 * sysdeps/x86_64/tst-audit4.c: ... here.
10407 * elf/tst-audit5.c: Move to ...
10408 * sysdeps/x86_64/tst-audit5.c: ... here.
10409 * elf/tst-audit6.c: Move to ...
10410 * sysdeps/x86_64/tst-audit6.c: ... here.
10411 * elf/tst-audit7.c: Move to ...
10412 * sysdeps/x86_64/tst-audit7.c: ... here.
10413 * elf/tst-auditmod3a.c: Move to ...
10414 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10415 * elf/tst-auditmod3b.c: Move to ...
10416 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10417 * elf/tst-auditmod4a.c: Move to ...
10418 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10419 * elf/tst-auditmod4b.c: Move to ...
10420 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10421 * elf/tst-auditmod5a.c: Move to ...
10422 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10423 * elf/tst-auditmod5b.c: Move to ...
10424 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10425 * elf/tst-auditmod6a.c: Move to ...
10426 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10427 * elf/tst-auditmod6b.c: Move to ...
10428 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10429 * elf/tst-auditmod6c.c: Move to ...
10430 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10431 * elf/tst-auditmod7a.c: Move to ...
10432 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10433 * elf/tst-auditmod7b.c: Move to ...
10434 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10436 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10439 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10440 define unconditionally.
10441 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10442 define unconditionally.
10443 (INT8_C, INT16_C, etc.): Likewise.
10445 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10447 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10448 __ehdr_start with hidden visibility.
10450 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10452 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10454 * math/libm-test.inc (cos_test): Use accurate hex constants.
10455 (sincost_test): Likewise.
10457 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10459 * math/libm-test.inc (catan_test): Add more tests.
10460 (catanh_test): Likewise.
10462 * math/s_catanf.c (__catanf): Use suffixed floating-point
10464 * math/s_catanhf.c (__catanhf): Likewise.
10465 * math/s_catanhl.c (__catanhl): Likewise.
10466 * math/s_catanl.c (__catanl): Likewise.
10469 * math/s_catan.c (__catan): Calculate imaginary part of result
10470 with log1p not log unless computing log of number close to 0.
10471 * math/s_catanf.c (__catanf): Likewise.
10472 * math/s_catanl.c (__catanl): Likewise.
10473 * math/s_catanh.c (__catanh): Calculate real part of result with
10474 log1p not log unless computing log of number close to 0.
10475 * math/s_catanhf.c (__catanhf): Likewise.
10476 * math/s_catanhl.c (__catanhl): Likewise.
10477 * math/libm-test.inc (catan_test): Add more tests.
10478 (catanh_test): Likewise.
10479 * sysdeps/i386/fpu/libm-test-ulps: Update.
10480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10482 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10484 * benchtests/Makefile: Mention files in which fast and slow
10485 paths of math functions are implemented.
10487 2013-04-23 Roland McGrath <roland@hack.frob.com>
10489 * sysdeps/posix/timespec_get.c: New file.
10491 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10493 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10495 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10497 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10498 powerpc/power5/fpu folders.
10499 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10500 * benchtests/Makefile: Add modf testcase.
10501 * benchtests/bench-modf.c: New file: Benchmark test for mo
10503 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10506 * time/Makefile (tests): Add tst-strptime-whitespace.
10507 * time/strptime_l.c (get_number): Use ISSPACE.
10508 (__strptime_internal): Likewise.
10509 * time/tst-strptime-whitespace.c: New test case.
10511 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10513 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10515 (_nss_files_init): Set it here.
10517 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10519 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10520 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10523 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10525 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10527 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10529 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10532 2013-04-21 David S. Miller <davem@davemloft.net>
10534 * po/ru.po: Update Russion translation from translation project.
10536 2013-04-17 Adam Conrad <adconrad@0c3.net>
10538 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10541 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10543 * configure.in: Remove i386 configure warning. Remove i386 case.
10544 * configure: Regenerate.
10545 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10546 Add example to error message.
10547 * sysdeps/i386/configure: Regenerate.
10549 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10551 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10553 * benchtests/cos-inputs: New file.
10554 * benchtests/slowcos-inputs: New file.
10555 * benchtests/slowcos.c: New file.
10556 * benchtests/slowtan-inputs: New file.
10557 * benchtests/slowtan.c: New file.
10558 * benchtests/tan-inputs: New file.
10560 2013-04-16 Roland McGrath <roland@hack.frob.com>
10562 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10565 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10567 * benchtests/Makefile: Include cppflags-iterator.mk to add
10568 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10570 * Makefile.in (bench-clean): New target.
10571 * benchtests/Makefile (bench-clean): Likewise.
10573 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10575 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10577 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10579 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10581 2013-04-15 Andreas Schwab <schwab@suse.de>
10583 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10584 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10585 * nscd/pwdcache.c (cache_addpw): Likewise.
10586 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10589 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10591 * benchtests/Makefile (bench): Write all output to
10592 bench-out.tmp together.
10594 2013-04-15 Andreas Schwab <schwab@suse.de>
10596 * nscd/nscd.c (main): Don't fork again after closing files.
10598 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10600 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10602 * benchtests/Rules (bench-deps): Collect dependencies into a
10603 single variable. Add Makefile to dependencies.
10604 ($(objpfx)bench-%.c): Depend on bench-deps.
10606 2013-04-12 Roland McGrath <roland@hack.frob.com>
10607 Xavier Roche <roche+kml2@exalead.com>
10610 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10611 just that it's a file descriptor.
10612 * manual/llio.texi (Synchronizing AIO Operations): Update description
10613 for EBADF error from aio_fsync.
10615 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10617 * Rules (bench): Move target definition...
10618 * benchtests/Makefile: ... here.
10620 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10622 * math/libm-test.inc (cos_test): Fix PI/2 test.
10623 (sincos_test): Likewise.
10624 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10625 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10627 2013-04-11 Andreas Schwab <schwab@suse.de>
10630 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10631 accept exponent character only when digits were seen.
10632 * stdio-common/Makefile (tests): Add bug26.
10633 * stdio-common/bug26.c: New file.
10636 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10639 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10641 * Makeconfig (rtld-prefix): Define built linker prefix.
10642 * Rules (run-bench): Use it.
10643 * math/Makefile (run-regen-ulps): Likewise.
10645 * Rules (bench): Remove eval.
10647 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10648 Roland McGrath <roland@hack.frob.com>
10649 Ondrej Bilka <neleai@seznam.cz>
10652 * time/getdate.c: Include ctype.h and alloca.h.
10653 (__getdate_r): Trim leading and trailing spaces of input.
10654 * time/tst-getdate.c (tests): Add tests with leading and
10657 2013-04-08 Roland McGrath <roland@hack.frob.com>
10660 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10661 when computing value.
10663 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10665 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10666 Use testrun.sh to run libm tests.
10669 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10671 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10674 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10676 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10678 * Makefile.in (regen-ulps): New target.
10679 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10680 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10681 [ifneq (no,$(PERL)] (regen-ulps): New target.
10682 [ifeq (no,$(PERL)] (regen-ulps): New target.
10683 * math/libm-test.inc (ulps_file_name): Define.
10684 (output_dir): New variable.
10685 (options): Add "output-dir" option.
10686 (parse_opt): Handle 'o' case.
10687 (main): If output_dir is non-NULL use it as a prefix
10689 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10691 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10693 [BZ #10060, #10062]
10694 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10695 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10696 fail configure if __sync_val_compare_and_swap is not inlined.
10697 * sysdeps/i386/configure: Regenerate.
10698 * configure.in: Build for i686 when configured for i386.
10699 * configure: Regenerate.
10700 * README: Remove i386 reference.
10702 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10704 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10705 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10707 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10709 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10710 (lmsnanval): New variables.
10711 (F): Add conversion tests.
10712 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10713 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10715 * stdio-common/tstdiomisc.c (F): Properly collect individual
10718 [BZ #14686, #15336]
10719 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10720 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10721 Instead, use input NaN values or generate a qNaN by arithmetic
10722 operation. Also fix bugs to comply with the standard.
10723 * math/libm-test.inc (remainder_test): Add more tests.
10725 [BZ #15335, #15342]
10726 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10728 input NaN values or generate a qNaN by arithmetic operation.
10730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10733 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10736 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10739 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10740 underflowed result.
10741 * math/s_cexpf.c (__cexpf): Likewise.
10742 * math/s_cexpl.c (__cexpl): Likewise.
10743 * math/libm-test.inc (cexp_test): Add more tests.
10745 2013-04-03 Andreas Schwab <schwab@suse.de>
10748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10749 order arrays from heap if bigger than alloca cutoff.
10751 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10753 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10754 (SNAN_TESTS_double): Refer to GCC PR56831.
10755 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10758 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10760 * Rules (bench): Move bench.out after the run is complete.
10762 * Rules (bench): Echo currently running benchmark.
10764 * benchtests/Makefile (bench): Add atan and slowatan.
10765 * benchtests/atan-inputs: New file.
10766 * benchtests/slowatan-inputs: New file.
10767 * benchtests/slowatan.c: New file.
10769 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10770 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10774 * sysdeps/unix/sysv/linux/kernel-features.h
10775 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10776 __ASSUME_XFS_RESTRICTED_CHOWN.
10777 * sysdeps/unix/sysv/linux/pathconf.c
10778 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10779 Save and restore errno.
10781 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10784 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10785 arguments using __kernel_casinh.
10786 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10787 arguments using __kernel_casinhf.
10788 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10789 arguments using __kernel_casinhl.
10790 * math/libm-test.inc (cacosh_test): Add more tests.
10791 * sysdeps/i386/fpu/libm-test-ulps: Update.
10792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10794 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10796 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10797 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10799 * bench/Makefile (bench): Add sin and slowsin.
10800 * benchtests/sin-inputs: New file.
10801 * benchtests/slowsin-inputs: New file.
10802 * benchtests/slowsin.c: New file.
10804 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10805 (bench): Add slowexp and slowpow.
10806 (exp-ITER): Increase iterations.
10807 (pow-ITER): Likewise.
10808 * benchtests/exp-inputs: Change input.
10809 * benchtests/pow-inputs: Likewise.
10810 * benchtests/slowexp-inputs: New file.
10811 * benchtests/slowexp.c: New file.
10812 * benchtests/slowpow-inputs: New file.
10813 * benchtests/slowpow.c: New file.
10815 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10817 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10819 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10820 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10821 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10822 * benchtests/Makefile: Add rint benchtest.
10823 * benchtests/rint-inputs: Input for rint benchtest.
10825 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10827 * Versions.def (libm): Add GLIBC_2.18.
10828 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10829 hidden libm prototypes.
10830 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10831 * math/Makefile (libm-calls): Add s_issignaling.
10832 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10833 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10834 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10836 * math/math.h [__USE_GNU] (issignaling): New macro.
10837 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10838 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10840 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10843 * manual/arith.texi (issignaling): New section.
10844 * manual/libm-err-tab.pl (@all_functions): Update comment.
10845 * math/gen-libm-test.pl (parse_args): Apply special handling for
10847 * math/libm-test.inc (print_float, issignaling_test): New
10849 (check_float_internal): Add issignaling checks.
10850 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10851 default definition.
10852 * sysdeps/powerpc/math-tests.h: New file.
10853 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10855 * math/test-snan.c (TEST_FUNC): Likewise.
10857 2013-03-30 David S. Miller <davem@davemloft.net>
10859 * po/de.po: Update from translation team.
10861 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10864 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10865 imaginary part less than 1.0 and real part less than 0.5
10867 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10868 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10869 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10870 (cacos_test): Add more tests.
10871 (casin_test): Likewise.
10872 (casinh_test): Likewise.
10873 * sysdeps/i386/fpu/libm-test-ulps: Update.
10874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10876 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10878 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10879 ONE with its value.
10881 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10882 (__pow_mp): Replace ONE and MONE with their values.
10883 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10884 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10885 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10886 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10887 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10888 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10890 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10892 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10893 (__pow_mp): Replace ZERO and MZERO with their values.
10894 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10895 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10896 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10898 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10899 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10902 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10904 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10906 2013-03-28 Roland McGrath <roland@hack.frob.com>
10908 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10909 Declare with __attribute__ ((weak)).
10910 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10911 Call __call_tls_dtors only if it's not NULL.
10913 2013-03-28 Roland McGrath <roland@hack.frob.com>
10915 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10916 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10917 magic __ehdr_start linker symbol if it's defined.
10918 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10919 them up here if it was already done.
10921 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10922 (_dl_aux_init): Use const in cast when setting it.
10923 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10924 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10925 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10927 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10929 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10930 * csu/libc-tls.c: Nor here.
10931 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10933 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10934 (__libc_message): Never call vsyslog.
10936 2013-03-28 Alan Modra <amodra@gmail.com>
10938 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10940 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10943 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10946 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10950 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10953 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10954 Don't add gid passed as argument.
10956 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10958 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10961 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10962 imaginary part between 1.0 and 1.5 and real part less than 0.5
10964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10966 * math/libm-test.inc (cacos_test): Add more tests.
10967 (casin_test): Likewise.
10968 (casinh_test): Likewise.
10969 * sysdeps/i386/fpu/libm-test-ulps: Update.
10970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10972 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10974 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10977 (denorm): Likewise.
10978 (__dbl_mp): Likewise.
10979 (add_magnitudes): Likewise.
10980 (sub_magnitudes): Likewise.
10988 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10990 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10991 (__dubcos): Likewise.
10992 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10993 (__ieee754_acos): Likewise.
10994 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10995 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10996 (__exp1): Likewise.
10997 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11000 (my_log2): Likewise.
11001 (checkint): Likewise.
11002 * sysdeps/ieee754/dbl-64/e_remainder.c
11003 (__ieee754_remainder): Likewise.
11004 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11006 (bsloww): Likewise.
11007 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11009 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11010 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11011 MANTISSA_STORE_T to store computations on mantissa. Use
11012 macros for rounding and division.
11013 (denorm): Likewise.
11014 (__dbl_mp): Likewise.
11015 (add_magnitudes): Likewise.
11016 (sub_magnitudes): Likewise.
11019 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11020 powers of two in terms of TWOPOW macro.
11021 (mp_no): Make type of mantissa as MANTISSA_T.
11022 [!RADIXI]: Define RADIXI.
11023 [!TWO52]: Define TWO52.
11024 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11026 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11028 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11029 llroundl symbol when building for PPC32.
11031 2013-03-24 Mark H Weaver <mhw@netris.org>
11033 * manual/arith.texi (Normalization Functions): Fix prototypes for
11034 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11036 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11040 high value to check if expl overflow.
11041 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11042 to check for underflow and overflow.
11043 * math/libm-test.inc: Add exp test.
11045 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11048 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11051 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11053 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11056 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11058 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11059 wrap blocks consisting of several statements.
11061 * sysdeps/generic/math-tests.h: New file.
11062 * sysdeps/i386/fpu/math-tests.h: Likewise.
11063 * math/test-snan.c: Include it.
11064 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11066 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11069 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11070 (__ieee754_j0l): Do not improve calculations using cos of twice
11071 input for inputs above LDBL_MAX / 2.0L.
11072 (__ieee754_y0l): Likewise.
11073 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11074 (__ieee754_j1l): Do not improve calculations using cos of twice
11075 input for inputs above LDBL_MAX / 2.0L.
11076 (__ieee754_y1l): Likewise.
11077 * math/libm-test.inc (j0_test): Add another test.
11078 (j1_test): Likewise.
11079 (y0_test): Likewise.
11080 (y1_test): Likewise.
11081 * sysdeps/i386/fpu/libm-test-ulps: Update.
11083 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11085 * Rules ($(objpfx)bench-%.c): Include code from a C source
11088 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11091 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11092 imaginary part 1.0 and real part less than 0.5 specially.
11093 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11094 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11095 * math/libm-test.inc (cacos_test): Add more tests.
11096 (casin_test): Likewise.
11097 (casinh_test): Likewise.
11098 * sysdeps/i386/fpu/libm-test-ulps: Update.
11099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11101 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11103 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11104 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11106 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11108 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11109 * config.make.in (config-cflags-sse4): Remove variable.
11110 (config-cflags-avx): Likewise.
11111 (config-cflags-sse2avx): Likewise.
11112 (config-cflags-novzeroupper): Likewise.
11113 (config-asflags-i686): Likewise.
11114 (have-mfma4): Likewise.
11115 (have-as-vis3): Likewise.
11117 * configure.in (MIG): Do not AC_SUBST.
11118 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11119 (libc_cv_cc_sse4): Do not AC_SUBST.
11120 (libc_cv_cc_avx): Likewise.
11121 (libc_cv_cc_sse2avx): Likewise.
11122 (libc_cv_cc_novzeroupper): Likewise.
11123 (libc_cv_cc_fma4): Likewise.
11124 (libc_cv_as_i686): Likewise.
11125 (libc_cv_sparc_as_vis3): Likewise.
11126 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11128 (config-asflags-i686): Likewise.
11129 (config-cflags-avx): Likewise.
11130 (config-cflags-sse2avx): Likewise.
11131 (have-mfma4): Likewise.
11132 (config-cflags-novzeroupper): Likewise.
11133 * sysdeps/mach/configure.in (MIG): Likewise.
11134 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11135 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11137 (config-cflags-avx): Likewise.
11138 (config-cflags-sse2avx): Likewise.
11139 (have-mfma4): Likewise.
11140 (config-cflags-novzeroupper): Likewise.
11141 * configure: Regenerated.
11142 * sysdeps/i386/configure: Likewise.
11143 * sysdeps/mach/configure: Likewise.
11144 * sysdeps/sparc/configure: Likewise.
11145 * sysdeps/x86_64/configure: Likewise.
11147 2013-03-20 Roland McGrath <roland@hack.frob.com>
11150 * locale/programs/localedef.c (options): Put N_ translation marker
11151 on argument names, not just descriptions.
11153 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11155 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11157 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11160 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11162 2013-03-19 Roland McGrath <roland@hack.frob.com>
11164 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11165 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11166 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11167 [!BEFORE_ABORT] (before_abort): New function.
11168 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11169 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11170 (writev_for_fatal): New function.
11171 (WRITEV_FOR_FATAL): New macro; call that.
11172 (backtrace_and_maps): New function.
11173 (BEFORE_ABORT): New macro; call that.
11174 (struct str_list): Type removed.
11175 (__libc_message, __libc_fatal): Functions removed.
11176 Include <sysdeps/posix/libc_fatal.c> instead.
11178 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11180 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11182 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11185 2013-03-19 Andreas Schwab <schwab@suse.de>
11187 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11188 * sysdeps/gnu/configure: Regenerate.
11190 * configure.in: Substitute libc_cv_rtlddir.
11191 * configure: Regenerate.
11192 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11193 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11194 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11195 * elf/Makefile (install-others, CFLAGS-interp.c)
11196 (ldso_install, common-ldd-rewrite): Likewise.
11197 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11198 $(inst_slibdir)/$(rtld-installed-name).
11199 * scripts/rellns-sh: Add -p option.
11200 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11203 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11205 * manual/nptl.texi: Renamed to ...
11206 * manual/threads.texi: ... this.
11207 * manual/Makefile (chapters): Update.
11209 2013-03-18 Roland McGrath <roland@hack.frob.com>
11212 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11213 on argument names, not just descriptions.
11214 * malloc/memusagestat.c (options): Likewise.
11215 * nss/getent.c (options): Likewise.
11217 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11220 * iconv/iconv_prog.c (options): Put N_ translation marker
11221 on argument names, not just descriptions.
11222 * iconv/iconvconfig.c (options): Likewise.
11224 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11226 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11227 implementation which is faster on all x86_64 architectures.
11228 Tested on AMD, Intel Nehalem, SNB, IVB.
11229 * sysdeps/x86_64/strnlen.S: Likewise.
11231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11232 Remove all multiarch strlen and strnlen versions.
11233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11234 Remove strlen and strnlen related parts.
11236 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11237 Inline strlen part.
11238 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11240 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11241 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11242 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11243 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11244 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11245 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11247 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11249 * manual/memory.texi (Malloc Tunable Parameters):
11250 Sort parameters alphabetically. Add comments for missing entries.
11252 2013-03-17 David S. Miller <davem@davemloft.net>
11254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11256 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11259 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11260 for arguments at most half maximum finite value.
11261 * math/libm-test.inc (j0_test): Add more tests.
11262 (j1_test): Likewise.
11263 (y0_test): Likewise.
11264 (y1_test): Likewise.
11265 * sysdeps/i386/fpu/libm-test-ulps: Update.
11266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11270 1 / x and functions P and Q for arguments above 0x1p256L.
11271 (__ieee754_y0l): Likewise.
11272 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11273 (__ieee754_y1l): Likewise.
11274 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11275 (j1_test): Likewise.
11276 (y0_test): Likewise.
11277 (y1_test): Likewise.
11279 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11281 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11284 2013-03-15 Roland McGrath <roland@hack.frob.com>
11286 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11287 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11288 zero since it's initialized to EXEC_PAGESIZE.
11290 * sysdeps/unix/sysv/linux/ldsodefs.h
11291 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11292 * sysdeps/generic/ldsodefs.h: ... here.
11294 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11296 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11298 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11300 * math/test-snan.c: Renamed from
11301 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11302 * math/Makefile (tests): Add test-snan.
11303 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11306 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11307 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11309 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11310 __builtin_nan family of functions.
11311 * math/libm-test.inc (initialize): Initialize qnan_value with
11312 __builtin_nan family of functions.
11313 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11315 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11317 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11318 storage class. Initialize qNaN_var and sNaN_var with
11319 __builtin_nan and __builtin_nans families of functions,
11322 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11323 (sqrt_test): Remove duplicate test with qNaN input.
11324 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11325 (round_test, signbit_test, significand_test): Note missing +/-Inf
11326 as well as qNaN tests.
11328 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11329 qNaN_var. Fix a few strings, too.
11330 * math/libm-test.inc (nan_value): Rename to qnan_value.
11331 * math/gen-libm-test.pl (%beautify): Adjust to that.
11332 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11333 * math/test-misc.c (main): Likewise.
11334 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11335 to __qnan_bytes, and __qnan_union, respectively.
11336 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11338 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11339 and lqnanval, respectively.
11340 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11341 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11342 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11343 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11345 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11346 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11349 * math/test-misc.c (main): Fix copy'n'pastos.
11350 * misc/tst-efgcvt.c (special): Likewise.
11352 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11353 Remove declarations.
11355 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11357 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11358 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11359 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11360 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11362 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11365 macro to return vdso values correctly in IFUNC implementations.
11366 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11367 Optimization by using IFUNC.
11369 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11370 Richard Henderson <rth@redhat.com>
11371 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11373 * Makefile.in (bench): New target.
11374 * NEWS: Mention the benchmark framework.
11375 * Rules (bench): Likewise.
11376 (binaries-bench): Generate binaries for functions to
11378 * benchtests/Makefile: New makefile for benchmark tests.
11379 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11381 * benchtests/exp-inputs: New input file for EXP function.
11382 * benchtests/pow-inputs: New input file for POW function.
11383 * scripts/bench.pl: New script to generate source files for
11384 benchmark programs.
11386 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11388 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11389 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11390 computations on mantissa. Use macros for rounding and
11392 (denorm): Likewise.
11393 (__dbl_mp): Likewise.
11394 (add_magnitudes): Likewise.
11395 (sub_magnitudes): Likewise.
11398 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11399 powers of two in terms of TWOPOW macro.
11400 (mp_no): Make type of mantissa as MANTISSA_T.
11401 [!RADIXI]: Define RADIXI.
11402 [!TWO52]: Define TWO52.
11403 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11405 * manual/nptl.texi (cindex): Modify threads to pthreads.
11407 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11409 * sysdeps/x86_64/preconfigure: Regenerated.
11411 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11414 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11416 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11417 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11419 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11420 * math/libm-test.inc (j0_test): Do not allow one spurious
11421 underflow exception.
11422 (y1_test): Likewise.
11424 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11426 * manual/Makefile (chapters): Add nptl.
11427 * manual/debug.texi (Debugging Support): Add link to Threads
11429 * manual/nptl.texi: New file.
11431 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11433 2013-03-14 Petr Baudis <pasky@ucw.cz>
11435 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11436 for non-NULL pointer before the memory validity test. Pointed
11437 out by Holger Brunck <holger.brunck@keymile.com>.
11439 2013-03-13 Andreas Schwab <schwab@suse.de>
11441 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11444 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11446 * timezone/zic.c: Update from tzcode 2013b.
11448 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11450 * manual/install.texi (Configuring and compiling):
11451 Mention i686 and i586.
11452 * INSTALL: Regenerate.
11454 2013-03-12 Roland McGrath <roland@hack.frob.com>
11456 * sysdeps/init_array/elf-init.c: New file.
11458 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11459 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11461 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11462 __gmon_start__ as global, but as static with a .preinit_array pointer.
11463 * sysdeps/init_array/gmon-start.c: New file. Use that.
11464 * sysdeps/init_array/crti.S: New file, empty except for comments.
11465 * sysdeps/init_array/crtn.S: Likewise.
11467 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11469 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11472 Remove Prefer_SSE_for_memop.
11473 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11474 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11475 HAS_PREFER_SSE_FOR_MEMOP.
11476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11479 Remove bzero, memset ifunc support.
11480 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11481 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11482 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11483 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11485 2013-03-11 Andreas Schwab <schwab@suse.de>
11488 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11491 (GLIBC_2.16): Remove pthread_atfork.
11493 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11495 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11496 (ptestcases.h): Likewise.
11498 2013-03-08 Roland McGrath <roland@hack.frob.com>
11500 * Makeconfig ($(common-objpfx)config.status): Depend on
11501 sysdeps/*/preconfigure{,.in} too.
11503 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11505 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11506 (__free_hook): Use void * instead of __malloc_ptr_t.
11507 (__malloc_hook): Likewise.
11508 (__realloc_hook): Likewise.
11509 (__memalign_hook): Likewise.
11510 (__after_morecore_hook): Likewise.
11511 * malloc/arena.c (save_malloc_hook): Likewise.
11512 (save_free_hook): Likewise.
11513 * malloc/hooks.c (malloc_hook_ini): Likewise.
11514 (realloc_hook_ini): Likewise.
11515 (memalign_hook_ini): Likewise.
11516 * malloc/malloc.c (malloc_hook_ini): Likewise.
11517 (realloc_hook_ini): Likewise.
11518 (memalign_hook_ini): Likewise.
11519 (__free_hook): Likewise.
11520 (__malloc_hook): Likewise.
11521 (__realloc_hook): Likewise.
11522 (__memalign_hook): Likewise.
11523 (__libc_malloc): Likewise.
11524 (__libc_free): Likewise.
11525 (__libc_realloc): Likewise.
11526 (__libc_memalign): Likewise.
11527 (__libc_valloc): Likewise.
11528 (__libc_pvalloc): Likewise.
11529 (__libc_calloc): Likewise.
11530 (__posix_memalign): Likewise.
11531 * malloc/morecore.c (__sbrk): Likewise.
11532 (__default_morecore): Likewise.
11534 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11536 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11537 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11538 __malloc_ptrdiff_t.
11540 * malloc/malloc.h (__malloc_size_t): Remove macro.
11541 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11543 (old_memalign_hook): Likewise.
11544 (old_realloc_hook): Likewise.
11545 (struct hdr): Likewise.
11547 (mallochook): Likewise.
11548 (memalignhook): Likewise.
11549 (reallochook): Likewise.
11550 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11551 (tr_old_realloc_hook): Likewise.
11552 (tr_old_memalign_hook): Likewise.
11553 (tr_mallochook): Likewise.
11554 (tr_reallochook): Likewise.
11555 (tr_memalignhook): Likewise.
11557 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11560 default_ldbl_pack and using as default implementation.
11561 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11563 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11564 redundant definition.
11565 (ldbl_insert_mantissa): Likewise.
11566 (ldbl_canonicalize): Likewise.
11567 (ldbl_nearbyint): Likewise.
11568 (ldbl_pack): Rename to ldbl_pack_ppc.
11569 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11570 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11571 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11573 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11576 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11577 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11578 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11580 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11581 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11582 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11584 2013-03-07 Andreas Jaeger <aj@suse.de>
11586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11589 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11591 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11592 Include mpa.h and declare __MPEXP.
11593 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11595 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11596 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11598 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11599 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11601 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11602 (__slowpow): Use long double EXPL and LOGL functions to
11604 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11605 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11606 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11607 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11608 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11612 intermediate variable to calculate exponent.
11614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11618 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11619 [!NO__SQR]: Define __sqr.
11620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11621 and NO__SQR. Remove all code except __mul and __sqr. Include
11622 sysdeps/ieee754/dbl-64/mpa.c.
11623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11626 * posix/Makefile (tests): Add tst-pathconf.
11627 * posix/tst-pathconf.c: New test case.
11628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11630 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11632 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11634 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11636 2013-03-06 Andreas Jaeger <aj@suse.de>
11638 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11639 definition via __MAP_ANONYMOUS.
11641 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11642 it's not part of Linux headers.
11644 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11645 (MAP_HUGE_MASK): Define.
11647 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11649 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11652 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11653 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11655 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11656 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11658 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11660 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11661 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11662 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11663 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11664 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11665 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11667 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11670 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11671 Handle f2fs and efivarfs.
11673 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11676 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11677 (EFIVARFS_MAGIC): Add.
11678 (F2FS_LINK_MAX): Add.
11680 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11682 * stdio-common/vfprintf.c: Replace __builtin_expect with
11685 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/generic/bp-sym.h: Remove file.
11689 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11690 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11691 <bp-sym.h> and <bp-asm.h>.
11692 (__longjmp): Don't use BP_SYM.
11693 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11695 (memcpy): Don't use BP_SYM.
11696 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11697 <bp-sym.h> and <bp-asm.h>.
11698 (memcpy): Don't use BP_SYM.
11699 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11701 (memcpy): Don't use BP_SYM.
11702 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11704 (memset): Don't use BP_SYM.
11705 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11706 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11707 (__bzero): Don't use BP_SYM.
11708 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11709 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11710 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11711 <bp-sym.h> and <bp-asm.h>.
11712 (memcmp): Don't use BP_SYM. Remove comment about bounded
11714 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11715 <bp-sym.h> and <bp-asm.h>.
11716 (memcpy): Don't use BP_SYM.
11717 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11718 <bp-sym.h> and <bp-asm.h>.
11719 (memset): Don't use BP_SYM.
11720 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11721 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11722 (__bzero): Don't use BP_SYM.
11723 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11724 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11725 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11726 <bp-sym.h> and <bp-asm.h>.
11727 (strncmp): Don't use BP_SYM. Remove comment about bounded
11729 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11730 <bp-sym.h> and <bp-asm.h>.
11731 (memcpy): Don't use BP_SYM.
11732 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11733 <bp-sym.h> and <bp-asm.h>.
11734 (memset): Don't use BP_SYM.
11735 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11736 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11737 (__bzero): Don't use BP_SYM.
11738 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11739 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11740 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11741 <bp-sym.h> and <bp-asm.h>.
11742 (__memchr): Don't use BP_SYM.
11743 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11744 <bp-sym.h> and <bp-asm.h>.
11745 (memcmp): Don't use BP_SYM. Remove comment about bounded
11747 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11748 <bp-sym.h> and <bp-asm.h>.
11749 (memcpy): Don't use BP_SYM.
11750 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11751 <bp-sym.h> and <bp-asm.h>.
11752 (__mempcpy): Don't use BP_SYM.
11753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11754 <bp-sym.h> and <bp-asm.h>.
11755 (__memrchr): Don't use BP_SYM.
11756 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11757 <bp-sym.h> and <bp-asm.h>.
11758 (memset): Don't use BP_SYM.
11759 (__bzero): Likewise.
11760 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11761 <bp-sym.h> and <bp-asm.h>.
11762 (__rawmemchr): Don't use BP_SYM.
11763 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11764 <bp-sym.h> and <bp-asm.h>.
11765 (__STRCMP): Don't use BP_SYM.
11766 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11767 <bp-sym.h> and <bp-asm.h>.
11768 (strchr): Don't use BP_SYM.
11769 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11770 <bp-sym.h> and <bp-asm.h>.
11771 (__strchrnul): Don't use BP_SYM.
11772 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11773 <bp-sym.h> and <bp-asm.h>.
11774 (strlen): Don't use BP_SYM.
11775 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11776 <bp-sym.h> and <bp-asm.h>.
11777 (strncmp): Don't use BP_SYM. Remove comment about bounded
11779 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11780 <bp-sym.h> and <bp-asm.h>.
11781 (__strnlen): Don't use BP_SYM.
11782 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11783 <bp-sym.h> and <bp-asm.h>.
11784 (__GI__setjmp): Don't use BP_SYM.
11785 (_setjmp): Likewise.
11786 (__sigsetjmp): Likewise.
11787 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11788 (L(start_addresses)): Don't use BP_SYM.
11789 (_start): Likewise.
11790 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11792 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11793 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11794 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11795 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11796 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11798 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11799 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11800 about bounded pointers.
11801 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11802 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11803 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11805 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11806 about bounded pointers. Remove GKM FIXME comments.
11807 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11808 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11810 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11811 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11812 Remove GKM FIXME comments.
11813 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11814 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11815 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11817 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11818 about bounded pointers. Remove GKM FIXME comment.
11819 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11821 (strncmp): Don't use BP_SYM. Remove comment about bounded
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11824 <bp-sym.h> and <bp-asm.h>.
11825 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11827 <bp-sym.h> and <bp-asm.h>.
11828 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11831 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11833 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11836 2013-03-05 David S. Miller <davem@davemloft.net>
11838 * po/es.po: Update from translation team.
11840 2013-03-05 Andreas Jaeger <aj@suse.de>
11842 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11843 <bits/mman-linux.h>.
11844 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11846 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11847 <bits/mman-linux.h> to end of file.
11848 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11850 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11851 <bits/mman-linux.h> to end of file.
11852 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11854 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11855 <bits/mman-linux.h> to end of file.
11857 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11858 (MCL_CURRENT, MCL_FUTURE): Define here.
11860 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11863 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11865 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11867 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11870 fourth parameter needed for rt_sigprocmask syscall.
11871 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11872 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11873 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11874 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11875 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11876 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11878 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11881 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11882 comment about bounded pointers.
11883 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11884 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11886 2013-03-04 Andreas Jaeger <aj@suse.de>
11888 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11889 common definitions.
11891 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11892 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11893 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11894 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11895 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11896 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11898 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11902 __ieee754_sqrl instead of __sqrl.
11904 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11906 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11907 * sysdeps/powerpc/fpu_control.h: ... here.
11908 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11909 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11910 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11911 * sysdeps/powerpc/bits/mathinline.h: ... here.
11913 2013-03-01 Roland McGrath <roland@hack.frob.com>
11915 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11916 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11917 to just [NEED_DL_SYSINFO_DSO].
11918 * elf/dl-support.c: Likewise.
11919 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11920 * elf/rtld.c (dl_main): Likewise.
11921 * elf/setup-vdso.h (setup_vdso): Likewise.
11922 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11923 * sysdeps/unix/sysv/linux/dl-sysdep.c
11924 (_dl_discover_osversion): Likewise.
11926 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11928 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11929 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11931 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11933 * NEWS: Mention libm performance improvements and non-x86 PI
11936 * csu/libc-start.c (__pthread_initialize_minimal): Change
11937 function arguments.
11938 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11940 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11943 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11944 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11945 <bp-sym.h> and <bp-asm.h>.
11946 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11947 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11949 (memcpy): Don't use BP_SYM.
11950 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11952 (__mpn_add_n): Don't use BP_SYM.
11953 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11954 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11956 (__mpn_addmul_1): Don't use BP_SYM.
11957 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11958 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11960 (_setjmp): Don't use BP_SYM.
11961 (__novmx_setjmp): Likewise.
11962 (__GI__setjmp): Likewise.
11963 (__vmx_setjmp): Likewise.
11964 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11966 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11967 (__bzero): Don't use BP_SYM.
11968 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11969 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11970 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11971 <bp-sym.h> and <bp-asm.h>.
11972 (memcpy): Don't use BP_SYM.
11973 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11974 <bp-sym.h> and <bp-asm.h>.
11975 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11976 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11977 <bp-sym.h> and <bp-asm.h>.
11978 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11979 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11981 (__mpn_lshift): Don't use BP_SYM.
11982 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11983 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11985 (memset): Don't use BP_SYM.
11986 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11987 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11988 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11990 (__mpn_mul_1): Don't use BP_SYM.
11991 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11992 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11993 <bp-sym.h> and <bp-asm.h>.
11994 (memcmp): Don't use BP_SYM.
11995 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11996 <bp-sym.h> and <bp-asm.h>.
11997 (memcpy): Don't use BP_SYM.
11998 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11999 <bp-sym.h> and <bp-asm.h>.
12000 (memset): Don't use BP_SYM.
12001 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12002 <bp-sym.h> and <bp-asm.h>.
12003 (strncmp): Don't use BP_SYM.
12004 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12005 <bp-sym.h> and <bp-asm.h>.
12006 (memcpy): Don't use BP_SYM.
12007 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12008 <bp-sym.h> and <bp-asm.h>.
12009 (memset): Don't use BP_SYM.
12010 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12011 <bp-sym.h> and <bp-asm.h>.
12012 (__memchr): Don't use BP_SYM.
12013 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12014 <bp-sym.h> and <bp-asm.h>.
12015 (memcmp): Don't use BP_SYM.
12016 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12017 <bp-sym.h> and <bp-asm.h>.
12018 (memcpy): Don't use BP_SYM.
12019 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12020 <bp-sym.h> and <bp-asm.h>.
12021 (__mempcpy): Don't use BP_SYM.
12022 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12023 <bp-sym.h> and <bp-asm.h>.
12024 (__memrchr): Don't use BP_SYM.
12025 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12026 <bp-sym.h> and <bp-asm.h>.
12027 (memset): Don't use BP_SYM.
12028 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12029 <bp-sym.h> and <bp-asm.h>.
12030 (__rawmemchr): Don't use BP_SYM.
12031 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12032 <bp-sym.h> and <bp-asm.h>.
12033 (__STRCMP): Don't use BP_SYM.
12034 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12035 <bp-sym.h> and <bp-asm.h>.
12036 (strchr): Don't use BP_SYM.
12037 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12038 <bp-sym.h> and <bp-asm.h>.
12039 (__strchrnul): Don't use BP_SYM.
12040 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12041 <bp-sym.h> and <bp-asm.h>.
12042 (strlen): Don't use BP_SYM.
12043 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12044 <bp-sym.h> and <bp-asm.h>.
12045 (strncmp): Don't use BP_SYM.
12046 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12047 <bp-sym.h> and <bp-asm.h>.
12048 (__strnlen): Don't use BP_SYM.
12049 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12051 (__mpn_rshift): Don't use BP_SYM.
12052 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12053 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12054 <bp-sym.h> and <bp-asm.h>.
12055 (__sigsetjmp): Don't use BP_SYM.
12056 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12057 (L(start_addresses)): Don't use BP_SYM.
12058 (_start): Likewise.
12059 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12061 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12062 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12063 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12064 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12066 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12067 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12068 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12069 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12071 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12073 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12074 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12076 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12078 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12079 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12080 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12082 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12084 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12086 (strncmp): Don't use BP_SYM,
12087 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12089 (__mpn_sub_n): Don't use BP_SYM.
12090 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12091 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12093 (__mpn_submul_1): Don't use BP_SYM.
12094 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12096 <bp-sym.h> and <bp-asm.h>.
12097 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12099 <bp-sym.h> and <bp-asm.h>.
12100 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12103 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12106 Use ZK to minimize writes to Z.
12107 (sub_magnitudes): Simplify code a bit.
12108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12109 Use ZK to minimize writes to Z.
12110 (sub_magnitudes): Simplify code a bit.
12112 2013-02-27 Roland McGrath <roland@hack.frob.com>
12114 * csu/gmon-start.c: Add special exception to license text.
12116 2013-02-27 Richard Henderson <rth@redhat.com>
12118 * scripts/config.guess: Update from config.git.
12119 * scripts/config.sub: Likewise.
12121 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12123 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12125 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12127 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12129 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12131 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12133 2013-02-26 Roland McGrath <roland@hack.frob.com>
12135 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12136 [$(build-shared = yes].
12138 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12140 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12141 (__mul): Reduce iterations for calculating mantissa.
12143 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12145 (__mpranred): Likewise.
12148 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12149 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12151 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12153 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12154 Define __attribute__.
12156 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12158 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12160 * posix/regex_internal.h (__attribute): Remove.
12161 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12162 (re_string_context_at): Likewise.
12163 (bitset_not): Use __attribute__ and mark function as possibly
12165 (bitset_merge): Likewise.
12166 (bitset_mask): Likewise.
12167 (re_string_char_size_at): Likewise.
12168 (re_string_wchar_at): Likewise.
12169 (re_string_elem_size_at): Likewise.
12171 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12173 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12177 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12181 (denorm): Likewise.
12182 (__dbl_mp): Likewise.
12183 (add_magnitudes): Likewise.
12184 (sub_magnitudes): Likewise.
12188 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12191 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12194 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12198 up changes with default code.
12199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12202 2013-02-24 Allan McRae <allan@archlinux.org>
12204 * manual/socket.texi (The Internet Namespace): Order menu items
12205 to match that in the file.
12207 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12208 node listing of the info page menu.
12210 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12213 * sysdeps/i386/bp-asm.h: Remove file.
12214 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12215 (PARMS): Do not use macros from bp-asm.h.
12219 (__mpn_add_n): Do not use BP_SYM
12220 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12222 (PARMS): Do not use macros from bp-asm.h.
12225 (__mpn_addmul_1): Do not use BP_SYM
12226 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12228 (PARMS): Do not use macros from bp-asm.h.
12229 (SIGMSK): Likewise.
12230 (_setjmp): Likewise. Do not use BP_SYM.
12231 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12233 (PARMS): Do not use macros from bp-asm.h.
12234 (SIGMSK): Likewise.
12235 (setjmp): Likewise. Do not use BP_SYM.
12236 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12238 (PARMS): Do not use macros from bp-asm.h.
12239 (__frexp): Do not use BP_SYM.
12241 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12243 (PARMS): Do not use macros from bp-asm.h.
12244 (__frexpf): Do not use BP_SYM.
12245 (frexpf): Likewise.
12246 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12248 (PARMS): Do not use macros from bp-asm.h.
12249 (__frexpl): Do not use BP_SYM.
12250 (frexpl): Likewise.
12251 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12253 (PARMS): Do not use macros from bp-asm.h.
12254 (__remquo): Do not use BP_SYM.
12255 (remquo): Likewise.
12256 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12258 (PARMS): Do not use macros from bp-asm.h.
12259 (__remquof): Do not use BP_SYM.
12260 (remquof): Likewise.
12261 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12263 (PARMS): Do not use macros from bp-asm.h.
12264 (__remquol): Do not use BP_SYM.
12265 (remquol): Likewise.
12266 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12268 (PARMS): Do not use macros from bp-asm.h.
12271 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12272 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12274 (PARMS): Do not use macros from bp-asm.h.
12275 (strlen): Do not use BP_SYM.
12276 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12278 (PARMS): Do not use macros from bp-asm.h.
12282 (__mpn_add_n): Do not use BP_SYM.
12283 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12285 (PARMS): Do not use macros from bp-asm.h.
12288 (__mpn_addmul_1): Do not use BP_SYM.
12289 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12292 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12294 (PARMS): Do not use macros from bp-asm.h.
12297 (__mpn_lshift): Do not use BP_SYM.
12298 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12300 (PARMS): Do not use macros from bp-asm.h.
12304 (memcpy): Likewise. Do not use BP_SYM.
12305 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12306 libc_hidden_def and weak_alias.
12307 (mempcpy): Do not use BP_SYM in weak_alias.
12308 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12310 (PARMS): Do not use macros from bp-asm.h.
12313 [!BZERO_P] (CHR): Likewise.
12314 (memset): Likewise. Do not use BP_SYM.
12315 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12317 (PARMS): Do not use macros from bp-asm.h.
12320 (__mpn_mul_1): Do not use BP_SYM.
12321 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12323 (PARMS): Do not use macros from bp-asm.h.
12326 (__mpn_rshift): Do not use BP_SYM.
12327 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12329 (PARMS): Do not use macros from bp-asm.h.
12332 (strchr): Likewise. Do not use BP_SYM.
12333 (index): Do not use BP_SYM in weak_alias.
12334 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12336 (PARMS): Do not use macros from bp-asm.h.
12339 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12340 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12342 (PARMS): Do not use macros from bp-asm.h.
12343 (strlen): Do not use BP_SYM.
12344 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12346 (PARMS): Do not use macros from bp-asm.h.
12350 (__mpn_sub_n): Do not use BP_SYM.
12351 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12353 (PARMS): Do not use macros from bp-asm.h.
12356 (__mpn_submul_1): Do not use BP_SYM.
12357 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12359 (PARMS): Do not use macros from bp-asm.h.
12363 (__mpn_add_n): Do not use BP_SYM.
12364 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12367 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12369 (PARMS): Do not use macros from bp-asm.h.
12372 (memcmp): Do not use BP_SYM.
12373 (bcmp): Do not use BP_SYM in weak_alias.
12374 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12376 (PARMS): Do not use macros from bp-asm.h.
12380 (memcpy): Likewise. Do not use BP_SYM.
12381 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12383 (PARMS): Do not use macros from bp-asm.h.
12387 (memmove): Likewise. Do not use BP_SYM.
12388 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12390 (PARMS): Do not use macros from bp-asm.h.
12394 (__mempcpy): Likewise. Do not use BP_SYM.
12395 (mempcpy): Do not use BP_SYM in weak_alias.
12396 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12398 (PARMS): Do not use macros from bp-asm.h.
12401 [!BZERO_P] (CHR): Likewise.
12402 (memset): Likewise. Do not use BP_SYM.
12403 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12405 (PARMS): Do not use macros from bp-asm.h.
12407 (strcmp): Do not use BP_SYM.
12408 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12410 (PARMS): Do not use macros from bp-asm.h.
12413 [USE_AS_STRTOK_R] (SAVE): Likewise.
12414 (FUNCTION): Likewise. Do not use BP_SYM.
12415 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12417 (strtok_r): Likewise.
12418 (__GI___strtok_r): Likewise.
12419 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12420 (PARMS): Do not use macros from bp-asm.h.
12423 (__mpn_lshift): Do not use BP_SYM.
12424 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12425 (PARMS): Do not use macros from bp-asm.h.
12428 (__memchr): Do not use BP_SYM.
12429 (memchr): Do not use BP_SYM in weak_alias.
12430 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12431 (PARMS): Do not use macros from bp-asm.h.
12434 (memcmp): Do not use BP_SYM.
12435 (bcmp): Do not use BP_SYM in weak_alias.
12436 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12437 (PARMS): Do not use macros from bp-asm.h.
12440 (__mpn_mul_1): Do not use BP_SYM.
12441 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12443 (PARMS): Do not use macros from bp-asm.h.
12446 (__rawmemchr): Do not use BP_SYM.
12447 (rawmemchr): Do not use BP_SYM in weak_alias.
12448 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12449 (PARMS): Do not use macros from bp-asm.h.
12452 (__mpn_rshift): Do not use BP_SYM.
12453 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12454 (PARMS): Do not use macros from bp-asm.h.
12455 (SIGMSK): Likewise.
12456 (__sigsetjmp): Likewise. Do not use BP_SYM.
12457 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12458 (_start): Do not use BP_SYM.
12459 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12460 (PARMS): Do not use macros from bp-asm.h.
12463 (__stpcpy): Likewise. Do not use BP_SYM.
12464 (stpcpy): Do not use BP_SYM in weak_alias.
12465 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12467 (PARMS): Do not use macros from bp-asm.h.
12471 (__stpncpy): Likewise. Do not use BP_SYM.
12472 (stpncpy): Do not use BP_SYM in weak_alias.
12473 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12474 (PARMS): Do not use macros from bp-asm.h.
12477 (strchr): Likewise. Do not use BP_SYM.
12478 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12480 (PARMS): Do not use macros from bp-asm.h.
12483 (__strchrnul): Likewise. Do not use BP_SYM.
12484 (strchrnul): Do not use BP_SYM in weak_alias.
12485 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12487 (PARMS): Do not use macros from bp-asm.h.
12489 (strcspn): Do not use BP_SYM.
12490 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12492 (PARMS): Do not use macros from bp-asm.h.
12495 (strpbrk): Likewise. Do not use BP_SYM.
12496 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12498 (PARMS): Do not use macros from bp-asm.h.
12501 (strrchr): Likewise. Do not use BP_SYM.
12502 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12503 (PARMS): Do not use macros from bp-asm.h.
12505 (strspn): Do not use BP_SYM.
12506 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12507 (PARMS): Do not use macros from bp-asm.h.
12511 (FUNCTION): Likewise. Do not use BP_SYM.
12512 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12514 (strtok_r): Likewise.
12515 (__GI___strtok_r): Likewise.
12516 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12517 (PARMS): Do not use macros from bp-asm.h.
12521 (__mpn_sub_n): Do not use BP_SYM.
12522 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12524 (PARMS): Do not use macros from bp-asm.h.
12527 (__mpn_submul_1): Do not use BP_SYM.
12528 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12530 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12532 (PARMS): Do not use macros from bp-asm.h.
12537 (__clone): Do not use BP_SYM.
12538 (clone): Do not use BP_SYM in weak_alias.
12539 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12541 (PARMS): Do not use macros from bp-asm.h.
12543 (__mmap64): Do not use BP_SYM.
12544 (mmap64): Do not use BP_SYM in weak_alias.
12545 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12546 <bp-sym.h> and <bp-asm.h>.
12547 (PARMS): Do not use macros from bp-asm.h.
12548 (__posix_fadvise64_l64): Do not use BP_SYM.
12549 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12550 (PARMS): Do not use macros from bp-asm.h.
12552 (semtimedop): Do not use BP_SYM.
12553 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12556 2013-02-21 Allan McRae <allan@archlinux.org>
12558 * manual/message.texi (Charset conversion in gettext):
12559 Move @end statement to beginning of line.
12561 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12568 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12569 (denorm): Likewise.
12570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12573 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12575 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12576 tail-call to the resolved function if pltexit isn't needed.
12578 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12581 or Y being zero as being unlikely.
12582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12585 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12587 * manual/nss.texi (System Databases and Name Service Switch):
12588 Remove frobnicate @pxref.
12590 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12592 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12593 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12595 2013-02-20 Petr Machata <pmachata@redhat.com>
12597 * elf/elf.h (R_ARM_TARGET1): New macro.
12598 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12599 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12600 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12601 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12602 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12603 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12604 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12605 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12606 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12607 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12608 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12609 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12610 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12611 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12612 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12613 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12614 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12615 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12616 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12617 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12618 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12619 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12620 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12621 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12622 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12623 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12624 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12625 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12626 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12627 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12628 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12629 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12630 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12631 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12632 (R_ARM_THM_GOT_BREL12): Likewise.
12633 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12634 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12635 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12636 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12637 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12638 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12639 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12640 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12641 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12643 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12645 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12646 __attribute_used__ to __attribute__ ((unused)).
12648 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12650 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12653 comment formatting.
12654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12656 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12659 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12661 (ENTER): Remove both macro definitions.
12663 (CHECK_BOUNDS_LOW): Likewise.
12664 (CHECK_BOUNDS_HIGH): Likewise.
12665 (CHECK_BOUNDS_BOTH): Likewise.
12666 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12667 (RETURN_BOUNDED_POINTER): Likewise.
12668 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12669 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12670 (POP_ERRNO_LOCATION_RETURN): Likewise.
12671 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12672 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12673 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12675 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12676 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12677 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12678 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12679 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12680 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12681 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12682 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12683 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12684 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12685 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12686 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12687 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12688 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12690 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12691 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12693 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12694 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12695 * sysdeps/i386/i586/memset.S (memset): Likewise.
12696 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12697 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12698 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12700 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12701 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12702 Change uses of L(2) to L(out).
12703 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12704 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12705 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12706 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12707 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12709 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12710 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12712 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12713 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12714 (RETURN): Do not use macro LEAVE.
12715 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12716 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12717 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12718 * sysdeps/i386/i686/memset.S (memset): Likewise.
12719 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12720 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12721 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12722 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12724 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12725 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12726 L(1_2) and L(1_3) into L(1).
12727 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12728 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12729 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12730 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12731 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12732 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12733 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12734 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12735 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12737 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12738 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12739 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12740 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12741 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12742 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12743 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12744 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12745 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12746 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12747 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12748 * sysdeps/i386/strspn.S (strspn): Likewise.
12749 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12751 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12752 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12753 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12754 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12755 L(1_3) into L(1_1).
12756 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12757 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12758 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12760 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12762 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12764 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12767 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12769 * math/atest-exp.c (exp_mpn): Remove ROUND.
12770 * math/atest-exp2.c (exp_mpn): Likewise.
12771 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12773 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12774 * stdlib/tst-tls-atexit-lib.c: Likewise.
12775 * stdlib/tst-tls-atexit.c: Likewise.
12777 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12779 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12780 and __attribute_alloc_size__.
12782 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12784 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12785 __attribute_alloc_size__.
12786 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12787 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12789 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12791 * include/programs/xmalloc.h: New file.
12792 * catgets/gencat.c: Include it.
12793 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12794 * elf/pldd.c: Likewise.
12795 * iconv/iconv_charmap.c: Likewise.
12796 * iconv/iconvconfig.c: Likewise.
12797 * iconv/strtab.c: Likewise.
12798 * locale/programs/locale.c: Likewise.
12799 * locale/programs/localedef.h: Likewise.
12800 * locale/programs/simple-hash.c: Likewise.
12801 * nscd/nscd.h: Likewise.
12802 * nss/makedb.c: Likewise.
12803 * sysdeps/generic/ldconfig.h: Likewise.
12805 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12807 * Versions.def: Add GLIBC_2.18.
12808 * include/link.h (struct link_map): New member l_tls_dtor_count.
12809 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12810 (__call_tls_dtors): Likewise.
12811 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12812 __cxa_thread_atexit_impl.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12829 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12830 (tests): Add test case tst-tls-atexit.
12831 (modules-names): Add shared library for tst-tls-atexit.
12832 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12833 (GLIBC_PRIVATE): Add __call_tls_dtors.
12834 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12836 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12837 * stdlib/tst-tls-atexit.c: New test case.
12838 * stdlib/tst-tls-atexit-lib.c: New test case.
12840 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12842 * elf/Versions (ld): Add _dl_find_dso_for_object.
12843 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12844 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12845 (dl_open_worker): Use _dl_find_dso_for_object.
12846 * elf/dl-sym.c (do_sym): Likewise.
12847 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12849 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12851 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12852 Syntactic changes only.
12853 (_dl_runtime_profile): Do a tail-call to the resolved function.
12855 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12858 * sysdeps/x86_64/bp-asm.h: Remove file.
12859 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12860 <bp-sym.h> and <bp-asm.h>.
12861 (__clone): Do not use BP_SYM.
12862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12863 <bp-sym.h> and <bp-asm.h>.
12864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12865 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12867 (_setjmp): Do not use BP_SYM.
12868 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12870 (setjmp): Do not use BP_SYM.
12871 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12873 (mempcpy): Do not use BP_SYM in weak_alias.
12874 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12876 (strchr): Do not use BP_SYM.
12877 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12879 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12880 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12881 (_start): Do not use BP_SYM.
12882 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12884 (strcat): Do not use BP_SYM.
12885 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12887 (STRCMP): Do not use BP_SYM.
12888 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12890 (STRCPY): Do not use BP_SYM.
12891 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12893 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12895 (FUNCTION): Do not use BP_SYM.
12896 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12898 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12900 2013-02-17 Andreas Jaeger <aj@suse.de>
12902 * time/Versions: Sort entries.
12903 * string/Versions: Likewise.
12904 * resolv/Versions: Likewise.
12905 * posix/Versions: Likewise.
12906 * iconv/Versions: Likewise.
12907 * elf/Versions: Likewise.
12908 * wcsmbs/Versions: Likewise.
12910 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12912 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12913 loop termination condition.
12915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12916 variable to calculate EZ.
12919 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12920 the lower precision input.
12922 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12925 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12926 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12927 (run-via-rtld-prefix): Do not handle %-bp tests.
12928 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12929 (all-object-suffixes): Remove .ob.
12930 (bppfx): Remove variable.
12931 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12932 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12933 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12934 [$(build-bounded) = yes] (libtype.ob): Likewise.
12935 * Makerules (elide-routines.ob): Remove variable.
12936 (do-tests-clean): Do not handle *-bp.out.
12937 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12938 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12939 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12940 (tests): Do not include $(tests-bp.out).
12941 (xtests): Do not include $(xtests-bp.out).
12942 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12943 [$(build-bounded) = yes] ($(addprefix
12944 $(objpfx),$(binaries-bounded))): Remove rule.
12945 ($(objpfx)%-bp.out): Remove rule.
12946 * config.make.in (build-bounded): Remove variable.
12947 * crypt/Makefile [$(build-bounded) = yes]
12948 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12949 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12950 append to variable.
12951 [$(build-bounded) = yes] (install-lib): Likewise.
12952 [$(build-bounded) = yes] (generated): Likewise.
12953 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12955 * intl/Makefile [$(build-bounded) = yes]
12956 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12957 * math/Makefile [$(build-bounded) = yes]
12958 ($(tests:%=$(objpfx)%-bp): Likewise.
12959 * misc/Makefile [$(build-bounded) = yes]
12960 ($(objpfx)tst-tsearch-bp): Likewise.
12961 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12962 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12964 * string/Makefile (o-objects.ob): Remove variable.
12965 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12966 (CFLAGS-.ob): Remove variable.
12967 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12968 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12969 both definitions of variable.
12970 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12971 (ASFLAGS-.ob): Remove variable.
12973 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12976 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12977 Remove __BOUNDED_POINTERS__ from condition.
12978 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12979 * string/bits/string2.h [!__NO_STRING_INLINES &&
12980 !__BOUNDED_POINTERS__]: Likewise.
12981 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12983 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12984 Remove conditional code.
12985 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12986 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12987 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12991 * csu/libc-start.c: Do not include <bp-sym.h>.
12992 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12993 * elf/dl-open.c: Do not include <bp-sym.h>.
12994 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12995 * math/fegetenv.c: Do not include <bp-sym.h>.
12996 (fegetenv): Do not use BP_SYM in versioned symbols.
12997 * nptl/sysdeps/pthread/bits/libc-lockP.h
12998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13001 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13003 (__pthread_mutex_destroy): Likewise.
13004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13005 (__pthread_mutex_lock): Likewise.
13006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13007 (__pthread_mutex_trylock): Likewise.
13008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13009 (__pthread_mutex_unlock): Likewise.
13010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13011 (__pthread_mutexattr_init): Likewise.
13012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13013 (__pthread_mutexattr_destroy): Likewise.
13014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13015 (__pthread_mutexattr_settype): Likewise.
13016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13017 (__pthread_rwlock_init): Likewise.
13018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13019 (__pthread_rwlock_destroy): Likewise.
13020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13021 (__pthread_rwlock_rdlock): Likewise.
13022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13023 (__pthread_rwlock_tryrdlock): Likewise.
13024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13025 (__pthread_rwlock_wrlock): Likewise.
13026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13027 (__pthread_rwlock_trywrlock): Likewise.
13028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13029 (__pthread_rwlock_unlock): Likewise.
13030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13031 (__pthread_key_create): Likewise.
13032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13033 (__pthread_setspecific): Likewise.
13034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13035 (__pthread_getspecific): Likewise.
13036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13039 (_pthread_cleanup_push_defer): Likewise.
13040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13041 (_pthread_cleanup_pop_restore): Likewise.
13042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13043 (pthread_setcancelstate): Likewise.
13044 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13046 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13047 (memchr): Do not use BP_SYM in weak_alias.
13048 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13049 (fegetenv): Do not use BP_SYM in versioned symbols.
13050 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13051 (fesetenv): Do not use BP_SYM in versioned symbols.
13052 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13053 (feupdateenv): Do not use BP_SYM in versioned symbols.
13054 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13055 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13056 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13057 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13058 (open64): Do not use BP_SYM in weak_alias.
13059 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13060 (fegetenv): Do not use BP_SYM in versioned symbols.
13061 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13062 (fesetenv): Do not use BP_SYM in versioned symbols.
13063 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13064 (feupdateenv): Do not use BP_SYM in versioned symbols.
13065 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13066 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13067 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13068 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13069 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13070 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13071 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13073 (__libc_start_main): Do not use BP_SYM.
13075 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13078 redundant return line.
13080 (denorm): Likewise.
13081 (dbl_mp): Likewise.
13082 (sub_magnitudes): Likewise.
13088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13090 (denorm): Likewise.
13091 (dbl_mp): Likewise.
13092 (sub_magnitudes): Likewise.
13099 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13101 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13102 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13105 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13106 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13108 of __mul for squares.
13109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13113 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13114 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13116 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13119 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13121 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13122 prototype or function definition. Rename ubp_* variables and
13123 parameters. Remove argv definitions conditional on
13124 [__BOUNDED_POINTERS__].
13125 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13126 * elf/dl-runtime.c (_dl_fixup): Likewise.
13127 * include/set-hooks.h (RUN_HOOK): Likewise.
13128 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13130 * string/strcpy.c (strcpy): Do not use __unbounded.
13131 * sysdeps/generic/frame.h (struct layout): Likewise.
13132 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13133 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13134 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13135 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13136 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13137 (__backtrace): Likewise.
13138 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13140 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13141 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13142 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13144 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13145 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13146 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13147 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13148 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13149 Do not use __unbounded.
13150 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13151 Rename __unboundedrlimits parameter to rlimits in prototype.
13152 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13153 Do not use __unbounded.
13154 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13155 not use __ptrvalue.
13156 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13157 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13158 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13159 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13160 __ptrvalue or __unbounded.
13161 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13162 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13164 (__new_msgctl): Do not use __ptrvalue.
13165 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13167 (__libc_msgrcv): Do not use __ptrvalue.
13168 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13169 startup_info): Do not use __unbounded.
13170 (__libc_start_main): Likewise. Rename ubp_* variables and
13171 parameters. Remove argv definitions conditional on
13172 [__BOUNDED_POINTERS__].
13173 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13175 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13177 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13179 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13181 (__new_shmctl): Do not use __ptrvalue.
13182 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13183 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13185 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13187 (__libc_sigaction): Likewise.
13188 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13189 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13191 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13193 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13195 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13197 * string/mempcpy.c: Implement by calling memcpy.
13199 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13206 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13207 values in the mantissa.
13209 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13210 minimize writes to Z.
13211 (sub_magnitudes): Simplify code a bit.
13213 2013-02-12 Roland McGrath <roland@hack.frob.com>
13215 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13216 from the message. The linker prefixes all warnings with that already.
13218 2013-02-12 Andreas Schwab <schwab@suse.de>
13221 * posix/regexec.c (extend_buffers): Add parameter min_len.
13222 (check_matching): Pass minimum needed length.
13223 (clean_state_log_if_needed): Likewise.
13224 (get_subexp): Likewise.
13225 * posix/Makefile (tests): Add bug-regex34.
13226 (bug-regex34-ENV): Define.
13227 * posix/bug-regex34.c: New file.
13230 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13231 elements compare against the byte sequence of it, not its name.
13232 * posix/Makefile (tests): Add bug-regex35.
13233 (bug-regex35-ENV): Define.
13234 * posix/bug-regex35.c: New file.
13236 2013-02-11 Tom de Vries <tom@codesourcery.com>
13238 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13240 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13241 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13242 (CHECK_EOL): Add undef.
13244 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13246 * bits/stdlib-bsearch.h: New file.
13247 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13248 * stdlib/stdlib.h: Likewise.
13250 2013-02-11 Roland McGrath <roland@hack.frob.com>
13252 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13253 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13255 * manual/search.texi (Array Search Function): Add missing const in
13257 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13258 declaration to use rlim_t.
13259 (Basic Scheduling Functions): Remove erroneous const from
13260 sched_getparam prototype. Remove erroneous * from
13261 sched_get_priority_max and sched_get_priority_min prototypes.
13262 (Resource Usage): Fix summary @comment on vtimes to refer to
13263 sys/vtimes.h rather than vtimes.h.
13264 Add missing *s in vtimes prototype.
13265 (Limits on Resources): Fix ulimit prototype to return long int.
13266 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13267 prototypes to use long int rather than double.
13268 (BSD Random): Fix initstate and setstate to use char *, not void *.
13269 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13270 prototype to make second argument 'struct aiocb64 *const[]'.
13271 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13272 (Status of AIO Operations): Remove erroneous const in aio_return and
13273 aio_return64 prototypes.
13274 (Synchronizing I/O): Fix sync prototype to return void.
13275 * manual/startup.texi (Suboptions): Remove an erroneous const in
13276 getsubopt prototype.
13277 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13278 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13279 use size_t rather than int.
13280 (Scanning All Users): Likewise for getpwent_r.
13281 (Setting Groups): Add missing const to setgroups prototype.
13282 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13283 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13284 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13285 'const void *' rather than 'const char *'.
13286 (Host Address Functions): Likewise for inet_ntop.
13287 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13288 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13289 ssize_t for return value.
13290 (Sending Data): Likewise for send, sendto, sendmsg.
13291 (Socket Option Functions): Add a missing const in setsockopt prototype.
13292 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13293 use wchar_t for the argument.
13294 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13295 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13297 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13298 double/float/long double for second argument.
13299 Fix return types of significand, significandf, significandl.
13300 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13301 argument in fchmod prototype.
13302 (File Owner): Use uid_t and gid_t in fchown prototype.
13303 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13304 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13305 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13306 use 'const struct dirent **' as argument types to CMP function pointer
13308 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13309 (File Times): Fix summary magic @comment for struct utimbuf and utime
13310 to refer to utime.h, not time.h.
13311 * manual/string.texi (Argz Functions): Add missing const in
13312 argz_extract and argz_next prototypes.
13313 (Finding Tokens in a String): Likewise for basename.
13314 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13315 (Copying and Concatenation): Fix typo in wmemmove prototype.
13316 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13317 (Signal Stack): Remove erroneous const in sigstack prototype.
13318 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13320 (Simple Calendar Time): Likewise for stime.
13321 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13323 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13324 say sys/sysctl.h instead.
13325 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13326 and vsyslog prototypes.
13328 2013-02-11 Tom de Vries <tom@codesourcery.com>
13330 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13333 2013-02-11 Roland McGrath <roland@hack.frob.com>
13335 * misc/sys/mman.h: Fix typo in mremap comment.
13337 2013-02-08 Roland McGrath <roland@hack.frob.com>
13339 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13340 the '\0' terminator.
13342 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13345 * debug/segfault.c: Don't include <bp-checks.h>.
13346 * sysdeps/generic/bp-checks.h: Remove file.
13347 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13348 (__GETDENTS): Don't use CHECK_N.
13349 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13350 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13351 (__getgroups): Don't use CHECK_N.
13352 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13353 (setgroups): Don't use CHECK_N.
13354 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13355 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13356 (__libc_msgrcv): Don't use CHECK_N.
13357 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13358 (__libc_msgsnd): Don't use CHECK_N.
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13361 (__libc_pread): Don't use CHECK_N.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13363 include <bp-checks.h>.
13364 (__libc_pread64): Don't use CHECK_N.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13366 include <bp-checks.h>.
13367 (__libc_pwrite): Don't use CHECK_N.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13369 include <bp-checks.h>.
13370 (__libc_pwrite64): Don't use CHECK_N.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13373 (__libc_pread): Don't use CHECK_N.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13375 include <bp-checks.h>.
13376 (__libc_pread64): Don't use CHECK_N.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13378 include <bp-checks.h>.
13379 (__libc_pwrite): Don't use CHECK_N.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13381 include <bp-checks.h>.
13382 (__libc_pwrite64): Don't use CHECK_N.
13383 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13384 (do_pread): Don't use CHECK_N.
13385 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13386 (do_pread64): Don't use CHECK_N.
13387 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13388 (do_pwrite): Don't use CHECK_N.
13389 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13390 (do_pwrite64): Don't use CHECK_N.
13391 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13392 (__libc_readv): Don't use CHECK_N.
13393 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13394 (semop): Don't use CHECK_N.
13395 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13397 (semtimedop): Don't use CHECK_N.
13398 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13399 (__libc_pread): Don't use CHECK_N.
13400 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13402 (__libc_pread64): Don't use CHECK_N.
13403 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13405 (__libc_pwrite): Don't use CHECK_N.
13406 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13408 (__libc_pwrite64): Don't use CHECK_N.
13409 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13411 (__libc_msgrcv): Don't use CHECK_N.
13412 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13413 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13414 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13415 (__libc_writev): Don't use CHECK_N.
13417 2013-02-08 Roland McGrath <roland@hack.frob.com>
13419 * string/strcpy.c: Removed unused variable.
13421 * Makeconfig (+sysdep-includes): Define with := rather than =.
13422 Use an existing include/ subdir of each sysdeps dir before it.
13424 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13426 * nscd/connection.c (register_traced_file): Comment function.
13427 [HAVE_INOTIFY] (union __inev): Define.
13428 [HAVE_INOTIFY] (inotify_check_files): New function.
13429 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13430 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13432 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13434 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13436 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13437 loaded if not already and that a failure is permanent.
13439 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13442 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13443 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13445 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13448 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13449 (CHECK_1_NULL_OK): Likewise.
13450 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13451 (__fxstat): Do not use CHECK_1.
13452 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13454 (___fxstat64): Do not use CHECK_1.
13455 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13457 (__fxstatat): Do not use CHECK_1.
13458 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13460 (__fxstatat64): Do not use CHECK_1.
13461 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13463 (__fxstat): Do not use CHECK_1.
13464 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13466 (__fxstatat): Do not use CHECK_1.
13467 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13469 (__getresgid): Do not use CHECK_1.
13470 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13472 (__getresuid): Do not use CHECK_1.
13473 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13475 (__lxstat): Do not use CHECK_1.
13476 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13478 (__old_msgctl): Do not use CHECK_1.
13479 (__new_msgctl): Likewise.
13480 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13482 (__new_setrlimit): Do not use CHECK_1.
13483 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13485 (__old_shmctl): Do not use CHECK_1.
13486 (__new_shmctl): Likewise.
13487 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13489 (__xstat): Do not use CHECK_1.
13490 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13491 (__lxstat): Do not use CHECK_1.
13492 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13494 (___lxstat64): Do not use CHECK_1.
13495 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13496 (__old_msgctl): Do not use CHECK_1.
13497 (__new_msgctl): Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13500 (__gettimeofday): Do not use CHECK_1.
13501 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13502 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13503 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13505 (__gettimeofday): Do not use CHECK_1.
13506 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13507 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13508 (__new_shmctl): Do not use CHECK_1.
13509 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13511 (do_sigtimedwait): Do not use CHECK_1.
13512 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13514 (do_sigwaitinfo): Do not use CHECK_1.
13515 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13517 (msgctl): Do not use CHECK_1.
13518 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13520 (shmctl): Do not use CHECK_1.
13521 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13522 (ustat): Do not use CHECK_1.
13523 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13525 (__fxstat): Do not use CHECK_1.
13526 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13528 (__fxstatat): Do not use CHECK_1.
13529 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13531 (__lxstat): Do not use CHECK_1.
13532 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13534 (__xstat): Do not use CHECK_1.
13535 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13536 (__xstat): Do not use CHECK_1.
13537 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13538 (___xstat64): Do not use CHECK_1.
13541 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13543 (CHECK_BOUNDS_HIGH): Likewise.
13544 * string/strcpy.c: Do not include <bp-checks.h>.
13545 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13547 2013-02-07 Roland McGrath <roland@hack.frob.com>
13549 * nscd/nscd-client.h (__nscd_drop_map_ref):
13550 Add __attribute__ ((unused)).
13551 * nis/nss-nisplus.h (niserr2nss): Likewise.
13553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13554 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13556 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13557 Remove inline keyword.
13558 * include/rounding-mode.h (round_away): Likewise.
13559 * libio/wfileops.c (adjust_wide_data): Likewise.
13560 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13561 (__m128i_strloadu_tolower): Likewise.
13562 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13563 (__m128i_strloadu_tolower): Likewise.
13564 * time/mktime.c (ydhms_diff): Likewise.
13565 * locale/elem-hash.h (elem_hash): Likewise.
13566 * locale/setlocale.c (setdata): Likewise.
13567 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13568 (re_string_wchar_at): Likewise.
13569 (bitset_not, bitset_merge, bitset_mask): Likewise.
13570 [!(__GNUC__ > 3)] (inline): Remove macro.
13571 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13572 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13573 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13574 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13575 * string/memcmp.c (memcmp_bytes): Likewise.
13576 * locale/programs/locarchive.c (compute_hashval): Likewise.
13577 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13578 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13579 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13580 * nss/getent.c (print_rpc, print_protocols): Likewise.
13581 (print_passwd, print_group, print_aliases): Likewise.
13582 * nis/nss-nisplus.h (niserr2nss): Likewise.
13583 * nscd/connections.c (restart_p): Likewise.
13584 Change return type to bool.
13586 2013-02-05 Roland McGrath <roland@hack.frob.com>
13588 * Makeconfig (all-Depend-files): Add existing
13589 $(sorted-subdirs:=/Depend) files.
13590 (all-subdirs): Remove nss.
13591 * sysdeps/unix/inet/Subdirs: Add it here instead.
13592 * hesiod/Depend: New file.
13594 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13595 instead of calling alloca.
13597 * io/lseek.c (__lseek): Rename to __libc_lseek.
13598 Define __lseek as an alias.
13600 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13602 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13604 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13605 else clause and remove check for non-standard endianness.
13607 2013-02-04 David S. Miller <davem@davemloft.net>
13609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13611 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13614 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13615 (__ubp_memchr): Remove prototype.
13616 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13617 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13618 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13619 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13620 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13622 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13623 (__ubp_memchr): Likewise.
13624 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13625 (__ubp_memchr): Likewise.
13626 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13627 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13628 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13629 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13631 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13632 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13633 (__getcwd): Do not use CHECK_STRING.
13634 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13636 (__real_chown): Do not use CHECK_STRING.
13637 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13639 (fchownat): Do not use CHECK_STRING.
13640 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13642 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13644 (__lchown): Do not use CHECK_STRING.
13645 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13646 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13647 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13648 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13650 include <bp-checks.h>.
13651 (truncate64): Do not use CHECK_STRING.
13652 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13654 (__real_chown): Do not use CHECK_STRING.
13655 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13657 (__lchown): Do not use CHECK_STRING.
13658 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13660 (__chown): Do not use CHECK_STRING.
13661 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13663 (truncate64): Do not use CHECK_STRING.
13664 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13666 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13667 (__xmknod): Do not use CHECK_STRING.
13668 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13670 (__xmknodat): Do not use CHECK_STRING.
13671 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13672 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13674 2013-02-04 Andreas Schwab <schwab@suse.de>
13677 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13678 * include/netdb.h: Likewise for h_errno.
13679 * elf/tst-stackguard1.c: Include <tls.h>.
13681 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13683 * elf/link.h (struct link_map): Extend the l_addr comment.
13684 * include/link.h (struct link_map): Likewise.
13686 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13689 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13690 (BOUNDED_1): Remove macro.
13691 * debug/backtrace.c: Don't include <bp-checks.h>.
13692 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13693 (__backtrace): Likewise.
13694 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13696 (__backtrace): Don't use BOUNDED_1.
13697 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13699 (__backtrace): Don't use BOUNDED_1.
13700 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13701 (__backtrace): Don't use BOUNDED_1.
13702 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13703 (shmat): Don't use BOUNDED_N.
13705 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13708 * sysdeps/generic/bp-start.h: Remove file.
13709 * csu/libc-start.c: Don't include <bp-start.h>.
13710 (LIBC_START_MAIN): Set up __environ directly instead of using
13711 INIT_ARGV_and_ENVIRON.
13712 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13716 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13718 (CHECK_FCNTL): Likewise.
13719 (CHECK_N_PAGES): Likewise.
13722 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13724 (CHECK_SIGSET_NULL_OK): Likewise.
13725 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13727 (sigpending): Don't use CHECK_SIGSET.
13728 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13730 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13731 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13733 (do_sigsuspend): Don't use CHECK_SIGSET.
13734 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13736 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13737 (do_sigwait): Don't use CHECK_SIGSET.
13738 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13741 include <bp-checks.h>.
13742 (sigpending): Don't use CHECK_SIGSET.
13743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13744 include <bp-checks.h>.
13745 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13746 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13748 (sigpending): Don't use CHECK_SIGSET.
13749 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13751 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13754 * sysdeps/generic/bp-semctl.h: Remove file.
13755 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13756 <bp-checks.h> and <bp-semctl.h>.
13757 (__old_semctl): Don't use CHECK_SEMCTL.
13758 (__new_semctl): Likewise.
13759 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13761 (__old_semctl): Don't use CHECK_SEMCTL.
13762 (__new_semctl): Likewise.
13763 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13764 <bp-checks.h> and <bp-semctl.h>.
13765 (__old_semctl): Don't use CHECK_SEMCTL.
13766 (__new_semctl): Likewise.
13767 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13768 <bp-checks.h> and <bp-semctl.h>.
13769 (semctl): Don't use CHECK_SEMCTL.
13772 * Makerules (elide-bp-thunks): Remove variable.
13773 (elide-routines.oS): Don't use $(elide-bp-thunks).
13774 (elide-routines.os): Likewise.
13775 (elide-routines.o): Likewise.
13776 (elide-routines.op): Likewise.
13777 (elide-routines.og): Likewise.
13778 (objects): Don't use $(bp-thunks).
13779 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13781 (common-generated): Do not add s-proto-bp.d.
13782 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13785 Do not generate makefile rules for bounded-pointer thunks.
13786 * sysdeps/generic/bp-thunks.h: Remove file.
13787 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13788 * sysdeps/unix/s-proto-bp.S: Likewise.
13791 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13792 parts of result separately when argument is not close to line from
13793 -i to i and one part of argument is small.
13794 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13795 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13796 * math/libm-test.inc (cacos_test): Add more tests.
13797 (casin_test): Likewise.
13798 (casinh_test): Likewise.
13799 * sysdeps/i386/fpu/libm-test-ulps: Update.
13800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13802 2013-01-31 David S. Miller <davem@davemloft.net>
13804 * po/de.po: Update from translation team.
13806 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13808 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13810 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13812 * configure.in (_AC_PROG_CC_C89): New definition.
13813 * configure: Regenerate.
13815 * configure.in (AC_PROG_CPP): New definition.
13816 * configure: Regenerate.
13818 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13820 * debug/tst-backtrace.h: New file.
13821 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13822 (ret): Remove variable.
13824 (FAIL): Remove macro.
13825 (NO_INLINE): Likewise.
13826 (fn1): Use match function instead of strstr.
13827 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13828 (ret): Remove variable.
13830 (FAIL): Remove macro.
13831 (NO_INLINE): Likewise.
13832 (fn): Use match function instead of strstr.
13833 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13834 (ret): Remove variable.
13836 (FAIL): Remove macro.
13837 (NO_INLINE): Likewise.
13838 (handle_signal): Use match function instead of strstr.
13839 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13840 (ret): Remove variable.
13842 (FAIL): Remove macro.
13843 (NO_INLINE): Likewise.
13844 (handle_signal): Use match function instead of strstr.
13846 2013-01-23 Roland McGrath <roland@hack.frob.com>
13848 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13850 2013-01-23 David S. Miller <davem@davemloft.net>
13852 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13853 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13854 argument of CAS if possible.
13855 * sysdeps/sparc/sparc64/bits/atomic.h
13856 (__arch_compare_and_exchange_val_32_acq): Likewise.
13857 (__arch_compare_and_exchange_val_64_acq): Likewise.
13859 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13861 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13862 * sysdeps/posix/ulimit.c: ... this.
13863 Include <limits.h>.
13864 * sysdeps/unix/bsd/ulimit.c: Remove file.
13866 2013-01-23 Adam Conrad <adconrad@0c3.net>
13868 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13869 (LDFLAGS-tst-array5): Likewise.
13871 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13874 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13875 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13876 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13877 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13879 2013-01-21 David S. Miller <davem@davemloft.net>
13881 * sysdeps/sparc/backtrace.c: New file.
13882 * sysdeps/sparc/sparc32/backtrace.h: New file.
13883 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13884 * sysdeps/sparc/sparc64/backtrace.h: New file.
13885 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13886 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13889 2013-01-21 Andreas Schwab <schwab@suse.de>
13892 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13895 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13901 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13902 Mark Mitchell <mark@codesourcery.com>
13903 Tom de Vries <tom@codesourcery.com>
13904 Paul Pluzhnikov <ppluzhnikov@google.com>
13906 * debug/tst-backtrace2.c: New file.
13907 * debug/tst-backtrace3.c: Likewise.
13908 * debug/tst-backtrace4.c: Likewise.
13909 * debug/tst-backtrace5.c: Likewise.
13910 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13911 (CFLAGS-tst-backtrace3.c): Likewise.
13912 (CFLAGS-tst-backtrace4.c): Likewise.
13913 (CFLAGS-tst-backtrace5.c): Likewise.
13914 (LDFLAGS-tst-backtrace2): Likewise.
13915 (LDFLAGS-tst-backtrace3): Likewise.
13916 (LDFLAGS-tst-backtrace4): Likewise.
13917 (LDFLAGS-tst-backtrace5): Likewise.
13918 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13919 tst-backtrace4 and tst-backtrace5.
13921 2013-01-18 Anton Blanchard <anton@samba.org>
13922 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13924 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13925 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13926 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13927 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13929 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13930 "+r" and remove output regs list as redundant. Add explicit inline
13931 asm to specify register of return val to work around compiler codegen
13932 bug. Remove (int) cast on return value. Add return type parameter to
13933 use in macro so that this macro does not truncate return value for
13935 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13936 pass to INTERNAL_VSYSCALL_NCS.
13937 (INLINE_VSYSCALL): Add 'long int' as return type to
13938 INTERNAL_VSYSCALL_NCS macro invocation.
13939 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13940 INTERNAL_VSYSCALL_NCS macro invocation.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13943 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13946 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13947 Fix application of SIMD FP exception mask.
13949 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13950 mp_no from a power of two.
13951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13952 __mpexp_twomm1. Use __pow_mp.
13954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13957 2013-01-17 David S. Miller <davem@davemloft.net>
13959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13961 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13964 * include/complex.h: Condition contents on [!_COMPLEX_H].
13965 (__kernel_casinhf): New prototype.
13966 (__kernel_casinh): Likewise.
13967 (__kernel_casinhl): Likewise.
13968 * math/Makefile (libm_calls): Add k_casinh.
13969 * math/k_casinh.c: New file.
13970 * math/k_casinhf.c: Likewise.
13971 * math/k_casinhl.c: Likewise.
13972 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13973 finite nonzero arguments.
13974 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13975 finite nonzero arguments.
13976 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13977 finite nonzero arguments.
13978 * math/s_casinh.c: Do not include <float.h>.
13979 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13980 * math/s_casinhf.c: Do not include <float.h>.
13981 (__casinhf): Move code for finite nonzero arguments to
13983 * math/s_casinhl.c: Do not include <float.h>.
13984 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13986 (__casinhl): Move code for finite nonzero arguments to
13988 * math/libm-test.inc (cacos_test): Add more tests.
13989 * sysdeps/i386/fpu/libm-test-ulps: Update.
13990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13992 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13994 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13995 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13996 [!HAVE_MREMAP]: Remove [defined linux] case.
13997 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13999 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14001 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14003 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14005 * elf/elf.h (R_386_SIZE32): New relocation.
14006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14008 (elf_machine_rela): Likewise.
14009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14010 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14012 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14014 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14015 (FP_FAST_FMA): Do not define.
14016 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14017 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14018 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14019 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14020 !_SOFT_FLOAT]: Likewise.
14021 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14022 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14024 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14025 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14026 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14027 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14028 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14029 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14032 2013-01-16 Andreas Schwab <schwab@suse.de>
14035 * include/stdlib.h (__mktemp): Add declaration.
14036 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14037 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14039 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14041 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14043 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14044 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14045 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14047 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14048 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14050 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14052 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14053 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14054 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14056 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14057 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14059 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14061 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14063 2013-01-15 David S. Miller <davem@davemloft.net>
14065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14066 trunc{,f} to libm-sysdep_routes.
14067 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14077 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14078 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14079 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14080 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14081 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14082 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14085 nearbyint{,f} to libm-sysdep_routes.
14086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14097 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14099 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14100 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14102 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14103 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14104 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14106 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14107 libc_feholdexcept and libc_fesetenv.
14109 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14111 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14113 2013-01-14 David S. Miller <davem@davemloft.net>
14115 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14116 (SPARC_ASM_VIS2_IFUNC): Likewise.
14117 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14119 use of 'siam' instruction.
14120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14153 routines to libm-sysdep_routines.
14154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14157 fdim/fdimf to libm-sysdep_routines.
14158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14166 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14167 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14168 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14169 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14171 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14173 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14174 to optimize copies.
14176 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14181 local variable MPTWO.
14182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14185 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14187 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14190 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14192 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14194 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14196 * manual/pattern.texi (glob_t): Document gl_flags.
14197 (glob64_t): Likewise.
14199 2013-01-11 David S. Miller <davem@davemloft.net>
14201 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14202 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14203 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14204 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14205 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14206 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14207 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14208 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14209 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14210 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14211 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14212 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14213 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14215 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14216 sparc V9 rather than using V8 code.
14217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14220 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14222 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14225 2013-01-11 Roland McGrath <roland@hack.frob.com>
14227 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14228 not in the main loop.
14229 * configure: Regenerated.
14231 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14233 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14234 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14236 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14237 [!__GLIBC_HAVE_LONG_LONG] case.
14238 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14239 condition to just #else.
14240 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14241 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14242 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14243 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14245 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14246 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14247 #elif condition to just #else.
14248 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14249 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14250 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14251 #elif condition to just #else.
14253 2013-01-11 Steve Ellcey <sellcey@mips.com>
14255 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14256 (EF_MIPS_ARCH_64): Fix value.
14257 (EF_MIPS_ARCH_32R2): New.
14258 (EF_MIPS_ARCH_64R2): New.
14260 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14262 * Makeconfig (+link-pie-before-libc): New.
14263 (+link-pie-after-libc): Likewise.
14264 (+link-pie-tests): Likewise.
14265 (+link-pie): Rewritten.
14266 (link-before-libc): Remove $(config-LDFLAGS).
14267 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14268 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14269 (config-LDFLAGS): Renamed to ...
14270 (rtld-LDFLAGS): This.
14271 (rtld-tests-LDFLAGS): New macro.
14272 (link-libc-rpath-link): Likewise.
14273 (link-libc-tests-rpath-link): Likewise.
14274 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14275 (link-libc): Prepand $(link-libc-rpath-link).
14276 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14277 (test-program-prefix): New macro.
14278 (test-via-rtld-prefix): Likewise.
14279 (test-program-cmd): Likewise.
14280 (host-test-program-cmd): Likewise.
14281 * Makefile ($(common-objpfx)testrun.sh): Replace
14282 $(run-program-prefix) with $(test-program-prefix).
14283 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14285 ($(common-objpfx)shlib.lds): Likewise.
14286 (build-module-helper): Likewise.
14287 ($(common-objpfx)format.lds): Likewise.
14288 * Rules (binaries-pie-tests): New.
14289 (binaries-pie-notests): Likewise.
14290 (binaries-pie): Rewritten.
14291 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14292 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14293 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14294 (make-test-out): Replace $(host-built-program-cmd) with
14295 $(host-test-program-cmd).
14296 * config.make.in (build-hardcoded-path-in-tests): New variable.
14297 * configure.in (--enable-hardcoded-path-in-tests): New configure
14299 (hardcoded_path_in_tests): New AC_SUBST.
14300 * configure: Regenerated.
14301 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14302 $(built-program-cmd) with $(test-program-cmd).
14303 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14304 (test_program_cmd): This.
14305 * elf/Makefile ($(objpfx)order.out): Run test with
14306 $(test-program-prefix).
14307 ($(objpfx)order2.out): Likewise.
14308 ($(objpfx)tst-initorder.out): Likewise.
14309 ($(objpfx)tst-initorder2.out): Likewise.
14310 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14311 $(test-program-cmd).
14312 ($(objpfx)tst-array1-static.out): Likewise.
14313 ($(objpfx)tst-array2.out): Likewise.
14314 ($(objpfx)tst-array3.out): Likewise.
14315 ($(objpfx)tst-array4.out): Likewise.
14316 ($(objpfx)tst-array5.out): Likewise.
14317 ($(objpfx)tst-array5-static.out): Likewise.
14318 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14319 $(test-program-cmd).
14320 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14321 $(run-program-prefix) with $(test-program-prefix).
14322 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14323 (test_program_prefix): This.
14324 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14325 $(run-program-prefix) with $(test-program-prefix).
14326 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14327 (test_program_prefix): This.
14328 * iconvdata/tst-tables.sh: Likewise.
14329 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14330 $(run-program-prefix) with $(test-program-prefix).
14331 ($(objpfx)tst-translit.out): Likewise.
14332 ($(objpfx)tst-gettext2.out): Likewise.
14333 ($(objpfx)tst-gettext4.out): Likewise.
14334 ($(objpfx)tst-gettext6.out): Likewise.
14335 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14336 (test_program_prefix): This.
14337 * intl/tst-gettext2.sh: Likewise.
14338 * intl/tst-gettext4.sh Likewise.
14339 * intl/tst-gettext6.sh: Likewise.
14340 * intl/tst-translit.sh: Likewise.
14341 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14342 with $(test-program-cmd).
14343 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14344 $(run-program-prefix) with $(test-program-prefix).
14345 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14346 (test_program_prefix): This.
14347 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14348 $(run-program-prefix) with $(test-program-prefix).
14349 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14350 (test_program_prefix): This.
14351 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14352 * posix/Makefile ($(objpfx)globtest.out): Replace
14353 $(run-via-rtld-prefix) and $(test-wrapper) with
14354 $(test-program-prefix) and $(test-via-rtld-prefix).
14355 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14356 $(test-program-prefix).
14357 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14358 $(host-test-program-cmd).
14359 (tst-spawn-ARGS): Likewise.
14360 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14361 $(test-program-prefix).
14362 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14363 (test_via_rtld_prefix): This.
14364 (test_wrapper): Renamed to ...
14365 (test_program_prefix): This.
14366 (run_program_prefix): Replaced by test_program_prefix.
14367 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14368 (test_program_prefix): This.
14369 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14370 with $(host-test-program-cmd).
14371 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14372 $(run-program-prefix) with $(test-program-prefix).
14373 ($(objpfx)tst-printf.out): Likewise.
14374 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14375 $(test-program-cmd).
14376 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14377 (test_program_prefix): This.
14378 * stdio-common/tst-unbputc.sh: Likewise.
14379 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14380 $(run-program-prefix) with $(test-program-prefix).
14381 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14382 (test_program_prefix): This.
14383 * string/Makefile ($(objpfx)tst-svc.out): Replace
14384 $(built-program-cmd) with $(test-program-cmd).
14386 2013-01-11 Andreas Jaeger <aj@suse.de>
14389 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14390 value. Sync with Linux 3.7.
14392 2013-01-10 David S. Miller <davem@davemloft.net>
14394 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14395 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14396 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14398 2013-01-10 Roland McGrath <roland@hack.frob.com>
14400 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14402 * configure: Regenerated.
14404 2013-01-10 David S. Miller <davem@davemloft.net>
14406 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14407 sparc V9 rather than using V8 code.
14408 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14409 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14411 2013-01-10 Roland McGrath <roland@hack.frob.com>
14413 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14414 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14415 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14416 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14417 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14418 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14419 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14420 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14421 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14422 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14423 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14424 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14425 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14426 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14427 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14428 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14429 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14430 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14431 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14432 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14433 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14434 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14435 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14436 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14437 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14438 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14439 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14441 2013-01-10 David S. Miller <davem@davemloft.net>
14443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14445 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14447 * posix/Makefile (tests-static): New variable.
14448 (tests): Add $(tests-static).
14449 (tst-exec-static-ARGS): New variable.
14450 (tst-spawn-static-ARGS): Likewise.
14451 * posix/tst-exec-static.c: New file.
14452 * posix/tst-spawn-static.c: Likewise.
14453 * posix/tst-exec.c: Support run directly.
14454 * posix/tst-spawn.c: Likewise.
14456 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14458 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14460 * math/bits/mathcalls.h (llrint): Likewise.
14461 (llround): Likewise.
14462 * stdlib/stdlib.h (struct drand48_data): Likewise.
14463 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14464 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14465 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14467 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14469 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14470 (elf_greg_t): Likewise.
14471 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14472 (__jmp_buf): Likewise.
14473 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14475 (llrint): Likewise, for all definitions.
14476 (llrintl): Likewise.
14478 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14479 Remove [__GNUC__] condition.
14480 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14481 condition to just [__USE_ISOC99].
14482 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14484 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14487 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14488 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14490 (_POSIX_V6_ILP32_OFF32): Likewise.
14491 (_XBS5_ILP32_OFF32): Likewise.
14492 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14493 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14495 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14497 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14500 doubles __mpexp_twomm1. Adjust usage.
14501 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14504 2013-01-10 Andreas Schwab <schwab@suse.de>
14507 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14508 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14510 2013-01-09 David S. Miller <davem@davemloft.net>
14513 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14514 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14515 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14516 TCP_FASTOPEN): Define.
14517 (tcp_repair_opt): New structure.
14518 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14520 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14521 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14522 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14523 (tcp_cookie_transactions): New structure.
14525 2013-01-09 Anton Blanchard <anton@samba.org>
14527 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14528 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14529 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14530 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14532 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14534 * include/features.h (__USE_ANSI): Remove.
14536 2013-01-09 Roland McGrath <roland@hack.frob.com>
14538 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14540 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14542 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14544 * sysdeps/s390/fpu/libm-test-ulps: Update.
14546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14548 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14552 (denorm): Likewise.
14553 (__mp_dbl): Likewise.
14554 (__dbl_mp): Likewise.
14555 (add_magnitudes): Likewise.
14556 (sub_magnitudes): Likewise.
14562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14566 (denorm): Likewise.
14567 (__mp_dbl): Likewise.
14568 (__dbl_mp): Likewise.
14569 (add_magnitudes): Likewise.
14570 (sub_magnitudes): Likewise.
14576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14580 (denorm): Likewise.
14581 (__mp_dbl): Likewise.
14582 (__dbl_mp): Likewise.
14583 (add_magnitudes): Likewise.
14584 (sub_magnitudes): Likewise.
14591 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14593 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14594 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14595 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14596 2 && __USE_EXTERN_INLINES]: Likewise.
14598 2013-01-08 Andreas Jaeger <aj@suse.de>
14601 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14603 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14604 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14606 2013-01-07 Anton Blanchard <anton@samba.org>
14608 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14609 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14610 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14611 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14612 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14613 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14614 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14615 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14617 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14618 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14619 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14622 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14623 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14624 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14625 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14626 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14627 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14628 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14629 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14630 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14631 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14632 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14633 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14634 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14635 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14637 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14638 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14640 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14641 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14642 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14643 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14644 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14645 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14646 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14648 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14650 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14652 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14654 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14655 (__MALLOC_PMT): Likewise.
14656 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14657 [__GNUC__], only on [_LIBC].
14658 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14659 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14660 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14661 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14662 forward declaration.
14663 (realloc_hook_ini): Likewise.
14664 (memalign_hook_ini): Likewise.
14665 (__libc_memalign): Do not use __MALLOC_PMT in variable
14667 (__libc_valloc): Likewise.
14668 (__libc_pvalloc): Likewise.
14669 (__libc_calloc): Likewise.
14670 (__posix_memalign): Likewise.
14673 * math/s_casinh.c: Include <float.h>.
14674 (__casinh): Do not do computation with squaring and square root
14675 for large arguments.
14676 * math/s_casinhf.c: Include <float.h>.
14677 (__casinhf): Do not do computation with squaring and square root
14678 for large arguments.
14679 * math/s_casinhl.c: Include <float.h>.
14680 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14681 (__casinhl): Do not do computation with squaring and square root
14682 for large arguments.
14683 * math/libm-test.inc (casin_test): Add more tests.
14684 (casinh_test): Likewise.
14685 * sysdeps/i386/fpu/libm-test-ulps: Update.
14686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14688 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14690 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14691 (__x86_64_raw_data_cache_size): Likewise.
14692 (__x86_64_data_cache_size_half): Likewise.
14693 (__x86_64_raw_data_cache_size_half): Likewise.
14694 (__x86_64_shared_cache_size): Likewise.
14695 (__x86_64_raw_shared_cache_size): Likewise.
14696 (__x86_64_shared_cache_size_half): Likewise.
14697 (__x86_64_raw_shared_cache_size_half): Likewise.
14698 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14700 (__x86_data_cache_size): This.
14701 (__x86_64_raw_data_cache_size): Renamed to ...
14702 (__x86_raw_data_cache_size): This.
14703 (__x86_64_data_cache_size_half): Renamed to ...
14704 (__x86_data_cache_size_half): This.
14705 (__x86_64_raw_data_cache_size_half): Renamed to ...
14706 (__x86_raw_data_cache_size_half): This.
14707 (__x86_64_shared_cache_size): Renamed to ...
14708 (__x86_shared_cache_size): This.
14709 (__x86_64_raw_shared_cache_size): Renamed to ...
14710 (__x86_raw_shared_cache_size): This.
14711 (__x86_64_shared_cache_size_half): Renamed to ...
14712 (__x86_shared_cache_size_half): This.
14713 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14714 (__x86_raw_shared_cache_size_half): This.
14715 * sysdeps/x86_64/memcpy.S: Updated.
14716 * sysdeps/x86_64/memset.S: Likewise.
14717 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14721 2013-01-04 David S. Miller <davem@davemloft.net>
14723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14725 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14727 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14728 1 to avoid redefinition warning.
14729 (__USE_GNU): Don't define.
14730 (init_signaling_nan): Protoize.
14732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14734 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14736 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14738 (__cpymn): Likewise.
14739 (norm): Remove commented code.
14740 (denorm): Likewise.
14741 (__mp_dbl): Likewise.
14743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14744 (__cpymn): Likewise.
14745 (norm): Remove commented code.
14746 (denorm): Likewise.
14747 (__mp_dbl): Likewise.
14750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14751 mp_no value for 1.0 and 2.0.
14752 (norm): Use RADIXI instead of radixi.d.
14753 (denorm): Likewise.
14754 (__mul): Use 0.0 instead of zero.d.
14755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14756 mp_no value for 1.0 and 2.0.
14757 (norm): Use RADIXI instead of radixi.d.
14758 (denorm): Likewise.
14759 (__mul): Use 0.0 instead of zero.d.
14761 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14764 * math/s_casinh.c (__casinh): Reduce finite argument to first
14765 quadrant then set signs of results at the end.
14766 * math/s_casinhf.c (__casinhf): Likewise.
14767 * math/s_casinhl.c (__casinhl): Likewise.
14768 * math/libm-test.inc (casin_test): Add more tests.
14769 (casinh_test): Likewise.
14770 * sysdeps/i386/fpu/libm-test-ulps: Update.
14771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14773 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14775 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14777 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14779 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14781 (denorm): Likewise.
14782 (__mp_dbl): Likewise.
14785 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14786 and adjust the header comment.
14788 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14789 variable name from declaration.
14791 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14794 Initialize COMMON_CPUID_INDEX_7 element.
14795 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14796 (CPUID_RTM): Likewise.
14797 (HAS_RTM): Likewise.
14798 (COMMON_CPUID_INDEX_7): New enum.
14800 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14803 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14804 size is zero, record memory as freed.
14806 2013-01-03 Andreas Jaeger <aj@suse.de>
14808 * po/ia.po: Add new Interlingua translation.
14810 2012-01-03 Allan McRae <allan@archlinux.org>
14812 * locale/programs/localedef.c: Fix description of '--posix' flag.
14814 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14816 * NEWS: Update dates in second copyright notice.
14817 * README: Update copyright dates in example.
14818 * manual/libc.texinfo: Update copyright dates.
14819 * scripts/test-installation.pl: Update copyright date in --version
14822 * hurd/ctty-input.c: Fix copyright notice formatting.
14823 * hurd/ctty-output.c: Likewise.
14824 * hurd/dtable.c: Likewise.
14825 * hurd/hurd-raise.c: Likewise.
14826 * hurd/hurdprio.c: Likewise.
14827 * hurd/msgportdemux.c: Likewise.
14828 * misc/sys/file.h: Likewise.
14829 * misc/sys/ioctl.h: Likewise.
14830 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14831 * sysdeps/mach/hurd/chdir.c: Likewise.
14832 * sysdeps/mach/hurd/fchdir.c: Likewise.
14833 * sysdeps/mach/hurd/rename.c: Likewise.
14834 * sysdeps/mach/hurd/rmdir.c: Likewise.
14835 * sysdeps/mach/hurd/seekdir.c: Likewise.
14836 * sysdeps/mach/hurd/setsid.c: Likewise.
14837 * sysdeps/posix/wait3.c: Likewise.
14839 * All files with FSF copyright notices: Update copyright dates
14840 using scripts/update-copyrights.
14841 * intl/plural.c: Regenerated.
14842 * locale/programs/charmap-kw.h: Likewise.
14843 * locale/programs/locfile-kw.h: Likewise.
14845 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14847 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14850 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14851 calculation loop and add branch prediction.
14853 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14854 check access beyond bounds of m1np.
14856 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14858 (__inv): Remove local variable MPTWO to use the global
14860 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14863 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14864 MP3HALFS static const.
14866 2013-01-01 David S. Miller <davem@davemloft.net>
14868 * po/ca.po: Update from translation team.
14870 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14872 * scripts/update-copyrights: New file.
14873 * Makeconfig: Reformat copyright notice.
14874 * ctype/ctype.h: Likewise.
14875 * debug/swprintf_chk.c: Likewise.
14876 * elf/dl-cache.c: Likewise.
14877 * elf/dl-debug.c: Likewise.
14878 * elf/dl-object.c: Likewise.
14879 * grp/initgroups.c: Likewise.
14880 * hurd/Makefile: Likewise.
14881 * hurd/hurd/signal.h: Likewise.
14882 * hurd/hurdfault.c: Likewise.
14883 * hurd/hurdioctl.c: Likewise.
14884 * hurd/hurdlookup.c: Likewise.
14885 * hurd/intr-msg.c: Likewise.
14886 * iconv/gconv_open.c: Likewise.
14887 * libio/swprintf.c: Likewise.
14888 * locale/lc-ctype.c: Likewise.
14889 * locale/nl_langinfo.c: Likewise.
14890 * mach/Machrules: Likewise.
14891 * mach/Makefile: Likewise.
14892 * malloc/obstack.h: Likewise.
14893 * manual/Makefile: Likewise.
14894 * manual/tsort.awk: Likewise.
14895 * misc/bits/stab.def: Likewise.
14896 * nis/nis_print_group_entry.c: Likewise.
14897 * nis/nis_table.c: Likewise.
14898 * nis/nss_compat/compat-pwd.c: Likewise.
14899 * nis/nss_compat/compat-spwd.c: Likewise.
14900 * po/Makefile: Likewise.
14901 * posix/fnmatch.c: Likewise.
14902 * posix/regex.h: Likewise.
14903 * resolv/Makefile: Likewise.
14904 * resolv/nss_dns/dns-network.c: Likewise.
14905 * resolv/res_hconf.c: Likewise.
14906 * scripts/gen-sorted.awk: Likewise.
14907 * soft-fp/soft-fp.h: Likewise.
14908 * stdio-common/printf.h: Likewise.
14909 * stdlib/monetary.h: Likewise.
14910 * stdlib/random.c: Likewise.
14911 * stdlib/random_r.c: Likewise.
14912 * sysdeps/generic/Makefile: Likewise.
14913 * sysdeps/gnu/Makefile: Likewise.
14914 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14921 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14924 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14925 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14942 * sysdeps/mach/hurd/errnos.awk: Likewise.
14943 * sysdeps/mach/hurd/fork.c: Likewise.
14944 * sysdeps/mach/hurd/getcwd.c: Likewise.
14945 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14946 * sysdeps/mach/hurd/mmap.c: Likewise.
14947 * sysdeps/mach/hurd/utimes.c: Likewise.
14948 * sysdeps/mach/hurd/xmknod.c: Likewise.
14949 * sysdeps/posix/profil.c: Likewise.
14950 * sysdeps/posix/readdir_r.c: Likewise.
14951 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14952 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14953 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14954 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14956 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14957 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14958 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14960 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14961 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14962 * sysdeps/pthread/lio_listio.c: Likewise.
14963 * sysdeps/sparc/dl-procinfo.h: Likewise.
14964 * sysdeps/unix/i386/sysdep.S: Likewise.
14965 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14966 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14967 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14968 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14970 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14971 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14972 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14973 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14974 * sysdeps/wordsize-32/divdi3.c: Likewise.
14975 * time/sys/time.h: Likewise.
14976 * wcsmbs/Makefile: Likewise.
14978 2013-01-01 David S. Miller <davem@davemloft.net>
14980 * po/fr.po: Update from translation team.
14982 * catgets/gencat.c: Update copyright year.
14983 * csu/version.c: Likewise.
14984 * debug/catchsegv.sh: Likewise.
14985 * debug/pcprofiledump.c: Likewise.
14986 * debug/xtrace.sh: Likewise.
14987 * elf/ldconfig.c: Likewise.
14988 * elf/ldd.bash.in: Likewise.
14989 * elf/pldd.c: Likewise.
14990 * elf/sotruss.ksh: Likewise.
14991 * elf/sprof.c: Likewise.
14992 * iconv/iconv_prog.c: Likewise.
14993 * iconv/iconvconfig.c: Likewise.
14994 * locale/programs/locale.c: Likewise.
14995 * locale/programs/localedef.c: Likewise.
14996 * login/programs/pt_chown.c: Likewise.
14997 * malloc/memusage.sh: Likewise.
14998 * malloc/memusagestat.c: Likewise.
14999 * malloc/mtrace.pl: Likewise.
15000 * nscd/nscd.c: Likewise.
15001 * nss/getent.c: Likewise.
15002 * nss/makedb.c: Likewise.
15003 * posix/getconf.c: Likewise.
15005 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15007 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15010 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15012 * math/bits/mathcalls.h (modf): Use __nonnull.
15014 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15016 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15017 (split): Use macro CN instead of the bare value.
15018 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15021 instead of the bare value.
15022 (power1): Likewise.
15024 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15028 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15030 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15032 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15033 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15034 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15035 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15037 2012-12-28 Andreas Jaeger <aj@suse.de>
15039 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15040 values are from Linux 3.7.
15042 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15043 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15045 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15047 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15050 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15052 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15053 variables with preprocessor constants.
15054 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15055 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15056 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15058 2012-12-27 Bruno Haible <bruno@clisp.org>
15061 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15064 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15067 and use variable directly.
15068 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15070 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15072 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15075 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15077 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15078 include directive. Remove local variable MPONE.
15079 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15080 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15083 2012-12-25 David S. Miller <davem@davemloft.net>
15085 * version.h (RELEASE): Set to "development".
15086 (VERSION): Set to "2.17.90".
15087 * NEWS: Add 2.18 section.
15089 2012-12-21 David S. Miller <davem@davemloft.net>
15091 * po/hr.po: Update from translation team.
15093 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15095 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15097 2012-12-19 Steve Ellcey <sellcey@mips.com>
15099 * NEWS: Mention new memcpy for MIPS.
15101 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15103 * manual/contrib.texi (Contributors): Spelling correction.
15105 2012-12-15 David S. Miller <davem@davemloft.net>
15107 * po/ru.po: Update from translation team.
15109 2012-12-13 David S. Miller <davem@davemloft.net>
15111 * NEWS: Mention IFUNC testsuite enhancements.
15113 * po/pl.po: Update from translation team.
15114 * po/bg.po: Likewise.
15116 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15117 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15119 2012-12-11 David S. Miller <davem@davemloft.net>
15121 * po/sv.po: Update from translation team.
15123 * po/vi.po: Update from translation team.
15125 * po/cs.po: Update from translation team.
15127 * po/de.po: Update from translation team.
15128 * po/eo.po: Likewise.
15129 * po/nl.po: Likewise.
15131 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15134 * manual/argp.texi (Argp Helper Functions): Move node to follow
15135 Argp Parsing State.
15138 * manual/conf.texi (Limits on File System Capacity): Mention if
15139 terminating null is included in the max size.
15141 2012-12-10 Andreas Jaeger <aj@suse.de>
15143 * po/cs.po: Update from translation team.
15145 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15147 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15148 void pointer and cast to uintptr_t.
15149 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15151 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15152 * sysdeps/s390/s390-64/memset.S: Likewise.
15154 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15157 * menual/message.texi (Message Translation): Fix typos.
15158 (Helper programs for gettext): Likewise.
15160 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15163 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15166 2012-12-07 David S. Miller <davem@davemloft.net>
15168 * po/libc.pot: Update.
15170 2012-12-07 Richard Henderson <rth@redhat.com>
15173 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15174 normal/normal case to before the switch.
15175 (_FP_DIV): Likewise.
15177 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15178 Mike Frysinger <vapier@gentoo.org>
15180 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15181 check for __NR_fadvise64_64.
15183 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15185 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15186 0, not just to plain "0" as a statement.
15187 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15190 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15192 * NEWS: Use sourceware.org in Bugzilla URL.
15194 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15197 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15199 * stdio-common/tst-put-error.c (do_test): Add newline to the
15200 padded test to ensure flush.
15202 2012-12-05 Jeff Law <law@redhat.com>
15204 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15206 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15208 * README: Don't refer to ports add-on as distributed separately.
15209 Mention AArch64 in list of systems supported in the ports add-on.
15211 * LICENSES: Add more non-FSF copyright and license notices.
15213 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15216 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15218 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15219 10000 as width of padded output.
15221 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15223 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15226 variable LX with __attribute__ ((unused)).
15227 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15229 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15231 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15232 with __attribute__ ((unused)).
15234 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15236 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15238 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15240 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15241 (CFLAGS-nldbl-acos.c): New variable.
15242 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15243 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15244 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15245 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15246 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15247 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15248 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15249 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15250 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15251 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15252 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15253 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15254 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15255 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15256 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15257 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15258 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15259 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15260 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15261 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15262 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15263 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15264 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15265 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15266 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15267 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15268 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15269 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15270 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15271 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15272 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15273 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15274 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15275 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15276 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15277 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15278 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15279 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15280 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15281 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15282 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15283 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15284 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15285 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15286 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15287 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15288 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15289 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15290 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15291 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15292 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15293 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15294 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15295 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15296 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15297 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15298 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15299 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15300 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15301 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15302 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15303 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15304 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15305 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15306 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15307 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15308 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15309 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15310 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15311 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15312 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15313 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15314 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15315 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15316 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15317 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15318 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15319 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15320 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15321 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15322 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15323 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15324 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15325 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15326 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15327 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15328 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15329 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15330 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15331 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15332 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15333 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15334 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15335 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15336 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15337 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15338 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15341 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15345 whole low double instead of just low 47 bits when splitting values
15348 2012-12-03 Allan McRae <allan@archlinux.org>
15350 * manual/stdio.texi (Predefined Printf Handlers): Remove
15351 @hsep and @vsep usage.
15353 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15355 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15356 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15358 2012-12-03 Jeff Law <law@redhat.com>
15360 * time/sys/time.h (settimeofday): Do not mark TV argument
15363 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15365 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15366 when currently writing and seek to current position when not.
15367 * libio/Makefile (tests): Remove bug-fclose1.
15368 * libio/bug-fclose1.c: Delete.
15370 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15372 * manual/arith.texi (feenableexcept): Fix typo.
15373 (fedisableexcept): Likewise.
15375 2012-11-30 Roland McGrath <roland@hack.frob.com>
15377 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15378 second, differently-typed declaration, rather than a cast.
15380 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15382 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15383 * include/rpc/svc.h: ... here.
15385 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15388 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15389 depending n and resplen2 to catch cases where answer
15392 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15394 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15395 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15397 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15399 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15401 2012-11-29 Roland McGrath <roland@hack.frob.com>
15403 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15405 2012-11-28 Jeff Law <law@redhat.com>
15408 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15409 dataset_temporary. Track alloca usage into alloca_used.
15410 If dataset is large allocate and release it via malloc/free.
15412 2012-06-04 Florian Weimer <fweimer@redhat.com>
15415 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15417 2012-11-28 David S. Miller <davem@davemloft.net>
15419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15421 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15424 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15425 of pi/2 rounded to nearest to 64 bits.
15426 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15427 nearest to 64 bits.
15428 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15431 2012-11-28 Jeff Law <law@redhat.com>
15432 Martin Osvald <mosvald@redhat.com>
15435 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15436 * sunrpc/svc.c: Include time.h.
15437 (__svc_accept_failed): New function.
15438 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15439 any reason other than EINTR, call __svc_accept_failed.
15440 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15441 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15443 2012-11-28 Andreas Schwab <schwab@suse.de>
15445 * scripts/abilist.awk: Also handle indirect functions in .opd
15448 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15451 * sysdeps/x86/fpu/powl_helper.c: New file.
15452 * sysdeps/x86/fpu/Makefile: Likewise.
15453 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15455 (__ieee754_powl): Use __powl_helper for finite arguments except
15456 integer exponents below 8.
15457 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15459 (__ieee754_powl): Use __powl_helper for finite arguments except
15460 integer exponents below 8.
15461 * math/libm-test.inc (pow_test): Add more tests and enable some
15462 previously disabled tests.
15463 * sysdeps/i386/fpu/libm-test-ulps: Update.
15464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15466 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15467 Carlos O'Donell <carlos_odonell@mentor.com>
15469 * nss/makedb.c (is_prime): Assert that input is odd and greater
15470 than 4. Note that fact in a comment too.
15471 (next_prime): Add 4 to input.
15473 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15476 * libio/Makefile (tests): Add test case tst-fwrite-error.
15477 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15478 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15479 * libio/tst-fwrite-error.c: New test case.
15481 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15483 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15484 before casting to void *.
15485 * include/libc-internal.h (__pointer_type): New macro.
15486 (__integer_if_pointer_type_sub): Likewise.
15487 (__integer_if_pointer_type): Likewise.
15488 (cast_to_integer): Likewise.
15489 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15490 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15491 before casting to atomic64_t.
15492 (atomic_exchange_acq): Likewise.
15493 (__arch_exchange_and_add_body): Likewise.
15494 (__arch_add_body): Likewise.
15495 (atomic_add_negative): Likewise.
15496 (atomic_add_zero): Likewise.
15498 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15500 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15501 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15502 (add_fdes): Likewise.
15503 (linear_search_fdes): Likewise.
15504 (binary_search_unencoded_fdes): Likewise.
15506 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15508 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15510 2012-11-24 Adam Conrad <adconrad@0c3.net>
15512 * configure.in: Autodetect C++ header directories.
15513 * configure: Regenerated.
15515 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15517 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15519 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15523 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15525 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15526 LDBL_MANT_DIG == 106]: Disable some tests.
15527 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15529 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15533 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15534 input for small inputs. Return +/- pi/2 for large inputs.
15535 * math/libm-test.inc (atan_test): Add more tests.
15537 * sysdeps/generic/unwind-dw2-fde-glibc.c
15538 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15539 __attribute__ ((unused)).
15542 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15543 x * y if x and y are nonzero and z is zero.
15546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15547 nonzero exponents with absolute value below 0x1p-117 to +/-
15551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15552 up arguments below 2**-450, not just those below 2**-500.
15553 * math/libm-test.inc (hypot_test): Add another test.
15556 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15557 Return a+b for ratio over 2**120, not 2**60.
15558 * math/libm-test.inc (hypot_test): Add another test.
15560 * math/libm-test.inc (clog_test): Use
15561 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15562 (clog10_test): Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15567 2012-11-22 Andreas Schwab <schwab@suse.de>
15569 * sysdeps/i386/fpu/libm-test-ulps: Update.
15571 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15573 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15574 printf output with newline.
15576 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15579 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15580 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15581 -z nodlopen, -z initfirst and -z execstack support.
15582 * configure: Regenerated.
15584 * elf/elf.h (DF_1_NODIRECT): New macro.
15585 (DF_1_IGNMULDEF): Likewise.
15586 (DF_1_NOKSYMS): Likewise.
15587 (DF_1_NOHDR): Likewise.
15588 (DF_1_EDITED): Likewise.
15589 (DF_1_NORELOC): Likewise.
15590 (DF_1_SYMINTPOSE): Likewise.
15591 (DF_1_GLOBAUDIT): Likewise.
15592 (DF_1_SINGLETON): Likewise.
15593 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15594 DT_1_SUPPORTED_MASK bits.
15595 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15597 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15599 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15601 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15603 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15606 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15607 (sendmmsg): Move declarations...
15608 * socket/sys/socket.h: ... here.
15609 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15610 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15612 * socket/recvmmsg.c: ... this new file.
15613 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15614 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15615 definition of __sendmmsg hidden.
15616 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15617 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15618 Move ENOSYS stub into and include it from...
15619 * socket/sendmmsg.c: ... this new file.
15620 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15621 (sysdep_routines): Move recvmmsg and sendmmsg...
15622 * socket/Makefile (routines): ... here.
15623 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15624 (GLIBC_PRIVATE): Add __sendmmsg.
15625 * include/sys/socket.h (__sendmmsg): Add declarations.
15626 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15629 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15632 variable I1 with __attribute__ ((unused)).
15633 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15635 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15637 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15638 DUMMY variables with __attribute__ ((unused)).
15640 * bits/byteswap.h: Include <bits/types.h>.
15641 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15643 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15645 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15646 string_t. Do not manually set errno.
15647 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15648 length with __strnlen. Make sure to both set errno and return it on
15651 2012-11-19 David S. Miller <davem@davemloft.net>
15653 With help from Joseph Myers.
15654 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15655 very large arguments properly.
15656 * math/libm-test.inc (atan_test): New tests.
15657 (atan2_test): New tests.
15658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15661 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15664 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15667 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15668 [POSIX] (EADDRNOTAVAIL): Likewise.
15669 [POSIX] (EAFNOSUPPORT): Likewise.
15670 [POSIX] (EALREADY): Likewise.
15671 [POSIX] (ECONNABORTED): Likewise.
15672 [POSIX] (ECONNREFUSED): Likewise.
15673 [POSIX] (ECONNRESET): Likewise.
15674 [POSIX] (EDESTADDRREQ): Likewise.
15675 [POSIX] (EDQUOT): Likewise.
15676 [POSIX] (EHOSTUNREACH): Likewise.
15677 [POSIX] (EIDRM): Likewise.
15678 [POSIX] (EISCONN): Likewise.
15679 [POSIX] (ELOOP): Likewise.
15680 [POSIX] (EMULTIHOP): Likewise.
15681 [POSIX] (ENETDOWN): Likewise.
15682 [POSIX] (ENETUNREACH): Likewise.
15683 [POSIX] (ENOBUFS): Likewise.
15684 [POSIX] (ENODATA): Likewise.
15685 [POSIX] (ENOLINK): Likewise.
15686 [POSIX] (ENOMSG): Likewise.
15687 [POSIX] (ENOPROTOOPT): Likewise.
15688 [POSIX] (ENOSR): Likewise.
15689 [POSIX] (ENOSTR): Likewise.
15690 [POSIX] (ENOTCONN): Likewise.
15691 [POSIX] (ENOTSOCK): Likewise.
15692 [POSIX] (EOPNOTSUPP): Likewise.
15693 [POSIX] (EOVERFLOW): Likewise.
15694 [POSIX] (EPROTO): Likewise.
15695 [POSIX] (EPROTONOSUPPORT): Likewise.
15696 [POSIX] (EPROTOTYPE): Likewise.
15697 [POSIX] (ESTALE): Likewise.
15698 [POSIX] (ETIME): Likewise.
15699 [POSIX] (ETXTBSY): Likewise.
15700 [POSIX] (EWOULDBLOCK): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15702 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15703 [POSIX] (SEEK_CUR): Likewise.
15704 [POSIX] (SEEK_END): Likewise.
15705 [POSIX || UNIX98] (mode_t): Do not require.
15706 [POSIX] (off_t): Likewise.
15707 [POSIX] (pid_t): Likewise.
15708 [POSIX] (sys/stat.h): Do not allow header.
15709 [POSIX] (unistd.h): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15711 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15713 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15715 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15716 sigevent): Specify elements.
15717 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15719 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15720 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15722 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15723 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15724 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15725 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15726 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15727 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15728 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15729 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15730 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15731 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15732 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15733 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15734 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15735 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15737 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15739 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15741 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15743 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15744 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15745 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15746 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15747 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15748 Specify lower bound on value.
15749 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15750 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15751 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15752 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15753 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15754 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15755 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15756 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15758 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15760 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15761 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15762 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15763 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15764 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15765 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15766 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15767 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15768 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15769 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15770 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15771 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15772 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15773 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15774 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15775 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15777 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15779 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15780 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15781 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15784 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15786 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15791 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15792 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15794 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15798 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15799 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15800 specify as optional.
15801 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15804 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15805 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15806 [XPG3] (NL_LANGMAX): Likewise.
15807 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15808 [POSIX || XPG3] (NL_NMAX): Likewise.
15809 [POSIX || XPG3] (NL_SETMAX): Likewise.
15810 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15811 [XPG3] (NZERO): Likewise.
15812 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15813 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15814 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15815 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15816 (REG_ERANGE): Expect.
15817 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15819 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15820 Use (void) in prototype.
15821 [POSIX] (*_t): Allow.
15822 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15823 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15824 (WRDE_BADVAL): Expect.
15826 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15828 [XPG3 || XPG4] (O_RSYNC): Likewise.
15829 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15831 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15832 [XPG3 || XPG4] (sigqueue): Likewise.
15833 [XPG3 || XPG4] (sigtimedwait): Likewise.
15834 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15835 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15836 [XPG3 || XPG4] (vsnprintf): Likewise.
15837 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15839 [XPG3 || XPG4] (blksize_t): Likewise.
15840 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15842 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15843 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15844 [XPG3 || XPG4] (struct itimerspec): Likewise.
15845 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15846 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15847 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15848 [XPG3 || XPG4] (clockid_t): Likewise.
15849 [XPG3 || XPG4] (timer_t): Likewise.
15850 [XPG3 || XPG4] (clock_getres): Likewise.
15851 [XPG3 || XPG4] (clock_gettime): Likewise.
15852 [XPG3 || XPG4] (clock_settime): Likewise.
15853 [XPG3 || XPG4] (nanosleep): Likewise.
15854 [XPG3 || XPG4] (timer_create): Likewise.
15855 [XPG3 || XPG4] (timer_delete): Likewise.
15856 [XPG3 || XPG4] (timer_gettime): Likewise.
15857 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15858 [XPG3 || XPG4] (timer_settime): Likewise.
15859 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15860 [XPG3 || XPG4] (getlogin_r): Likewise.
15861 [XPG3 || XPG4] (pread): Likewise.
15862 [XPG3 || XPG4] (pthread_atfork): Likewise.
15863 [XPG3 || XPG4] (pwrite): Likewise.
15866 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15869 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15871 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15872 finalizing MALLSTREAM.
15874 * sysdeps/mach/hurd/syncfs.c: New file.
15876 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15879 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15880 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15881 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15882 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15883 (_nss_dns_gethostbyname4_r): Likewise.
15884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15885 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15887 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15890 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15892 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15894 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15895 * elf/cache.c (print_entry): Print ",AArch64" for
15898 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15899 * elf/cache.c (print_entry): Print ",hard-float" for
15902 2012-11-18 David S. Miller <davem@davemloft.net>
15904 With help from Joseph Myers.
15905 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15907 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15909 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15910 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15912 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15913 * math/libm-test.inc (y0_test): New tests.
15914 (y1_test): New tests.
15915 * sysdeps/i386/fpu/libm-test-ulps: Update.
15916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15919 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15921 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15923 * configure: Regenerated.
15925 2012-11-17 David S. Miller <davem@davemloft.net>
15928 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15929 nonzero exponents with absolute value below 0x1p-128 to +/-
15932 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15934 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15936 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15938 * posix/getconf-speclist.c: New file.
15939 * posix/posix-envs.def: Likewise.
15940 * posix/confstr.c (START_ENV_GROUP): New macro.
15941 (END_ENV_GROUP): Likewise.
15942 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15943 (KNOWN_PRESENT_ENV_STRING): Likewise.
15944 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15945 (UNKNOWN_ENVIRONMENT): Likewise.
15946 (confstr): Include posix-envs.def instead of handling
15947 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15948 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15949 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15950 (END_ENV_GROUP): Likewise.
15951 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15952 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15953 (UNKNOWN_ENVIRONMENT): Likewise.
15954 (__sysconf): Include posix-envs.def instead of handling associated
15955 cases directly here.
15956 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15957 preprocessing getconf-speclist.c rather than running getconf or
15958 generating empty file.
15960 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15962 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15964 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15967 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15969 2012-11-16 David S. Miller <davem@davemloft.net>
15971 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15972 smaller than LDBL_EPSILON/2.0L, just return xm1.
15974 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15976 * elf/tst-array1.c (init): Set constructor priority to 1000.
15977 (fini): Set destructor priority to 1000.
15978 * elf/tst-array2dep.c: Likewise.
15980 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15983 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15984 (_IO_new_file_xsputn): Also return EOF if none of the input
15985 data was written when overflow failed.
15986 * libio/iopadn.c (_IO_padn): Likewise.
15987 * libio/iowpadn.c (_IO_wpadn): Likewise.
15988 * stdio-common/tst-put-error.c: Add copyright notice.
15989 (do_test): Add case for printing padded string.
15990 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15991 _IO_padn returned error.
15992 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15993 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15996 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15998 * libio/libioP.h: Add comment note that the references to C++
15999 bits are now obsolete.
16001 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16003 * math/libm-test.inc (check_complex): Use asprintf.
16005 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16007 * debug/pcprofiledump.c (print_version): Update copyright year.
16008 * malloc/memusagestat.c (print_version): Likewise.
16010 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16013 * elf/Makefile (tests): Add tst-audit8.
16014 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16015 ($(objpfx)tst-audit8.out): New target.
16016 (tst-audit8-ENV): New variable.
16017 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16018 audit if l_reloc_result is NULL.
16019 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16020 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16021 * elf/tst-audit8.c: New file.
16023 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16025 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16026 * misc/Makefile (CFLAGS-select.c): Define.
16027 * posix/Makefile (CFLAGS-pause.c): Define.
16029 2012-11-13 David S. Miller <davem@davemloft.net>
16031 * crypt/Makefile: Move test targets after toplevel Rules
16032 inclusion. Grab any necessary sysdep routines when linking.
16033 * crypt/md5.c (md5_process_block): Remove define, we will always
16034 name it __md5_process_block.
16035 (md5_finish_ctx): Update md5_process_block call.
16036 (md5_stream): Likewise.
16037 (md5_process_bytes): Likewise.
16038 (md5_process_block): Rename to __md5_process_block and move to ...
16039 * crypt/md5-block.c: ... here.
16040 * crypt/sha256.c (sha256_process_block): Move to ...
16041 * crypt/sha256-block.c: ... here.
16042 * crypt/sha512.c (sha512_process_block): Move to ...
16043 * crypt/sha512-block.c: ... here.
16044 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16046 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16047 * sysdeps/sparc/sparc64/multiarch/Makefile
16048 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16050 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16051 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16053 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16054 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16055 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16056 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16057 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16058 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16059 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16060 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16061 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16063 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16064 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16066 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16068 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16070 * timezone/tzselect.ksh: Update from tzcode git revision
16071 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16072 * timezone/zdump.c: Likewise.
16073 * timezone/zic.c: Likewise.
16074 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16075 in TZVERSION setting, not $(PKGVERSION).
16076 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16077 REPORT_BUGS_TO settings.
16080 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16083 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16085 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16086 detection to immediately after _FP_ROUND().
16087 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16090 2012-11-11 David S. Miller <davem@davemloft.net>
16092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16094 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16095 __close rather than their public counterparts.
16097 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16099 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16101 [UNIX98] (sem_timedwait): Do not expect.
16102 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16103 [XPG4 || UNIX98] (sockatmark): Do not expect.
16104 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16105 (clock_getcpuclockid): Do not expect.
16106 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16107 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16109 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16110 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16111 [UNIX98] (vwscanf): Likewise.
16112 [UNIX98] (vswscanf): Likewise.
16114 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16116 * timezone/version.h: Remove file.
16117 * timezone/README: Do not refer to version.h.
16118 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16119 $(objpfx)version.h.
16120 ($(objpfx)zdump.o): Likewise.
16121 ($(objpfx)version.h): New target.
16123 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16125 * timezone/README: Don't mention modification to tzselect.ksh.
16126 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16127 work on unmodified tzselect.ksh. Substitute version numbers in
16130 * Makefile (format-me): Remove.
16131 (INSTALL): Adjust indentation. Use commands directly instead of
16132 using $(format-me).
16134 * aclocal.m4 (ACX_PKGVERSION): New macro.
16135 (ACX_BUGURL): Likewise.
16136 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16137 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16138 (REPORT_BUGS_TO): Likewise.
16139 * configure: Regenerated.
16140 * config.h.in (PKGVERSION): New macro.
16141 (REPORT_BUGS_TO): Likewise.
16142 * config.make.in (PKGVERSION): New variable.
16143 (PKGVERSION_TEXI): Likewise.
16144 (REPORT_BUGS_TO): Likewise.
16145 (REPORT_BUGS_TEXI): Likewise.
16146 * Makefile (format-me): Use -I$(common-objpfx)manual.
16147 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16148 ($(common-objpfx)manual/%): New target.
16149 (manual/%): Remove target.
16150 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16151 (print_version): Use PKGVERSION.
16152 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16153 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16154 and REPORT_BUGS_TO.
16155 ($(objpfx)xtrace): Likewise.
16156 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16157 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16158 (print_version): Use PKGVERSION.
16159 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16160 (do_version): Use PKGVERSION.
16161 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16163 (common-ldd-rewrite): Likewise.
16164 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16165 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16166 (print_version): Use PKGVERSION.
16167 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16168 * elf/pldd.c (argp_program_bug_address): Remove variable.
16169 (more_help): New function.
16170 (argp): Use more_help.
16171 (print_version): Use PKGVERSION.
16172 * elf/sln.c (main): Use PKGVERSION.
16173 (usage): Use REPORT_BUGS_TO.
16174 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16175 (top level): Use PKGVERSION.
16176 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16177 (print_version): Use PKGVERSION.
16178 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16179 (print_version): Use PKGVERSION.
16180 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16181 (print_version): Use PKGVERSION.
16182 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16183 (print_version): Use PKGVERSION.
16184 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16185 (print_version): Use PKGVERSION.
16186 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16187 (print_version): Use PKGVERSION.
16188 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16190 ($(objpfx)memusage): Likewise.
16191 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16192 (do_version): Use PKGVERSION.
16193 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16194 (print_version): Use PKGVERSION.
16195 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16196 ($PKGVERSION): New variable.
16197 ($REPORT_BUGS_TO): Likewise.
16198 (usage): Use $REPORT_BUGS_TO.
16199 (top level): Use $PKGVERSION.
16200 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16201 ($(objpfx)pkgvers.texi): New rule.
16202 ($(objpfx)stamp-pkgvers): Likewise.
16203 * manual/install.texi: Include pkgvers.texi.
16204 (--with-pkgversion): Document new configure option.
16205 (--with-bugurl): Likewise.
16206 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16207 than necessarily for this particular distribution. Use
16208 REPORT_BUGS_TO for where to report bugs.
16209 * INSTALL: Regenerated.
16210 * manual/libc.texinfo: Include pkgvers.texi.
16211 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16212 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16213 (print_version): Use PKGVERSION.
16214 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16215 (print_version): Use PKGVERSION.
16216 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16217 (print_version): Use PKGVERSION.
16218 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16219 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16221 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16222 (print_version): Use PKGVERSION.
16223 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16224 (print_version): Use PKGVERSION.
16225 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16228 * timezone/checktab.awk: Update from tzcode 2012i.
16229 * timezone/ialloc.c: Likewise.
16230 * timezone/private.h: Likewise.
16231 * timezone/scheck.c: Likewise.
16232 * timezone/tzfile.h: Likewise.
16233 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16234 (TZVERSION): Hardcode tzcode version number.
16235 * timezone/zdump.c: Update from tzcode 2012i.
16236 * timezone/zic.c: Likewise.
16237 * timezone/version.h: New file.
16238 * timezone/README: Describe version.h. Update upstream location.
16241 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16242 (mktemp): Enable declaration.
16243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16256 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16260 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16261 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16262 for copies of such integer values.
16263 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16264 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16266 2012-11-09 Andreas Jaeger <aj@suse.de>
16268 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16269 definitions and declarations that are provided by
16270 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16272 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16274 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16275 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16276 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16279 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16281 * elf/elf.h: Update comment before AArch64 relocations.
16283 2012-11-07 David S. Miller <davem@davemloft.net>
16285 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16286 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16287 (__start_context): Declare.
16288 (__makecontext_ret): Delete.
16289 (__makecontext): Hook up __start_context instead of
16291 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16292 (sysdep_routines): Add __start_context when in stdlib.
16294 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16296 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16297 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16298 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16300 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16301 (READELF): New variable. Use it instead of hardcoded "readelf".
16303 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16305 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16306 * sysdeps/x86/Makefile: Here.
16307 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16308 * sysdeps/x86/tst-xmmymm.sh: This.
16310 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16312 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16314 [UNIX98] (pthread_barrier_t): Do not expect.
16315 [UNIX98] (pthread_barrierattr_t): Likewise.
16316 [UNIX98] (pthread_spinlock_t): Likewise.
16317 [UNIX98] (pthread_barrier_destroy): Likewise.
16318 [UNIX98] (pthread_barrier_init): Likewise.
16319 [UNIX98] (pthread_barrier_wait): Likewise.
16320 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16321 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16322 [UNIX98] (pthread_barrierattr_init): Likewise.
16323 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16324 [UNIX98] (pthread_getcpuclockid): Likewise.
16325 [UNIX98] (pthread_mutex_timedlock): Likewise.
16326 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16327 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16328 [UNIX98] (pthread_sigmask): Likewise.
16329 [UNIX98] (pthread_spin_destroy): Likewise.
16330 [UNIX98] (pthread_spin_init): Likewise.
16331 [UNIX98] (pthread_spin_lock): Likewise.
16332 [UNIX98] (pthread_spin_trylock): Likewise.
16333 [UNIX98] (pthread_spin_unlock): Likewise.
16334 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16336 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16337 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16338 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16339 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16340 [XPG3 || XPG4] (pthread_key_t): Likewise.
16341 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16342 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16343 [XPG3 || XPG4] (pthread_once_t): Likewise.
16344 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16345 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16346 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16347 [XPG3 || XPG4] (pthread_t): Likewise.
16349 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16351 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16353 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16354 Change function return type to int.
16356 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16357 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16358 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16359 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16360 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16361 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16362 [!POSIX] (posix_madvise): Likewise.
16363 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16365 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16366 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16367 (mode_t): Likewise.
16368 (posix_mem_offset): Likewise.
16369 (posix_typed_mem_get_info): Likewise.
16370 (posix_typed_mem_open): Likewise.
16372 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16373 Change condition to [XOPEN2K8].
16375 * conform/conformtest.pl: Preprocess allow-header data with -x c
16376 instead of from stdin.
16377 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16378 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16379 [C99-based standards] (cerfc): Likewise.
16380 [C99-based standards] (cexp2): Likewise.
16381 [C99-based standards] (cexpm1): Likewise.
16382 [C99-based standards] (clog10): Likewise.
16383 [C99-based standards] (clog1p): Likewise.
16384 [C99-based standards] (clog2): Likewise.
16385 [C99-based standards] (clgamma): Likewise.
16386 [C99-based standards] (ctgamma): Likewise.
16387 [C99-based standards] (cerff): Likewise.
16388 [C99-based standards] (cerfcf): Likewise.
16389 [C99-based standards] (cexp2f): Likewise.
16390 [C99-based standards] (cexpm1f): Likewise.
16391 [C99-based standards] (clog10f): Likewise.
16392 [C99-based standards] (clog1pf): Likewise.
16393 [C99-based standards] (clog2f): Likewise.
16394 [C99-based standards] (clgammaf): Likewise.
16395 [C99-based standards] (ctgammaf): Likewise.
16396 [C99-based standards] (cerfl): Likewise.
16397 [C99-based standards] (cerfcl): Likewise.
16398 [C99-based standards] (cexp2l): Likewise.
16399 [C99-based standards] (cexpm1l): Likewise.
16400 [C99-based standards] (clog10l): Likewise.
16401 [C99-based standards] (clog1pl): Likewise.
16402 [C99-based standards] (clog2l): Likewise.
16403 [C99-based standards] (clgammal): Likewise.
16404 [C99-based standards] (ctgammal): Likewise.
16405 * conform/data/inttypes.h-data [C99-based standards]: Include
16406 stdint.h-data. Remove all expectations for stdint.h contents.
16407 [C99-based standards] (PRI*): Do not allow.
16408 [C99-based standards] (SCN*): Likewise.
16409 [C99-based standards] (*_t): Likewise.
16410 [C99-based-standards] (PRId8): Expect macro.
16411 [C99-based-standards] (PRIi8): Likewise.
16412 [C99-based-standards] (PRIo8): Likewise.
16413 [C99-based-standards] (PRIu8): Likewise.
16414 [C99-based-standards] (PRIx8): Likewise.
16415 [C99-based-standards] (PRIX8): Likewise.
16416 [C99-based-standards] (SCNd8): Likewise.
16417 [C99-based-standards] (SCNi8): Likewise.
16418 [C99-based-standards] (SCNo8): Likewise.
16419 [C99-based-standards] (SCNu8): Likewise.
16420 [C99-based-standards] (SCNx8): Likewise.
16421 [C99-based-standards] (PRIdLEAST8): Likewise.
16422 [C99-based-standards] (PRIiLEAST8): Likewise.
16423 [C99-based-standards] (PRIoLEAST8): Likewise.
16424 [C99-based-standards] (PRIuLEAST8): Likewise.
16425 [C99-based-standards] (PRIxLEAST8): Likewise.
16426 [C99-based-standards] (PRIXLEAST8): Likewise.
16427 [C99-based-standards] (SCNdLEAST8): Likewise.
16428 [C99-based-standards] (SCNiLEAST8): Likewise.
16429 [C99-based-standards] (SCNoLEAST8): Likewise.
16430 [C99-based-standards] (SCNuLEAST8): Likewise.
16431 [C99-based-standards] (SCNxLEAST8): Likewise.
16432 [C99-based-standards] (PRIdFAST8): Likewise.
16433 [C99-based-standards] (PRIiFAST8): Likewise.
16434 [C99-based-standards] (PRIoFAST8): Likewise.
16435 [C99-based-standards] (PRIuFAST8): Likewise.
16436 [C99-based-standards] (PRIxFAST8): Likewise.
16437 [C99-based-standards] (PRIXFAST8): Likewise.
16438 [C99-based-standards] (SCNdFAST8): Likewise.
16439 [C99-based-standards] (SCNiFAST8): Likewise.
16440 [C99-based-standards] (SCNoFAST8): Likewise.
16441 [C99-based-standards] (SCNuFAST8): Likewise.
16442 [C99-based-standards] (SCNxFAST8): Likewise.
16443 [C99-based-standards] (PRId16): Likewise.
16444 [C99-based-standards] (PRIi16): Likewise.
16445 [C99-based-standards] (PRIo16): Likewise.
16446 [C99-based-standards] (PRIu16): Likewise.
16447 [C99-based-standards] (PRIx16): Likewise.
16448 [C99-based-standards] (PRIX16): Likewise.
16449 [C99-based-standards] (SCNd16): Likewise.
16450 [C99-based-standards] (SCNi16): Likewise.
16451 [C99-based-standards] (SCNo16): Likewise.
16452 [C99-based-standards] (SCNu16): Likewise.
16453 [C99-based-standards] (SCNx16): Likewise.
16454 [C99-based-standards] (PRIdLEAST16): Likewise.
16455 [C99-based-standards] (PRIiLEAST16): Likewise.
16456 [C99-based-standards] (PRIoLEAST16): Likewise.
16457 [C99-based-standards] (PRIuLEAST16): Likewise.
16458 [C99-based-standards] (PRIxLEAST16): Likewise.
16459 [C99-based-standards] (PRIXLEAST16): Likewise.
16460 [C99-based-standards] (SCNdLEAST16): Likewise.
16461 [C99-based-standards] (SCNiLEAST16): Likewise.
16462 [C99-based-standards] (SCNoLEAST16): Likewise.
16463 [C99-based-standards] (SCNuLEAST16): Likewise.
16464 [C99-based-standards] (SCNxLEAST16): Likewise.
16465 [C99-based-standards] (PRIdFAST16): Likewise.
16466 [C99-based-standards] (PRIiFAST16): Likewise.
16467 [C99-based-standards] (PRIoFAST16): Likewise.
16468 [C99-based-standards] (PRIuFAST16): Likewise.
16469 [C99-based-standards] (PRIxFAST16): Likewise.
16470 [C99-based-standards] (PRIXFAST16): Likewise.
16471 [C99-based-standards] (SCNdFAST16): Likewise.
16472 [C99-based-standards] (SCNiFAST16): Likewise.
16473 [C99-based-standards] (SCNoFAST16): Likewise.
16474 [C99-based-standards] (SCNuFAST16): Likewise.
16475 [C99-based-standards] (SCNxFAST16): Likewise.
16476 [C99-based-standards] (PRId32): Likewise.
16477 [C99-based-standards] (PRIi32): Likewise.
16478 [C99-based-standards] (PRIo32): Likewise.
16479 [C99-based-standards] (PRIu32): Likewise.
16480 [C99-based-standards] (PRIx32): Likewise.
16481 [C99-based-standards] (PRIX32): Likewise.
16482 [C99-based-standards] (SCNd32): Likewise.
16483 [C99-based-standards] (SCNi32): Likewise.
16484 [C99-based-standards] (SCNo32): Likewise.
16485 [C99-based-standards] (SCNu32): Likewise.
16486 [C99-based-standards] (SCNx32): Likewise.
16487 [C99-based-standards] (PRIdLEAST32): Likewise.
16488 [C99-based-standards] (PRIiLEAST32): Likewise.
16489 [C99-based-standards] (PRIoLEAST32): Likewise.
16490 [C99-based-standards] (PRIuLEAST32): Likewise.
16491 [C99-based-standards] (PRIxLEAST32): Likewise.
16492 [C99-based-standards] (PRIXLEAST32): Likewise.
16493 [C99-based-standards] (SCNdLEAST32): Likewise.
16494 [C99-based-standards] (SCNiLEAST32): Likewise.
16495 [C99-based-standards] (SCNoLEAST32): Likewise.
16496 [C99-based-standards] (SCNuLEAST32): Likewise.
16497 [C99-based-standards] (SCNxLEAST32): Likewise.
16498 [C99-based-standards] (PRIdFAST32): Likewise.
16499 [C99-based-standards] (PRIiFAST32): Likewise.
16500 [C99-based-standards] (PRIoFAST32): Likewise.
16501 [C99-based-standards] (PRIuFAST32): Likewise.
16502 [C99-based-standards] (PRIxFAST32): Likewise.
16503 [C99-based-standards] (PRIXFAST32): Likewise.
16504 [C99-based-standards] (SCNdFAST32): Likewise.
16505 [C99-based-standards] (SCNiFAST32): Likewise.
16506 [C99-based-standards] (SCNoFAST32): Likewise.
16507 [C99-based-standards] (SCNuFAST32): Likewise.
16508 [C99-based-standards] (SCNxFAST32): Likewise.
16509 [C99-based-standards] (PRId64): Likewise.
16510 [C99-based-standards] (PRIi64): Likewise.
16511 [C99-based-standards] (PRIo64): Likewise.
16512 [C99-based-standards] (PRIu64): Likewise.
16513 [C99-based-standards] (PRIx64): Likewise.
16514 [C99-based-standards] (PRIX64): Likewise.
16515 [C99-based-standards] (SCNd64): Likewise.
16516 [C99-based-standards] (SCNi64): Likewise.
16517 [C99-based-standards] (SCNo64): Likewise.
16518 [C99-based-standards] (SCNu64): Likewise.
16519 [C99-based-standards] (SCNx64): Likewise.
16520 [C99-based-standards] (PRIdLEAST64): Likewise.
16521 [C99-based-standards] (PRIiLEAST64): Likewise.
16522 [C99-based-standards] (PRIoLEAST64): Likewise.
16523 [C99-based-standards] (PRIuLEAST64): Likewise.
16524 [C99-based-standards] (PRIxLEAST64): Likewise.
16525 [C99-based-standards] (PRIXLEAST64): Likewise.
16526 [C99-based-standards] (SCNdLEAST64): Likewise.
16527 [C99-based-standards] (SCNiLEAST64): Likewise.
16528 [C99-based-standards] (SCNoLEAST64): Likewise.
16529 [C99-based-standards] (SCNuLEAST64): Likewise.
16530 [C99-based-standards] (SCNxLEAST64): Likewise.
16531 [C99-based-standards] (PRIdFAST64): Likewise.
16532 [C99-based-standards] (PRIiFAST64): Likewise.
16533 [C99-based-standards] (PRIoFAST64): Likewise.
16534 [C99-based-standards] (PRIuFAST64): Likewise.
16535 [C99-based-standards] (PRIxFAST64): Likewise.
16536 [C99-based-standards] (PRIXFAST64): Likewise.
16537 [C99-based-standards] (SCNdFAST64): Likewise.
16538 [C99-based-standards] (SCNiFAST64): Likewise.
16539 [C99-based-standards] (SCNoFAST64): Likewise.
16540 [C99-based-standards] (SCNuFAST64): Likewise.
16541 [C99-based-standards] (SCNxFAST64): Likewise.
16542 [C99-based-standards] (PRIdMAX): Likewise.
16543 [C99-based-standards] (PRIiMAX): Likewise.
16544 [C99-based-standards] (PRIoMAX): Likewise.
16545 [C99-based-standards] (PRIuMAX): Likewise.
16546 [C99-based-standards] (PRIxMAX): Likewise.
16547 [C99-based-standards] (PRIXMAX): Likewise.
16548 [C99-based-standards] (SCNdMAX): Likewise.
16549 [C99-based-standards] (SCNiMAX): Likewise.
16550 [C99-based-standards] (SCNoMAX): Likewise.
16551 [C99-based-standards] (SCNuMAX): Likewise.
16552 [C99-based-standards] (SCNxMAX): Likewise.
16553 [C99-based-standards] (PRIdPTR): Likewise.
16554 [C99-based-standards] (PRIiPTR): Likewise.
16555 [C99-based-standards] (PRIoPTR): Likewise.
16556 [C99-based-standards] (PRIuPTR): Likewise.
16557 [C99-based-standards] (PRIxPTR): Likewise.
16558 [C99-based-standards] (PRIXPTR): Likewise.
16559 [C99-based-standards] (SCNdPTR): Likewise.
16560 [C99-based-standards] (SCNiPTR): Likewise.
16561 [C99-based-standards] (SCNoPTR): Likewise.
16562 [C99-based-standards] (SCNuPTR): Likewise.
16563 [C99-based-standards] (SCNxPTR): Likewise.
16564 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16566 * conform/data/stdint.h-data: Update comments to clarify
16568 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16570 [C99-based standards] (INT8_MAX): Likewise.
16571 [C99-based standards] (INT16_MIN): Likewise.
16572 [C99-based standards] (INT16_MAX): Likewise.
16573 [C99-based standards] (INT32_MIN): Likewise.
16574 [C99-based standards] (INT32_MAX): Likewise.
16575 [C99-based standards] (INT64_MIN): Likewise.
16576 [C99-based standards] (INT64_MAX): Likewise.
16577 [C99-based standards] (UINT8_MAX): Likewise.
16578 [C99-based standards] (UINT16_MAX): Likewise.
16579 [C99-based standards] (UINT32_MAX): Likewise.
16580 [C99-based standards] (UINT64_MAX): Likewise.
16581 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16582 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16583 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16584 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16585 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16586 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16587 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16588 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16589 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16590 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16591 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16592 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16593 [C99-based standards] (INT_FAST8_MIN): Likewise.
16594 [C99-based standards] (INT_FAST8_MAX): Likewise.
16595 [C99-based standards] (INT_FAST16_MIN): Likewise.
16596 [C99-based standards] (INT_FAST16_MAX): Likewise.
16597 [C99-based standards] (INT_FAST32_MIN): Likewise.
16598 [C99-based standards] (INT_FAST32_MAX): Likewise.
16599 [C99-based standards] (INT_FAST64_MIN): Likewise.
16600 [C99-based standards] (INT_FAST64_MAX): Likewise.
16601 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16602 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16603 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16604 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16605 [C99-based standards] (INTPTR_MIN): Likewise.
16606 [C99-based standards] (INTPTR_MAX): Likewise.
16607 [C99-based standards] (UINTPTR_MAX): Likewise.
16608 [C99-based standards] (INTMAX_MIN): Likewise.
16609 [C99-based standards] (INTMAX_MAX): Likewise.
16610 [C99-based standards] (UINTMAX_MAX): Likewise.
16611 [C99-based standards] (PTRDIFF_MIN): Likewise.
16612 [C99-based standards] (PTRDIFF_MAX): Likewise.
16613 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16614 [C99-based standards] (SIZE_MAX): Likewise.
16615 [C99-based standards] (WCHAR_MAX): Likewise.
16616 [C99-based standards] (WINT_MAX): Likewise.
16617 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16618 constraint on value.
16619 [C99-based standards] (WCHAR_MIN): Likewise.
16620 [C99-based standards] (WINT_MIN): Likewise.
16621 [C99-based standards] (*_t): Allow.
16622 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16623 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16624 Include math.h-data and complex.h-data. Remove all expectations
16625 of math.h and complex.h contents.
16626 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16628 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16629 (struct tm): Expect tag.
16630 [C99-based-standards] (wcstof): Expect function.
16631 [C99-based-standards] (wcstold): Likewise.
16632 [C99-based-standards] (wcstoll): Likewise.
16633 [C99-based-standards] (wcstoull): Likewise.
16634 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16635 macro-int-constant. Specify type.
16636 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16637 constraint on value.
16638 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16640 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16642 [ISO C standards]: Do not allow headers.
16643 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16644 wcs[abcdefghijklmnopqrstuvwxyz]*.
16645 [ISO C standards] (*_t): Do not allow.
16646 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16648 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16649 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16651 [ISO C standards]: Do not allow headers.
16652 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16653 is[abcdefghijklmnopqrstuvwxyz]*.
16654 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16655 to[abcdefghijklmnopqrstuvwxyz]*.
16656 [ISO C standards] (*_t): Do not allow.
16657 * conform/data/stdalign.h-data: New file.
16658 * conform/data/stdbool.h-data: Likewise.
16659 * conform/data/stdnoreturn.h-data: Likewise.
16661 2012-11-07 Roland McGrath <roland@hack.frob.com>
16664 * manual/filesys.texi (Directory Entries): Typo fix.
16665 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16667 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16669 * elf/elf.h (EM_AARCH64): New macro.
16670 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16671 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16672 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16673 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16674 (R_AARCH64_TLSDESC): Likewise.
16675 (NT_ARM_TLS): Likewise.
16676 (NT_ARM_HW_BREAK): Likewise.
16677 (NT_ARM_HW_WATCH): Likewise.
16679 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16682 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16683 (__ieee754_powl): Saturate nonzero exponents with absolute value
16684 below 0x1p-79 to +/- 0x1p-79.
16685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16686 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16687 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16688 nonzero exponents with absolute value below 0x1p-32 to +/-
16690 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16691 (__ieee754_powl): Saturate nonzero exponents with absolute value
16692 below 0x1p-79 to +/- 0x1p-79.
16693 * math/libm-test.inc (pow_test): Add more tests.
16695 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16697 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16698 _dl_s390_cap_flags with kernel. Increase string length.
16699 (_dl_s390_platforms): Add z196 and zEC12.
16701 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16703 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16704 Change XOPEN21K to XOPEN2K.
16706 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16708 * string/memmove.c: Use memcpy when possible.
16710 2012-11-06 Andreas Jaeger <aj@suse.de>
16712 * po/eo.po: Update from translation team.
16714 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16718 exponent and small x and y exponents, scale x or y up. Increase
16719 by 2 the exponent used in scaling up.
16720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16722 * math/libm-test.inc (fma_test): Add more tests.
16723 (fma_test_towardzero): Likewise.
16724 (fma_test_downward): Likewise.
16725 (fma_test_upward): Likewise.
16727 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16730 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16734 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16735 namespace for names of struct fields.
16736 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16738 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16739 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16741 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16744 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16746 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16748 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16752 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16755 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16759 definitely overflow as x * y not x * y + z.
16760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16762 * math/libm-test.inc (fma_test): Add more tests.
16763 (fma_test_towardzero): Likewise.
16764 (fma_test_downward): Likewise.
16765 (fma_test_upward): Likewise.
16767 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16771 * include/stub-tag.h: Remove file.
16772 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16774 * manual/maint.texi (Porting): Don't reference it.
16775 * Makerules ($(objpfx)stubs): Likewise.
16776 * dirent/closedir.c: Don't include <stub-tag.h>.
16777 * dirent/dirfd.c: Likewise.
16778 * dirent/fdopendir.c: Likewise.
16779 * dirent/getdents.c: Likewise.
16780 * dirent/getdents64.c: Likewise.
16781 * dirent/opendir.c: Likewise.
16782 * dirent/readdir.c: Likewise.
16783 * dirent/readdir64.c: Likewise.
16784 * dirent/readdir64_r.c: Likewise.
16785 * dirent/readdir_r.c: Likewise.
16786 * dirent/rewinddir.c: Likewise.
16787 * dirent/seekdir.c: Likewise.
16788 * dirent/telldir.c: Likewise.
16789 * gmon/profil.c: Likewise.
16790 * grp/setgroups.c: Likewise.
16791 * inet/if_index.c: Likewise.
16792 * io/access.c: Likewise.
16793 * io/chdir.c: Likewise.
16794 * io/chmod.c: Likewise.
16795 * io/chown.c: Likewise.
16796 * io/close.c: Likewise.
16797 * io/dup.c: Likewise.
16798 * io/dup2.c: Likewise.
16799 * io/dup3.c: Likewise.
16800 * io/euidaccess.c: Likewise.
16801 * io/faccessat.c: Likewise.
16802 * io/fchdir.c: Likewise.
16803 * io/fchmod.c: Likewise.
16804 * io/fchmodat.c: Likewise.
16805 * io/fchown.c: Likewise.
16806 * io/fchownat.c: Likewise.
16807 * io/fcntl.c: Likewise.
16808 * io/flock.c: Likewise.
16809 * io/fstatfs.c: Likewise.
16810 * io/fstatfs64.c: Likewise.
16811 * io/fstatvfs.c: Likewise.
16812 * io/fstatvfs64.c: Likewise.
16813 * io/futimens.c: Likewise.
16814 * io/fxstat.c: Likewise.
16815 * io/fxstat64.c: Likewise.
16816 * io/fxstatat.c: Likewise.
16817 * io/fxstatat64.c: Likewise.
16818 * io/getcwd.c: Likewise.
16819 * io/isatty.c: Likewise.
16820 * io/lchmod.c: Likewise.
16821 * io/lchown.c: Likewise.
16822 * io/link.c: Likewise.
16823 * io/linkat.c: Likewise.
16824 * io/lseek.c: Likewise.
16825 * io/lseek64.c: Likewise.
16826 * io/lxstat64.c: Likewise.
16827 * io/mkdir.c: Likewise.
16828 * io/mkdirat.c: Likewise.
16829 * io/mkfifo.c: Likewise.
16830 * io/mkfifoat.c: Likewise.
16831 * io/open.c: Likewise.
16832 * io/open64.c: Likewise.
16833 * io/openat.c: Likewise.
16834 * io/openat64.c: Likewise.
16835 * io/pipe.c: Likewise.
16836 * io/pipe2.c: Likewise.
16837 * io/poll.c: Likewise.
16838 * io/posix_fadvise.c: Likewise.
16839 * io/posix_fadvise64.c: Likewise.
16840 * io/posix_fallocate.c: Likewise.
16841 * io/posix_fallocate64.c: Likewise.
16842 * io/read.c: Likewise.
16843 * io/readlink.c: Likewise.
16844 * io/readlinkat.c: Likewise.
16845 * io/rmdir.c: Likewise.
16846 * io/sendfile.c: Likewise.
16847 * io/sendfile64.c: Likewise.
16848 * io/statfs.c: Likewise.
16849 * io/statfs64.c: Likewise.
16850 * io/statvfs.c: Likewise.
16851 * io/statvfs64.c: Likewise.
16852 * io/symlink.c: Likewise.
16853 * io/symlinkat.c: Likewise.
16854 * io/ttyname.c: Likewise.
16855 * io/ttyname_r.c: Likewise.
16856 * io/umask.c: Likewise.
16857 * io/unlink.c: Likewise.
16858 * io/unlinkat.c: Likewise.
16859 * io/utime.c: Likewise.
16860 * io/utimensat.c: Likewise.
16861 * io/write.c: Likewise.
16862 * io/xmknod.c: Likewise.
16863 * io/xmknodat.c: Likewise.
16864 * io/xstat.c: Likewise.
16865 * io/xstat64.c: Likewise.
16866 * login/getpt.c: Likewise.
16867 * login/grantpt.c: Likewise.
16868 * login/unlockpt.c: Likewise.
16869 * math/e_acoshl.c: Likewise.
16870 * math/e_acosl.c: Likewise.
16871 * math/e_asinl.c: Likewise.
16872 * math/e_atan2l.c: Likewise.
16873 * math/e_atanhl.c: Likewise.
16874 * math/e_coshl.c: Likewise.
16875 * math/e_expl.c: Likewise.
16876 * math/e_fmodl.c: Likewise.
16877 * math/e_gammal_r.c: Likewise.
16878 * math/e_hypotl.c: Likewise.
16879 * math/e_j0l.c: Likewise.
16880 * math/e_j1l.c: Likewise.
16881 * math/e_jnl.c: Likewise.
16882 * math/e_lgammal_r.c: Likewise.
16883 * math/e_log10l.c: Likewise.
16884 * math/e_log2l.c: Likewise.
16885 * math/e_logl.c: Likewise.
16886 * math/e_powl.c: Likewise.
16887 * math/e_rem_pio2l.c: Likewise.
16888 * math/e_sinhl.c: Likewise.
16889 * math/e_sqrtl.c: Likewise.
16890 * math/fclrexcpt.c: Likewise.
16891 * math/fedisblxcpt.c: Likewise.
16892 * math/feenablxcpt.c: Likewise.
16893 * math/fegetenv.c: Likewise.
16894 * math/fegetexcept.c: Likewise.
16895 * math/fegetround.c: Likewise.
16896 * math/feholdexcpt.c: Likewise.
16897 * math/fesetenv.c: Likewise.
16898 * math/fesetround.c: Likewise.
16899 * math/feupdateenv.c: Likewise.
16900 * math/fgetexcptflg.c: Likewise.
16901 * math/fraiseexcpt.c: Likewise.
16902 * math/fsetexcptflg.c: Likewise.
16903 * math/ftestexcept.c: Likewise.
16904 * math/k_cosl.c: Likewise.
16905 * math/k_rem_pio2l.c: Likewise.
16906 * math/k_sinl.c: Likewise.
16907 * math/k_tanl.c: Likewise.
16908 * math/s_asinhl.c: Likewise.
16909 * math/s_atanl.c: Likewise.
16910 * math/s_cbrtl.c: Likewise.
16911 * math/s_erfl.c: Likewise.
16912 * math/s_expm1l.c: Likewise.
16913 * math/s_log1pl.c: Likewise.
16914 * math/s_tanhl.c: Likewise.
16915 * misc/acct.c: Likewise.
16916 * misc/brk.c: Likewise.
16917 * misc/chflags.c: Likewise.
16918 * misc/chroot.c: Likewise.
16919 * misc/fchflags.c: Likewise.
16920 * misc/fgetxattr.c: Likewise.
16921 * misc/flistxattr.c: Likewise.
16922 * misc/fremovexattr.c: Likewise.
16923 * misc/fsetxattr.c: Likewise.
16924 * misc/fsync.c: Likewise.
16925 * misc/ftruncate.c: Likewise.
16926 * misc/futimes.c: Likewise.
16927 * misc/futimesat.c: Likewise.
16928 * misc/getdomain.c: Likewise.
16929 * misc/getdtsz.c: Likewise.
16930 * misc/gethostid.c: Likewise.
16931 * misc/gethostname.c: Likewise.
16932 * misc/getloadavg.c: Likewise.
16933 * misc/getpagesize.c: Likewise.
16934 * misc/getsysstats.c: Likewise.
16935 * misc/getxattr.c: Likewise.
16936 * misc/gtty.c: Likewise.
16937 * misc/ioctl.c: Likewise.
16938 * misc/lgetxattr.c: Likewise.
16939 * misc/listxattr.c: Likewise.
16940 * misc/llistxattr.c: Likewise.
16941 * misc/lremovexattr.c: Likewise.
16942 * misc/lsetxattr.c: Likewise.
16943 * misc/lutimes.c: Likewise.
16944 * misc/madvise.c: Likewise.
16945 * misc/mincore.c: Likewise.
16946 * misc/mlock.c: Likewise.
16947 * misc/mlockall.c: Likewise.
16948 * misc/mmap.c: Likewise.
16949 * misc/mprotect.c: Likewise.
16950 * misc/msync.c: Likewise.
16951 * misc/munlock.c: Likewise.
16952 * misc/munlockall.c: Likewise.
16953 * misc/munmap.c: Likewise.
16954 * misc/preadv.c: Likewise.
16955 * misc/preadv64.c: Likewise.
16956 * misc/ptrace.c: Likewise.
16957 * misc/pwritev.c: Likewise.
16958 * misc/pwritev64.c: Likewise.
16959 * misc/readv.c: Likewise.
16960 * misc/reboot.c: Likewise.
16961 * misc/remap_file_pages.c: Likewise.
16962 * misc/removexattr.c: Likewise.
16963 * misc/revoke.c: Likewise.
16964 * misc/select.c: Likewise.
16965 * misc/setdomain.c: Likewise.
16966 * misc/setegid.c: Likewise.
16967 * misc/seteuid.c: Likewise.
16968 * misc/sethostid.c: Likewise.
16969 * misc/sethostname.c: Likewise.
16970 * misc/setregid.c: Likewise.
16971 * misc/setreuid.c: Likewise.
16972 * misc/setxattr.c: Likewise.
16973 * misc/sstk.c: Likewise.
16974 * misc/stty.c: Likewise.
16975 * misc/swapoff.c: Likewise.
16976 * misc/swapon.c: Likewise.
16977 * misc/sync.c: Likewise.
16978 * misc/syncfs.c: Likewise.
16979 * misc/syscall.c: Likewise.
16980 * misc/truncate.c: Likewise.
16981 * misc/ualarm.c: Likewise.
16982 * misc/usleep.c: Likewise.
16983 * misc/ustat.c: Likewise.
16984 * misc/utimes.c: Likewise.
16985 * misc/vhangup.c: Likewise.
16986 * misc/writev.c: Likewise.
16987 * posix/_exit.c: Likewise.
16988 * posix/alarm.c: Likewise.
16989 * posix/execve.c: Likewise.
16990 * posix/fexecve.c: Likewise.
16991 * posix/fork.c: Likewise.
16992 * posix/fpathconf.c: Likewise.
16993 * posix/getaddrinfo.c: Likewise.
16994 * posix/getegid.c: Likewise.
16995 * posix/geteuid.c: Likewise.
16996 * posix/getgid.c: Likewise.
16997 * posix/getgroups.c: Likewise.
16998 * posix/getlogin.c: Likewise.
16999 * posix/getlogin_r.c: Likewise.
17000 * posix/getpgid.c: Likewise.
17001 * posix/getpid.c: Likewise.
17002 * posix/getppid.c: Likewise.
17003 * posix/getresgid.c: Likewise.
17004 * posix/getresuid.c: Likewise.
17005 * posix/getsid.c: Likewise.
17006 * posix/getuid.c: Likewise.
17007 * posix/glob64.c: Likewise.
17008 * posix/nanosleep.c: Likewise.
17009 * posix/pathconf.c: Likewise.
17010 * posix/pause.c: Likewise.
17011 * posix/posix_madvise.c: Likewise.
17012 * posix/pread.c: Likewise.
17013 * posix/pread64.c: Likewise.
17014 * posix/pwrite.c: Likewise.
17015 * posix/pwrite64.c: Likewise.
17016 * posix/sched_getaffinity.c: Likewise.
17017 * posix/sched_getp.c: Likewise.
17018 * posix/sched_gets.c: Likewise.
17019 * posix/sched_primax.c: Likewise.
17020 * posix/sched_primin.c: Likewise.
17021 * posix/sched_rr_gi.c: Likewise.
17022 * posix/sched_setaffinity.c: Likewise.
17023 * posix/sched_setp.c: Likewise.
17024 * posix/sched_sets.c: Likewise.
17025 * posix/sched_yield.c: Likewise.
17026 * posix/setgid.c: Likewise.
17027 * posix/setlogin.c: Likewise.
17028 * posix/setpgid.c: Likewise.
17029 * posix/setresgid.c: Likewise.
17030 * posix/setresuid.c: Likewise.
17031 * posix/setsid.c: Likewise.
17032 * posix/setuid.c: Likewise.
17033 * posix/sleep.c: Likewise.
17034 * posix/spawni.c: Likewise.
17035 * posix/sysconf.c: Likewise.
17036 * posix/times.c: Likewise.
17037 * posix/wait.c: Likewise.
17038 * posix/wait3.c: Likewise.
17039 * posix/wait4.c: Likewise.
17040 * posix/waitpid.c: Likewise.
17041 * resolv/gai_sigqueue.c: Likewise.
17042 * resource/getpriority.c: Likewise.
17043 * resource/getrlimit.c: Likewise.
17044 * resource/getrusage.c: Likewise.
17045 * resource/nice.c: Likewise.
17046 * resource/setpriority.c: Likewise.
17047 * resource/setrlimit.c: Likewise.
17048 * resource/ulimit.c: Likewise.
17049 * rt/aio_cancel.c: Likewise.
17050 * rt/aio_fsync.c: Likewise.
17051 * rt/aio_read.c: Likewise.
17052 * rt/aio_sigqueue.c: Likewise.
17053 * rt/aio_suspend.c: Likewise.
17054 * rt/aio_write.c: Likewise.
17055 * rt/clock_getres.c: Likewise.
17056 * rt/clock_gettime.c: Likewise.
17057 * rt/clock_nanosleep.c: Likewise.
17058 * rt/clock_settime.c: Likewise.
17059 * rt/lio_listio.c: Likewise.
17060 * rt/mq_close.c: Likewise.
17061 * rt/mq_getattr.c: Likewise.
17062 * rt/mq_notify.c: Likewise.
17063 * rt/mq_open.c: Likewise.
17064 * rt/mq_receive.c: Likewise.
17065 * rt/mq_send.c: Likewise.
17066 * rt/mq_setattr.c: Likewise.
17067 * rt/mq_timedreceive.c: Likewise.
17068 * rt/mq_timedsend.c: Likewise.
17069 * rt/mq_unlink.c: Likewise.
17070 * rt/shm_open.c: Likewise.
17071 * rt/shm_unlink.c: Likewise.
17072 * rt/timer_create.c: Likewise.
17073 * rt/timer_delete.c: Likewise.
17074 * rt/timer_getoverr.c: Likewise.
17075 * rt/timer_gettime.c: Likewise.
17076 * rt/timer_settime.c: Likewise.
17077 * setjmp/__longjmp.c: Likewise.
17078 * setjmp/setjmp.c: Likewise.
17079 * signal/kill.c: Likewise.
17080 * signal/killpg.c: Likewise.
17081 * signal/raise.c: Likewise.
17082 * signal/sigaction.c: Likewise.
17083 * signal/sigaltstack.c: Likewise.
17084 * signal/sigblock.c: Likewise.
17085 * signal/sigignore.c: Likewise.
17086 * signal/sigintr.c: Likewise.
17087 * signal/signal.c: Likewise.
17088 * signal/sigpause.c: Likewise.
17089 * signal/sigpending.c: Likewise.
17090 * signal/sigqueue.c: Likewise.
17091 * signal/sigreturn.c: Likewise.
17092 * signal/sigset.c: Likewise.
17093 * signal/sigsetmask.c: Likewise.
17094 * signal/sigstack.c: Likewise.
17095 * signal/sigsuspend.c: Likewise.
17096 * signal/sigtimedwait.c: Likewise.
17097 * signal/sigvec.c: Likewise.
17098 * signal/sigwait.c: Likewise.
17099 * signal/sigwaitinfo.c: Likewise.
17100 * signal/sysv_signal.c: Likewise.
17101 * socket/accept.c: Likewise.
17102 * socket/accept4.c: Likewise.
17103 * socket/bind.c: Likewise.
17104 * socket/connect.c: Likewise.
17105 * socket/getpeername.c: Likewise.
17106 * socket/getsockname.c: Likewise.
17107 * socket/getsockopt.c: Likewise.
17108 * socket/isfdtype.c: Likewise.
17109 * socket/listen.c: Likewise.
17110 * socket/recv.c: Likewise.
17111 * socket/recvfrom.c: Likewise.
17112 * socket/recvmsg.c: Likewise.
17113 * socket/send.c: Likewise.
17114 * socket/sendmsg.c: Likewise.
17115 * socket/sendto.c: Likewise.
17116 * socket/setsockopt.c: Likewise.
17117 * socket/shutdown.c: Likewise.
17118 * socket/sockatmark.c: Likewise.
17119 * socket/socket.c: Likewise.
17120 * socket/socketpair.c: Likewise.
17121 * stdio-common/ctermid.c: Likewise.
17122 * stdio-common/cuserid.c: Likewise.
17123 * stdio-common/remove.c: Likewise.
17124 * stdio-common/rename.c: Likewise.
17125 * stdio-common/renameat.c: Likewise.
17126 * stdio-common/tempname.c: Likewise.
17127 * stdlib/getcontext.c: Likewise.
17128 * stdlib/makecontext.c: Likewise.
17129 * stdlib/setcontext.c: Likewise.
17130 * stdlib/swapcontext.c: Likewise.
17131 * stdlib/system.c: Likewise.
17132 * streams/fattach.c: Likewise.
17133 * streams/fdetach.c: Likewise.
17134 * streams/getmsg.c: Likewise.
17135 * streams/getpmsg.c: Likewise.
17136 * streams/putmsg.c: Likewise.
17137 * streams/putpmsg.c: Likewise.
17138 * sysdeps/unix/bsd/getpt.c: Likewise.
17139 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17140 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17141 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17144 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17145 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17146 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17147 * sysvipc/msgctl.c: Likewise.
17148 * sysvipc/msgget.c: Likewise.
17149 * sysvipc/msgrcv.c: Likewise.
17150 * sysvipc/msgsnd.c: Likewise.
17151 * sysvipc/semctl.c: Likewise.
17152 * sysvipc/semget.c: Likewise.
17153 * sysvipc/semop.c: Likewise.
17154 * sysvipc/semtimedop.c: Likewise.
17155 * sysvipc/shmat.c: Likewise.
17156 * sysvipc/shmctl.c: Likewise.
17157 * sysvipc/shmdt.c: Likewise.
17158 * sysvipc/shmget.c: Likewise.
17159 * termios/tcdrain.c: Likewise.
17160 * termios/tcflow.c: Likewise.
17161 * termios/tcflush.c: Likewise.
17162 * termios/tcgetattr.c: Likewise.
17163 * termios/tcgetpgrp.c: Likewise.
17164 * termios/tcsendbrk.c: Likewise.
17165 * termios/tcsetattr.c: Likewise.
17166 * termios/tcsetpgrp.c: Likewise.
17167 * time/adjtime.c: Likewise.
17168 * time/clock.c: Likewise.
17169 * time/getitimer.c: Likewise.
17170 * time/gettimeofday.c: Likewise.
17171 * time/setitimer.c: Likewise.
17172 * time/settimeofday.c: Likewise.
17173 * time/stime.c: Likewise.
17174 * time/time.c: Likewise.
17176 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17178 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17181 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17183 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17185 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17189 FE_TONEAREST before applying Dekker multiplication and Knuth
17190 addition. Clear inexact exceptions and check for exact zero
17191 results afterwards.
17192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17193 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17195 * math/libm-test.inc (fma_test): Add more tests.
17196 (fma_test_towardzero): Likewise.
17197 (fma_test_downward): Likewise.
17198 (fma_test_upward): Likewise.
17199 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17201 (libc_fesetround): New macro.
17202 (libc_fesetroundf): Likewise.
17203 (libc_fesetroundl): Likewise.
17204 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17206 (libc_fesetround_387): Likewise.
17207 (libc_fesetroundf): New macro.
17208 (libc_fesetround): Likewise.
17209 (libc_fesetroundl): Likewise.
17210 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17212 (libc_fesetroundf): New macro.
17213 (libc_fesetround): Likewise.
17214 (libc_fesetroundl): Likewise.
17215 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17216 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17217 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17219 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17220 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17222 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17223 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17225 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17229 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17230 integer constant usable in #if and use that to give value to enum
17232 (FE_DIVBYZERO): Likewise.
17233 (FE_UNDERFLOW): Likewise.
17234 (FE_OVERFLOW): Likewise.
17235 (FE_INVALID): Likewise.
17236 (FE_INVALID_SNAN): Likewise.
17237 (FE_INVALID_ISI): Likewise.
17238 (FE_INVALID_IDI): Likewise.
17239 (FE_INVALID_ZDZ): Likewise.
17240 (FE_INVALID_IMZ): Likewise.
17241 (FE_INVALID_COMPARE): Likewise.
17242 (FE_INVALID_SOFTWARE): Likewise.
17243 (FE_INVALID_SQRT): Likewise.
17244 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17245 (FE_TONEAREST): Likewise.
17246 (FE_TOWARDZERO): Likewise.
17247 (FE_UPWARD): Likewise.
17248 (FE_DOWNWARD): Likewise.
17249 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17250 (FE_DIVBYZERO): Likewise.
17251 (FE_OVERFLOW): Likewise.
17252 (FE_UNDERFLOW): Likewise.
17253 (FE_INEXACT): Likewise.
17254 (FE_TONEAREST): Likewise.
17255 (FE_DOWNWARD): Likewise.
17256 (FE_UPWARD): Likewise.
17257 (FE_TOWARDZERO): Likewise.
17258 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17259 (FE_UNDERFLOW): Likewise.
17260 (FE_OVERFLOW): Likewise.
17261 (FE_DIVBYZERO): Likewise.
17262 (FE_INVALID): Likewise.
17263 (FE_TONEAREST): Likewise.
17264 (FE_TOWARDZERO): Likewise.
17265 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17266 (FE_OVERFLOW): Likewise.
17267 (FE_UNDERFLOW): Likewise.
17268 (FE_DIVBYZERO): Likewise.
17269 (FE_INEXACT): Likewise.
17270 (FE_TONEAREST): Likewise.
17271 (FE_TOWARDZERO): Likewise.
17272 (FE_UPWARD): Likewise.
17273 (FE_DOWNWARD): Likewise.
17274 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17275 (FE_DIVBYZERO): Likewise.
17276 (FE_OVERFLOW): Likewise.
17277 (FE_UNDERFLOW): Likewise.
17278 (FE_INEXACT): Likewise.
17279 (FE_TONEAREST): Likewise.
17280 (FE_DOWNWARD): Likewise.
17281 (FE_UPWARD): Likewise.
17282 (FE_TOWARDZERO): Likewise.
17284 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17286 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17288 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17290 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17291 commands. Quote $PWD.
17292 (blacklist_exports): Don't use remove_newlines. Replace "declare
17294 (remove_newlines): Remove.
17296 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17298 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17299 * stdlib/stdlib.h (atof): Moved to ...
17300 * include/bits/stdlib-float.h: Here. New file.
17301 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17302 * stdlib/bits/stdlib-float.h: New file.
17303 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17305 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17308 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17310 * conform/conformtest.pl (@headers): Add fenv.h.
17311 * conform/data/fenv.h-data: New file.
17312 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17313 include of <math/fenv.h>.
17315 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17316 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17317 && !UNIX98]. Enables tests for XOPEN2K8.
17318 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17319 POSIX2008]: Likewise.
17321 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17322 (struct rusage): Do not expect type or its members.
17325 * math/math.h (FP_NAN): Define macro to integer constant usable in
17326 #if and use that to give value to enum constant.
17327 (FP_INFINITE): Likewise.
17328 (FP_ZERO): Likewise.
17329 (FP_SUBNORMAL): Likewise.
17330 (FP_NORMAL): Likewise.
17332 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17334 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17335 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17338 2012-11-02 Roland McGrath <roland@hack.frob.com>
17340 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17341 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17342 autoconf-time if not.
17343 * configure.in: Remove AC_PREREQ.
17345 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17347 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17348 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17349 of the internal implementation.
17351 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17353 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17354 except include of <misc/sys/syslog.h>.
17356 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17359 function returns with a NULL context exit with zero.
17361 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17363 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17365 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17367 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17368 (run_program_cmd): This.
17369 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17370 (tst_langinfo): New variable. Use it.
17372 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17374 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17375 floating point opcodes.
17377 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17379 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17382 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17384 * sysdeps/mach/hurd/powerpc: Remove directory.
17385 * sysdeps/mach/powerpc: Likewise.
17387 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17389 * scripts/check-local-headers.sh: Ignore c++ headers.
17391 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17393 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17394 __libc_cleanup_region_start argument.
17396 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17401 x * y using scaling, not as x * y + z.
17402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17404 * math/libm-test.inc (fma_test): Add more tests.
17405 (fma_test_towardzero): Likewise.
17406 (fma_test_downward): Likewise.
17407 (fma_test_upward): Likewise.
17409 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17411 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17413 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17415 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17418 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17420 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17422 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17429 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17432 Fix the order of the list for glibc 2.17.
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17436 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17440 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17443 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17444 for low part of x being zero before using __atanl (y).
17445 * math/libm-test.inc (atan2_test): Add another test.
17447 * manual/install.texi (Configuring and compiling): Document
17448 general use of test-wrapper and test-wrapper-env.
17449 * INSTALL: Regenerated.
17451 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17452 (__fma): Do not extract and scale down low bits on after-rounding
17453 systems when result rounded to normal precision would have normal
17455 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17456 (__fmal): Do not extract and scale down low bits on after-rounding
17457 systems when result rounded to normal precision would have normal
17459 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17460 (__fmal): Do not extract and scale down low bits on after-rounding
17461 systems when result rounded to normal precision would have normal
17463 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17465 (fma_test): Add more tests.
17466 (fma_test_towardzero): Likewise.
17467 (fma_test_downward): Likewise.
17468 (fma_test_upward): Likewise.
17470 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17472 * sysdeps/i386/tininess.h: Renamed to ...
17473 * sysdeps/x86/tininess.h: This.
17474 * sysdeps/x86_64/tininess.h: Removed.
17476 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17478 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17479 input. Use $(build-program-cmd).
17480 ($(objpfx)tst-array1-static.out): Likewise.
17481 ($(objpfx)tst-array2.out): Likewise.
17482 ($(objpfx)tst-array3.out): Likewise.
17483 ($(objpfx)tst-array4.out): Likewise.
17484 ($(objpfx)tst-array5.out): Likewise.
17485 ($(objpfx)tst-array5-static.out): Likewise.
17487 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17489 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17492 * nss/nsswitch.h (nss_interface_function): Provide new
17493 macro for use with NSS functions.
17494 * grp/initgroups.c: Use new macro.
17495 * nss/getXXbyYY.c: Likewise.
17496 * nss/getXXbyYY_r.c: Likewise.
17497 * nss/getXXent.c: Likewise.
17498 * nss/getXXent_r.c: Likewise.
17499 * sysdeps/posix/getaddrinfo.c: Likewise.
17501 2012-10-30 Andreas Jaeger <aj@suse.de>
17503 * po/ru.po: Update Russion translation from translation project.
17505 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17510 result and shift together with sticky bit instead of replicating
17511 round-to-nearest rounding.
17512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17514 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17515 missing underflow exceptions.
17516 (fma_test_towardzero): Add more tests.
17517 (fma_test_downward): Likewise.
17518 (fma_test_upward): Likewise.
17521 * sysdeps/generic/tininess.h: New file.
17522 * sysdeps/i386/tininess.h: Likewise.
17523 * sysdeps/sh/tininess.h: Likewise.
17524 * sysdeps/x86_64/tininess.h: Likewise.
17525 * stdlib/tst-strtod-underflow.c: Likewise.
17526 * stdlib/tst-tininess.c: Likewise.
17527 * stdlib/strtod_l.c: Include <tininess.h>.
17528 (round_and_return): Do not set errno for exact underflow cases.
17529 Force an underflow exception when setting errno for underflow.
17530 Determine underflow based on rounding to normal precision if
17531 TININESS_AFTER_ROUNDING.
17532 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17533 ERANGE for exact underflow cases.
17534 * stdlib/Makefile (tests): Add tst-tininess and
17535 tst-strtod-underflow.
17536 ($(objpfx)tst-tininess): Use $(link-libm).
17537 ($(objpfx)tst-strtod-underflow): Likewise.
17539 2012-10-30 Andreas Jaeger <aj@suse.de>
17542 * elf/Makefile (tests): Remove conditional for have-initfini-array
17543 since this is now always required and the variable does not exist
17545 (tests-static): Likewise.
17546 (modules-names): Likewise.
17548 * po/eo.po: Add Esperanto translation from translation project.
17550 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17551 merged with constructor/destructor.
17552 (init_array): Likewise.
17553 * elf/tst-array2dep.c (fini_array): Likewise.
17554 (init_array): Likewise.
17556 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17558 * manual/message.texi: Delete @cartouche tags.
17560 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17562 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17564 * sysdeps/mach/hurd/fsync.c: Likewise.
17566 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17567 [_POSIX_REALTIME_SIGNALS]: Change condition to
17568 [_POSIX_REALTIME_SIGNALS > 0].
17570 2012-10-27 Andreas Jaeger <aj@suse.de>
17572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17573 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17575 [__WORDSIZE != 64]: Likewise.
17577 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17579 * iconvdata/tst-table.sh: Remove ${SHELL}.
17580 * iconvdata/tst-tables.sh: Likewise.
17582 2012-10-25 David S. Miller <davem@davemloft.net>
17584 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17585 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17590 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17591 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17592 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17595 2012-10-25 Roland McGrath <roland@hack.frob.com>
17597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17598 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17601 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17602 Jim Blandy <jimb@codesourcery.com>
17604 * scripts/cross-test-ssh.sh: New file.
17605 * manual/install.texi (Configuring and compiling): Document use of
17607 * INSTALL: Regenerated.
17609 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17611 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17614 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17616 * Makeconfig (run-program-prefix): Fix comment.
17618 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17619 Jim Blandy <jimb@codesourcery.com>
17621 * Makeconfig (test-wrapper): New variable,
17622 (test-wrapper-env): Likewise.
17623 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17624 (run-built-tests): Define to yes.
17625 (run-program-prefix): Use $(test-wrapper).
17626 (built-program-cmd): Likewise.
17627 * Rules (make-test-out): Use $(test-wrapper-env) and
17628 $(host-built-program-cmd).
17629 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17630 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17632 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17633 $(test-wrapper-env) to tst-rtld-load-self.sh.
17634 ($(objpfx)order2.out): Use $(test-wrapper).
17635 ($(objpfx)tst-initorder.out): Likewise.
17636 ($(objpfx)tst-initorder2.out): Likewise.
17637 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17638 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17639 (test_wrapper_env): New variable. Use it to run ld.so.
17640 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17641 Use it to run ld.so.
17642 (test_wrapper_env): Likewise.
17643 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17644 $(test-wrapper) to run-iconv-test.sh.
17645 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17646 (ICONV): Use $test_wrapper.
17647 * posix/Makefile ($(objpfx)globtest.out): Pass
17648 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17649 globtest.sh, not $(run-program-prefix).
17650 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17651 (test_wrapper): Likewise.
17652 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17653 set together with run_via_rtld_prefix.
17654 (run_program_prefix): Define in terms of test_wrapper and
17655 run_via_rtld_prefix.
17657 2012-10-24 Roland McGrath <roland@hack.frob.com>
17659 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17660 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17664 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17665 Declare __clock_getres, __clock_gettime, __clock_settime,
17666 __clock_nanosleep, and __clock_getcpuclockid.
17667 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17668 Remove librt_hidden_def (clock_gettime).
17669 * sysdeps/unix/clock_gettime.c: Likewise.
17670 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17672 * rt/clock_getres.c: Define __clock_getres as an alias.
17673 * sysdeps/posix/clock_getres.c: Likewise.
17674 * rt/clock_settime.c: Define __clock_settime as an alias.
17675 * sysdeps/unix/clock_settime.c: Likewise.
17676 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17677 * sysdeps/unix/clock_nanosleep.c: Likewise.
17678 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17679 * rt/clock-compat.c: New file.
17680 * rt/Makefile (librt-routines): Add clock-compat and move
17681 $(clock-routines) to ...
17682 (routines): ... here, new variable.
17683 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17684 Don't add get_clockfreq here.
17685 * rt/Versions (libc: GLIBC_2.17): New version set.
17686 Add clock_* symbols here.
17687 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17688 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17689 (GLIBC_2.17): Add clock_* symbols.
17690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17701 * NEWS: Mention the move.
17703 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17704 Use __open, __read, __close rather than their public counterparts.
17705 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17706 (__get_clockfreq_via_cpuinfo): Likewise.
17707 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17708 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17710 * config.h.in (HAVE_IFUNC): New #undef.
17711 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17713 * configure: Regenerated.
17715 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17717 * configure.in: Move READELF check to start of file.
17718 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17719 libc_cv_asm_gnu_indirect_function in the process.
17720 * configure: Regenerated.
17722 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17724 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17725 send the output to /dev/null.
17726 (libc_cv_cc_with_libunwind): Likewise.
17727 (libc_cv_as_noexecstack): Likewise.
17728 * configure: Regenerate.
17730 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17732 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17734 * posix/globtest.sh (TMPDIR): Do not set.
17735 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17736 (testout): Likewise.
17738 2012-10-24 Andreas Jaeger <aj@suse.de>
17740 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17741 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17742 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17743 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17744 posix_fadvise64, posix_fallocate64.
17746 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17747 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17748 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17750 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17752 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17755 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17756 <bits/fcntl-linux.h>.
17757 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17760 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17761 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17762 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17763 [__WORDSIZE != 64]: Likewise.
17765 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17767 * Makeconfig (run-built-tests): New variable.
17768 * Rules [$(cross-compiling) = yes]: Change condition to
17769 [$(run-built-tests) = no].
17770 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17771 to [$(run-built-tests) = yes].
17772 * elf/Makefile [$(cross-compiling) = no]: Likewise
17773 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17774 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17775 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17776 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17777 * io/Makefile [$(cross-compiling) = no]: Likewise.
17778 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17779 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17780 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17781 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17782 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17783 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17784 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17785 * string/Makefile [$(cross-compiling) = no]: Likewise.
17787 * posix/Makefile ($(objpfx)globtest.out): Pass
17788 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17789 $(rtld-installed-name).
17790 * posix/globtest.sh (elf_objpfx): Remove variable.
17791 (rtld_installed_name): Likewise.
17792 (library_path): Likewise.
17793 (run_program_prefix): New variable. Use for running globtest
17796 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17797 Joseph Myers <joseph@codesourcery.com>
17799 * Makeconfig (host-built-program-cmd): New variable.
17800 * elf/Makefile (tst-stackguard1-ARGS): Use
17801 $(host-built-program-cmd).
17802 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17803 (tst-spawn-ARGS): Likewise.
17804 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17806 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17807 Jim Blandy <jimb@codesourcery.com>
17809 * Makeconfig (run-via-rtld-prefix): New variable.
17810 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17811 (built-program-cmd): Likewise.
17813 2012-10-22 Andreas Jaeger <aj@suse.de>
17815 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17816 __O_RSYNC if it exists, otherwise to O_SYNC.
17818 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17819 Joseph Myers <joseph@codesourcery.com>
17821 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17823 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17825 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17828 2012-10-22 Andreas Jaeger <aj@suse.de>
17830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17835 bits/fcntl-linux.h.
17837 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17838 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17845 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17846 Joseph Myers <joseph@codesourcery.com>
17848 * config.make.in (NM): New variable.
17850 2012-10-21 Andreas Jaeger <aj@suse.de>
17852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17853 definitions and declarations that are provided by
17854 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17856 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17859 * elf/Makefile (tests-static): Add tst-leaks1-static.
17860 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17861 ($(objpfx)tst-leaks1-static): New rule.
17862 ($(objpfx)tst-leaks1-static-mem): Likewise.
17863 (tst-leaks1-static-ENV): New macro.
17864 * elf/dl-open.c (dl_open_worker): Check the main application
17865 only if SHARED is defined.
17866 * elf/tst-leaks1-static.c: New file.
17868 2012-10-20 Andreas Jaeger <aj@suse.de>
17870 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17871 generic values for Linux.
17872 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17873 and declarations that are provided by <bits/fcntl-linux.h> and
17874 include <bits/fcntl-linux.h>.
17875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17878 2012-10-20 Roland McGrath <roland@hack.frob.com>
17880 * io/fcntl.h: Move include of <bits/types.h> to the top and
17881 include it unconditionally.
17883 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17885 * wcsmbs/Makefile (tests-ifunc): New variable.
17886 (tests): Add $(tests-ifunc).
17887 * wcsmbs/test-wcschr-ifunc.c: New file.
17888 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17889 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17890 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17891 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17892 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17894 * string/Makefile (tests-ifunc): New variable.
17895 (tests): Add $(tests-ifunc).
17896 * string/test-memccpy.c (TEST_NAME): New macro.
17897 * string/test-memchr.c (TEST_NAME): Likewise.
17898 * string/test-memcmp.c (TEST_NAME): Likewise.
17899 * string/test-memcpy.c (TEST_NAME): Likewise.
17900 * string/test-memmem.c (TEST_NAME): Likewise.
17901 * string/test-memmove.c (TEST_NAME): Likewise.
17902 * string/test-memset.c (TEST_NAME): Likewise.
17903 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17904 * string/test-stpcpy.c (TEST_NAME): Likewise.
17905 * string/test-stpncpy.c (TEST_NAME): Likewise.
17906 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17907 * string/test-strcasestr.c (TEST_NAME): Likewise.
17908 * string/test-strcat.c (TEST_NAME): Likewise.
17909 * string/test-strchr.c (TEST_NAME): Likewise.
17910 * string/test-strcmp.c(TEST_NAME): Likewise.
17911 * string/test-strcpy.c (TEST_NAME): Likewise.
17912 * string/test-strcspn.c (TEST_NAME): Likewise.
17913 * string/test-strlen.c (TEST_NAME): Likewise.
17914 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17915 * string/test-strncmp.c (TEST_NAME): Likewise.
17916 * string/test-strncpy.c (TEST_NAME): Likewise.
17917 * string/test-strnlen.c (TEST_NAME): Likewise.
17918 * string/test-strpbrk.c (TEST_NAME): Likewise.
17919 * string/test-strrchr.c (TEST_NAME): Likewise.
17920 * string/test-strspn.c (TEST_NAME): Likewise.
17921 * string/test-strstr.c (TEST_NAME): Likewise.
17922 * string/test-bcopy-ifunc.c: New file.
17923 * string/test-bzero-ifunc.c: Likewise.
17924 * string/test-memccpy-ifunc.c: Likewise.
17925 * string/test-memchr-ifunc.c: Likewise.
17926 * string/test-memcmp-ifunc.c: Likewise.
17927 * string/test-memcpy-ifunc.c: Likewise.
17928 * string/test-memmem-ifunc.c: Likewise.
17929 * string/test-memmove-ifunc.c: Likewise.
17930 * string/test-mempcpy-ifunc.c: Likewise.
17931 * string/test-memset-ifunc.c: Likewise.
17932 * string/test-rawmemchr-ifunc.c: Likewise.
17933 * string/test-stpcpy-ifunc.c: Likewise.
17934 * string/test-stpncpy-ifunc.c: Likewise.
17935 * string/test-strcasecmp-ifunc.c: Likewise.
17936 * string/test-strcasestr-ifunc.c: Likewise.
17937 * string/test-strcat-ifunc.c: Likewise.
17938 * string/test-strchr-ifunc.c: Likewise.
17939 * string/test-strchrnul-ifunc.c: Likewise.
17940 * string/test-strcmp-ifunc.c: Likewise.
17941 * string/test-strcpy-ifunc.c: Likewise.
17942 * string/test-strcspn-ifunc.c: Likewise.
17943 * string/test-strlen-ifunc.c: Likewise.
17944 * string/test-strncasecmp-ifunc.c: Likewise.
17945 * string/test-strncat-ifunc.c: Likewise.
17946 * string/test-strncmp-ifunc.c: Likewise.
17947 * string/test-strncpy-ifunc.c: Likewise.
17948 * string/test-strnlen-ifunc.c: Likewise.
17949 * string/test-strpbrk-ifunc.c: Likewise.
17950 * string/test-strrchr-ifunc.c: Likewise.
17951 * string/test-strspn-ifunc.c: Likewise.
17952 * string/test-strstr-ifunc.c: Likewise.
17954 * debug/Makefile (tests-ifunc): New variable.
17955 (tests): Add $(tests-ifunc).
17956 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17957 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17958 * debug/test-stpcpy_chk-ifunc.c: New file.
17959 * debug/test-strcpy_chk-ifunc.c: Likewise.
17961 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17964 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17965 header is not read in.
17967 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17969 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17970 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17971 directly. Pass built executable to script as
17972 $(built-program-cmd).
17973 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17974 $testprogram without using LD_LIBRARY_PATH and $ldso.
17976 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17977 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17978 $(rtld-installed-name).
17979 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17980 (rtld_installed_name): Likewise.
17981 (library_path): Likewise.
17982 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17983 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17984 $(run-program-prefix) to tst-tables.sh.
17985 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17986 it to run tst-table-from and tst-table-to.
17987 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17988 Pass it to tst-table.sh.
17989 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17990 $(run-program-prefix) to tst-gettext.sh.
17991 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17993 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17995 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17996 to run tst-gettext.
17997 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17998 to run tst-gettext2.
17999 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18000 to run tst-translit.
18001 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18002 $(run-program-prefix) to tst-mtrace.sh.
18003 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18005 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18006 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18007 $(rtld-installed-name).
18008 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18009 (rtld_installed_name): Likewise.
18010 (run_program_prefix): New variable. Use it to run wordexp-test.
18012 * Makeconfig (ARCH): Remove all definitions.
18013 (machine): Likewise.
18014 [ARCH]: Remove conditional code.
18015 [!objdir]: Give error.
18016 [!objdir] (objpfx): Remove.
18017 [!objdir] (common-objpfx): Likewise.
18018 [!objdir] (common-objdir): Likewise.
18019 * configure.in (config_makefile): Remove. Hardcode Makefile in
18020 AC_CONFIG_FILES call.
18021 * configure: Regenerated.
18024 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18026 (testout): Likewise.
18028 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18029 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18030 $(rtld-installed-name).
18031 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18032 (rtld_installed_name): Likwise.
18033 (runit): Remove function.
18034 (run_getconf): New variable, Use it for running getconf binary.
18036 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18039 * string/test-memmem.c (check_result): New function.
18040 (do_one_test): Use it.
18041 (check1): New function.
18042 (test_main): Use it.
18044 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18046 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18048 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18050 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18051 (_G_LSEEK64): Likewise.
18052 (_G_MMAP64): Likewise.
18053 (_G_FSTAT64): Likewise.
18054 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18055 (_G_LSEEK64): Likewise.
18056 (_G_MMAP64): Likewise.
18057 (_G_FSTAT64): Likewise.
18058 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18059 unconditional. Call __mmap64 directly.
18060 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18061 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18062 __lseek64 directly.
18063 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18064 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18066 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18067 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18068 __lseek64 directly.
18069 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18070 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18071 __lseek64 directly.
18072 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18073 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18074 __lseek64 directly.
18075 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18076 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18077 __fxstat64 directly.
18078 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18079 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18081 (freopen64) [!_G_OPEN64]: Remove conditional code.
18082 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18084 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18085 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18087 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18088 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18090 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18091 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18093 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18094 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18096 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18097 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18099 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18100 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18102 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18104 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18107 * manual/memory.texi (Malloc Tunable Parameters): Add note
18108 about free list pointers overwriting some perturb bytes.
18109 Wording suggested by Roland McGrath.
18111 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18113 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18114 (lgamma_test): Likewise.
18115 (tgamma_test): Likewise.
18117 2012-10-16 Florian Weimer <fweimer@redhat.com>
18120 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18121 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18123 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18125 * NEWS: Mention BZ #14716.
18126 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18127 when removing AVAILABLE1_USES_J macro.
18129 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18131 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18132 (__bswap_64): __uint64_t for unsigned 64-bit int.
18134 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18136 * include/string.h (memmem): Declare libc hidden alias.
18137 * string/memmem.c (memmem): Define libc hidden alias.
18138 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18139 __read, __close instead of open, read, close.
18141 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18144 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18146 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18147 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18148 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18150 (__rawmemchr_sse2): Likewise.
18151 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18152 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18153 (__strchr_sse2): Likewise.
18154 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18155 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18156 (__strcasecmp_sse2): Likewise.
18157 (__strncasecmp_sse2): Likewise.
18158 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18159 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18160 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18161 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18162 (__strrchr_sse2): Likewise.
18163 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18165 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18166 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18167 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18168 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18169 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18170 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18171 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18172 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18173 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18174 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18175 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18176 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18177 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18178 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18179 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18180 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18181 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18182 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18183 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18184 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18185 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18186 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18187 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18188 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18189 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18190 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18191 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18192 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18193 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18194 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18196 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18198 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18199 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18200 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18201 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18203 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18205 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18206 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18207 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18208 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18210 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18211 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18212 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18213 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18214 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18215 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18216 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18217 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18218 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18219 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18220 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18221 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18222 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18223 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18224 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18225 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18226 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18227 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18228 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18229 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18230 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18231 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18232 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18233 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18234 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18235 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18236 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18237 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18238 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18239 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18240 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18241 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18242 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18243 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18244 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18245 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18246 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18247 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18248 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18249 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18250 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18252 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18253 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18254 * include/ifunc-impl-list.h: New file.
18255 * misc/ifunc-impl-list.c: Likewise.
18256 * misc/Makefile (routines): Add ifunc-impl-list.
18257 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18258 * string/test-string.h: Include <ifunc-impl-list.h>.
18259 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18260 impl_array): New variables.
18261 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18263 (test_init): Call __libc_ifunc_impl_list to initialize
18264 func_list if TEST_IFUNC and TEST_NAME are defined.
18266 * string/Makefile (strop-tests): Add bcopy and bzero.
18267 * string/test-bcopy.c: New file.
18268 * string/test-bzero.c: Likewise.
18269 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18271 * string/test-memset.c: Support bzero test if TEST_BZERO is
18273 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18275 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18277 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18280 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18282 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18283 * configure: Regenerated.
18285 * Makeconfig (+link-static-before-libc): Don't include
18286 $(link-static-libc).
18288 * libio/libio.h (_IO_pos_t): Remove.
18290 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18292 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18295 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18297 * crypt/crypt-entry.c: Include fips-private.h.
18298 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18299 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18300 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18301 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18303 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18305 * crypt/crypt-private.h: Include stdbool.h.
18306 (_ufc_setup_salt_r): Return bool.
18307 * crypt/crypt-entry.c: Include errno.h.
18308 (__crypt_r): Return NULL with EINVAL for bad salt.
18309 * crypt/crypt_util.c (bad_for_salt): New.
18310 (_ufc_setup_salt_r): Check that salt is long enough and within
18311 the specified alphabet.
18312 * crypt/badsalttest.c: New file.
18313 * crypt/Makefile (tests): Add it.
18314 ($(objpfx)badsalttest): New.
18316 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18318 * NEWS: Add entry for BZ #14602.
18320 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18322 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18324 * math/libm-test.inc: Update comment listing what functions and
18326 (isgreater_test): New function.
18327 (isgreaterequal_test): Likewise.
18328 (isless_test): Likewise.
18329 (islessequal_test): Likewise.
18330 (islessgreater_test): Likewise.
18331 (isunordered_test): Likewise.
18332 (main): Call the new functions.
18334 2012-10-09 Roland McGrath <roland@hack.frob.com>
18336 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18337 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18338 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18339 * sysdeps/i386/configure: Regenerated.
18340 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18341 * sysdeps/mach/configure: Regenerated.
18342 * sysdeps/mach/hurd/configure: Regenerated.
18343 * sysdeps/powerpc/configure: Regenerated.
18344 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18345 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18346 * sysdeps/s390/s390-32/configure: Regenerated.
18347 * sysdeps/s390/s390-64/configure: Regenerated.
18348 * sysdeps/sh/configure: Regenerated.
18349 * sysdeps/sparc/configure: Regenerated.
18350 * sysdeps/unix/sysv/linux/configure: Regenerated.
18351 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18352 * sysdeps/x86_64/configure: Regenerated.
18354 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18355 defined. Don't check if MAP is NULL.
18357 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18359 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18360 (_G_stat64): Likewise.
18361 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18362 (_G_stat64): Likewise.
18363 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18364 instead of struct _G_stat64.
18365 * libio/fileops.c (mmap_remap_check): Likewise.
18366 (decide_maybe_mmap): Likewise.
18367 (_IO_new_file_seekoff): Likewise.
18368 (_IO_file_stat): Likewise.
18369 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18371 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18372 instead of struct _G_stat64.
18373 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18375 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18378 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18380 (CHECK_EOL): New macro.
18381 (two_way_short_needle): Check beginning of haystack for EOL. Use
18383 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18384 Replace with CHECK_EOL.
18385 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18386 Replace with CHECK_EOL.
18388 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18390 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18392 * math/libm-test.inc: Update comment listing what functions and
18394 (finite_test): New function.
18395 (isinf_test): Likewise.
18396 (isnan_test): Likewise.
18397 (fpclassify_test): Test subnormal input.
18398 (isfinite_test): Likewise.
18399 (isnormal_test): Likewise.
18400 (main): Call the new functions.
18402 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18405 * Makerules (%.dynsym): Force C locale when running
18406 $(OBJDUMP) --dynamic-syms.
18408 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18410 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18413 2012-10-06 David S. Miller <davem@davemloft.net>
18415 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18416 upper 32-bits of the length value in %o2 since we use branch-on-register
18417 tests which consider the entire 64-bit register.
18419 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18421 * string/test-strstr.c (check2): Add a test for page boundary.
18423 2012-10-05 David S. Miller <davem@davemloft.net>
18425 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18426 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18428 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18430 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18431 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18432 and bzero when HWCAP_SPARC_CRYPTO is present.
18434 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18437 * string/test-strstr.c (check2): New function.
18438 (test_main): Call check2.
18440 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18442 * string/bug-strcasestr1.c (do_test): Moved to ...
18443 * string/test-strcasestr.c (check1): Here. New function.
18444 (do_one_test): Break out result checking code into ...
18445 (check_result): This. New function.
18446 (do_one_test): Call check_result.
18447 (test_main): Call check1.
18448 * string/bug-strchr1.c (do_test): Moved to ...
18449 * string/test-strchr.c (check1): Here. New function.
18450 (do_one_test): Break out result checking code into ...
18451 (check_result): This. New function.
18452 (do_one_test): Call check_result.
18453 (test_main): Call check1.
18454 * string/bug-strstr1.c (main): Moved to ...
18455 * string/test-strstr.c (check1): Here. New function.
18456 (do_one_test): Break out result checking code into ...
18457 (check_result): This. New function.
18458 (do_one_test): Call check_result.
18459 (test_main): Call check1.
18460 * string/bug-strcasestr1.c: Removed.
18461 * string/bug-strchr1.c: Likewise.
18462 * string/bug-strstr1.c: Likewise.
18464 * elf/Makefile (dl-routines): Add hwcaps.
18465 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18466 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18467 (_dl_important_hwcaps): Moved to ...
18468 * elf/dl-hwcaps.c: Here. New file.
18469 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18472 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18473 if IS_IN_rtld isn't defined.
18475 * elf/dl-support.c (_dl_sysinfo_map): New.
18476 Include "get-dynamic-info.h" and "setup-vdso.h".
18477 (_dl_non_dynamic_init): Call setup_vdso.
18478 * elf/dynamic-link.h: Don't include <assert.h>.
18479 (elf_get_dynamic_info): Moved to ...
18480 * elf/get-dynamic-info.h: Here. New file.
18481 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18482 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18483 * elf/setup-vdso.h: Here. New file.
18484 * elf/rtld.c: Include "setup-vdso.h".
18485 (dl_main): Call setup_vdso.
18487 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18489 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18490 creal in comment listing functions tested. List finite, isinf,
18491 isnan, isless, islessequal, isgreater, isgreaterequal,
18492 islessgreater, isunordered, lgamma_r and pow10 as functions and
18493 macros not tested. Mention which functions not tested are aliases
18494 for other functions. Fix typo. Note that signs of NaNs are not
18497 * scripts/config.guess: Update from config.git.
18498 * scripts/config.sub: Likewise.
18500 2012-10-04 Roland McGrath <roland@hack.frob.com>
18502 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18503 * misc/madvise.c (madvise): Renamed to __madvise.
18504 Make madvise a weak alias.
18505 * include/sys/mman.h: Declare __madvise.
18506 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18507 * sysdeps/unix/syscalls.list
18508 (madvise): Make __madvise the strong name, and madvise a weak alias.
18509 * sysdeps/unix/sysv/linux/syscalls.list
18510 (madvise, mmap): Remove redundant entries.
18511 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18512 * malloc/malloc.c (mtrim): Likewise.
18513 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18515 2012-10-03 Roland McGrath <roland@hack.frob.com>
18517 * sysdeps/mach/hurd/dl-cache.c: File removed.
18518 * config.h.in (USE_LDCONFIG): New #undef.
18519 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18520 * configure: Regenerated.
18521 * elf/Makefile (dl-routines): Add dl-cache only under
18522 [$(use-ldconfig) = yes].
18523 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18524 cache on [USE_LDCONFIG].
18525 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18527 * elf/rtld.c (dl_main): Likewise.
18529 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18531 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18532 _SC_LEVEL4_CACHE_LINESIZE.
18534 2012-10-03 Roland McGrath <roland@hack.frob.com>
18536 * sysdeps/unix/bsd/confstr.h: File removed.
18538 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18540 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18543 2012-10-02 Roland McGrath <roland@hack.frob.com>
18545 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18546 Make 'mapoff' field ElfW(Off) rather than off_t.
18548 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18550 * nscd/Makefile: Remove nscd-cflags and all its users.
18551 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18552 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18555 * malloc.c (malloc_printerr): Clarify error message.
18557 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18561 Set bit_FMA_Usable if FMA is supported.
18562 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18564 (bit_FMA4_Usable): Updated.
18565 (index_FMA_Usable): New macro.
18566 (CPUID_FMA): Likewise
18567 (HAS_FMA): Defined with bit_FMA_Usable.
18569 2012-10-01 Roland McGrath <roland@hack.frob.com>
18571 * bits/types.h (__swblk_t): Type removed.
18572 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18573 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18574 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18575 (__SWBLK_T_TYPE): Likewise.
18576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18577 (__SWBLK_T_TYPE): Likewise.
18578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18579 (__SWBLK_T_TYPE): Likewise.
18580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18581 (__SWBLK_T_TYPE): Likewise.
18583 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18584 Honza Horak <hhorak@redhat.com>
18586 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18587 (xdr_mapname): Use YPMAXMAP as maxsize.
18588 (xdr_peername): Use YPMAXPEER as maxsize.
18589 (xdr_keydat): Use YPAXRECORD as maxsize.
18590 (xdr_valdat): Use YPMAXRECORD as maxsize.
18592 2012-10-01 Roland McGrath <roland@hack.frob.com>
18594 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18596 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18597 * csu/init-first.c: ... here.
18598 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18599 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18600 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18601 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18602 * sysdeps/i386/init-first.c: File removed.
18603 * sysdeps/sh/init-first.c: File removed.
18605 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18609 if x * y might underflow to zero and z is zero.
18610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18612 * math/libm-test.inc (min_subnorm_value): New variable.
18613 (fma_test): Add more tests.
18614 (fma_test_towardzero): Likewise.
18615 (fma_test_downward): Likewise
18616 (fma_test_upward): Likewise.
18617 (initialize): Set min_subnorm_value.
18619 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18624 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18625 mode for addition resulting in exact zero.
18626 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18631 * math/libm-test.inc (fma_test): Add more tests.
18632 (fma_test_towardzero): New function.
18633 (fma_test_downward): Likewise.
18634 (fma_test_upward): Likewise.
18635 (main): Call the new functions.
18637 2012-09-28 David S. Miller <davem@davemloft.net>
18639 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18641 2012-09-28 Roland McGrath <roland@hack.frob.com>
18643 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18644 instead of SIGALRM.
18646 * sysdeps/gnu/_G_config.h: Moved to ...
18647 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18648 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18649 * sysdeps/generic/_G_config.h: ... here.
18651 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18653 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18655 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18656 Conditionalize target on [libnss_test1.so-version].
18658 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18660 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18661 (elfobjdir): Move out of conditionals.
18663 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18664 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18665 (__nss_lookup_function): Conditionalize label remove_from_tree on
18666 [!DO_STATIC_NSS || SHARED], matching its only use.
18668 2012-09-28 David S. Miller <davem@davemloft.net>
18670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18671 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18673 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18675 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18677 when HWCAP_SPARC_CRYPTO is present.
18679 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18681 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18683 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18686 * stdio-common/vfprintf.c (process_string_arg): Revert
18689 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18691 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18693 * stdio-common/tst-sprintf.c: Include <locale.h>
18694 (main): Test sprintf's handling of incomplete multibyte
18697 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18699 * elf/dl-runtime.c (VERSYMIDX): Removed.
18700 * elf/dl-version.c (VERSYMIDX): Likewise.
18701 * elf/do-rel.h (VERSYMIDX): Likewise.
18702 (VALIDX): Likewise.
18703 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18704 * elf/rtld.c (VALIDX): Likewise.
18705 (ADDRIDX): Likewise.
18706 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18707 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18708 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18709 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18710 (VALIDX): Likewise.
18711 (ADDRIDX): Likewise.
18713 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18715 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18717 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18720 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18722 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18723 addresses are in the same scope as 192.0.2/24.
18724 * posix/gai.conf: Document new scope table defaults.
18726 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18729 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18730 for ftell. Compute offsets from write pointers instead.
18731 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18733 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18736 * libio/Makefile (tests): New test case tst-fseek.
18737 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18738 combination works in wide mode.
18739 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18740 state when the external buffer state changes.
18742 2012-09-27 David S. Miller <davem@davemloft.net>
18745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18746 pass reloc->r_addend in as the 'high' argument to
18747 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18751 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18753 * rt/tst-aio2.c: Include <pthread.h>.
18754 * rt/tst-aio3.c: Likewise.
18756 2012-09-27 Steve Ellcey <sellcey@mips.com>
18758 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18760 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18762 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18763 contents on [SHARED].
18765 2012-09-26 Marek Polacek <polacek@redhat.com>
18769 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18770 for C++ and GCC <4.3 as well as for non GCC compilers.
18772 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18776 2012-09-25 Roland McGrath <roland@hack.frob.com>
18778 * Makefile.in (all, install): Declare with .PHONY.
18779 Reported by Michael Hope <michael.hope@linaro.org>.
18781 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18783 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18784 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18786 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18788 (sydep_routines): Add the new and the internal functions.
18789 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18790 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18792 (GLIBC_2.17): Add the new function.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18794 (GLIBC_2.17): Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18796 (GLIBC_2.17): Likewise.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18798 (GLIBC_2.17): Likewise.
18799 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18801 2012-09-25 Alan Modra <amodra@gmail.com>
18803 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18804 Add release barrier before setting once_control to say
18805 initialisation is done. Add hints on lwarx. Use macro in
18807 (clear_once_control): Add release barrier.
18809 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18812 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18814 * math/s_clog10.c (__clog10): Likewise.
18815 * math/s_clog10f.c (__clog10f): Likewise.
18816 * math/s_clog10l.c (__clog10l): Likewise.
18817 * math/s_clogf.c (__clogf): Likewise.
18818 * math/s_clogl.c (__clogl): Likewise.
18819 * math/Makefile (libm-calls): Add x2y2m1.
18820 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18821 (__x2y2m1): Likewise.
18822 (__x2y2m1l): Likewise.
18823 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18824 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18829 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18830 * sysdeps/i386/fpu/libm-test-ulps: Update.
18831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18834 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18835 int as type of variable DEPTH.
18836 (glob): Use size_t instead of int as type of variables NEWCOUNT
18839 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18841 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18842 Add s_sincosf-sse2.
18843 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18844 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18845 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18846 macros for using routine as __sincosf_ia32.
18847 Use macro for function declaration and weak_alias.
18848 * sysdeps/i386/fpu/libm-test-ulps: Update.
18850 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18853 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18854 subnormal argument.
18855 * math/s_cexpf.c (__cexpf): Likewise.
18856 * math/s_csinf.c (__csinf): Likewise.
18857 * math/s_csinhf.c (__csinhf): Likewise.
18858 * math/s_ctanf.c (__ctanf): Likewise.
18859 * math/s_ctanhf.c (__ctanhf): Likewise.
18860 * math/s_ccosh.c (__ccoshf): Likewise.
18861 * math/s_cexp.c (__cexpl): Likewise.
18862 * math/s_csin.c (__csin): Likewise.
18863 * math/s_csinh.c (__csinh): Likewise.
18864 * math/s_ctan.c (__ctan): Likewise.
18865 * math/s_ctanh.c (ctanh): Likewise.
18866 * math/s_ccoshl.c (__ccoshl): Likewise.
18867 * math/s_cexpl.c (__cexpl): Likewise.
18868 * math/s_csinl.c (__csinl): Likewise.
18869 * math/s_csinhl.c (__csinhl): Likewise.
18870 * math/s_ctanl.c (__ctanl): Likewise.
18871 * math/s_ctanhl.c (__ctanhl): Likewise.
18873 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18875 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18876 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18877 (_IO_off_t): Define to __off_t, not _G_off_t.
18878 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18879 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18880 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18881 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18882 type of __dummy and __dummy2 fields.
18883 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18884 (_G_ssize_t): Likewise.
18885 (_G_off_t): Likewise.
18886 (_G_pid_t): Likewise.
18887 (_G_uid_t): Likewise.
18888 (_G_wchar_t): Likewise.
18889 (_G_wint_t): Likewise.
18890 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18891 (_G_ssize_t): Likewise.
18892 (_G_off_t): Likewise.
18893 (_G_pid_t): Likewise.
18894 (_G_uid_t): Likewise.
18895 (_G_wchar_t): Likewise.
18896 (_G_wint_t): Likewise.
18897 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18898 (_G_ssize_t): Likewise.
18899 (_G_off_t): Likewise.
18900 (_G_pid_t): Likewise.
18901 (_G_uid_t): Likewise.
18902 (_G_wchar_t): Likewise.
18903 (_G_wint_t): Likewise.
18905 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18907 * malloc/arena.c: Include malloc-sysdep.h.
18908 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18909 is sufficient to shrink the heap or an unmap is needed.
18910 * sysdeps/generic/malloc-sysdep.h: New file. Define
18911 new function check_may_shrink_heap.
18912 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18913 new function check_may_shrink_heap.
18915 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18917 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18920 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18922 * catgets/test-gencat.sh: Add "set -e".
18923 * elf/tst-pathopt.sh: Likewise.
18924 * grp/tst_fgetgrent.sh: Likewise.
18925 * iconvdata/run-iconv-test.sh: Likewise.
18926 * intl/tst-gettext.sh: Likewise.
18927 * intl/tst-gettext2.sh: Likewise.
18928 * intl/tst-gettext4.sh: Likewise.
18929 * intl/tst-gettext6.sh: Likewise.
18930 * intl/tst-translit.sh: Likewise.
18931 * io/ftwtest-sh: Likewise.
18932 * libio/test-freopen.sh: Likewise.
18933 * malloc/tst-mtrace.sh: Likewise.
18934 * posix/globtest.sh: Likewise.
18935 * posix/tst-getconf.sh: Likewise.
18936 * posix/wordexp-tst.sh: Likewise.
18937 * stdio-common/tst-printf.sh: Likewise.
18938 * stdio-common/tst-unbputc.sh: Likewise.
18939 * stdlib/tst-fmtmsg.sh: Likewise.
18940 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18941 * catgets/Makefile: Do not specify -e option when running
18942 testsuite shell scripts.
18943 * elf/Makefile: Likewise.
18944 * grp/Makefile: Likewise.
18945 * iconvdata/Makefile: Likewise.
18946 * intl/Makefile: Likewise.
18947 * io/Makefile: Likewise.
18948 * libio/Makefile: Likewise.
18949 * malloc/Makefile: Likewise.
18950 * posix/Makefile: Likewise.
18951 * stdio-common/Makefile: Likewise.
18952 * stdlib/Makefile: Likewise.
18953 * sysdeps/x86_64/Makefile: Likewise.
18955 * io/ftwtest-sh: Add copyright header.
18956 * posix/globtest.sh: Likewise.
18957 * posix/tst-getconf.sh: Likewise.
18958 * posix/wordexp-tst.sh: Likewise.
18959 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18961 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18964 * Makeconfig (+link): Defined as $(+link-static) if
18965 $(build-shared) isn't yes.
18966 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18968 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18970 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18973 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18974 new chunk size with MALLOC_ALIGN_MASK.
18976 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18979 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18981 (__printf_fphex): Determine rounding using get_rounding_mode and
18983 * stdio-common/tst-printf-round.c (struct hex_test): New
18985 (hex_tests): New variable.
18986 (test_hex_in_one_mode): New function.
18987 (do_test): Also run tests for hex float output.
18989 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18991 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18992 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18993 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18994 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18995 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18996 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18997 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18998 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19000 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19002 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19003 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19004 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19005 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19007 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19010 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19012 * elf/tst-rtld-load-self.sh: New test.
19013 * elf/Makefile: Run it.
19015 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19017 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19018 (tst-writev-ENV): Remove.
19019 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19021 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19023 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19025 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19027 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19029 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19031 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19032 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19033 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19036 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19039 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19040 * config.make.in (have-cpp-asm-debuginfo): Removed.
19041 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19042 * configure: Regenerated.
19044 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19047 * stdio-common/printf_fp.c: Include <stdbool.h> and
19049 (___printf_fp): Determine rounding using get_rounding_mode and
19051 * stdio-common/tst-printf-round.c: New file.
19052 * stdio-common/Makefile (tests): Add tst-printf-round.
19053 (link-libm): New variable.
19054 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19056 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19059 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19060 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19062 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19065 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19067 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19068 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19069 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19070 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19072 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19075 * include/rounding-mode.h: New file.
19076 * sysdeps/generic/get-rounding-mode.h: Likewise.
19077 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19078 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19079 (MAX_VALUE): New macro.
19080 (MIN_VALUE): Likewise.
19081 (overflow_value): New function.
19082 (underflow_value): Likewise.
19083 (round_and_return): Use overflow_value and underflow_value to
19084 determine return values in overflow and underflow cases. Use
19085 round_away to determine rounding depending on rounding mode.
19086 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19087 determine return values in overflow and underflow cases.
19088 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19089 (struct test_results): New structure.
19090 (struct test): Use struct test_results to store expected results
19091 for all rounding modes.
19092 (TEST): Include expected results for all rounding modes.
19093 (test_in_one_mode): New function.
19094 (do_test): Use test_in_one_mode to compute and check results.
19095 Check results for all rounding modes.
19096 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19099 2012-12-09 Allan McRae <allan@archlinux.org>
19101 * sysdeps/i386/fpu/libm-test-ulps: Update
19103 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19105 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19106 (_G_int32_t): Likewise.
19107 (_G_uint16_t): Likewise.
19108 (_G_uint32_t): Likewise.
19109 (_G_HAVE_BOOL): Likewise.
19110 (_G_HAVE_ATEXIT): Likewise.
19111 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19112 (_G_HAVE_IO_FILE_OPEN): Likewise.
19113 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19114 (_G_int32_t): Likewise.
19115 (_G_uint16_t): Likewise.
19116 (_G_uint32_t): Likewise.
19117 (_G_HAVE_BOOL): Likewise.
19118 (_G_HAVE_ATEXIT): Likewise.
19119 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19120 (_G_HAVE_IO_FILE_OPEN): Likewise.
19121 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19122 (_G_int32_t): Likewise.
19123 (_G_uint16_t): Likewise.
19124 (_G_uint32_t): Likewise.
19125 (_G_HAVE_BOOL): Likewise.
19126 (_G_HAVE_ATEXIT): Likewise.
19127 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19128 (_G_HAVE_IO_FILE_OPEN): Likewise.
19130 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19132 * csu/libc-tls.c: Update copyright years.
19134 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19136 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19137 [!_G_USING_THUNKS]: Remove conditional code.
19138 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19139 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19141 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19142 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19143 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19144 (_G_VTABLE_LABEL_PREFIX): Likewise.
19145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19146 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19147 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19148 (_G_VTABLE_LABEL_PREFIX): Likewise.
19149 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19150 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19151 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19152 (_G_VTABLE_LABEL_PREFIX): Likewise.
19153 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19155 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19157 * libio/Makefile: Include ../Makeconfig before tests.
19158 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19159 only if $(build-shared) is yes.
19161 * iconv/gconv_db.c: Update copyright years.
19163 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19165 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19166 unwind info if defined PIC. Fix special cases description.
19167 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19169 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19171 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19173 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19175 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19177 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19180 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19181 (LDLIBS-tst-chk4): This.
19182 (LDFLAGS-tst-chk5): Renamed to ...
19183 (LDLIBS-tst-chk5): This.
19184 (LDFLAGS-tst-chk6): Renamed to ...
19185 (LDLIBS-tst-chk6): This.
19186 (LDFLAGS-tst-lfschk4): Renamed to ...
19187 (LDLIBS-tst-lfschk4): This.
19188 (LDFLAGS-tst-lfschk5): Renamed to ...
19189 (LDLIBS-tst-lfschk5): This.
19190 (LDFLAGS-tst-lfschk6): Renamed to ...
19191 (LDLIBS-tst-lfschk6): This.
19193 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19194 on $(common-objpfx)soversions.mk.
19196 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19199 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19202 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19204 * malloc/arena.c (arena_get_retry): New function that gets
19205 another arena for the caller to try its request on.
19206 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19207 current arena cannot fulfill the request.
19208 (__libc_memalign): Likewise.
19209 (__libc_memalign): Likewise.
19210 (__libc_pvalloc): Likewise.
19211 (__libc_calloc): Likewise.
19213 2012-09-05 John Tobey <john.tobey@gmail.com>
19216 * manual/arith.texi (Operations on Complex): Fix description
19217 of carg branch cut.
19219 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19222 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19226 * manual/memory.texi (Memory): Make order of menu items match
19229 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19231 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19232 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19233 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19235 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19237 * csu/libc-tls.c (static_dtv): Renamed to ...
19238 (_dl_static_dtv): This. Make it global.
19239 (_dl_initial_dtv): Removed.
19240 (__libc_setup_tls): Updated.
19241 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19242 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19245 2012-09-06 Petr Machata <pmachata@redhat.com>
19247 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19248 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19249 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19250 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19252 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19255 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19256 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19259 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19262 * Makeconfig (link-static-before-libc): Replace $(+prector)
19264 (link-static-after-libc): Replace $(+postctor) with
19266 (link-bounded): Replace $(+prector)/$(+postctor) with
19267 $(+prectorT)/$(+postctorT).
19268 (+prectorT): New macro.
19269 (+postctorT): Likewise.
19271 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19273 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19274 (round_str): Handle values above the maximum for IBM long double
19276 * stdlib/tst-strtod-round.c (tests): Regenerated.
19278 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19280 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19282 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19283 zarch_nohighgprs around the zarch optimized routines.
19284 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19285 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19286 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19289 2012-09-05 David S. Miller <davem@davemloft.net>
19291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19293 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19294 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19295 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19296 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19299 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19301 * malloc/arena.c: Fold copyright years.
19302 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19304 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19306 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19308 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19310 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19312 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19314 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19315 change internal state upon failure.
19317 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19319 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19320 * malloc/memusage.c (mmap): Likewise.
19321 (mmap64, mremap): Likewise. Adjust name in comment.
19323 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19325 * libio/fileops.c: Fix typos in comments.
19326 * libio/oldfileops.c: Likewise.
19327 * libio/wfileops.c: Likewise.
19329 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19332 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19333 (tst-malloc-usable-ENV): Set environment for test case.
19334 * malloc/hooks.c (malloc_check_get_size): New function to get
19336 * malloc/malloc.c (musable): Use malloc_check_get_size.
19337 * malloc/tst-malloc-usable.c: New test case.
19339 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19341 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19343 2012-09-05 Allan McRae <allan@archlinux.org>
19346 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19347 determine header location.
19348 * configure: Regenerated.
19350 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19352 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19354 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19355 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19357 (test): Regenerate.
19359 2012-09-04 David S. Miller <davem@davemloft.net>
19361 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19362 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19363 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19365 2012-09-04 Florian Weimer <fweimer@redhat.com>
19367 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19370 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19372 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19375 * libio/iogetdelim.c: Include <limits.h>.
19376 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19377 + len + 1 would overflow.
19379 2012-09-03 Andreas Jaeger <aj@suse.de>
19381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19382 * sysdeps/i386/fpu/libm-test-ulps: Update.
19384 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19386 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19387 Add s_sinf-sse2, s_conf-sse2.
19389 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19390 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19391 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19392 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19394 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19395 for using routine as __sinf_ia32.
19396 Use macro for function declaration and weak_alias.
19397 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19398 for using routine as __cosf_ia32.
19399 Use macro for function declaration and weak_alias.
19401 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19402 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19404 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19405 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19408 * math/libm-test.inc (cos_test): Add more test cases.
19409 (sin_test): Likewise.
19410 (sincos_test): Likewise.
19412 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19414 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19415 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19417 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19419 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19422 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19423 first element of the GOT.
19424 (elf_machine_load_address): Return the difference between
19425 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19427 2012-09-01 Allan McRae <allan@archlinux.org>
19430 * configure.in (AWK): Require gawk version 3.0 or later.
19431 * configure: Regenerated.
19433 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19435 * sysdeps/unix/sysv/linux/kernel-features.h
19436 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19437 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19438 [__NR_clock_getres]: Make code unconditional.
19439 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19440 (clock_getcpuclockid): Remove code left unreachable by removal of
19442 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19443 code unconditional.
19444 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19445 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19446 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19447 Make code unconditional.
19448 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19449 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19450 * sysdeps/unix/sysv/linux/clock_settime.c
19451 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19453 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19454 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19456 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19459 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19460 scripts/test-installation.pl.
19462 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19463 and $ld_so_version if it is set.
19465 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19468 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19469 failure if reading from procfs failed.
19470 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19472 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19474 * sysdeps/unix/sysv/linux/kernel-features.h
19475 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19476 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19477 Remove conditional code.
19478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19479 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19480 Remove conditional code.
19481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19482 * sysdeps/unix/sysv/linux/i386/fxstat.c
19483 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19485 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19486 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19488 * sysdeps/unix/sysv/linux/i386/lxstat.c
19489 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19491 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19492 Remove conditional code.
19493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19494 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19495 Remove conditional code.
19496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19497 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19498 <kernel-features.h>.
19499 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19501 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19502 Remove conditional code.
19503 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19504 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19505 Remove conditional.
19507 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19510 * NEWS: Add fixed bug number.
19512 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19515 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19516 underflowing exponent in case of negative sign.
19517 * stdlib/tst-strtod-round-data: Add more tests.
19518 * stdlib/tst-strtod-round.c (tests): Regenerated.
19521 * stdlib/strtod_l.c (NDIG): Remove.
19522 (HEXNDIG): Likewise.
19523 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19524 smallest representable value.
19525 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19526 lie within an exact representation of 1/2 ulp of the result.
19527 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19529 (TENS_P9_IDX): Define unconditionally.
19530 (TENS_P9_SIZE): Likewise.
19531 (TENS_P10_IDX): Likewise.
19532 (TENS_P10_SIZE): Likewise.
19533 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19534 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19535 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19536 entries for 10^2^13 and 10^2^14.
19537 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19538 (TENS_P13_IDX): Define.
19539 (TENS_P13_SIZE): Likewise.
19540 (TENS_P14_IDX): Likewise.
19541 (TENS_P14_SIZE): Likewise.
19542 (_fpioconst_pow10): Change array size to
19543 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19545 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19546 1024]: Add entries for 10^2^13 and 10^2^14.
19547 [LAST_POW10 > _LAST_POW10]: Remove #error.
19548 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19549 (_fpioconst_pow10): Change array size to
19550 FPIOCONST_POW10_ARRAY_SIZE.
19551 * stdlib/gen-fpioconst.c: New file.
19552 * stdlib/gen-tst-strtod-round.c: Likewise.
19553 * stdlib/tst-strtod-round-data: Likewise.
19554 * stdlib/tst-strtod-round.c: Likewise.
19555 * stdlib/Makefile (tests): Add tst-strtod-round.
19558 * stdlib/strtod_l.c: Include <stdint.h>.
19559 (NDEBUG): Do not define.
19560 (round_and_return): Change EXPONENT parameter to type intmax_t.
19561 Rearrange calculations to avoid internal overflow possibilities.
19562 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19563 Rearrange calculations to avoid internal overflow possibilities.
19564 Assert that number fits inside MPNSIZE limbs.
19565 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19566 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19567 calculations and add assertions to avoid internal overflow
19568 possibilities. Add casts to avoid signed/unsigned operations.
19569 * stdlib/tst-strtod-overflow.c: New file.
19570 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19572 2012-08-25 Marek Polacek <polacek@redhat.com>
19574 * time/time.h: Fix some typos in comments.
19576 2012-08-23 Roland McGrath <roland@hack.frob.com>
19578 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19579 * posix/tst-rfc3484-2.c: Likewise.
19580 * posix/tst-rfc3484-3.c: Likewise.
19582 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19584 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19585 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19587 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19589 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19590 #include of fxstatat64.c.
19592 2012-08-22 Roland McGrath <roland@hack.frob.com>
19594 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19595 * shadow/getspent_r.c: Likewise.
19596 * shadow/getspnam.c: Likewise.
19597 * shadow/getspnam_r.c: Likewise.
19598 * gshadow/getsgent.c: Likewise.
19599 * gshadow/getsgent_r.c: Likewise.
19600 * gshadow/getsgnam.c: Likewise.
19601 * gshadow/getsgnam_r.c: Likewise.
19602 * inet/getnetbyad.c: Likewise.
19603 * inet/getnetbyad_r.c: Likewise.
19604 * inet/getnetbynm.c: Likewise.
19605 * inet/getnetbynm_r.c: Likewise.
19606 * inet/getnetent.c: Likewise.
19607 * inet/getnetent_r.c: Likewise.
19608 * inet/getproto.c: Likewise.
19609 * inet/getproto_r.c: Likewise.
19610 * inet/getprtent.c: Likewise.
19611 * inet/getprtent_r.c: Likewise.
19612 * inet/getprtname.c: Likewise.
19613 * inet/getprtname_r.c: Likewise.
19614 * inet/getrpcbyname.c: Likewise.
19615 * inet/getrpcbyname_r.c: Likewise.
19616 * inet/getrpcbynumber.c: Likewise.
19617 * inet/getrpcbynumber_r.c: Likewise.
19618 * inet/getrpcent.c: Likewise.
19619 * inet/getrpcent_r.c: Likewise.
19620 * inet/getaliasent.c: Likewise.
19621 * inet/getaliasent_r.c: Likewise.
19622 * inet/getaliasname.c: Likewise.
19623 * inet/getaliasname_r.c: Likewise.
19624 * nscd/getgrgid_r.c: Likewise.
19625 * nscd/getgrnam_r.c: Likewise.
19626 * nscd/gethstbyad_r.c: Likewise.
19627 * nscd/gethstbynm3_r.c: Likewise.
19628 * nscd/getpwnam_r.c: Likewise.
19629 * nscd/getpwuid_r.c: Likewise.
19630 * nscd/getsrvbynm_r.c: Likewise.
19631 * nscd/getsrvbypt_r.c: Likewise.
19632 * nscd/gai.c: Likewise.
19634 * configure.in (build_nscd): New substituted variable, set
19635 by --disable-build-nscd and defaults to $use_nscd.
19636 * configure: Regenerated.
19637 * config.make.in (build-nscd): New substituted variable.
19638 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19639 Change conditional to require [$(build-nscd) = yes] as well.
19640 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19643 * configure.in (use_nscd): New substituted variable, set by
19644 --disable-nscd. If enabled, define USE_NSCD.
19645 * configure: Regenerated.
19646 * config.h.in: Add USE_NSCD.
19647 * config.make.in (use-nscd): New substituted variable.
19648 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19649 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19650 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19651 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19652 (CFLAGS-getgrnam_r.c): Likewise.
19653 (CFLAGS-initgroups.c): Likewise.
19654 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19655 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19657 * inet/getnetgrent_r.c
19658 (nscd_setnetgrent): New function, broken out of ...
19659 (setnetgrent): ... here. Call it.
19660 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19661 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19662 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19663 * nscd/Makefile (routines, aux): Move definitions after include of
19664 Makeconfig. Conditionalize on [$(use-nscd) != no].
19665 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19666 Conditionalize on [USE_NSCD].
19667 (is_nscd, nscd_init_cb): Likewise.
19668 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19669 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19670 * nss/nss_db/db-init.c: Likewise.
19671 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19673 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19674 (make_request): Use it.
19675 (cache_valid_p): New function.
19676 (__check_pf): Use it.
19677 * NEWS: Add item for --disable-nscd.
19679 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19681 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19682 to support sed >= 4.2.1-20-ga9bf076.
19683 * configure: Regenerated.
19685 2012-08-22 Roland McGrath <roland@hack.frob.com>
19687 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19688 Conditionalize whole body on [IREL].
19690 2012-08-22 Jeff Law <law@redhat.com>
19693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19694 if the family is PF_UNSPEC.
19696 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19698 * Makerules (lib-version): Rename from V.
19699 (install-lib-nosubdir): Change V to lib-version.
19701 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19704 * powerpc32/power6/wcschr.c: New file.
19705 * powerpc32/power6/wcscpy.c: New file.
19706 * powerpc32/power6/wcsrchr.c: New file.
19707 * powerpc64/power6/wcschr.c: New file.
19708 * powerpc64/power6/wcscpy.c: New file.
19709 * powerpc64/power6/wcsrchr.c: New file.
19711 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19713 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19714 (two_way_short_needle): Use it.
19715 * string/strstr.c (AVAILABLE1_USES_J): Define.
19716 * string/strcasestr.c: Likewise.
19718 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19720 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19723 * NEWS: Add an entry.
19724 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19725 define their defaults.
19726 (two_way_short_needle): Detect end-of-string on-the-fly.
19727 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19728 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19729 * string/bug-strcasestr1.c: New test.
19730 * string/Makefile: Run it.
19732 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19735 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19736 the first character.
19738 2012-08-21 Roland McGrath <roland@hack.frob.com>
19740 * csu/elf-init.c (__libc_csu_irel): Function removed.
19741 * csu/libc-start.c (apply_irel): New function.
19742 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19744 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19746 * sysdeps/unix/sysv/linux/kernel-features.h
19747 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19748 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19749 <kernel-features.h>.
19750 [__NR_fadvise64_64]: Make code unconditional.
19751 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19752 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19753 !__NR_fadvise64_64)]: Likewise.
19754 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19755 !__NR_fadvise64_64))]: Likewise.
19756 [__NR_fadvise64]: Make code unconditional.
19757 [!__NR_fadvise64]: Remove conditional code.
19758 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19759 <kernel-features.h>.
19760 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19762 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19765 not include <kernel-features.h>.
19766 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19768 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19770 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19771 include <kernel-features.h>.
19772 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19774 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19777 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19780 slight instruction rearrangements per scrollpipe analysis.
19781 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19783 2012-08-20 Roland McGrath <roland@hack.frob.com>
19785 * manual/syslog.texi (syslog; vsyslog, closelog):
19786 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19787 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19789 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19790 DSOCAPS to match condition on defining it.
19792 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19794 * sysdeps/unix/sysv/linux/kernel-features.h
19795 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19797 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19798 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19800 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19801 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19803 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19804 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19806 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19807 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19809 * sysdeps/unix/sysv/linux/kernel-features.h
19810 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19811 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19813 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19814 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19815 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19816 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19817 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19818 Make code unconditional.
19819 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19820 (__mmap64) [!__NR_mmap2]: Likewise.
19821 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19822 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19823 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19824 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19825 [__NR_mmap2]: Make code unconditional.
19826 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19827 (__mmap64) [!__NR_mmap2]: Likewise.
19829 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19831 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19833 2012-08-18 Andreas Jaeger <aj@suse.de>
19835 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19837 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19839 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19840 * include/unistd.h (__have_sock_cloexec): Likewise.
19841 (__have_pipe2): Likewise.
19842 (__have_dup3): Likewise.
19844 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19847 * include/unistd.h (__have_pipe2): Change define into an extern int.
19848 (__have_dup3): Likewise.
19849 * socket/have_sock_cloexec.c: Include fcntl.h.
19850 (__have_pipe2): New variable.
19851 (__have_dup3): Likewise.
19853 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19855 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19857 2012-08-17 Marek Polacek <polacek@redhat.com>
19859 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19860 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19862 2012-08-17 Roland McGrath <roland@hack.frob.com>
19864 * configure.in: Add AC_SUBST for sysheaders.
19865 * configure: Regenerated.
19866 * config.make.in (sysheaders): New substituted variable.
19868 * sysdeps/unix/mkfifo.c: Moved ...
19869 * sysdeps/posix/mkfifo.c: ... here.
19870 * sysdeps/unix/mkfifoat.c: Moved ...
19871 * sysdeps/posix/mkfifoat.c: ... here.
19873 * sysdeps/unix/utime.c: Moved ...
19874 * sysdeps/posix/utime.c: ... here.
19876 * sysdeps/unix/time.c: Moved ...
19877 * sysdeps/posix/time.c: ... here.
19878 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19879 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19881 * sysdeps/unix/nice.c: Moved ...
19882 * sysdeps/posix/nice.c: ... here.
19884 * sysdeps/unix/alarm.c: Moved ...
19885 * sysdeps/posix/alarm.c: ... here.
19887 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19889 2012-08-17 Jeff Law <law@redhat.com>
19891 * intl/Makefile (codeset_mo): New variable.
19892 ($(codeset_mo)): New target.
19893 (tst-codeset.out): Depend on that. Remove explicit rule.
19894 (tst-gettext3.out, tst-gettext5.out): Likewise.
19895 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19896 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19897 * intl/tst-codeset.sh: Remove.
19898 * intl/tst-gettext3.sh: Likewise.
19899 * intl/tst-gettext5.sh: Likewise.
19901 2012-08-17 Roland McGrath <roland@hack.frob.com>
19903 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19904 * sysdeps/unix/syscalls.list: ... here.
19906 * sysdeps/posix/getaddrinfo.c
19907 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19908 (gaiconf_init, gaiconf_reload): Use them.
19909 [!_STATBUF_ST_NSEC]
19910 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19911 Define using time_t rather than struct timespec.
19913 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19914 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19916 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19918 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19919 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19922 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19923 __libc_cleanup_push argument.
19925 * bits/param.h: New file.
19926 * misc/sys/param.h: New file.
19927 * include/sys/param.h: New file.
19928 * misc/Makefile (headers): Add bits/param.h.
19929 * sysdeps/generic/sys/param.h: File removed.
19930 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19931 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19932 * sysdeps/mach/hurd/bits/param.h: New file.
19933 * sysdeps/mach/hurd/sys/param.h: File removed.
19935 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19938 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19940 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19941 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19944 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19945 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19946 rather than -D_IO_MTSAFE_IO conditionally.
19947 * stdio-common/Makefile (CPPFLAGS): Likewise.
19948 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19949 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19950 Use $(libio-mtsafe).
19951 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19952 of -D_IO_MTSAFE_IO.
19953 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19954 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19955 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19956 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19957 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19958 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19959 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19960 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19961 (CFLAGS-fread_u_chk.c): Likewise.
19962 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19963 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19964 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19965 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19966 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19967 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19968 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19969 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19970 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19972 * libio/Makefile: Test [$(libc-reentrant) = yes]
19973 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19976 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19977 * sysdeps/pthread/configure: File removed.
19978 * sysdeps/pthread/Makeconfig: New file.
19979 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19980 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19982 2012-08-16 Gary Benson <gbenson@redhat.com>
19984 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19985 unmapping the first object in a namespace.
19987 2012-08-16 Roland McGrath <roland@hack.frob.com>
19989 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19990 (__internal_setnetgrent): ... this. Add internal_function to
19991 definition. Add libc_hidden_def.
19992 (setnetgrent): Update caller.
19993 (internal_endnetgrent): Renamed to ...
19994 (__internal_endnetgrent): ... this. Add internal_function to
19995 definition. Add libc_hidden_def.
19996 (endnetgrent): Update caller.
19997 (internal_getnetgrent_r): Renamed to ...
19998 (__internal_getnetgrent_r): ... this. Add internal_function to
19999 definition. Add libc_hidden_def.
20000 (__getnetgrent_r): Update caller.
20001 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20003 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20005 * stdlib/longlong.h: Update from GCC.
20007 2012-08-16 Roland McGrath <roland@hack.frob.com>
20009 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20010 on _QL, which is set by umul_ppmm but never used.
20011 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20012 variables, which are set by GMP macros but never used.
20013 * stdio-common/_itowa.c (_itowa): Likewise.
20014 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20015 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20017 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20019 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20020 struct La_sh_regs is not constant.
20021 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20022 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20023 and struct La_sparc64_regs are not constant.
20025 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20027 * sysdeps/unix/sysv/linux/kernel-features.h
20028 (__ASSUME_POSIX_TIMERS): Remove.
20029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20031 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20032 Make code unconditional.
20033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20035 Make code unconditional.
20036 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20037 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20038 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20039 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20040 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20041 Make code unconditional.
20042 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20043 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20044 (__libc_missing_posix_timers): Remove.
20046 2012-08-15 Roland McGrath <roland@hack.frob.com>
20048 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20049 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20051 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20053 * elf/dl-sym.c: Include <stdlib.h>.
20055 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20056 constants, which avoids warnings in 32-bit builds.
20058 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20059 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20061 * misc/lseek.c: File moved to ...
20062 * io/lseek.c: ... here.
20064 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20066 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20067 shifting LEN more than 31 bits at once.
20069 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20072 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20073 segmentation fault for a case of two empty input strings.
20074 * string/test-strncasecmp.c (check1): Renamed to...
20075 (bz12205): ...this.
20076 (bz14195): Add new testcase for two empty input strings and N > 0.
20077 (test_main): Call new testcase, adapt for renamed function.
20079 2012-08-15 Andreas Jaeger <aj@suse.de>
20082 * crypt/md5test2.c: New test, based on test supplied by Serge
20083 Belyshev <belyshev@depni.sinp.msu.ru>.
20084 * crypt/Makefile (xtests): Add md5test-giant..
20085 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20087 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20090 * crypt/md5.c (md5_process_block): Don't assume the buffer
20091 length is less than 2**32.
20092 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20093 length is less than 2**64.
20095 2012-08-15 Roland McGrath <roland@hack.frob.com>
20097 * string/str-two-way.h: Include <sys/param.h>.
20098 (MAX): Macro removed.
20100 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20101 Move #define and #undef of memmove to just before and after
20102 including <string.h>.
20104 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20105 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20106 and after including <string.h>. Move declarations of
20107 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20108 to before #include "string/memmove.c".
20110 * include/dirent.h: Declare __getdirentries.
20112 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20113 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20115 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20117 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20118 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20119 * sysdeps/i386/configure: Regenerated.
20120 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20121 STABS_CURRENT_FILE, and STABS_FUN.
20122 (END): Remove call to STABS_FUN_END.
20123 (STABS_CURRENT_FILE1): Delete.
20124 (STABS_CURRENT_FILE): Likewise.
20125 (STABS_FUN): Likewise.
20126 (STABS_FUN_END): Likewise.
20127 (STABS_FUN2): Likewise.
20128 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20129 * sysdeps/x86_64/configure: Regenerated.
20131 2012-08-14 Roland McGrath <roland@hack.frob.com>
20133 * elf/dl-open.c: Include <atomic.h>.
20134 * elf/dl-lookup.c: Likewise.
20136 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20138 * sysdeps/unix/sysv/linux/kernel-features.h
20139 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20140 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20142 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20144 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20145 condition on __ASSUME_CLONE_THREAD_FLAGS.
20147 2012-08-14 Andreas Jaeger <aj@suse.de>
20149 * sysdeps/i386/fpu/libm-test-ulps: Update.
20151 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20153 * include/atomic.h (atomic_exchange_and_add): Split into ...
20154 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20157 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20161 2012-08-13 Jeff Law <law@redhat.com>
20163 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20164 null byte in the output string.
20166 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20168 * sysdeps/unix/sysv/linux/kernel-features.h
20169 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20170 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20171 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20172 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20173 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20174 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20175 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20177 2012-08-09 Jeff Law <law@redhat.com>
20180 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20181 When avoid_arena is set, don't retry in the that arena. Pick the
20182 next one, whatever it might be.
20183 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20184 (arena_lock): Pass in new parameter to arena_get2.
20185 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20187 (__libc_malloc): Unify retrying after main arena failure with
20188 __libc_memalign version.
20189 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20191 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20194 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20195 to __redirect_strstr.
20196 (__strstr_sse42): Use typeof __redirect_strstr.
20197 (__strstr_ia32): Likewise.
20198 (__libc_strstr): New prototype.
20199 (strstr): Renamed to ...
20200 (__libc_strstr): This.
20201 (strstr): New strong alias of __libc_strstr.
20202 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20203 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20206 (__libc_time): New prototype.
20207 (time_ifunc): Replace time with __libc_time.
20208 (time): New strong alias and hidden definition of __libc_time.
20209 (__GI_time): Remove strong alias.
20210 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20211 Include <stddef.h>.
20212 (memmove): Redefined to __redirect_memmove.
20213 (__memmove_sse2): Use typeof __redirect_memmove.
20214 (__memmove_ssse3): Likewise.
20215 (__memmove_ssse3_back): Likewise.
20216 (__libc_memmove): New prototype.
20217 (memmove): Renamed to ...
20218 (__libc_memmove): This.
20219 (memmove): New strong alias of __libc_memmove.
20221 2012-08-08 Mark Salter <msalter@redhat.com>
20224 (R_MN10300_TLS_GD): Define.
20225 (R_MN10300_TLS_LD): Likewise.
20226 (R_MN10300_TLS_LDO): Likewise.
20227 (R_MN10300_TLS_GOTIE): Likewise.
20228 (R_MN10300_TLS_IE): Likewise.
20229 (R_MN10300_TLS_LE): Likewise.
20230 (R_MN10300_TLS_DTPMOD): Likewise.
20231 (R_MN10300_TLS_DTPOFF): Likewise.
20232 (R_MN10300_TLS_TPOFF): Likewise.
20233 (R_MN10300_SYM_DIFF): Likewise.
20234 (R_MN10300_ALIGN): Likewise.
20235 (R_MN10300_NUM): Update.
20237 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20242 2012-08-08 Roland McGrath <roland@hack.frob.com>
20244 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20246 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20247 sysdeps/unix -> sysdeps/posix move.
20248 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20250 2012-08-07 Allan McRae <allan@archlinux.org>
20253 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20254 (SUNOS_CPP): Likewise.
20255 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20257 (open_input): Call CPP using execvp.
20259 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20261 * sysdeps/unix/sysv/linux/kernel-features.h
20262 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20263 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20264 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20265 (__ASSUME_WAITID_SYSCALL): Likewise.
20266 * sysdeps/unix/sysv/linux/dl-execstack.c
20267 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20268 code unconditional.
20269 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20272 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20273 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20275 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20277 [__ASSUME_WAITID_SYSCALL]: Likewise.
20278 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20280 2012-08-07 Roland McGrath <roland@hack.frob.com>
20282 * sysdeps/unix/closedir.c: Renamed to ...
20283 * sysdeps/posix/closedir.c: ... here.
20284 * sysdeps/unix/dirfd.c: Renamed to ...
20285 * sysdeps/posix/dirfd.c: ... here.
20286 * sysdeps/unix/dirstream.h: Renamed to ...
20287 * sysdeps/posix/dirstream.h: ... here.
20288 * sysdeps/unix/fdopendir.c: Renamed to ...
20289 * sysdeps/posix/fdopendir.c: ... here.
20290 * sysdeps/unix/opendir.c: Renamed to ...
20291 * sysdeps/posix/opendir.c: ... here.
20292 * sysdeps/unix/readdir.c: Renamed to ...
20293 * sysdeps/posix/readdir.c: ... here.
20294 * sysdeps/unix/readdir_r.c: Renamed to ...
20295 * sysdeps/posix/readdir_r.c: ... here.
20296 * sysdeps/unix/rewinddir.c: Renamed to ...
20297 * sysdeps/posix/rewinddir.c: ... here.
20298 * sysdeps/unix/seekdir.c: Renamed to ...
20299 * sysdeps/posix/seekdir.c: ... here.
20300 * sysdeps/unix/telldir.c: Renamed to ...
20301 * sysdeps/posix/telldir.c: ... here.
20302 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20303 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20304 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20305 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20307 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20308 * bits/fcntl.h: ... here.
20310 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20312 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20313 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20314 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20315 (struct flock): Move l_start, l_len to the beginning.
20316 Use __pid_t for l_pid.
20317 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20318 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20319 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20320 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20321 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20322 [__USE_LARGEFILE64] (struct flock64): New type.
20323 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20325 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20326 * bits/dirent.h: ... here.
20328 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20329 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20331 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20333 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20334 Change from 2.6.0 to 2.6.16.
20335 * sysdeps/unix/sysv/linux/configure: Regenerated.
20336 * sysdeps/unix/sysv/linux/kernel-features.h
20337 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20338 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20340 (__ASSUME_UTIMES): Likewise.
20341 (__ASSUME_CLONE_STOPPED): Remove.
20342 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20343 architectures, not kernel version.
20344 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20345 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20346 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20347 (__ASSUME_WAITID_SYSCALL): Likewise.
20348 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20349 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20350 * README: State 2.6.16 as minimum Linux kernel version. Do not
20351 refer to older versions.
20353 2012-08-06 Roland McGrath <roland@hack.frob.com>
20355 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20356 Define alphasort64 as an alias.
20357 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20358 Define versionsort64 as an alias.
20359 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20360 Define scandir64 as an alias.
20361 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20362 Define scandirat64 as an alias.
20363 * dirent/alphasort64.c (alphasort64):
20364 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20365 * dirent/versionsort64.c: Likewise.
20366 * dirent/scandir64.c: Likewise.
20367 * dirent/scandirat64.c: Likewise.
20368 * sysdeps/wordsize-64/alphasort.c: File removed.
20369 * sysdeps/wordsize-64/alphasort64.c: File removed.
20370 * sysdeps/wordsize-64/scandir.c: File removed.
20371 * sysdeps/wordsize-64/scandir64.c: File removed.
20372 * sysdeps/wordsize-64/scandirat.c: File removed.
20373 * sysdeps/wordsize-64/scandirat64.c: File removed.
20374 * sysdeps/wordsize-64/versionsort.c: File removed.
20375 * sysdeps/wordsize-64/versionsort64.c: File removed.
20376 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20377 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20378 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20379 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20380 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20381 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20382 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20383 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20385 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20387 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20389 [defined __arch64__ || defined __sparcv9]
20390 (__INO_T_MATCHES_INO64_T): New macro.
20391 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20392 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20393 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20394 * sysdeps/unix/sysv/linux/bits/dirent.h
20395 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20396 (_DIRENT_MATCHES_DIRENT64): New macro.
20398 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20399 Define lockf64 as an alias.
20400 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20401 Define fseeko64 as an alias.
20402 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20403 Define ftello64 as an alias.
20404 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20405 Define _IO_fgetpos64 and fgetpos64 as aliases.
20406 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20407 Define _IO_fsetpos64 and fsetpos64 as aliases.
20408 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20409 Conditionalize body on this.
20410 * libio/fseeko64.c: Likewise.
20411 * libio/ftello64.c: Likewise.
20412 * libio/iofgetpos64.c: Likewise.
20413 * libio/iofsetpos64.c: Likewise.
20414 * sysdeps/wordsize-64/lockf.c: File removed.
20415 * sysdeps/wordsize-64/lockf64.c: File removed.
20416 * sysdeps/wordsize-64/fseeko.c: File removed.
20417 * sysdeps/wordsize-64/fseeko64.c: File removed.
20418 * sysdeps/wordsize-64/ftello.c: File removed.
20419 * sysdeps/wordsize-64/ftello64.c: File removed.
20420 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20421 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20422 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20423 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20424 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20425 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20426 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20427 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20428 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20429 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20430 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20431 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20432 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20433 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20435 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20437 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20439 [defined __arch64__ || defined __sparcv9]
20440 (__OFF_T_MATCHES_OFF64_T): New macro.
20441 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20442 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20444 (__OFF_T_MATCHES_OFF64_T): New macro.
20446 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20448 * stdlib/secure-getenv.c (__secure_getenv): Replace
20449 GLIBC_2_16 with GLIBC_2_17.
20451 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20453 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20454 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20456 2012-08-03 David S. Miller <davem@davemloft.net>
20458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20460 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20462 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20464 (__ASSUME_CORRECT_SI_PID): Likewise.
20465 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20466 (__ASSUME_TMPFS_NAME): Likewise.
20467 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20468 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20469 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20470 (HAVE_AUX_SECURE): Make definition unconditional.
20471 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20472 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20474 2012-08-03 Roland McGrath <roland@hack.frob.com>
20476 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20477 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20478 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20479 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20480 __eloop_threshold instead of SYMLOOP_MAX.
20482 * sysdeps/generic/eloop-threshold.h: New file.
20483 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20485 * elf/chroot_canon.c (chroot_canon): Likewise.
20487 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20491 Change to 2.6.0 everywhere.
20492 * sysdeps/unix/sysv/linux/configure: Regenerated.
20493 * sysdeps/unix/sysv/linux/kernel-features.h
20494 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20495 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20497 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20498 (__ASSUME_FUTEX_REQUEUE): Remove.
20499 (__ASSUME_STATFS64): Define unconditionally.
20500 (__ASSUME_AT_SECURE): Likewise.
20501 (__ASSUME_CORRECT_SI_PID): Likewise.
20502 (__ASSUME_TGKILL): Define without depending on kernel version for
20504 (__ASSUME_UTIMES): Likewise.
20505 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20507 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20508 (__ASSUME_TMPFS_NAME): Likewise.
20509 * README: Update reference to Linux kernel versions.
20511 2012-08-02 Marek Polacek <polacek@redhat.com>
20514 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20515 libc_cv_asm_type_prefix with %.
20516 * configure: Regenerated.
20517 * include/libc-symbols.h: Remove comment about
20518 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20519 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20520 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20521 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20522 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20523 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20524 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20525 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20526 * elf/tst-unique2mod1.c: Likewise.
20527 * elf/tst-unique1mod2.c: Likewise.
20528 * elf/tst-unique1mod1.c: Likewise.
20529 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20530 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20531 Replace ASM_TYPE_DIRECTIVE with .type.
20532 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20533 * sysdeps/i386/sysdep.h: Likewise.
20534 * sysdeps/x86_64/sysdep.h: Likewise.
20535 * sysdeps/sh/sysdep.h: Likewise.
20536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20537 Do not define ASM_TYPE_DIRECTIVE.
20538 * sysdeps/powerpc/sysdep.h: Likewise.
20539 * sysdeps/powerpc/powerpc32/sysdep.h:
20540 Replace ASM_TYPE_DIRECTIVE with .type.
20541 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20542 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20543 * sysdeps/i386/fpu/e_powf.S: Likewise.
20544 * sysdeps/i386/fpu/e_expl.S: Likewise.
20545 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20546 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20547 * sysdeps/i386/fpu/e_pow.S: Likewise.
20548 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20550 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20551 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20552 * sysdeps/i386/fpu/e_log2.S: Likewise.
20553 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20554 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20555 * sysdeps/i386/fpu/e_powl.S: Likewise.
20556 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20557 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20558 * sysdeps/i386/fpu/e_logl.S: Likewise.
20559 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20560 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20561 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20562 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20563 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20564 * sysdeps/i386/fpu/e_log.S: Likewise.
20565 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20566 * sysdeps/i386/fpu/e_logf.S: Likewise.
20567 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20568 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20569 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20570 * sysdeps/i386/fpu/e_log10.S: Likewise.
20571 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20572 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20573 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20574 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20575 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20576 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20577 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20578 * sysdeps/i386/i686/strtok.S: Likewise.
20579 * sysdeps/i386/i386-mcount.S: Likewise.
20580 * sysdeps/i386/strtok.S: Likewise.
20581 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20582 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20583 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20584 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20585 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20586 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20587 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20588 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20589 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20590 * sysdeps/x86_64/_mcount.S: Likewise.
20591 * sysdeps/x86_64/strtok.S: Likewise.
20592 * sysdeps/sh/_mcount.S: Likewise.
20594 2012-08-01 Roland McGrath <roland@hack.frob.com>
20596 * libio/iofopen.c: Include <fcntl.h>.
20597 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20598 (_IO_fopen64, fopen64): Define as aliases.
20599 * libio/iofopen64.c: Include <fcntl.h>.
20600 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20601 Conditionalize body on this.
20602 * sysdeps/wordsize-64/iofopen.c: File removed.
20603 * sysdeps/wordsize-64/iofopen64.c: File removed.
20605 2012-08-01 Marek Polacek <polacek@redhat.com>
20607 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20608 Use dlfcn directly instead of a variable.
20609 (binfmt-subdir): Do not define.
20612 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20614 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20615 Remove all definitions.
20616 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20617 <kernel-features.h>.
20618 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20619 (miss_F_GETOWN_EX): Remove all definitions.
20620 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20622 [!__ASSUME_FCNTL64]: Remove conditional code.
20623 [__ASSUME_FCNTL64]: Make code unconditional.
20624 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20625 <kernel-features.h>.
20626 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20627 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20628 (lockf64) [__NR_fcntl64]: Make code unconditional.
20629 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20631 * sysdeps/unix/sysv/linux/kernel-features.h
20632 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20633 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20634 Make code unconditional.
20635 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20636 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20638 [__NR_vfork]: Make code unconditional.
20639 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20640 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20642 [__NR_vfork]: Make code unconditional.
20643 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20644 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20646 2012-08-01 Roland McGrath <roland@hack.frob.com>
20648 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20649 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20651 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20652 Define mkstemp64 as an alias.
20653 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20654 Define mkstemps64 as an alias.
20655 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20656 Define mkostemp64 as an alias.
20657 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20658 Define mkostemps64 as an alias.
20659 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20660 Conditionalize body on this.
20661 * misc/mkostemp64.c: Likewise.
20662 * misc/mkostemps64.c: Likewise.
20663 * misc/mkstemps64.c: Likewise.
20664 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20665 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20666 * sysdeps/wordsize-64/mkostemp.c: File removed.
20667 * sysdeps/wordsize-64/mkstemp.c: File removed.
20668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20669 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20670 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20671 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20674 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20675 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20676 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20677 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20679 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20680 compat_symbol macros from <shlib-compat.h> rather than the underlying
20681 default_symbol_version and symbol_version macros, so that DEFAULT
20682 lines in shlib-versions are respected.
20683 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20685 2012-08-01 Florian Weimer <fweimer@redhat.com>
20687 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20688 Declare with warn_unused_result.
20689 (setgid, setregid, setegid, setresgid): Likewise.
20690 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20692 * WUR-REPORT: Remove set*id functions.
20694 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20696 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20698 2012-07-31 Roland McGrath <roland@hack.frob.com>
20701 * include/sys/socket.h (__libc_accept, __libc_accept4):
20702 Add attribute_hidden.
20703 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20705 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20707 * inet/getnetgrent_r.c (setup): Likewise.
20709 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20711 2012-07-31 David S. Miller <davem@davemloft.net>
20713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20715 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20718 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20719 value between 1.0 and 2.0 and smaller part has absolute value less
20721 * math/s_clog10.c (__clog10): Likewise.
20722 * math/s_clog10f.c (__clog10f): Likewise.
20723 * math/s_clog10l.c (__clog10l): Likewise.
20724 * math/s_clogf.c (__clogf): Likewise.
20725 * math/s_clogl.c (__clogl): Likewise.
20726 * math/libm-test.inc (clog_test): Add more tests.
20727 (clog10_test): Likewise.
20728 * sysdeps/i386/fpu/libm-test-ulps: Update.
20729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20731 2012-07-31 Florian Weimer <fweimer@redhat.com>
20733 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20734 Exit with zero in case no suitable GID is found, and write a
20735 message to standard error.
20737 2012-07-30 Roland McGrath <roland@hack.frob.com>
20739 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20741 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20742 (MAXPATHLEN): Removed.
20743 (NOGROUP, NODEV): New macros.
20744 (setbit, clrbit, isset, isclr): New macros.
20745 (howmany, roundup, powerof2): New macros.
20746 (DEV_BSIZE): New macro.
20748 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20749 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20751 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20752 definition on [!__NO_LONG_DOUBLE_MATH].
20754 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20755 PTR_MANGLE and PTR_DEMANGLE.
20757 * socket/accept4.c (accept4): Rename to __libc_accept4.
20758 Define accept4 as a weak alias.
20760 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20761 on [_DIRENT_HAVE_D_TYPE].
20762 * io/ftw.c (ftw_dir): Likewise.
20764 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20766 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20768 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20769 Use the BSD numbers rather than the arbitrary ones we had.
20770 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20771 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20772 (SIGXCPU, SIGXFSZ): New macros.
20775 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20776 initializer on [_LIBC_REENTRANT].
20778 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20779 definitions inside [_POSIX_MAPPED_FILES].
20781 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20783 * dirent/opendir.c: Include <fcntl.h>.
20785 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20786 (__libc_getspecific): Likewise.
20787 (__libc_key_create): Likewise.
20789 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20790 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20791 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20792 (tmpfile64): Define as alias.
20793 * sysdeps/wordsize-64/tmpfile.c: File removed.
20794 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20795 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20798 * stdio-common/vfscanf.c: Include <stdbool.h>.
20799 * nss/makedb.c: Likewise.
20800 * stdio-common/_i18n_number.h: Likewise.
20801 * argp/argp-help.c: Likewise.
20802 * posix/wordexp.c: Likewise.
20803 * sysdeps/posix/spawni.c: Likewise.
20804 * nss/nss_files/files-initgroups.c: Likewise.
20805 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20806 * nss/nss_files/files-initgroups.c: Likewise.
20807 * nss/nss_db/db-netgrp.c: Likewise.
20808 * nss/nss_db/db-initgroups.c: Likewise.
20809 * io/fchmodat.c: Include <sys/stat.h>.
20811 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20812 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20814 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20817 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20818 Add multiple inclusion protection.
20820 2012-07-27 David S. Miller <davem@davemloft.net>
20822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20824 2012-07-27 Gary Benson <gbenson@redhat.com>
20827 * elf/rtld.c: Include <stap-probe.h>.
20828 (dl_main): Added static probes "init_start" and "init_complete".
20829 * elf/dl-load.c: Include <stap-probe.h>.
20830 (lose): Take new parameter "nsid".
20831 Added static probe "map_failed".
20832 (_dl_map_object_from_fd): Pass namespace id to lose.
20833 Added static probe "map_start".
20834 (open_verify): Pass namespace id to lose.
20835 * elf/dl-open.c: Include <stap-probe.h>.
20836 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20837 and "reloc_complete".
20838 * elf/dl-close.c: Include <stap-probe.h>.
20839 (_dl_close_worker): Added static probes "unmap_start" and
20841 * elf/rtld-debugger-interface.txt: New file documenting the above.
20843 2012-07-26 Roland McGrath <roland@hack.frob.com>
20845 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20846 rather than a string variable.
20847 * sunrpc/rpc_main.c (h_output): Likewise.
20848 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20850 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20852 * inet/check_native.c: New file.
20854 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20857 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20858 if larger part has absolute value 1.0.
20859 * math/s_clog10.c (__clog10): Likewise.
20860 * math/s_clog10f.c (__clog10f): Likewise.
20861 * math/s_clog10l.c (__clog10l): Likewise.
20862 * math/s_clogf.c (__clogf): Likewise.
20863 * math/s_clogl.c (__clogl): Likewise.
20864 * math/libm-test.inc (clog_test): Add more tests.
20865 (clog10_test): Likewise.
20866 * sysdeps/i386/fpu/libm-test-ulps: Update.
20867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20869 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20870 (pltexit): Likewise.
20871 (La_regs): Likewise.
20872 (La_retval): Likewise.
20873 (int_retval): Likewise.
20874 Update #error for removed macros to refer only to definitions in
20876 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20878 (pltexit): Likewise.
20879 (La_regs): Likewise.
20880 (La_retval): Likewise.
20881 (int_retval): Likewise.
20882 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20884 (pltexit): Likewise.
20885 (La_regs): Likewise.
20886 (La_retval): Likewise.
20887 (int_retval): Likewise.
20888 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20890 (pltexit): Likewise.
20891 (La_regs): Likewise.
20892 (La_retval): Likewise.
20893 (int_retval): Likewise.
20894 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20896 (pltexit): Likewise.
20897 (La_regs): Likewise.
20898 (La_retval): Likewise.
20899 (int_retval): Likewise.
20900 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20902 (pltexit): Likewise.
20903 (La_regs): Likewise.
20904 (La_retval): Likewise.
20905 (int_retval): Likewise.
20906 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20908 (pltexit): Likewise.
20909 (La_regs): Likewise.
20910 (La_retval): Likewise.
20911 (int_retval): Likewise.
20912 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20913 macro definitions in tst-audit.h.
20914 * sysdeps/i386/tst-audit.h: New file.
20915 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20916 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20917 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20918 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20919 * sysdeps/sh/tst-audit.h: Likewise.
20920 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20921 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20922 * sysdeps/x86_64/tst-audit.h: Likewise.
20924 2012-07-26 Andreas Jaeger <aj@suse.de>
20926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20929 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20930 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20931 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20933 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20934 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20935 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20937 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20940 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20942 (si_call_addr, si_syscall, si_arch): Define new macro.
20943 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20945 (si_call_addr, si_syscall, si_arch): Define new marcro.
20946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20948 (si_call_addr, si_syscall, si_arch): Define new macro.
20949 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20951 (si_call_addr, si_syscall, si_arch): Define new macro.
20953 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20957 Change to 2.4.21 where previously 2.4.1.
20958 * sysdeps/unix/sysv/linux/configure: Regenerated.
20959 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20960 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20961 Linux kernel version.
20962 (__ASSUME_STD_AUXV): Remove.
20963 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20965 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20966 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20967 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20968 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20969 (__ASSUME_NETLINK_SUPPORT): Likewise.
20970 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20971 (__no_netlink_support): Remove conditional definition.
20972 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20974 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20975 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20976 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20977 (if_nameindex_ioctl): Remove.
20978 (if_nameindex_netlink): Do not handle __no_netlink_support.
20979 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20981 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20982 Remove conditional code.
20983 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20985 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20987 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20988 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20989 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20991 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20992 [!__ASSUME_STD_AUXV]: Remove conditional code.
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20994 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20995 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20997 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20998 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21000 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21002 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21003 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21005 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21007 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21010 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21013 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21014 code unconditional.
21015 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21017 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21019 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21022 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21024 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21027 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21028 code unconditional.
21029 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21031 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21033 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21036 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21037 code unconditional.
21038 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21040 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21042 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21045 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21047 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21048 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21049 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21050 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21051 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21052 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21053 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21054 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21055 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21056 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21057 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21058 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21059 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21060 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21061 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21062 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21063 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21065 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21067 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21068 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21071 2012-07-25 Florian Weimer <fweimer@redhat.com>
21073 * Versions.def: Add GLIBC_2.17.
21074 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21075 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21076 Introduce __libc_secure_getenv.
21077 * stdlib/Versions (2.17): Add secure_getenv
21078 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21079 * stdlib/secure-getenv.c: Rename __secure_getenv to
21080 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21081 symbol __secure_getenv for GLIBC_2.0.
21082 * stdlib/tst-secure-getenv.c: New.
21083 * stdlib/Makefile (tests): Add testcase.
21084 * manual/startup.texi (Environment Access): Document
21086 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21087 __libc_secure_getenv.
21088 * inet/ruserpass.c (ruserpass): Likewise.
21089 * malloc/mtrace.c (mtrace): Likewise.
21090 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21091 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21092 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21093 * sysdeps/posix/tempname.c: Likewise. Evaluate
21094 HAVE_SECURE_GETENV.
21095 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21096 __secure_getenv to __libc_secure_getenv.
21097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21110 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21112 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21113 (struct La_i86_retval): Likewise.
21114 (struct La_x86_64_regs): Likewise.
21115 (struct La_x86_64_retval): Likewise.
21116 (struct La_x32_regs): Likewise.
21117 (struct La_x32_retval): Likewise.
21118 (struct La_ppc32_regs): Likewise.
21119 (struct La_ppc32_retval): Likewise.
21120 (struct La_ppc64_regs): Likewise.
21121 (struct La_ppc64_retval): Likewise.
21122 (struct La_sh_regs): Likewise.
21123 (struct La_sh_retval): Likewise.
21124 (struct La_s390_32_regs): Likewise.
21125 (struct La_s390_32_retval): Likewise.
21126 (struct La_s390_64_regs): Likewise.
21127 (struct La_s390_64_retval): Likewise.
21128 (struct La_sparc32_regs): Likewise.
21129 (struct La_sparc32_retval): Likewise.
21130 (struct La_sparc64_regs): Likewise.
21131 (struct La_sparc64_retval): Likewise.
21132 (struct audit_ifaces): Remove architecture-specific pltenter and
21134 * sysdeps/i386/ldsodefs.h: New file.
21135 * sysdeps/powerpc/ldsodefs.h: Likewise.
21136 * sysdeps/s390/ldsodefs.h: Likewise.
21137 * sysdeps/sh/ldsodefs.h: Likewise.
21138 * sysdeps/sparc/ldsodefs.h: Likewise.
21139 * sysdeps/x86_64/ldsodefs.h: Likewise.
21141 2012-07-25 Marek Polacek <polacek@redhat.com>
21144 * math/libm-test.inc (yn_test): Add another test.
21145 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21146 to ERANGE when the result is +-Inf.
21147 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21148 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21149 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21150 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21152 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21154 * conform/data/time.h-data (NULL): Use macro-constant. Require
21156 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21158 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21160 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21162 * configure.in <sysdeps resolving>: Correct printing
21164 * configure: Regenerate.
21166 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21168 * math/w_ilogb.c: Include <limits.h>.
21169 * math/w_ilogbl.c: Likewise.
21171 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21173 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21174 va_copy. Document allowing for unavailable va_copy only as
21175 pre-C99 compatibility.
21176 * manual/string.texi (Copying and Concatenation): Use va_copy
21177 instead of __va_copy in concat example.
21179 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21181 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21182 (__sendto): Use create_address_port. Initialize APORT and deallocate
21185 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21186 with O_NOLINK passed to __file_name_lookup.
21188 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21189 with O_NOLINK passed to __file_name_lookup.
21191 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21192 negative N or less than NGIDS.
21194 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21195 type to string_t. Set ERANGE as errno and return it if NAME is not big
21196 enough. Use memcpy instead of strncpy.
21198 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21200 * elf/Makefile (check-data): Remove.
21201 (localplt.data): New vpath directive.
21202 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21203 instead of $(check-data).
21204 * scripts/data/localplt-generic.data: Move to ...
21205 * sysdeps/generic/localplt.data: ... here.
21206 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21207 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21208 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21211 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21214 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21217 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21220 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21223 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21227 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21229 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21230 PPC32 and PPC64 files.
21231 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21232 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21234 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21236 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21237 __makecontext_ret to ...
21238 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21239 ... here and call exit if uc_link is NULL. New file.
21240 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21241 __makecontext_ret.S.
21242 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21243 __makecontext_ret to ...
21244 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21245 ... here and call exit if uc_link is NULL. New file.
21246 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21247 __makecontext_ret.S.
21249 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21251 * elf/elf.h (R_390_IRELATIVE): New definition.
21252 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21253 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21254 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21255 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21256 (elf_machine_lazy_rel): Likewise.
21257 * sysdeps/s390/dl-irel.h: New file.
21258 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21259 * sysdeps/s390/s390-64/memset.S: New asm code.
21260 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21261 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21262 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21263 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21264 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21265 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21266 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21267 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21268 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21269 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21270 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21271 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21272 * sysdeps/s390/s390-32/memset.S: New asm code.
21273 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21275 2012-07-17 Marek Polacek <polacek@redhat.com>
21278 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21279 * sysdeps/s390/s390-64/configure.in: Likewise.
21280 * sysdeps/sparc/configure.in: Likewise.
21281 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21282 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21283 * sysdeps/i386/configure.in: Likewise.
21284 * sysdeps/x86_64/configure.in: Likewise.
21285 * sysdeps/sh/configure.in: Likewise.
21286 * sysdeps/s390/s390-32/configure: Regenerated.
21287 * sysdeps/s390/s390-64/configure: Likewise.
21288 * sysdeps/x86_64/configure: Likewise.
21289 * sysdeps/sh/configure: Likewise.
21290 * sysdeps/powerpc/powerpc64/configure: Likewise.
21291 * sysdeps/powerpc/powerpc32/configure: Likewise.
21292 * sysdeps/sparc/configure: Likwise.
21293 * sysdeps/i386/configure: Likewise.
21295 * elf/dl-open.c: Comment fixes.
21297 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21299 * Makefile [CXX] (check-data): Remove.
21300 [CXX] (c++-types.data): New vpath directive.
21301 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21302 vpath. Do not allow for C++ type data being missing.
21303 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21304 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21305 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21306 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21307 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21308 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21309 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21312 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21315 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21318 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21321 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21324 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21327 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21330 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21333 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21334 definitions to architecture-specific files.
21335 (TLS_IE): Likewise.
21336 (TLS_LD): Likewise.
21337 (TLS_GD): Likewise.
21338 * sysdeps/i386/tls-macros.h: New file.
21339 * sysdeps/powerpc/tls-macros.h: Likewise.
21340 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21341 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21342 * sysdeps/sh/tls-macros.h: Likewise.
21343 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21344 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21345 * sysdeps/x86_64/tls-macros.h: Likewise.
21347 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21349 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21350 zero value for regular exit case.
21352 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21353 (__start_context): Preserve zero value for regular exit case.
21355 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21356 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21358 * manual/setjmp.texi (setcontext): Clarify normal process
21359 termination when uc_link is the null pointer.
21360 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21363 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21365 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21366 preprocessor. Test for each exception mask separately.
21368 2012-07-16 Andreas Jaeger <aj@suse.de>
21370 * po/ru.po: Update from translation team.
21372 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21374 * conform/data/string.h-data (NULL): Use macro-constant. Require
21376 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21377 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21378 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21379 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21382 2012-07-13 Andreas Jaeger <aj@suse.de>
21384 * po/fr.po: Update from translation team.
21386 2012-07-12 Marek Polacek <polacek@redhat.com>
21389 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21390 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21393 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21396 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21397 Change to 2.4.1 where previously 2.4.0.
21398 * sysdeps/unix/sysv/linux/configure: Regenerated.
21399 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21400 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21402 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21403 (__ASSUME_AT_CLKTCK): Remove.
21404 (__ASSUME_AT_PAGESIZE): Likewise.
21405 (__ASSUME_AT_XID): Likewise.
21406 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21407 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21408 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21410 (HAVE_AUX_PAGESIZE): Likewise.
21411 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21412 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21413 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21415 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21419 the temporary buffer used to invoke __gethostbyname2_r,
21420 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21421 host_data / struct gaih_addrtuple.
21422 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21423 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21424 header file nss/nsswitch.h.
21425 * nss/nsswitch.h (global scope): Add definition of implementation
21426 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21427 resolv/nss_dns/dns-host.c).
21429 2012-07-11 Andreas Jaeger <aj@suse.de>
21431 * po/fr.po: Update from translation team.
21433 * po/sv.po: Update from translation team
21434 * po/fr.po: Another update from translation team.
21436 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21438 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21439 for subnormals or multiply small sinh result by itself.
21440 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21443 2012-07-11 David S. Miller <davem@davemloft.net>
21445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21447 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21450 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21451 (INTERNAL_MARK): Shift it here.
21453 2012-07-10 Marek Polacek <polacek@redhat.com>
21456 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21457 libc_cv_asm_global_directive with .globl.
21458 * configure: Regenerated.
21459 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21461 * sysdeps/i386/configure: Regenerated.
21462 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21464 * sysdeps/x86_64/configure: Regenerated.
21465 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21466 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21467 * elf/tst-unique2mod2.c: Likewise.
21468 * elf/tst-unique2mod1.c: Likewise.
21469 * elf/tst-unique1mod2.c: Likewise.
21470 * elf/tst-unique1mod1.c: Likewise.
21471 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21472 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21473 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21475 * sysdeps/mach/sysdep.h: Likewise.
21476 * sysdeps/i386/sysdep.h: Likewise.
21477 * sysdeps/i386/i386-mcount.S: Likewise.
21478 * sysdeps/x86_64/_mcount.S: Likewise.
21479 * sysdeps/x86_64/sysdep.h: Likewise.
21480 * sysdeps/sh/_mcount.S: Likewise.
21481 * sysdeps/sh/sysdep.h: Likewise.
21482 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21483 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21484 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21485 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21486 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21487 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21488 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21489 * locale/localeinfo.h: Likewise.
21490 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21491 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21493 2012-07-09 Roland McGrath <roland@hack.frob.com>
21496 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21498 * manual/message.texi (The Uniforum approach): Likewise.
21499 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21500 (glibc iconv Implementation): Likewise.
21502 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21505 * math/s_clog.c (__clog): Avoid scaling a value down where that
21506 could result in underflow.
21507 * math/s_clog10.c (__clog10): Likewise.
21508 * math/s_clog10f.c (__clog10f): Likewise.
21509 * math/s_clog10l.c (__clog10l): Likewise.
21510 * math/s_clogf.c (__clogf): Likewise.
21511 * math/s_clogl.c (__clogl): Likewise.
21512 * math/libm-test.inc (clog_test): Add more tests.
21513 (clog10_test): Likewise.
21514 * sysdeps/i386/fpu/libm-test-ulps: Update.
21515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21517 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21520 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21521 by 7 not 8 to examine high bit of fractional part.
21524 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21525 for call to __mcount_internal.
21526 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21527 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21528 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21530 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21533 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21534 approximation for values within 0x1p-13f of an odd multiple of
21536 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21537 exception. Add more tests.
21538 * sysdeps/i386/fpu/libm-test-ulps: Update.
21541 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21542 inputs and return -1 for them. Do not check for +Inf in case not
21543 reachable for +Inf.
21544 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21545 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21546 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21547 and return -1 for them. Do not check for +Inf in case not
21548 reachable for +Inf.
21549 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21551 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21552 and return -1 for them. Do not check for +Inf in case not
21553 reachable for +Inf.
21554 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21555 spurious underflow.
21556 * sysdeps/i386/fpu/libm-test-ulps: Update.
21557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21559 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21561 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21563 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21567 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21568 could result in spurious underflow. Scale down values above
21569 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21570 * math/s_csqrtf.c (__csqrtf): Likewise.
21571 * math/s_csqrtl.c (__csqrtl): Likewise.
21572 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21573 spurious underflow.
21574 * sysdeps/i386/fpu/libm-test-ulps: Update.
21575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21577 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21579 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21581 * catgets/xopen-msg.awk: New file.
21582 * catgets/xopen-msg.sed: Removed.
21584 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21586 * intl/po2test.awk: New file.
21587 * intl/po2test.sed: Removed.
21589 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21592 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21593 or multiply small sinh result by itself.
21594 * math/s_ctanf.c (__ctanf): Likewise.
21595 * math/s_ctanh.c (__ctanh): Likewise.
21596 * math/s_ctanhf.c (__ctanhf): Likewise.
21597 * math/s_ctanhl.c (__ctanhl): Likewise.
21598 * math/s_ctanl.c (__ctanl): Likewise.
21599 * math/libm-test.inc (ctan_test_tonearest): New function.
21600 (ctan_test_towardzero): Likewise.
21601 (ctan_test_downward): Likewise.
21602 (ctan_test_upward): Likewise.
21603 (ctanh_test_tonearest): Likewise.
21604 (ctanh_test_towardzero): Likewise.
21605 (ctanh_test_downward): Likewise.
21606 (ctanh_test_upward): Likewise.
21607 (main): Call these new functions.
21608 * sysdeps/i386/fpu/libm-test-ulps: Update.
21609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21611 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21613 * .gitignore: Delete /ports entry.
21615 2012-07-03 Andreas Jaeger <aj@suse.de>
21617 * po/bg.po: Update from translation team.
21618 * po/cs.po: Likewise.
21619 * po/de.po: Likewise.
21620 * po/hr.po: Likewise.
21621 * po/nl.pl: Likewise.
21622 * po/pl.po: Likewise.
21623 * po/vi.po: Likewise.
21625 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21627 * Makeconfig [!+link] (+link-before-libc): New variable.
21628 [!+link] (+link-after-libc): Likewise.
21629 [!+link] (+link-tests): Likewise.
21630 [!+link] (+link): Define in terms of $(+link-before-libc) and
21631 $(+link-after-libc).
21632 [!+link-static] (+link-static-before-libc): New variable.
21633 [!+link-static] (+link-static-after-libc): Likewise.
21634 [!+link-static] (+link-static-tests): Likewise.
21635 [!+link-static] (+link-static): Define in terms of
21636 $(+link-static-before-libc) and $(+link-static-after-libc).
21637 [build-shared] (link-libc-before-gnulib): New variable.
21638 [build-shared] (link-libc-tests): Likewise.
21639 [build-shared] (link-libc): Define in terms of
21640 $(link-libc-before-gnulib).
21641 [!build-shared] (link-libc-tests): New variable.
21642 (link-libc-static-tests): New variable.
21643 [!gnulib] (gnulib-arch): New variable.
21644 [!gnulib] (gnulib-tests): Likewise.
21645 [!gnulib] (static-gnulib-arch): Likewise.
21646 [!gnulib] (static-gnulib-tests): Likewise.
21647 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21648 Define with "=" instead of ":=".
21649 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21650 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21651 * Rules (binaries-all-notests): New variable.
21652 (binaries-all-tests): Likewise.
21653 (binaries-static-notests): Likewise.
21654 (binaries-static-tests): Likewise.
21655 (binaries-all): Define using $(binaries-all-notests) and
21656 $(binaries-all-tests).
21657 (binaries-static): Define using $(binaries-static-notests) and
21658 $(binaries-static-tests).
21659 (binaries-shared-tests): New variable.
21660 (binaries-shared-notests): Likewise.
21661 (binaries-shared): Remove variable.
21662 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21663 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21664 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21665 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21666 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21667 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21668 * elf/Makefile (sln-modules): New variable.
21669 (extra-objs): Add $(sln-modules:=.o).
21670 (ldconfig-modules): Add static-stubs.
21671 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21672 * elf/static-stubs.c: New file.
21675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21676 by 7 not 8 to examine high bit of fractional part. Use volatile
21677 variables when splitting into final array of floats if
21678 __FLT_EVAL_METHOD__ != 0.
21679 * math/libm-test.inc (cos_test): Add another test.
21680 (sin_test): Likewise.
21681 * sysdeps/i386/fpu/libm-test-ulps: Update.
21684 * math/libm-test.inc (cosh_test): Add more tests.
21686 * version.h (RELEASE): Set to "development".
21687 (VERSION): Set to "2.16.90".
21689 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21691 * NEWS: Update copyright. Remove last-updated date.
21692 Mention math library bug fixes and timezone data changes.
21693 * README: Mention GNU/Hurd, x32, and HPPA support status.
21695 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21697 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21699 2012-06-27 Andreas Jaeger <aj@suse.de>
21701 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21703 2012-06-25 Andreas Jaeger <aj@suse.de>
21705 * sysdeps/s390/fpu/libm-test-ulps: Update.
21707 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21708 Thomas Schwinge <thomas@codesourcery.com>
21710 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21711 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21715 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21717 * sysdeps/mach/start.c: Remove file.
21718 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21719 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21720 * sysdeps/sh/init-first.c: Likewise.
21722 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21723 registers for frame unwinding purposes, add CFI directives.
21724 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21725 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21726 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21729 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21730 __fortify_fail returning.
21731 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21733 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21734 sysdeps/sh/____longjmp_chk.S.
21735 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21736 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21737 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21738 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21740 * sysdeps/sh/abort-instr.h: New file.
21741 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21742 process in case exit returns.
21744 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21745 initialize the GOT register before use.
21747 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21748 calculation of ARGC > 4.
21750 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21751 meaningful names to some local labels.
21753 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21754 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21756 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21757 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21758 (__arch_compare_and_exchange_val_16_acq): Likewise.
21759 (__arch_compare_and_exchange_val_32_acq): Likewise.
21760 (atomic_exchange_and_add): Fix gUSA sequence.
21761 (atomic_add): Likewise.
21762 (atomic_add_negative): Likewise.
21763 (atomic_add_zero): Likewise.
21764 (atomic_bit_test_set): Likewise.
21766 2012-06-22 Andreas Schwab <schwab@redhat.com>
21769 * include/link.h (struct link_map): Add l_free_initfini.
21770 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21772 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21773 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21774 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21777 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21779 * configure.in: Use AC_LANG_SOURCE.
21780 * configure: Regenerate.
21782 2012-06-22 Roland McGrath <roland@hack.frob.com>
21784 * configure.in (libc_cv_localstatedir): New substituted variable.
21785 * configure: Regenerated.
21786 * config.make.in (localstatedir): New variable, substituted from
21787 libc_cv_localstatedir.
21788 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21789 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21790 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21791 * sysdeps/gnu/configure: Regenerated.
21793 2012-06-21 Jeff Law <law@redhat.com>
21796 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21797 free. Simplify list management for _LIBC case.
21799 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21802 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21803 Clear sign bit of 64-bit integer value before comparing against
21806 * sysdeps/mach/configure: Regenerated.
21808 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21811 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21813 2012-06-21 Jeff Law <law@redhat.com>
21816 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21817 uint16_t for elements in the "seen" array to avoid char overflows.
21818 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21819 * elf/dl-open.c (dl_open_worker): Likewise.
21821 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21823 * scripts/list-sources.sh: Scan PORTS for translations.
21824 * po/libc.pot: Regenerated.
21826 2012-06-21 Andreas Jaeger <aj@suse.de>
21829 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21831 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21832 * bits/byteswap-16.h (__bswap_16): Likewise.
21833 * bits/byteswap.h (__bswap_constant_16): Likewise.
21835 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21838 * sysdeps/i386/fpu_control.h: Removed.
21839 * sysdeps/x86_64/fpu_control.h: Moved to ...
21840 * sysdeps/x86/fpu_control.h: Here.
21842 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21843 (_FPU_SETCW): Likewise.
21845 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21848 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21849 * sysdeps/x86/fpu/bits/mathinline.h: This.
21850 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21854 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21855 functions if __x86_64__ is defined.
21857 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21859 * string/endian.h: Add !__ASSEMBLER__ condition for including
21860 conversion interfaces.
21862 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21866 of ABS(x) in calculating zero to negative powers other than odd
21868 * math/libm-test.inc (pow_test): Add more tests.
21870 2012-06-15 Andreas Jaeger <aj@suse.de>
21872 * manual/contrib.texi (Contributors): Update entry of Liubov
21873 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21876 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21878 * string/string.h: Add __wur to GNU version of strerror_r.
21880 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21883 * string/Makefile (tests): Add tst-strtok_r.
21884 * string/tst-strtok_r.c: New file.
21885 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21886 RAX_LP/RDX_LP on SAVE_PTR.
21888 2012-06-14 Roland McGrath <roland@hack.frob.com>
21890 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21892 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21894 * libm_test.inc (csqrt_test): Allow more spurious underflow
21896 (j0_test): Likewise.
21897 (j1_test): Likewise.
21898 (y0_test): Likewise.
21899 (y1_test): Likewise.
21901 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21903 * po/Makefile (libc.pot): Use UTF-8 charset.
21905 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21908 Suppress sign-conversion warning from FD_SET.
21909 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21910 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21911 not unsigned long int.
21912 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21914 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21918 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21919 __extern_always_inline instead of __extern_inline.
21920 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21921 (__signbit): Likewise.
21922 (__signbitl): Support C++ namespace.
21923 (lrintf): New inline function.
21925 (llrintf): Likewise.
21926 (llrint): Likewise.
21936 (floorf): Likewise.
21937 (nearbyint): Likewise.
21938 (nearbyintf): Likewise.
21940 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21942 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21943 non-default versions.
21945 2012-06-11 Roland McGrath <roland@hack.frob.com>
21948 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21950 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21952 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21953 (FE_UPWARD, FE_DOWNWARD): Don't define.
21954 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21957 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21959 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21960 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21962 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21964 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21965 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21966 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21967 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21969 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21972 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21973 * sysdeps/i386/fpu/Implies: New file.
21974 * sysdeps/x86_64/fpu/Implies: Likewise.
21975 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21976 * sysdeps/x86/fpu/bits/fenv.h: This.
21978 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21981 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21984 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21985 character 0xffff that matches the last element of the
21988 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21993 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21996 values higher than 25.6283.
21998 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22000 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22001 subnormal exponent extraction and add some __builtin_expect.
22002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22003 Fix for subnormal mantissa calculation.
22005 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22007 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22008 cpu2 is -1 and errno is not ENOSYS.
22010 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22013 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22014 * sysdeps/x86/bits/string.h: This.
22015 * sysdeps/x86_64/bits/string.h: Removed.
22017 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22018 if not compiling for x86-64, but compiling for >= i486.
22020 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22021 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22023 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22024 New macro from Linux kernel 3.4.0.
22025 (FP_XSTATE_MAGIC2): Likewise.
22026 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22027 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22028 (struct _fpx_sw_bytes): New struct.
22029 (struct _xsave_hdr): Likewise.
22030 (struct _ymmh_state): Likewise.
22031 (struct _xstate): Likewise.
22033 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22034 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22035 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22036 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22037 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22038 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22040 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22041 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22042 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22043 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22044 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22045 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22047 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22050 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22051 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22052 (sysdep_headers): Include sys/platform/ppc.h.
22053 * sysdeps/powerpc/test-gettimebase.c: Test for
22054 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22055 * manual/Makefile (appendices): Include platform.texi.
22056 * manual/contrib.texi (Contributors): Update @node pointers.
22057 * manual/maint.texi (Maintenance): Likewise.
22058 (Platform): New node.
22059 * manual/platform.texi: New file. Document the new features.
22061 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22062 Jakub Jelinek <jakub@redhat.com>
22065 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22066 where __builtin_expect is unavailable.
22068 2012-06-03 David S. Miller <davem@davemloft.net>
22070 * stdlib/longlong.h: Updated from GCC.
22072 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22075 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22076 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22079 (GLIBC_2.16): Likewise.
22081 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22083 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22085 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22088 (default-abi): New variable.
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22090 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22092 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22094 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22096 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22099 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22100 definition. Document in comment.
22102 2012-06-01 David S. Miller <davem@davemloft.net>
22104 * stdlib/longlong.h: Updated from GCC.
22106 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22109 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22110 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22111 sys/debugreg.h sys/io.h here.
22112 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22113 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22115 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22116 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22117 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22118 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22119 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22120 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22122 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22123 Define only if __x86_64__ is defined.
22125 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22128 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22129 Use int64_t for variable i.
22130 * math/libm-test.inc (fmod_test): Add more tests.
22132 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22133 z computation is not scheduled after fetestexcept.
22134 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22135 Use math_force_eval instead of asm to ensure calculation scheduled
22136 before exception test.
22137 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22138 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22140 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22143 computation is not scheduled after fetestexcept.
22145 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22148 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22149 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22151 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22153 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22154 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22156 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22159 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22161 (__WCHAR_MIN): Support __WORDSIZE == 64.
22162 (__WCHAR_MAX): Likewise.
22164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22165 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22168 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22169 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22172 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22173 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22176 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22178 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22179 Defined to 1 if __x86_64__ isn't defined.
22180 (_STAT_VER_LINUX_OLD): New.
22181 (st_atime): Remove duplicate.
22182 (st_mtime): Likewise.
22183 (st_ctime): Likewise.
22185 2012-05-31 David S. Miller <davem@davemloft.net>
22187 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22190 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22192 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22196 * elf/dl-reloc.c: Include <_itoa.h>.
22197 (_dl_reloc_bad_type): Remove use of INTUSE.
22198 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22199 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22200 * stdio-common/psiginfo.c (psiginfo): Likewise.
22201 * stdio-common/psignal.c (psignal): Likewise.
22202 * string/strsignal.c (strsignal): Likewise.
22203 * include/signal.h (_sys_siglist): Declare hidden proto.
22204 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22205 INTVARDEF with libc_hidden_data_def.
22206 * stdio-common/itoa-udigits.c: Likewise.
22207 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22208 (_itoa_lower_digits_internal): Remove declaration.
22209 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22210 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22211 (_sys_sigabbrev_internal): Remove aliases.
22212 (_sys_siglist): Define hidden alias.
22214 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22219 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22222 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22223 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22225 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22226 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22227 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22228 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22229 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22230 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22232 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22233 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22234 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22236 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22244 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22245 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22246 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22248 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22249 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22250 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22251 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22252 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22253 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22255 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22256 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22258 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22259 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22261 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22262 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22263 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22265 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22266 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22268 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22270 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22271 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22272 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22274 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22276 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22278 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22280 * math/math.h (M_El): Use two more decimal places.
22281 (M_LOG2El): Likewise.
22282 (M_LOG10El): Likewise.
22283 (M_LN2l): Likewise.
22284 (M_LN10l): Likewise.
22286 (M_PI_2l): Likewise.
22287 (M_PI_4l): Likewise.
22288 (M_1_PIl): Likewise.
22289 (M_2_PIl): Likewise.
22290 (M_2_SQRTPIl): Likewise.
22291 (M_SQRT2l): Likewise.
22292 (M_SQRT1_2l): Likewise.
22294 2012-05-31 David S. Miller <davem@davemloft.net>
22296 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22297 values between float registers.
22298 * sysdeps/sparc/sparc64/memset.S: Likewise.
22299 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22301 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22303 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22304 -D_FORTIFY_SOURCE=1.
22305 (CPPFLAGS-tst-longjmp_chk.c): Define.
22306 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22307 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22308 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22309 CFLAGS-tst-wchar-h.c.
22311 2012-05-31 Marek Polacek <polacek@redhat.com>
22314 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22315 __endmntent_internal): Remove declaration.
22316 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22317 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22318 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22320 2012-05-30 David S. Miller <davem@davemloft.net>
22322 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22323 (___Q_simulate_exceptions): Use real FP ops rather than writing
22325 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22328 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22331 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22332 * sysdeps/x86/bits/xtitypes.h: This.
22334 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22335 * sysdeps/x86/bits/wordsize.h: This.
22337 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22338 * sysdeps/x86/bits/huge_vall.h: This.
22340 * sysdeps/i386/bits/select.h: Removed.
22341 * sysdeps/x86_64/bits/select.h: Renamed to ...
22342 * sysdeps/x86/bits/select.h: This.
22344 * sysdeps/i386/bits/setjmp.h: Removed.
22345 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22346 * sysdeps/x86/bits/setjmp.h: This.
22348 * sysdeps/i386/bits/mathdef.h: Removed.
22349 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22350 * sysdeps/x86/bits/mathdef.h: This.
22352 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22355 * include/sys/socket.h (__connect_internal)
22356 (__libc_sa_len_internal): Remove declaration.
22357 (__connect, __libc_sa_len): Declare hidden_proto.
22358 (SA_LEN): Remove use of INTUSE.
22359 * socket/connect.c: Add libc_hidden_def.
22360 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22361 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22362 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22364 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22365 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22366 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22367 of adding _internal alias.
22369 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22372 * sysdeps/i386/bits/link.h: Removed.
22373 * sysdeps/i386/bits/linkmap.h: Likewise.
22374 * sysdeps/x86_64/bits/link.h: Renamed to ...
22375 * sysdeps/x86/bits/link.h: This.
22376 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22377 * sysdeps/x86/bits/linkmap.h: This.
22379 * sysdeps/i386/bits/endian.h: Removed.
22380 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22381 * sysdeps/x86/bits/endian.h: This.
22383 * sysdeps/i386/bits/byteswap.h: Removed.
22384 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22385 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22386 * sysdeps/x86/bits/byteswap.h: This.
22387 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22388 * sysdeps/x86/bits/byteswap-16.h: This.
22389 * sysdeps/i386/Implies: Add x86.
22390 * sysdeps/x86_64/Implies: Likewise.
22392 2012-05-30 David S. Miller <davem@davemloft.net>
22394 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22395 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22396 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22397 (FP_TRAPPING_EXCEPTIONS): Define.
22398 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22399 (FP_TRAPPING_EXCEPTIONS): Define.
22400 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22401 subnormals only when inexact has been signalled or underflow
22402 exceptions are enabled.
22403 (_FP_PACK_CANONICAL): Likewise.
22405 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22408 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22409 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22411 2012-05-30 Richard Henderson <rth@twiddle.net>
22413 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22414 with #ifndef NOT_IN_libc.
22416 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22417 marked to avoid plt entry.
22419 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22422 * Makeconfig (default-abi): New macro.
22423 (abi-includes): Likewise.
22424 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22425 $(abi-$(default-abi)-lib-soname) for soname if defined.
22426 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22428 * Makefile (installed-stubs): Likewise.
22429 * include/stubs-biarch.h: Removed.
22430 * scripts/lib-names.awk: Only handle one library at a time.
22431 * scripts/soversions.awk: Remove WORDSIZE support.
22432 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22434 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22436 (syscall-list-default-condition): Likewise.
22437 (syscall-list-default-condition): Likewise.
22438 (syscall-list-includes): Likewise.
22439 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22440 syscall-list-* with abi-*. Handle undefined abi-variants.
22441 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22442 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22443 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22444 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22445 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22446 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22448 (syscall-list-32-options): Likewise.
22449 (syscall-list-32-condition): Likewise.
22450 (syscall-list-64-options): Likewise.
22451 (syscall-list-64-condition): Likewise.
22452 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22454 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22457 (abi-64-ld-soname): New macro.
22458 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22459 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22462 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22463 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22465 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22467 * sysdeps/unix/sysv/linux/kernel-features.h
22468 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22469 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22470 include <kernel-features.h>.
22471 [!__NR_ftruncate64]: Remove conditional code.
22472 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22473 [__NR_ftruncate64]: Make code unconditional.
22474 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22475 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22476 include <kernel-features.h>.
22477 [!__NR_ftruncate64]: Remove conditional code.
22478 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22479 [__NR_ftruncate64]: Make code unconditional.
22480 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22482 include <kernel-features.h>.
22483 [!__NR_ftruncate64]: Remove conditional code.
22484 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22485 [__NR_ftruncate64]: Make code unconditional.
22486 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22488 include <kernel-features.h>.
22489 [!__NR_ftruncate64]: Remove conditional code.
22490 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22491 [__NR_ftruncate64]: Make code unconditional.
22492 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22494 * configure.in (libc_cv_fpie): Weaken to a compile test using
22495 LIBC_TRY_CC_OPTION.
22496 * configure: Regenerated.
22498 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22513 2012-05-27 David S. Miller <davem@davemloft.net>
22515 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22517 (__Q_simulate_exceptions): Return void. Change to simulate
22518 exceptions by writing into the %fsr.
22519 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22520 (__Qp_handle_exceptions): Likewise.
22522 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22523 __Qp_handle_exceptions.
22524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22525 __Qp_handle_exceptions.
22526 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22527 as unused and give dummy FP_RND_NEAREST initializer.
22528 (FP_INHIBIT_RESULTS): Define.
22529 (___Q_simulate_exceptions): Update declaration.
22530 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22533 as unused and give dummy FP_RND_NEAREST initializer.
22534 (__Qp_handle_exceptions): Update declaration.
22535 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22538 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22540 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22541 the temporary FPU control word.
22542 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22543 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22544 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22545 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22546 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22547 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22548 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22549 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22550 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22551 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22552 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22554 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22556 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22559 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22561 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22562 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22563 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22564 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22566 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22567 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22570 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22572 * po/h.po: Update from translation team.
22574 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22576 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22578 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22579 handling of denormals.
22580 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22581 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22582 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22583 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22589 2012-05-26 Marek Polacek <polacek@redhat.com>
22592 * math/libm-test.inc (fma_test): Don't always expect underflow
22595 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22598 * elf/tst-execstack.c: Include stackinfo.h.
22599 (do_test): Adjust test case to ensure that pthread_getattr_np
22600 behaviour remains the same after marking stack executable.
22602 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22604 * sysdeps/unix/sysv/linux/kernel-features.h
22605 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22606 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22608 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22609 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22610 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22612 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22613 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22615 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22617 * configure.in: Define the default includes to being none.
22618 * configure: Regenerated.
22620 2012-05-25 Roland McGrath <roland@hack.frob.com>
22622 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22623 * sysdeps/x86_64/setjmp.S: Likewise.
22624 * sysdeps/i386/bsd-setjmp.S: Likewise.
22625 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22626 * sysdeps/i386/setjmp.S: Likewise.
22627 * sysdeps/i386/__longjmp.S: Likewise.
22628 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22629 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22631 * include/stap-probe.h: New file.
22632 * configure.in: Handle --enable-systemtap.
22633 * configure: Regenerated.
22634 * config.h.in (USE_STAP_PROBE): New #undef.
22635 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22636 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22637 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22639 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22643 to 2.4.0 where earlier.
22644 * sysdeps/unix/sysv/linux/configure: Regenerated.
22645 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22646 <kernel-features.h>.
22647 [__ASSUME_32BITUIDS]: Make code unconditional.
22648 [!__ASSUME_32BITUIDS]: Remove conditional code.
22649 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22650 <kernel-features.h>.
22651 [__ASSUME_32BITUIDS]: Make code unconditional.
22652 [!__ASSUME_32BITUIDS]: Remove conditional code.
22653 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22654 [__ASSUME_32BITUIDS]: Make code unconditional.
22655 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22656 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22657 <kernel-features.h>.
22658 [__ASSUME_32BITUIDS]: Make code unconditional.
22659 [!__ASSUME_32BITUIDS]: Remove conditional code.
22660 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22661 <kernel-features.h>.
22662 [__ASSUME_32BITUIDS]: Make code unconditional.
22663 [!__ASSUME_32BITUIDS]: Remove conditional code.
22664 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22665 <kernel-features.h>.
22666 [__ASSUME_32BITUIDS]: Make code unconditional.
22667 [!__ASSUME_32BITUIDS]: Remove conditional code.
22668 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22669 <kernel-features.h>.
22670 [__ASSUME_32BITUIDS]: Make code unconditional.
22671 [!__ASSUME_32BITUIDS]: Remove conditional code.
22672 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22673 <kernel-features.h>.
22674 [__ASSUME_32BITUIDS]: Make code unconditional.
22675 [!__ASSUME_32BITUIDS]: Remove conditional code.
22676 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22677 <kernel-features.h>.
22678 [__ASSUME_32BITUIDS]: Make code unconditional.
22679 [!__ASSUME_32BITUIDS]: Remove conditional code.
22680 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22681 <kernel-features.h>.
22682 [__ASSUME_32BITUIDS]: Make code unconditional.
22683 [!__ASSUME_32BITUIDS]: Remove conditional code.
22684 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22685 <kernel-features.h>.
22686 [__ASSUME_32BITUIDS]: Make code unconditional.
22687 [!__ASSUME_32BITUIDS]: Remove conditional code.
22688 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22689 <kernel-features.h>.
22690 [__ASSUME_32BITUIDS]: Make code unconditional.
22691 [!__ASSUME_32BITUIDS]: Remove conditional code.
22692 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22693 <kernel-features.h>.
22694 [__ASSUME_32BITUIDS]: Make code unconditional.
22695 [!__ASSUME_32BITUIDS]: Remove conditional code.
22696 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22697 <kernel-features.h>.
22698 [__NR_setresgid] (__setresgid): Do not declare.
22699 [__ASSUME_32BITUIDS]: Make code unconditional.
22700 [!__ASSUME_32BITUIDS]: Remove conditional code.
22701 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22702 <kernel-features.h>.
22703 [__NR_setresuid] (__setresuid): Do not declare.
22704 [__ASSUME_32BITUIDS]: Make code unconditional.
22705 [!__ASSUME_32BITUIDS]: Remove conditional code.
22706 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22707 <kernel-features.h>.
22708 [__ASSUME_32BITUIDS]: Make code unconditional.
22709 [!__ASSUME_32BITUIDS]: Remove conditional code.
22710 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22711 <kernel-features.h>.
22712 [__ASSUME_32BITUIDS]: Make code unconditional.
22713 [!__ASSUME_32BITUIDS]: Remove conditional code.
22714 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22715 <kernel-features.h>.
22716 [__ASSUME_32BITUIDS]: Make code unconditional.
22717 [!__ASSUME_32BITUIDS]: Remove conditional code.
22718 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22719 <kernel-features.h>.
22720 [__ASSUME_32BITUIDS]: Make code unconditional.
22721 [!__ASSUME_32BITUIDS]: Remove conditional code.
22722 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22723 <kernel-features.h>.
22724 [__ASSUME_32BITUIDS]: Make code unconditional.
22725 [!__ASSUME_32BITUIDS]: Remove conditional code.
22726 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22727 <kernel-features.h>.
22728 [__ASSUME_32BITUIDS]: Make code unconditional.
22729 [!__ASSUME_32BITUIDS]: Remove conditional code.
22730 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22731 <kernel-features.h>.
22732 [__ASSUME_32BITUIDS]: Make code unconditional.
22733 [!__ASSUME_32BITUIDS]: Remove conditional code.
22734 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22735 <kernel-features.h>.
22736 [__ASSUME_32BITUIDS]: Make code unconditional.
22737 [!__ASSUME_32BITUIDS]: Remove conditional code.
22738 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22739 <kernel-features.h>.
22740 [__ASSUME_32BITUIDS]: Make code unconditional.
22741 [!__ASSUME_32BITUIDS]: Remove conditional code.
22742 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22743 <kernel-features.h>.
22744 [__ASSUME_32BITUIDS]: Make code unconditional.
22745 [!__ASSUME_32BITUIDS]: Remove conditional code.
22746 * sysdeps/unix/sysv/linux/kernel-features.h
22747 (__ASSUME_SETRESUID_SYSCALL): Remove.
22748 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22749 (__ASSUME_32BITUIDS): Likewise.
22750 (__ASSUME_LDT_WORKS): Likewise.
22751 (__ASSUME_O_DIRECTORY): Likewise.
22752 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22753 architecture but not kernel version.
22754 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22755 (__ASSUME_MMAP2_SYSCALL): Likewise.
22756 (__ASSUME_STAT64_SYSCALL): Likewise.
22757 (__ASSUME_IPC64): Likewise.
22758 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22759 <kernel-features.h>.
22760 [__ASSUME_32BITUIDS]: Make code unconditional.
22761 [!__ASSUME_32BITUIDS]: Remove conditional code.
22762 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22763 <kernel-features.h>.
22764 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22765 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22766 132096]: Remove conditional code.
22767 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22768 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22769 <kernel-features.h>.
22770 [__ASSUME_32BITUIDS]: Make code unconditional.
22771 [!__ASSUME_32BITUIDS]: Remove conditional code.
22772 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22773 <kernel-features.h>.
22774 [__ASSUME_32BITUIDS]: Make code unconditional.
22775 [!__ASSUME_32BITUIDS]: Remove conditional code.
22776 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22777 <kernel-features.h>.
22778 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22780 (__setresgid): Do not declare.
22781 [__ASSUME_32BITUIDS]: Make code unconditional.
22782 [!__ASSUME_32BITUIDS]: Remove conditional code.
22783 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22784 <kernel-features.h>.
22785 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22787 (__setresuid): Do not declare.
22788 [__ASSUME_32BITUIDS]: Make code unconditional.
22789 [!__ASSUME_32BITUIDS]: Remove conditional code.
22790 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22791 <kernel-features.h>.
22792 [__ASSUME_32BITUIDS]: Make code unconditional.
22793 [!__ASSUME_32BITUIDS]: Remove conditional code.
22794 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22795 <kernel-features.h>.
22796 [__ASSUME_32BITUIDS]: Make code unconditional.
22797 [!__ASSUME_32BITUIDS]: Remove conditional code.
22799 2012-05-25 Richard Henderson <rth@twiddle.net>
22801 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22802 dl_hwcap to ifunc resolver.
22803 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22805 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22806 dl_hwcap to ifunc resolver.
22807 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22809 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22812 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22813 for |x| <= 2**-26, not 2**-57.
22814 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22817 2012-05-24 Jeff Law <law@redhat.com>
22819 * stdio-common/Makefile (tests): Add bug25.
22820 * stdio-common/bug25.c: New test.
22822 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22825 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22826 multiple of MALLOC_ALIGNMENT in size.
22827 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22829 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22831 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22833 (FILENAME_MAX): Use macro-int-constant.
22834 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22835 (_IOFBF): Use macro-int-constant.
22836 (_IOLBF): Likewise.
22837 (_IONBF): Likewise.
22838 (SEEK_CUR): Likewise.
22839 (SEEK_END): Likewise.
22840 (SEEK_SET): Likewise.
22841 (TMP_MAX): Likewise.
22842 (EOF): Use macro-int-constant. Require < 0.
22843 (NULL): Use macro-constant. Require == 0.
22844 (stdin): Require type to be FILE *.
22845 (stdout): Likewise.
22846 (stderr): Likewise.
22847 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22848 macro-int-constant.
22849 (EXIT_SUCCESS): Likewise.
22850 (NULL): Use macro-constant. Require == 0.
22851 (RAND_MAX): Use macro-int-constant.
22852 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22853 [C99-based standards] (strtof): Require function.
22854 [C99-based standards] (strtold): Likewise.
22855 [C99-based standards] (strtoll): Likewise.
22856 [C99-based standards] (strtoull): Likewise.
22857 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22858 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22859 [ISO || ISO99 || ISO11] (math.h): Likewise.
22860 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22861 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22864 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22867 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22868 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22869 * intl/dgettext.c (DCGETTEXT): Likewise.
22870 * intl/gettext.c (DCGETTEXT): Likewise.
22871 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22872 * posix/regex_internal.h (gettext): Likewise.
22873 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22874 Remove declaration.
22875 * include/argz.h (__argz_count_internal)
22876 (__argz_stringify_internal): Remove declaration.
22877 (__argz_count, __argz_stringify): Declare hidden proto.
22878 * intl/dcgettext.c: Remove use of INTDEF.
22879 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22880 * string/argz-stringify.c: Likewise.
22881 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22882 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22883 Declare hidden proto.
22884 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22885 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22886 Declare hidden proto.
22887 * include/stdio.h (__asprintf_internal): Don't declare.
22888 (__asprintf): Don't define as macro. Declare hidden proto.
22889 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22890 (__fsetlocking): Declare hidden proto.
22891 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22892 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22894 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22895 (_IO_setlinebuf): Remove use of INTUSE.
22896 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22897 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22898 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22899 Remove declaration.
22900 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22901 (_IO_do_flush): Remove use of INTUSE.
22902 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22903 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22904 (_IO_adjust_column, _IO_least_wmarker)
22905 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22906 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22907 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22908 (_IO_default_doallocate, _IO_wdefault_doallocate)
22909 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22910 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22911 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22912 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22913 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22914 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22915 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22916 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22917 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22918 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22919 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22920 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22921 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22923 (_IO_flush_all_internal, _IO_adjust_column_internal)
22924 (_IO_default_uflow_internal, _IO_default_finish_internal)
22925 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22926 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22927 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22928 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22929 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22930 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22931 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22932 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22933 (_IO_file_close_internal, _IO_file_close_it_internal)
22934 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22935 (_IO_file_init_internal, _IO_file_attach_internal)
22936 (_IO_file_fopen_internal, _IO_file_read_internal)
22937 (_IO_file_sync_internal, _IO_file_seek_internal)
22938 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22939 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22940 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22941 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22942 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22943 (_IO_list_all_internal, _IO_link_in_internal)
22944 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22945 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22946 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22947 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22948 (_IO_do_write_internal, _IO_padn_internal)
22949 (_IO_getline_info_internal, _IO_getline_internal)
22950 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22951 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22952 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22953 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22954 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22955 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22956 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22957 with libc_hidden_ver, remove use of INTUSE.
22958 * libio/genops.c: Likewise.
22959 * libio/freopen.c: Likewise.
22960 * libio/freopen64.c: Likewise.
22961 * libio/iofclose.c: Likewise.
22962 * libio/iofdopen.c: Likewise.
22963 * libio/iofflush.c: Likewise.
22964 * libio/iofflush_u.c: Likewise.
22965 * libio/iofgets.c: Likewise.
22966 * libio/iofgets_u.c: Likewise.
22967 * libio/iofopen.c: Likewise.
22968 * libio/iofopncook.c: Likewise.
22969 * libio/iofread.c: Likewise.
22970 * libio/iofread_u.c: Likewise.
22971 * libio/ioftell.c: Likewise.
22972 * libio/iofwrite.c: Likewise.
22973 * libio/iogetline.c: Likewise.
22974 * libio/iogets.c: Likewise.
22975 * libio/iogetwline.c: Likewise.
22976 * libio/iopadn.c: Likewise.
22977 * libio/iopopen.c: Likewise.
22978 * libio/ioseekoff.c: Likewise.
22979 * libio/ioseekpos.c: Likewise.
22980 * libio/iosetbuffer.c: Likewise.
22981 * libio/iosetvbuf.c: Likewise.
22982 * libio/ioungetc.c: Likewise.
22983 * libio/ioungetwc.c: Likewise.
22984 * libio/iovdprintf.c: Likewise.
22985 * libio/iovsprintf.c: Likewise.
22986 * libio/iovsscanf.c: Likewise.
22987 * libio/memstream.c: Likewise.
22988 * libio/obprintf.c: Likewise.
22989 * libio/oldfileops.c: Likewise.
22990 * libio/oldiofclose.c: Likewise.
22991 * libio/oldiofdopen.c: Likewise.
22992 * libio/oldiofopen.c: Likewise.
22993 * libio/oldiopopen.c: Likewise.
22994 * libio/oldstdfiles.c: Likewise.
22995 * libio/putc.c: Likewise.
22996 * libio/setbuf.c: Likewise.
22997 * libio/setlinebuf.c: Likewise.
22998 * libio/stdfiles.c: Likewise.
22999 * libio/strops.c: Likewise.
23000 * libio/vasprintf.c: Likewise.
23001 * libio/vscanf.c: Likewise.
23002 * libio/vsnprintf.c: Likewise.
23003 * libio/vswprintf.c: Likewise.
23004 * libio/wfiledoalloc.c: Likewise.
23005 * libio/wfileops.c: Likewise.
23006 * libio/wgenops.c: Likewise.
23007 * libio/wmemstream.c: Likewise.
23008 * libio/wstrops.c: Likewise.
23009 * libio/__fpurge.c: Likewise.
23010 * libio/__fsetlocking.c: Likewise.
23011 * assert/assert.c: Likewise.
23012 * debug/fgets_chk.c: Likewise.
23013 * debug/fgets_u_chk.c: Likewise.
23014 * debug/fread_chk.c: Likewise.
23015 * debug/fread_u_chk.c: Likewise.
23016 * debug/gets_chk.c: Likewise.
23017 * debug/obprintf_chk.c: Likewise.
23018 * debug/vasprintf_chk.c: Likewise.
23019 * debug/vdprintf_chk.c: Likewise.
23020 * debug/vsnprintf_chk.c: Likewise.
23021 * debug/vsprintf_chk.c: Likewise.
23022 * malloc/mtrace.c: Likewise.
23023 * misc/error.c: Likewise.
23024 * misc/syslog.c: Likewise.
23025 * stdio-common/asprintf.c: Likewise.
23026 * stdio-common/fxprintf.c: Likewise.
23027 * stdio-common/getw.c: Likewise.
23028 * stdio-common/isoc99_fscanf.c: Likewise.
23029 * stdio-common/isoc99_scanf.c: Likewise.
23030 * stdio-common/isoc99_vfscanf.c: Likewise.
23031 * stdio-common/isoc99_vscanf.c: Likewise.
23032 * stdio-common/isoc99_vsscanf.c: Likewise.
23033 * stdio-common/printf-prs.c: Likewise.
23034 * stdio-common/printf_fp.c: Likewise.
23035 * stdio-common/printf_fphex.c: Likewise.
23036 * stdio-common/printf_size.c: Likewise.
23037 * stdio-common/putw.c: Likewise.
23038 * stdio-common/scanf.c: Likewise.
23039 * stdio-common/sprintf.c: Likewise.
23040 * stdio-common/tmpfile.c: Likewise.
23041 * stdio-common/vfprintf.c: Likewise.
23042 * stdio-common/vfscanf.c: Likewise.
23043 * stdlib/strfmon_l.c: Likewise.
23044 * sunrpc/openchild.c: Likewise.
23045 * sunrpc/xdr_stdio.c: Likewise.
23046 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23047 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23049 2012-05-24 Roland McGrath <roland@hack.frob.com>
23051 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23053 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23054 in the third column, to generate for the shared library an IFUNC
23055 that uses _dl_vdso_vsym.
23056 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23057 * Makeconfig (object-suffixes-noshared): New variable.
23059 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23060 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23061 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23062 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23065 * include/sys/time.h (__gettimeofday): Remove macro.
23066 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23067 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23069 (__gettimeofday): Add libc_hidden_def.
23070 (gettimeofday): Add libc_hidden_weak.
23071 * sysdeps/mach/gettimeofday.c: Likewise.
23072 * sysdeps/posix/gettimeofday.c: Likewise.
23073 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23074 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23076 (__gettimeofday_internal): Remove strong_alias.
23077 (__gettimeofday): Add libc_hidden_def.
23078 (gettimeofday): Add libc_hidden_weak.
23079 * sysdeps/unix/syscalls.list (gettimeofday):
23080 Remove __gettimeofday_internal alias.
23082 2012-05-24 Daniel Jacobowitz <drow@false.org>
23083 H.J. Lu <hongjiu.lu@intel.com>
23086 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23087 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23088 (largebin_index_32_big): New.
23089 (largebin_index): Use it for 16-byte alignment.
23090 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23091 correction with front_misalign.
23093 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23121 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23122 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23124 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23128 * math/libm-test.inc (exp_test): Add test from bug 14036.
23129 (pow_test): Add test from bug 10846.
23131 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23133 (special_function): Do not include flags in test name.
23134 (parse_args): Likewise.
23135 * sysdeps/i386/fpu/libm-test-ulps: Update.
23136 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23137 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23138 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23141 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23143 * math/libm-test.inc ("Philosophy"): Update comment about
23145 (UNDERFLOW_EXCEPTION): New macro.
23146 (UNDERFLOW_EXCEPTION_OK): Likewise.
23147 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23148 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23149 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23150 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23151 (INVALID_EXCEPTION_OK): Update value.
23152 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23153 (OVERFLOW_EXCEPTION_OK): Likewise.
23154 (IGNORE_ZERO_INF_SIGN): Likewise.
23155 (test_exceptions): Handle underflow exceptions.
23156 (acos_test): Update for underflow exception expectations.
23157 (cexp_test): Likewise.
23158 (clog_test): Likewise.
23159 (clog10_test): Likewise.
23160 (csqrt_test): Likewise.
23161 (ctan_test): Likewise.
23162 (ctanh_test): Likewise.
23163 (exp_test): Likewise.
23164 (exp10_test): Likewise.
23165 (exp2_test): Likewise.
23166 (expm1_test): Likewise.
23167 (fma_test): Likewise.
23168 (j0_test): Likewise.
23169 (jn_test): Likewise.
23170 (nexttoward_test): Likewise.
23171 (pow_test): Likewise.
23172 (scalbn_test): Likewise.
23173 (scalbln_test): Likewise.
23174 (tan_test): Likewise.
23175 (y1_test): Likewise.
23176 * sysdeps/i386/fpu/libm-test-ulps: Update.
23177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23179 2012-05-23 David S. Miller <davem@davemloft.net>
23181 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23182 (__libc_sigaction): Remove unused local variables.
23184 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23186 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23188 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23190 mktime: avoid signed integer overflow
23191 * time/mktime.c (__mktime_internal): Do not mishandle the case
23192 where diff == INT_MIN.
23194 mktime: simplify computation of average
23195 * time/mktime.c (ranged_convert): Use new time_t_avg function
23196 instead of rolling our own (probably-slower) code.
23198 mktime: do not assume signed right shift propagates sign bit
23199 * time/mktime.c (isdst_differ): New static function.
23200 (__mktime_internal): No need to normalize tm_isdst now.
23201 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23204 mktime: merge another wrapv change from gnulib
23205 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23206 from some compilers.
23208 mktime: remove incorrect attempt at unusual arithmetics
23209 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23210 The code didn't really work on such machines anyway.
23211 (TYPE_MINIMUM): Assume two's complement.
23212 (twos_complement_arithmetic): Verify that long_int and time_t
23213 are two's complement (or unsigned, in the latter case).
23215 mktime: check signed shifts on long_int and time_t, too
23216 * time/mktime.c (SHR): Check that shifts work as desired
23217 on the types long_int and time_t too, as SHR is used on
23220 mktime: do not assume 'long' is wide enough
23221 * time/mktime.c (verify): Move decl up.
23222 (long_int): New type.
23223 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23224 to remove assumption in the code that 'long' is wide enough to
23225 store year values. This assumption is not true on x32 and on
23226 some non-glibc platforms.
23228 mktime: merge wrapv change from gnulib
23229 * time/mktime.c (WRAPV): New macro.
23230 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23231 (guess_time_tm, __mktime_internal): Do not assume that signed
23232 integer overflow wraps around; modern compilers generate code
23233 where this assumption is no longer valid.
23235 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23237 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23238 Replace "jmp L(pseudo_end)" with "ret".
23239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23242 2012-05-23 Andreas Jaeger <aj@suse.de>
23244 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23245 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23247 2012-05-23 Andreas Jaeger <aj@suse.de>
23248 Maximilian Attems <max@stro.at>
23250 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23253 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23256 code so that pseudo_end is just ret and the stack pointer is
23257 correct also for static library in error case.
23259 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23261 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23262 move to syscalls.list.
23263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23268 * manual/install.texi (Running make install): Do not mention Linux
23269 kernel version for which pt_chown is not needed.
23270 (Linux): Do not mention problems with nscd with 2.0 kernels.
23271 * INSTALL: Regenerated.
23273 2012-05-23 Andreas Jaeger <aj@suse.de>
23275 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23276 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23278 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23279 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23280 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23281 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23282 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23283 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23285 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23286 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23287 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23288 * sysdeps/unix/sysv/linux/bits/in.h
23289 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23291 2012-05-22 Roland McGrath <roland@hack.frob.com>
23293 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23294 (PREPARE_VERSION): Just use assert instead, it will be elided
23295 under [NDEBUG] anyway.
23297 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23299 * sysdeps/unix/sysv/linux/Makefile: Include
23300 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23301 (sysdep_routines): Remove sysctl.
23302 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23303 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23304 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23305 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23306 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23308 2012-05-22 Andreas Jaeger <aj@suse.de>
23310 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23311 that pseudo_end is just ret and the stack pointer is correct also
23312 for static library in error case.
23314 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23317 * nss/nsswitch.c (defconfig_entries): New variable.
23318 (__nss_database_lookup): Don't leak defconfig entries.
23319 (nss_parse_service_list): Don't leak on error paths.
23320 (free_database_entries): New function.
23321 (free_defconfig): New function.
23322 (free_mem): Move common code to free_database_entries.
23324 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23326 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23328 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23330 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23331 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23334 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23335 (INTERNAL_SYSCALL_TYPES): Likewise.
23336 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23337 (LOAD_REGS_TYPES_[1-6]): Likewise.
23338 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23339 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23341 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23343 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23344 copysignl for GLIBC_2_0.
23345 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23346 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23348 logbl for GLIBC_2_0.
23349 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23350 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23352 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23354 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23355 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23357 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23360 * time/mktime.c: Update copyright years.
23362 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23364 mktime: merge comment-quoting-style change from gnulib
23365 * time/mktime.c: Quote 'like this' in comments.
23366 The GNU coding standards suggest that we no longer quote `like this',
23367 as "`" and "'" are typically rendered asymmetrically nowadays.
23368 The typical gnulib style is to quote 'like this' when quoting
23369 code, and "like this" when quoting English.
23371 * time/mktime.c (compile-command): Add "-I.".
23373 mktime: merge mktime-internal.h change from gnulib
23374 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23376 mktime: merge time_r change from gnulib
23377 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23379 mktime: merge DEBUG change from gnulib
23380 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23381 case system <time.h> has a #define.
23383 mktime: merge <sys/types.h> change from gnulib
23384 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23385 since <time.t> is now guaranteed to define time_t.
23387 mktime: merge HAVE_CONFIG_H change from gnulib
23388 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23390 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23395 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23397 (struct rusage): Use anonymous union to pad each field to
23400 2012-05-21 David S. Miller <davem@davemloft.net>
23402 * Makefules (o-iterator): Remove .s cases.
23403 (compile-command.s): Delete.
23404 (COMPILE.s): Delete.
23405 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23407 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23409 * configure.in (libc_cv_predef_stack_protector): Only consider
23410 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23411 * configure: Regenerated.
23413 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23416 New macro. Use R*LP on int and pointer.
23417 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23418 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23419 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23420 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23422 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23423 [__WORDSIZE_TIME64_COMPAT32] instead of
23424 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23425 (struct utmp): Likewise.
23426 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23427 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23429 (__WORDSIZE_TIME64_COMPAT32): This.
23430 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23431 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23432 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23433 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23434 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23435 (__WORDSIZE_TIME64_COMPAT32): New macro.
23437 2012-05-21 Andreas Jaeger <aj@suse.de>
23439 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23440 only if [SHARED]. Add prototype for __wcschr_ia32.
23442 2012-05-21 Roland McGrath <roland@hack.frob.com>
23444 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23445 of %rbp unmolested in the jmp_buf while mangling the low bits.
23446 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23447 unmolested high bits of %rbp while demangling the low bits.
23448 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23450 2012-05-21 Andreas Jaeger <aj@suse.de>
23452 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23453 * sunrpc/svc_simple.c: Use it for registerrpc.
23454 * sunrpc/xcrypt.c: Use it for passwd2des.
23456 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23458 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23460 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23461 Don't define if [__SYSCALL_WORDSIZE != 32].
23462 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23465 2012-05-21 Bruno Haible <bruno@clisp.org>
23466 Andreas Jaeger <aj@suse.de>
23468 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23469 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23470 inptr and inend for must_buffer_ch.
23471 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23472 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23473 * stdio-common/Makefile (tests): Remove bug15.
23474 (bug15-ENV): Remove macro.
23475 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23478 2012-05-19 Andreas Jaeger <aj@suse.de>
23479 Roland McGrath <roland@hack.frob.com>
23481 * manual/contrib.texi: Completely rewritten. It contains now an
23482 alphabetical list of contributors and their contributions.
23484 2012-05-21 Richard Henderson <rth@twiddle.net>
23486 * misc/getauxval.c (__getauxval): Use unsigned long int.
23487 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23488 (getauxval): Use unsigned long int.
23490 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23492 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23494 2012-05-21 Roland McGrath <roland@hack.frob.com>
23496 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23497 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23498 __alignof__ (long double).
23500 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23504 2012-05-20 Richard Henderson <rth@twiddle.net>
23506 * misc/getauxval.c: New file.
23507 * misc/sys/auxv.h: New file.
23508 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23509 (routines): Add getauxval.
23510 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23511 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23512 * elf/dl-sysdep.c (_dl_auxv): Remove.
23513 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23514 * elf/dl-support.c (_dl_auxv): New variable.
23515 (_dl_aux_init): Initialize it.
23516 * manual/startup.texi (Auxiliary Vector): New node.
23517 * sysdeps/generic/bits/hwcap.h: New file.
23518 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23519 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23520 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23521 * sysdeps/sparc/sysdep.h: ... here. Include it.
23522 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23523 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23529 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23535 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23539 2012-05-19 David S. Miller <davem@davemloft.net>
23541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23543 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23546 * math/s_ccosh.c: Include <float.h>
23547 (__ccosh): Avoid internal overflow calculating sinh and cosh
23548 values before multiplying by sin and cos values.
23549 * math/s_ccoshf.c: Likewise.
23550 * math/s_ccoshl.c: Likewise.
23551 * math/s_csin.c: Likewise.
23552 * math/s_csinf.c: Likewise.
23553 * math/s_csinl.c: Likewise.
23554 * math/s_csinh.c: Likewise.
23555 * math/s_csinhf.c: Likewise.
23556 * math/s_csinhl.c: Likewise.
23557 * math/libm-test.inc (ccos_test): Add more tests.
23558 (ccosh_test): Likewise.
23559 (csin_test): Likewise.
23560 (csinh_test): Likewise.
23561 * sysdeps/i386/fpu/libm-test-ulps: Update.
23562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23564 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23566 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23567 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23569 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23571 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23573 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23574 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23575 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23576 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23577 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23578 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23579 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23580 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23581 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23582 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23583 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23584 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23585 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23586 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23587 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23588 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23589 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23590 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23591 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23592 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23593 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23594 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23595 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23596 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23597 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23598 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23599 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23600 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23601 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23602 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23603 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23605 2012-05-18 Andreas Jaeger <aj@suse.de>
23607 * csu/.gitignore: Delete.
23609 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23611 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23612 (timex): Use __syscall_slong_t.
23614 2012-05-18 Andreas Jaeger <aj@suse.de>
23615 Carlos O'Donell <carlos_odonell@mentor.com>
23617 * manual/install.texi (Configuring and compiling): Update
23618 description about files modified in the source directory.
23619 * INSTALL: Regenerated.
23621 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23623 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23624 value. Use "or" to set return value to -1.
23625 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23626 negate return value.
23628 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23630 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23631 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23632 failure if the compiler has Graphite support disabled.
23633 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23635 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23636 CFLAGS-memmove.c): Likewise.
23637 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23640 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23642 * sysdeps/x86_64/x32/_itoa.h: New file.
23644 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23645 getdents system call only if kernel and user dirents have the
23646 same d_ino and d_off.
23648 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23649 LLONG_MAX != LONG_MAX.
23650 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23651 (_fitoa_word): Likewise.
23653 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23655 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23656 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23657 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23659 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23660 include <bits/wordsize.h>. Check __x86_64__ instead of
23662 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23663 if __x86_64__ is defined. Use anonymous union on fpstate.
23665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23668 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23670 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23671 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23672 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23673 Refer to _rtld_local_ro instead of _rtld_global_ro.
23674 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23676 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23678 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23680 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23681 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23682 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23684 * sysdeps/powerpc/powerpc32/dl-machine.c
23685 (__elf_machine_runtime_setup) [PROF]: Don't reference
23688 2012-05-18 Andreas Jaeger <aj@suse.de>
23690 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23691 function only available for GCCs before 3.4 since GCC 3.4
23692 introduced a builtin.
23694 (llrintf): Likewise.
23695 (llrint): Likewise.
23702 (nearbyint): Likewise.
23703 (nearbyintf): Likewise.
23707 (floorf): Likewise.
23709 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23711 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23712 on both fields and cast pointer to __syscall_ulong_t.
23714 * bits/types.h (__fsword_t): New type.
23715 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23716 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23718 (__FSWORD_T_TYPE): Likewise.
23719 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23720 (__FSWORD_T_TYPE): Likewise.
23721 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23722 (__FSWORD_T_TYPE): Likewise.
23723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23724 (__FSWORD_T_TYPE): Likewise.
23725 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23726 __SWORD_TYPE with __fsword_t.
23727 (statfs64): Likewise.
23729 2012-05-17 David S. Miller <davem@davemloft.net>
23731 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23733 2012-05-17 Andreas Jaeger <aj@suse.de>
23735 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23738 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23740 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23742 2012-05-17 Andreas Jaeger <aj@suse.de>
23744 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23747 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23749 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23751 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23753 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23754 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23756 2012-05-17 Andreas Jaeger <aj@suse.de>
23757 Carlos O'Donell <carlos_odonell@mentor.com>
23760 * sysdeps/x86_64/multiarch/init-arch.h
23761 (bit_YMM_Usable): Rename to...
23762 (bit_AVX_Usable): ... this.
23763 (bit_FMA4_Usable): New macro.
23764 (bit_XMM_state): New macro.
23765 (bit_YMM_state): New macro.
23766 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23767 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23768 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23769 (CPUID_OSXSAVE): New macro.
23770 (CPUID_AVX): New macro.
23771 (CPUID_FMA4): New macro.
23772 (index_YMM_Usable): Rename to...
23773 (index_AVX_Usable): ... this.
23774 (HAS_AVX): Use HAS_ARCH_FEATURE.
23775 (HAS_FMA4): Likewise.
23776 (HAS_YMM_USABLE): Remove.
23777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23778 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23780 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23781 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23782 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23783 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23784 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23786 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23788 * math/libm-test.c: Support platforms without multiple rounding modes.
23789 * math/bug-nextafter.c: Support platforms without FP exceptions.
23790 * math/bug-nexttoward.c: Likewise.
23791 * math/test-fenv.c: Likewise.
23792 * math/test-misc.c: Likewise.
23793 * stdlib/bug-getcontext.c: Likewise.
23795 2012-05-17 Andreas Jaeger <aj@suse.de>
23797 * manual/examples/search.c (critter_cmp): Change signature to
23799 * manual/string.texi (Collation Functions): Likewise.
23801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23803 * bits/types.h: Fold copyright years.
23804 * bits/typesizes.h: Likewise.
23805 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23809 * time/time.h: Likewise.
23811 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23814 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23815 in instead of returning them. Return void.
23816 (__libc_mallinfo): Accumulate over all arenas.
23817 (__malloc_stats): Adjust for change in int_mallinfo interface.
23819 2012-05-16 Roland McGrath <roland@hack.frob.com>
23822 * configure.in (NM): Add AC_CHECK_TOOL for it.
23823 (libc_extra_cflags): New substituted variable.
23824 Check for -fstack-protector being used implicitly.
23825 * configure: Regenerated.
23826 * config.make.in (config-extra-cflags): New variable,
23827 gets @libc_extra_cflags@.
23828 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23831 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23832 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23833 * configure: Regenerated.
23834 * config.make.in (CPPUNDEFS): New substituted variable.
23835 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23836 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23837 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23839 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23841 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23842 (mq_attr): Use __syscall_slong_t.
23844 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23846 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23847 Check __x86_64__ instead of __WORDSIZE.
23848 (_STAT_VER_LINUX): Likewise.
23849 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23850 __syscall_ulong_t and __syscall_slong_t.
23851 (stat64): Likewise.
23853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23855 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23857 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23859 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23861 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23863 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23866 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23867 include <bits/wordsize.h>. Check __x86_64__ instead of
23869 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23871 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23874 include <bits/wordsize.h>. Check __x86_64__ instead of
23876 (user_regs_struct): Use "__extension__ unsigned long long"
23877 instead of "unsigned long" if __x86_64__ is defined.
23878 (user): Likewise. Pad after pointer field if __ILP32__ is
23881 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23883 * configure.in (makeinfo): Require version 4.5 or later. Allow
23885 * configure: Regenerated.
23886 * manual/install.texi (texinfo): Increase version requirement to
23888 * INSTALL: Regenerated.
23890 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23892 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23894 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23896 * sysdeps/x86_64/x32/ffs.c: New file.
23898 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23900 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23901 defined. Use __syscall_ulong_t.
23902 (shminfo): Use __syscall_ulong_t.
23903 (shm_info): Likewise.
23905 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23908 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23910 (msgqnum_t): Use __syscall_ulong_t.
23911 (msglen_t): Likewise.
23912 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23915 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23916 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23918 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23920 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23921 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23923 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23926 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23927 include <bits/wordsize.h>. Check __x86_64__ instead of
23930 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23931 "unsigned long long int" if __x86_64__ is defined.
23932 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23934 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23935 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23936 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23938 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23940 (GET_PC): Cast to uintptr_t first.
23941 (GET_FRAME): Likewise.
23942 (GET_STACK): Likewise.
23944 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23945 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23946 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23947 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23948 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23949 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23950 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23951 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23952 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23953 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23954 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23955 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23956 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23957 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23958 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23959 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23960 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23961 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23962 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23963 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23964 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23965 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23966 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23967 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23968 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23969 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23970 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23971 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23972 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23974 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23976 * Makerules (+depfiles): Also collect depfiles from .oS in
23978 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23979 .oS, $(libnldbl-routines)).
23981 * Makerules (native-compile-mkdep-flags): Define.
23982 * sunrpc/Makefile (extra-objs): Add $(addprefix
23983 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23984 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23985 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23986 calling $(make-target-directory).
23988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23990 * bits/types.h (__snseconds_t): Removed.
23991 * time/time.h (struct timespec): Replace __snseconds_t with
23993 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23994 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23997 (__SNSECONDS_T_TYPE): Likewise.
23998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23999 (__SNSECONDS_T_TYPE): Likewise.
24000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24001 (__SNSECONDS_T_TYPE): Likewise.
24003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24005 * sysdeps/mach/hurd/bits/typesizes.h
24006 (__SYSCALL_SLONG_TYPE): New macro.
24007 (__SYSCALL_ULONG_TYPE): Likewise.
24009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24011 * bits/types.h (__syscall_slong_t): New type.
24012 (__syscall_ulong_t): Likewise.
24014 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24015 (__SYSCALL_ULONG_TYPE): Likewise.
24016 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24017 (__SYSCALL_SLONG_TYPE): Likewise.
24018 (__SYSCALL_ULONG_TYPE): Likewise.
24019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24020 (__SYSCALL_SLONG_TYPE): Likewise.
24021 (__SYSCALL_ULONG_TYPE): Likewise.
24022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24023 (__SYSCALL_SLONG_TYPE): Likewise.
24024 (__SYSCALL_ULONG_TYPE): Likewise.
24026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24028 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24029 Add sigaltstack-offsets.sym.
24030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24031 <sigaltstack-offsets.h>.
24032 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24033 longjmp_msg pointer.
24034 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24035 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24037 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24039 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24041 * elf/stackguard-macros.h: Remove file.
24042 * sysdeps/generic/stackguard-macros.h: New file.
24043 * sysdeps/i386/stackguard-macros.h: Likewise.
24044 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24045 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24046 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24047 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24048 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24049 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24050 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24051 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24052 <elf/stackguard-macros.h>.
24055 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24056 __aligned__ in attribute.
24057 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24058 (gregset_t): Likewise.
24060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24062 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24063 * sysdeps/x86_64/64/Implies-after: Here. New file.
24064 * sysdeps/x86_64/x32/Implies-after: New file.
24066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24068 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24069 and access return value for _dl_profile_fixup. Use R10_LP to
24072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24074 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24078 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24079 * sysdeps/x86_64/x32/sysdep.h: New file.
24081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24083 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24084 * sysdeps/x86_64/setjmp.S: Likewise.
24086 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24088 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24089 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24090 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24091 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24092 remove unused global constant.
24094 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24096 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24097 include of <not-cancel.h>.
24099 2012-05-15 Roland McGrath <roland@hack.frob.com>
24101 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24103 2012-05-15 Jeff Law <law@redhat.com>
24104 Andreas Jaeger <aj@suse.de>
24107 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24109 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24110 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24111 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24112 code changing __hst_map_handle.map.
24114 2012-05-15 Roland McGrath <roland@hack.frob.com>
24116 * configure.in (sysnames): Look for Implies-before and Implies-after
24118 * configure: Regenerated.
24120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24122 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24123 8-byte data alignment with LP_SIZE alignment.
24125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24127 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24132 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24136 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24137 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24138 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24140 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24144 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24145 (stackinfo_sub_sp): Likewise.
24147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24164 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24168 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24169 into R11_LP and load __x86_64_shared_cache_size_half into
24172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24177 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24185 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24186 powerpc32/power7/fpu/s_logb.c via #include.
24187 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24188 powerpc32/power7/fpu/s_logbf.c via #include.
24189 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24190 powerpc32/power7/fpu/s_logbl.c via #include.
24192 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24194 * README.libm: Remove file.
24196 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24198 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24199 count for x32. Use R*_LP and omit operand-size suffix.
24201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24203 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24204 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24205 * sysdeps/x86_64/x32/shlib-versions: New file.
24207 2012-05-14 Roland McGrath <roland@hack.frob.com>
24209 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24210 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24211 Use _dl_fatal_printf instead.
24213 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24215 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24216 set if not set by the user. Do not allow for being unset.
24217 * sysdeps/unix/sysv/linux/configure: Regenerated.
24219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24221 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24222 the `q' suffix from lea and replace .quad with ASM_ADDR.
24224 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24227 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24229 (PTR_DEMANGLE): Likewise.
24231 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24233 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24235 (ASM_ADDR): Likewise.
24236 (RAX_LP): Likewise.
24237 (RBP_LP): Likewise.
24238 (RBX_LP): Likewise.
24239 (RCX_LP): Likewise.
24240 (RDI_LP): Likewise.
24241 (RSI_LP): Likewise.
24242 (RSP_LP): Likewise.
24245 (R10_LP): Likewise.
24246 (R10_LP): Likewise.
24247 (R11_LP): Likewise.
24248 (R12_LP): Likewise.
24249 (R13_LP): Likewise.
24250 (R14_LP): Likewise.
24251 (R15_LP): Likewise.
24253 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24255 * sysdeps/x86_64/x32/dl-machine.h: New file.
24257 2012-05-14 Andreas Jaeger <aj@suse.de>
24259 * manual/Makefile (subdir): Remove export of subdir.
24260 (all): Remove target.
24261 (.PHONY): Remove all from list.
24262 (mkinstalldirs): Remove.
24263 (.PHONY): Remove installdirs from list.
24264 ($(inst_infodir)/libc.info): Use make-target-directory.
24265 (installdirs): Remove.
24266 (subdir_%): Remove.
24267 (glibc-targets): Remove.
24270 ($(objpfx)stubs ../po/manual.pot): Remove.
24271 ($(objpfx)stamp%): Remove.
24272 (make-target-directory): Remove.
24273 (subdir_install): Remove.
24274 (routines): Remove.
24281 * manual/.gitignore: Remove, it's not needed anymore.
24282 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24284 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24286 (texis): Renamed to $(objpfx)texis.
24287 (texis-path): New, contains path to generated files.
24288 (chapters.%): Use texis-path for complete path, add extra argument
24290 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24291 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24292 (summary,texi, stamp-summary): Use complete path of
24293 files. Generate files in build dir.
24294 (dir-add.texi): Build in build dir.
24295 (libm-err.texi,stamp-libm-err): Likewise.
24296 (version.texi, stamp-version): Likewise.
24297 (.%c.texi): Likewise.
24298 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24299 (mostlyclean): Remove target.
24300 (realclean): Remove target.
24301 (generated): Add new variable with contents from mostlyclean and
24302 realclean, remove entries duplicated in common-mostlyclean, add
24303 stamp-libm-err and stamp-version.
24304 (generated-dirs): Add libc directory.
24305 ($(inst_infodir)/libc.info): Install files from build dir.
24307 * manual/install.texi (Configuring and compiling): Adjust since
24308 the info files are not part of the tar ball anymore.
24310 2012-05-14 Andreas Jaeger <aj@suse.de>
24312 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24315 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24318 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24319 to 2.2.0 where earlier.
24320 * sysdeps/unix/sysv/linux/configure: Regenerated.
24321 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24322 Remove conditional code.
24323 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24324 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24325 Remove conditional code.
24326 [!__NR_lchown]: Likewise.
24327 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24328 [__NR_lchown]: Likewise.
24329 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24330 comment referencing __ASSUME_LCHOWN_SYSCALL.
24331 * sysdeps/unix/sysv/linux/i386/sigaction.c
24332 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24333 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24334 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24335 Remove conditional code.
24336 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24337 (__protocol_available): Remove #if 0 code.
24338 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24340 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24341 * sysdeps/unix/sysv/linux/kernel-features.h
24342 (__ASSUME_GETCWD_SYSCALL): Don't define.
24343 (__ASSUME_REALTIME_SIGNALS): Likewise.
24344 (__ASSUME_PREAD_SYSCALL): Likewise.
24345 (__ASSUME_PWRITE_SYSCALL): Likewise.
24346 (__ASSUME_POLL_SYSCALL): Likewise.
24347 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24348 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24350 (__ASSUME_SIOCGIFNAME): Don't define.
24351 (__ASSUME_MSG_NOSIGNAL): Likewise.
24352 (__ASSUME_SENDFILE): Define unconditionally.
24353 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24354 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24356 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24357 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24358 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24359 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24360 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24361 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24362 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24364 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24365 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24367 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24368 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24370 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24373 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24374 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24376 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24379 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24382 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24383 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24385 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24387 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24388 Remove conditional code.
24389 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24390 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24391 Remove conditional code.
24392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24393 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24394 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24395 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24396 Remove conditional code.
24397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24398 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24399 Remove conditional code.
24400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24401 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24402 Remove conditional code.
24403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24404 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24405 Remove conditional code.
24406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24407 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24408 Remove conditional code.
24409 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24410 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24411 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24413 * sysdeps/unix/sysv/linux/sigaction.c
24414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24416 * sysdeps/unix/sysv/linux/sigpending.c
24417 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24418 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24419 * sysdeps/unix/sysv/linux/sigprocmask.c
24420 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24421 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24422 * sysdeps/unix/sysv/linux/sigsuspend.c
24423 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24424 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24425 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24426 (__libc_missing_rt_sigs): Remove.
24427 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24428 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24429 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24430 Remove conditional code.
24431 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24432 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24434 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24435 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24436 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24437 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24439 2012-05-14 Andreas Jaeger <aj@suse.de>
24441 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24442 it's not used in glibc.
24443 (__coshm1): Likewise.
24444 (__acosh1p): Likewise.
24447 * manual/string.texi (Copying and Concatenation): Add missing
24448 variable in concat example.
24449 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24451 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24455 __builtin_clzl with __builtin_clzll.
24457 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24460 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24463 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24465 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24466 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24467 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24468 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24470 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24472 * NEWS: Update ia64 info.
24474 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24476 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24479 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24481 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24482 * sysdeps/unix/syscalls.list (dup3): Likewise.
24483 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24484 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24486 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24488 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24489 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24491 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24493 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24495 (TLS_IE): Use mov/add instead of movq/addq to load thread
24497 (TLS_GD_PREFIX): New.
24500 2012-05-11 David S. Miller <davem@davemloft.net>
24502 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24503 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24504 (_FPU_SETCW): Likewise.
24506 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24508 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24509 is 32-byte aligned.
24511 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24514 * iconvdata/gb18030.c: Update tables.
24515 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24516 characters specially.
24517 (BODY for TO_LOOP): Add encoding of missing ranges.
24519 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24522 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24523 * sysdeps/mach/hurd/dup3.c: Likewise.
24524 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24525 * sysdeps/powerpc/memmove.c:: Likewise.
24527 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24530 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24532 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24534 * elf/elf.h (R_X86_64_RELATIVE64): New.
24535 (R_X86_64_NUM): Updated.
24536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24537 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24538 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24539 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24540 tst-quad1pie tst-quad2pie
24541 (modules-names): Add tst-quadmod1 tst-quadmod2.
24542 ($(objpfx)tst-quad1): New dependency.
24543 ($(objpfx)tst-quad2): Likewise.
24544 ($(objpfx)tst-quad1pie): Likewise.
24545 ($(objpfx)tst-quad2pie): Likewise.
24546 * sysdeps/x86_64/tst-quad1.c: New file.
24547 * sysdeps/x86_64/tst-quad1pie.c: New file.
24548 * sysdeps/x86_64/tst-quad2.c: Likewise.
24549 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24550 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24551 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24552 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24553 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24557 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24558 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24559 * streams/stropts.h (t_scalar_t): Define type.
24561 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24562 (_PATH_PRESERVE): Set to "/var/lib".
24563 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24565 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24568 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24569 if __dir_mkfile succeeded.
24571 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24572 checking for _hurd_dtablesize. Unlock it right after having
24573 finished _hurd_dtable allocation.
24575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24577 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24578 * sysdeps/mach/hurd/configure: Regenerated.
24579 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24580 special-casing to...
24581 * sysdeps/gnu/configure.in: ... this new file.
24582 * sysdeps/unix/sysv/linux/configure: Regenerated.
24583 * sysdeps/gnu/configure: New generated file.
24585 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24586 for Linux: use nsec instead of usec, as well as:
24587 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24588 members of type struct timespec.
24589 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24591 (struct stat64): Likewise.
24592 (_STATBUF_ST_NSEC): New macro.
24593 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24595 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24596 __strtoul_internal rather than strtoul.
24598 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24600 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24605 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24606 which preserves existing values.
24607 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24609 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24611 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24612 TIMEOUT values. Return EINVAL for NFDS values either negative or
24613 greater than FD_SETSIZE.
24615 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24617 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24618 allocated, call __vm_protect to finish enabling the existing space, and
24619 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24620 allocate the remainder.
24622 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24624 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24625 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24627 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24629 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24630 sysdeps/mach/hurd/readlink.c.
24632 * posix/tst-sysconf.c (posix_options): Only use
24633 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24634 _POSIX_SYNCHRONIZED_IO when they are defined
24635 * sysdeps/mach/hurd/bits/posix_opt.h:
24636 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24637 (_XOPEN_REALTIME): Undefine macro.
24638 (_XOPEN_REALTIME_THREADS): Undefine macro.
24639 (_XOPEN_SHM): Undefine macro.
24640 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24642 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24644 (_POSIX_ASYNC_IO): Undefine macro.
24645 (_POSIX_PRIORITIZED_IO): Undefine macro.
24646 (_POSIX_SPIN_LOCKS): Define macro to -1.
24648 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24649 SA_NODEFER, SA_RESETHAND.
24650 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24651 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24656 * elf/Makefile (pldd-modules): Define unconditionally.
24658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24660 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24664 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24665 Return ENOENT when name is empty.
24666 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24670 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24672 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24674 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24676 Fix mlock in all cases except non-readable pages.
24677 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24678 instead of VM_PROT_ALL as parameter to __vm_wire function.
24680 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24681 (__mkdir): When path is `/', just fail with EEXIST.
24682 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24686 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24687 <sys/uio.h> (for writev).
24688 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24689 and <sys/param.h> (for MIN).
24691 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24693 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24694 REQUESTED_TIME. Properly set the remaining time and return EINTR
24697 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24699 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24700 Depend on against $(link-rpcuserlibs).
24702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24704 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24705 (__libc_stack_end): Do not use attribute_relro.
24706 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24707 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24708 to libthread-provided value.
24709 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24715 * bits/libc-lock.h (__libc_once_get): New macro.
24716 * sysdeps/mach/bits/libc-lock.h: Likewise.
24717 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24718 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24719 instead of using implementation details.
24721 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24722 * libio/freopen.c: Likewise.
24723 * libio/freopen64.c: Likewise.
24724 * misc/syslog.c: Likewise.
24725 * nscd/connections.c: Likewise.
24726 * nscd/netgroupcache.c: Likewise.
24727 * sysdeps/posix/getcwd.c: Likewise.
24729 2012-05-10 Roland McGrath <roland@hack.frob.com>
24731 * math/w_ilogbf.c: Add #include <limits.h>.
24733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24735 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24736 path instead of returning without unlocking.
24738 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24739 immediate-write ioctls.
24740 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24744 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24745 __builtin_frame_address instead of making assumptions about the
24746 location of the return address relative to DATA. Force early load of
24747 the return address.
24748 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24749 __builtin_frame_address.
24752 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24753 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24754 implement dup3 and do some further code clean-ups.
24755 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24756 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24758 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24760 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24762 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24763 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24764 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24765 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24766 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24769 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24770 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24771 when handler == SIG_ERR, not when handler != SIG_ERR.
24773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24775 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24776 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24779 accept4 for GNU Hurd.
24780 * include/sys/socket.h (__libc_accept4): New prototype.
24781 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24782 to implement __libc_accept4.
24783 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24785 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24787 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24788 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24789 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24790 signal-defines.sym.
24792 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24794 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24796 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24798 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24799 assertion on O_CLOEXEC flag.
24800 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24801 * hurd/intern-fd.c: Likewise.
24802 * hurd/port2fd.c: Likewise.
24804 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24807 * bits/in.h (IPV6_PKTINFO): Define new macro.
24808 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24810 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24815 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24816 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24817 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24818 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24820 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24821 * math/libm-test.inc (logb_test) : Additional logb tests.
24823 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24824 Andreas Jaeger <aj@suse.de>
24826 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24827 * configure: Regenerated.
24828 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24829 * config.make.in (link-obsolete-rpc): New substituted variable.
24830 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24831 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24832 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24833 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24834 so that libc.a contains the symbols.
24835 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24836 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24837 * sunrpc/auth_none.c: Likewise.
24838 * sunrpc/auth_unix.c: Likewise.
24839 * sunrpc/authdes_prot.c: Likewise.
24840 * sunrpc/authuxprot.c: Likewise.
24841 * sunrpc/clnt_gen.c: Likewise.
24842 * sunrpc/clnt_perr.c: Likewise.
24843 * sunrpc/clnt_raw.c: Likewise.
24844 * sunrpc/clnt_simp.c: Likewise.
24845 * sunrpc/clnt_tcp.c: Likewise.
24846 * sunrpc/clnt_udp.c: Likewise.
24847 * sunrpc/clnt_unix.c: Likewise.
24848 * sunrpc/des_crypt.c: Likewise.
24849 * sunrpc/des_soft.c: Likewise.
24850 * sunrpc/get_myaddr.c: Likewise.
24851 * sunrpc/key_call.c: Likewise.
24852 * sunrpc/key_prot.c: Likewise.
24853 * sunrpc/netname.c: Likewise.
24854 * sunrpc/pm_getmaps.c: Likewise.
24855 * sunrpc/pm_getport.c: Likewise.
24856 * sunrpc/pmap_clnt.c: Likewise.
24857 * sunrpc/pmap_prot.c: Likewise.
24858 * sunrpc/pmap_prot2.c: Likewise.
24859 * sunrpc/pmap_rmt.c: Likewise.
24860 * sunrpc/publickey.c: Likewise.
24861 * sunrpc/rpc_cmsg.c: Likewise.
24862 * sunrpc/rpc_common.c: Likewise.
24863 * sunrpc/rpc_dtable.c: Likewise.
24864 * sunrpc/rpc_prot.c: Likewise.
24865 * sunrpc/rpc_thread.c: Likewise.
24866 * sunrpc/rtime.c: Likewise.
24867 * sunrpc/svc.c: Likewise.
24868 * sunrpc/svc_auth.c: Likewise.
24869 * sunrpc/svc_raw.c: Likewise.
24870 * sunrpc/svc_run.c: Likewise.
24871 * sunrpc/svc_tcp.c: Likewise.
24872 * sunrpc/svc_udp.c: Likewise.
24873 * sunrpc/svc_unix.c: Likewise.
24874 * sunrpc/svcauth_des.c: Likewise.
24875 * sunrpc/xcrypt.c: Likewise.
24876 * sunrpc/xdr.c: Likewise.
24877 * sunrpc/xdr_array.c: Likewise.
24878 * sunrpc/xdr_float.c: Likewise.
24879 * sunrpc/xdr_intXX_t.c: Likewise.
24880 * sunrpc/xdr_mem.c: Likewise.
24881 * sunrpc/xdr_rec.c: Likewise.
24882 * sunrpc/xdr_ref.c: Likewise.
24883 * sunrpc/xdr_sizeof.c: Likewise.
24884 * sunrpc/xdr_stdio.c: Likewise.
24886 2012-05-10 Roland McGrath <roland@hack.frob.com>
24888 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24889 change. Update copyright years.
24891 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24893 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24895 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24896 Joseph Myers <joseph@codesourcery.com>
24897 Paul Pluzhnikov <ppluzhnikov@google.com>
24900 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24902 [cross-compiling] (extra-libs): Likewise.
24903 [cross-compiling] (extra-libs-others): Likewise.
24904 [cross-compiling] (librpcsvc-routines): Likewise.
24905 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24906 [cross-compiling] (omit-deps): Likewise.
24907 (sunrpc-CPPFLAGS): New variable.
24908 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24909 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24910 (cross-rpcgen-objs): New variable.
24911 (extra-objs): Append $(cross-rpcgen-objs).
24912 ($(cross-rpcgen-objs)): New rule.
24913 ($(objpfx)cross-rpcgen): Likewise.
24914 (rpcgen-cmd): Define to use $(built-program-file). Expand
24916 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24917 ($(objpfx)x%.stmp): Likewise.
24918 * sunrpc/proto.h [IS_IN_build] (_): Define.
24919 [IS_IN_build] (_libc_intl_domainname): Likewise.
24921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24924 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24925 and R_X86_64_TPOFF64.
24927 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24929 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24930 sysdeps/unix/sysv/syscalls.list.
24933 * sysdeps/unix/sysv/syscalls.list: Remove file.
24935 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24938 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24939 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24940 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24941 (__LC_IDENTIFICATION): Make these macros useful in #if
24942 expressions, as required by C99.
24944 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24946 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24947 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24950 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24952 * stdlib/longlong.h: Updated from GCC.
24954 2012-05-09 Andreas Jaeger <aj@suse.de>
24956 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24957 default is first entry.
24958 (run_mode): Set type.
24959 (main): Remove informal message about syslog.
24960 (options): Fix typo.
24963 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24966 (llrintf): Likewise.
24967 (llrint): Likewise.
24970 (nearbyint): Likewise.
24971 (nearbyintf): Likewise.
24973 2012-05-09 Andreas Jaeger <aj@suse.de>
24974 Pedro Alves <palves@redhat.com>
24976 * nscd/nscd.c (run_mode): Use enum.
24977 (main): Cleanup coding style issue.
24979 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24980 Andreas Jaeger <aj@suse.de>
24982 * nscd/nscd.c (go_background): Replaced with...
24983 (run_mode): ... this.
24984 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24985 (options): Add -F --foreground.
24986 (main): Implement it.
24987 (parse_opt): Parse it.
24989 2012-05-09 Andreas Jaeger <aj@suse.de>
24992 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24993 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24994 -Wconversion warning.
24995 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24998 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25000 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25002 (LC_ALL): Use macro-int-constant.
25003 (LC_COLLATE): Likewise.
25004 (LC_CTYPE): Likewise.
25005 (LC_MESSAGES): Likewise.
25006 (LC_MONETARY): Likewise.
25007 (LC_NUMERIC): Likewise.
25008 (LC_TIME): Likewise.
25009 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25010 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25012 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25014 [C99-based standards] (float_t): Expect type.
25015 [C99-based standards] (double_t): Expect type.
25016 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25018 [C99-based standards] (HUGE_VALL): Likewise.
25019 [C99-based standards] (INFINITY): Likewise.
25020 [C99-based standards] (NAN): Likewise.
25021 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25022 [C99-based standards] (FP_NAN): Likewise.
25023 [C99-based standards] (FP_NORMAL): Likewise.
25024 [C99-based standards] (FP_SUBNORMAL): Likewise.
25025 [C99-based standards] (FP_ZERO): Likewise.
25026 [C99-based standards] (FP_FAST_FMA): Use
25027 optional-macro-int-constant. Specify type. Require == 1.
25028 [C99-based standards] (FP_FAST_FMAF): Likewise.
25029 [C99-based standards] (FP_FAST_FMAL): Likewise.
25030 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25031 [C99-based standards] (FP_ILOGBNAN): Likewise.
25032 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25034 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25035 [C99-based standards] (math_errhandling): Specify type.
25036 [ISO99 || ISO11] (signgam): Do not allow.
25037 [non-C99-based standards] (copysignf): Do not allow.
25038 [non-C99-based standards] (exp2f): Likewise.
25039 [non-C99-based standards] (log2f): Likewise.
25040 [non-C99-based standards] (modff): Allow.
25041 [non-C99-based standards] (erff): Do not allow.
25042 [non-C99-based standards] (erfcf): Likewise.
25043 [non-C99-based standards] (gammaf): Likewise.
25044 [non-C99-based standards] (hypotf): Likewise.
25045 [non-C99-based standards] (j0f): Likewise.
25046 [non-C99-based standards] (j1f): Likewise.
25047 [non-C99-based standards] (jnf): Likewise.
25048 [non-C99-based standards] (lgammaf): Likewise.
25049 [non-C99-based standards] (tgammaf): Likewise.
25050 [non-C99-based standards] (y0f): Likewise.
25051 [non-C99-based standards] (y1f): Likewise.
25052 [non-C99-based standards] (ynf): Likewise.
25053 [non-C99-based standards] (isnanf): Likewise.
25054 [non-C99-based standards] (acoshf): Likewise.
25055 [non-C99-based standards] (asinhf): Likewise.
25056 [non-C99-based standards] (atanhf): Likewise.
25057 [non-C99-based standards] (cbrtf): Likewise.
25058 [non-C99-based standards] (expm1f): Likewise.
25059 [non-C99-based standards] (ilogbf): Likewise.
25060 [non-C99-based standards] (log1pf): Likewise.
25061 [non-C99-based standards] (logbf): Likewise.
25062 [non-C99-based standards] (nextafterf): Likewise.
25063 [non-C99-based standards] (remainderf): Likewise.
25064 [non-C99-based standards] (rintf): Likewise.
25065 [non-C99-based standards] (scalbf): Likewise.
25066 [non-C99-based standards] (copysignl): Likewise.
25067 [non-C99-based standards] (exp2l): Likewise.
25068 [non-C99-based standards] (log2l): Likewise.
25069 [non-C99-based standards] (modfl): Allow.
25070 [non-C99-based standards] (erfl): Do not allow.
25071 [non-C99-based standards] (erfcl): Likewise.
25072 [non-C99-based standards] (gammal): Likewise.
25073 [non-C99-based standards] (hypotl): Likewise.
25074 [non-C99-based standards] (j0l): Likewise.
25075 [non-C99-based standards] (j1l): Likewise.
25076 [non-C99-based standards] (jnl): Likewise.
25077 [non-C99-based standards] (lgammal): Likewise.
25078 [non-C99-based standards] (tgammal): Likewise.
25079 [non-C99-based standards] (y0l): Likewise.
25080 [non-C99-based standards] (y1l): Likewise.
25081 [non-C99-based standards] (ynl): Likewise.
25082 [non-C99-based standards] (isnanl): Likewise.
25083 [non-C99-based standards] (acoshl): Likewise.
25084 [non-C99-based standards] (asinhl): Likewise.
25085 [non-C99-based standards] (atanhl): Likewise.
25086 [non-C99-based standards] (cbrtl): Likewise.
25087 [non-C99-based standards] (expm1l): Likewise.
25088 [non-C99-based standards] (ilogbl): Likewise.
25089 [non-C99-based standards] (log1pl): Likewise.
25090 [non-C99-based standards] (logbl): Likewise.
25091 [non-C99-based standards] (nextafterl): Likewise.
25092 [non-C99-based standards] (remainderl): Likewise.
25093 [non-C99-based standards] (rintl): Likewise.
25094 [non-C99-based standards] (scalbl): Likewise.
25095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25096 [non-C99-based standards] (FP_*): Do not allow.
25097 [C99-based standards] (FP_*): Change to
25098 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25099 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25101 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25102 (SIG_ERR): Likewise.
25103 [X/Open-based standards] (SIG_HOLD): Likewise.
25104 (SIG_IGN): Likewise.
25105 (SIGABRT): Use macro-int-constant. Specify type. Require
25107 (SIGFPE): Likewise.
25108 (SIGILL): Likewise.
25109 (SIGINT): Likewise.
25110 (SIGSEGV): Likewise.
25111 (SIGTER): Likewise.
25112 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25113 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25114 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25115 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25116 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25117 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25118 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25119 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25120 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25121 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25122 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25123 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25124 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25125 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25126 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25127 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25128 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25129 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25130 [X/Open-based standards] (SIGTRAP): Likewise.
25131 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25132 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25133 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25134 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25135 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25138 2012-05-08 Ian Wienand <ianw@vmware.com>
25141 * time/tzset.c (__tzset_parse_tz): Update default rules for
25142 daylight time changes in the Energy Policy Act of 2005.
25144 2012-05-09 Andreas Jaeger <aj@suse.de>
25147 * elf/ldconfig.c (parse_conf): Change string to make clear that
25148 ldconfig only issued a warning if ld.so.conf does not exist.
25150 2012-05-08 David S. Miller <davem@davemloft.net>
25152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25153 movxtod instead of popping the value on the stack.
25155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25157 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25159 * config.h.in: Add HAVE_ARM_PCS_VFP.
25161 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25164 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25165 checking but the checks are disabled for any reason.
25167 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25169 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25170 and ELF64_R_TYPE with ELFW(R_TYPE).
25172 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25174 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25175 (ulimit): Likewise.
25177 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25178 (settimeofday): Likewise.
25180 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25182 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25183 a struct th_u2 inside the union, and move tu_block/tu_code into
25184 a new th_u3 union of tu_block/tu_code inside of that. Move
25185 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25186 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25187 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25188 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25189 (th_stuff): Change to th_u1.tu_stuff.
25191 (th_msg): Change to th_u1.th_u2.tu_data.
25193 2012-05-07 David S. Miller <davem@davemloft.net>
25195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25198 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25199 (SETUP_PIC_REG): Use it.
25200 (SETUP_PIC_REG_LEAF): Use it.
25202 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25206 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25208 (EXPL_FINITE): Likewise.
25209 (FLDLOG): Likewise.
25210 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25211 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25213 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25215 (EXPL_FINITE): Likewise.
25216 (FLDLOG): Likewise.
25217 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25218 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25220 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25221 test of -max_value argument for long double.
25222 * sysdeps/i386/fpu/libm-test-ulps: Update.
25223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25225 2012-05-06 David S. Miller <davem@davemloft.net>
25227 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25228 quad soft-float symbols whose references which are compiler
25230 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25232 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25236 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25238 (EXPL_FINITE): Likewise.
25239 (FLDLOG): Likewise.
25242 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25243 Adjust comments for base varying.
25244 (__expl_finite): Change alias to EXPL_FINITE.
25245 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25247 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25248 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25249 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25250 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25251 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25253 (EXPL_FINITE): Likewise.
25254 (FLDLOG): Likewise.
25257 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25258 Adjust comments for base varying.
25259 (__expl_finite): Change alias to EXPL_FINITE.
25260 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25265 * math/libm-test.inc (check_float_internal): Correct ulp
25266 calculation for subnormal expected results.
25268 2012-05-06 Andreas Jaeger <aj@suse.de>
25270 * Makeconfig (+math-flags): New, set to -frounding-math.
25271 (+cflags): Add +math-flags so that all of glibc gets compiled with
25274 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25276 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25278 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25284 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25285 (__ieee754_expl): Allow for and saturate large arguments.
25286 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25287 (u_threshold): Likewise.
25288 (__exp): Call __ieee754_exp before checking for overflow and
25290 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25291 (u_threshold): Likewise.
25292 (__expf): Call __ieee754_expf before checking for overflow and
25294 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25295 (u_threshold): Likewise.
25296 (__expl): Call __ieee754_expl before checking for overflow and
25298 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25299 (__ieee754_expl): Allow for and saturate large arguments.
25300 * math/libm-test.inc (exp_test): Add another test. Do not allow
25301 missing overflow exception on overflow.
25302 (expm1_test): Do not allow missing overflow exception on overflow.
25304 * sysdeps/i386/fpu/e_expl.c: Move to ...
25305 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25306 rather than using inline asm.
25307 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25308 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25309 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25311 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25314 (signal): Likewise.
25318 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25320 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25321 sysdeps/unix/common/syscalls.list.
25322 (fchmod): Likewise.
25323 (fchown): Likewise.
25324 (ftruncate): Likewise.
25325 (getrusage): Likewise.
25326 (gettimeofday): Likewise.
25327 (setpgid): Likewise.
25328 (setregid): Likewise.
25329 (setreuid): Likewise.
25330 (sigaction): Likewise.
25331 (truncate): Likewise.
25332 (vhangup): Likewise.
25333 * sysdeps/unix/common/syscalls.list: Remove file.
25334 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25335 * sysdeps/unix/sysv/linux/Implies: Likewise.
25337 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25339 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25341 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25345 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25348 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25351 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25354 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25357 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25360 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25363 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25367 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25371 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25374 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25378 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25382 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25384 * sysdeps/unix/common/bits/dirent.h: Remove file.
25385 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25387 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25388 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25389 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25390 * sysdeps/unix/bsd/isatty.c: Likewise.
25391 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25392 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25393 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25395 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25398 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25399 long double comparison inaccuracies.
25400 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25403 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25405 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25408 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25411 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25412 nonzero digits before rounding a hex value.
25413 * stdlib/tst-strtod.c (tests): Add another test.
25415 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25417 * sysdeps/s390/fpu/libm-test-ulps: Update.
25419 2012-05-03 Andreas Jaeger <aj@suse.de>
25421 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25422 does not get optimized out.
25423 (malloc_opt_barrier): New.
25425 2012-05-03 Andreas Jaeger <aj@suse.de>
25426 Roland McGrath <roland@hack.frob.com>
25428 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25429 intermediate file deletion.
25430 (generated): Add .symlist files.
25432 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25435 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25436 Redirect under this condition.
25437 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25438 [__USE_GNU] (__dprintf_chk): Not under this condition.
25439 [__USE_GNU] (__vdprintf_chk): Likewise.
25440 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25441 under this condition.
25442 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25443 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25444 [__USE_XOPEN2K8] (vdprintf): Likewise.
25445 [__USE_GNU] (__dprintf_chk): Not under this condition.
25446 [__USE_GNU] (__vdprintf_chk): Likewise.
25447 [__USE_GNU] (dprintf): Likewise.
25448 [__USE_GNU] (vdprintf): Likewise.
25450 2012-05-03 Roland McGrath <roland@hack.frob.com>
25452 * elf/Makefile (common-generated): Set this instead of generated for
25453 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25454 $(all-built-dso)-derived lists.
25456 2012-05-03 Andreas Jaeger <aj@suse.de>
25458 * sysdeps/i386/fpu/libm-test-ulps: Update.
25461 * FAQ.in: Likewise.
25462 * scripts/gen-FAQ.pl: Likewise.
25463 * manual/install.texi (Installation): Point to online location of
25465 * Makefile (files-for-dist): Remove FAQ.
25468 2012-05-02 Allan McRae <allan@archlinux.org>
25470 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25471 (LDFLAGS-reldepmod5.so): Likewise.
25472 (LDFLAGS-reldep6mod1.so): Likewise.
25473 (LDFLAGS-reldep6mod4.so): Likewise.
25474 (LDFLAGS-reldep8mod3.so): Likewise.
25475 (LDFLAGS-unload4mod1.so): Likewise.
25476 (LDFLAGS-unload4mod2.so): Likewise.
25477 (LDFLAGS-tst-initorder): Likewise.
25478 (LDFLAGS-tst-initordera2.so): Likewise.
25479 (LDFLAGS-tst-initordera3.so): Likewise.
25480 (LDFLAGS-tst-initordera4.so): Likewise.
25481 (LDFLAGS-tst-initorderb2.so): Likewise.
25482 (LDFLAGS-noload): Likewise.
25483 (LDFLAGS-next): Likewise.
25484 (LDFLAGS-order2mod1.so): Likewise.
25485 (LDFLAGS-order2mod2.so): Likewise.
25486 (LDFLAGS-tst-initorder2): Likewise.
25487 (LDFLAGS-tst-initorder2a.so): Likewise.
25488 (LDFLAGS-tst-initorder2b.so): Likewise.
25489 (LDFLAGS-tst-initorder2c.so): Likewise.
25490 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25492 2012-05-02 David S. Miller <davem@davemloft.net>
25494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25496 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25499 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25501 2012-05-02 Andreas Jaeger <aj@suse.de>
25503 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25504 since we manipulate rounding mode.
25505 (CPPFLAGS-test-idouble.c): Likewise.
25506 (CPPFLAGS-test-ifloat.c): Likewise.
25507 (CFLAGS-test-ldouble.c): Likewise.
25508 (CFLAGS-test-double.c): Likewise.
25509 (CFLAGS-test-float.c): Likewise.
25510 (CFLAGS-test-misc.c): Likewise.
25511 (CFLAGS-test-test-fenv.c): Likewise.
25513 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25517 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25518 comparisons to determine direction to adjust input.
25520 2012-05-01 Roland McGrath <roland@hack.frob.com>
25522 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25523 output to the target.
25525 * scripts/localplt.awk: New file.
25526 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25527 (check-localplt-CFLAGS): Variable removed.
25528 ($(all-built-dso:=.jmprel)): New static pattern rule.
25529 (generated): Add those targets.
25530 (localplt-built-dso): New variable.
25531 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25533 * elf/check-localplt.c: File removed.
25535 * scripts/check-execstack.awk: New file.
25536 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25537 (check-execstack-CFLAGS): Variable removed.
25538 ($(objpfx)check-execstack.h): Target removed.
25539 ($(objpfx)execstack-default): New target.
25540 (generated): Add that instead of check-execstack.h.
25541 ($(all-built-dso:=.phdr)): New static pattern rule.
25542 (generated): Add those targets.
25543 * elf/check-execstack.c: File removed.
25545 * scripts/check-textrel.awk: New file.
25546 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25547 (check-textrel-CFLAGS): Variable removed.
25548 (all-built-dso): Use := to define.o
25549 ($(all-built-dso:=.dyn)): New static pattern rule.
25550 (generated): Add those targets.
25551 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25552 * config.make.in (READELF): New substituted variable.
25553 * elf/check-textrel.c: File removed.
25555 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25557 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25559 * conform/data/ctype.h-data [C99-based standards] (isblank):
25561 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25562 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25564 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25565 Specify type. Require positive value.
25566 (EILSEQ): Likewise.
25567 (ERANGE): Likewise.
25568 [ISO || POSIX] (EILSEQ): Do not expect.
25569 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25570 Specify type. Require positive value.
25571 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25572 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25573 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25574 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25575 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25576 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25577 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25578 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25579 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25580 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25581 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25582 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25583 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25584 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25585 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25586 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25587 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25588 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25589 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25590 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25591 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25592 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25593 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25594 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25595 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25596 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25597 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25598 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25599 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25600 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25601 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25602 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25603 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25604 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25605 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25606 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25607 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25608 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25609 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25610 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25611 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25612 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25613 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25614 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25615 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25616 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25617 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25618 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25619 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25620 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25621 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25622 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25623 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25624 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25625 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25626 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25630 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25636 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25638 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25641 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25645 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25646 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25647 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25649 (FLT_ROUNDS): Expect as macro, not constant.
25650 (FLT_MANT_DIG): Use macro-int-constant.
25651 (DBL_MANT_DIG): Likewise.
25652 (LDBL_MANT_DIG): Likewise.
25653 (FLT_DIG): Likewise.
25654 (DBL_DIG): Likewise.
25655 (LDBL_DIG): Likewise.
25656 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25657 (DBL_MIN_EXP): Likewise.
25658 (LDBL_MIN_EXP): Likewise.
25659 (FLT_MAX_EXP): Use macro-int-constant.
25660 (DBL_MAX_EXP): Likewise.
25661 (LDBL_MAX_EXP): Likewise.
25662 (FLT_MAX_10_EXP): Likewise.
25663 (DBL_MAX_10_EXP): Likewise.
25664 (LDBL_MAX_10_EXP): Likewise.
25665 (FLT_MAX): Use macro-constant.
25666 (DBL_MAX): Likewise.
25667 (LDBL_MAX): Likewise.
25668 (FLT_EPSILON): Use macro-constant. Give upper bound.
25669 (DBL_EPSILON): Likewise.
25670 (LDBL_EPSILON): Likewise.
25671 (FLT_MIN): Likewise.
25672 (DBL_MIN): Likewise.
25673 (LDBL_MIN): Likewise.
25674 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25675 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25676 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25677 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25678 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25679 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25680 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25681 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25682 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25683 [ISO11] (FLT_TRUE_MIN): Likewise.
25684 [ISO11] (LDBL_TRUE_MIN): Likewise.
25685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25686 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25687 (SCHAR_MIN): Use macro-int-constant. Specify type.
25688 (SCHAR_MAX): Likewise.
25689 (UCHAR_MAX): Likewise.
25690 (CHAR_MIN): Likewise.
25691 (CHAR_MAX): Likewise.
25692 (MB_LEN_MAX): Use macro-int-constant.
25693 (SHRT_MIN): Use macro-int-constant. Specify type.
25694 (SHRT_MAX): Likewise.
25695 (USHRT_MAX): Likewise.
25696 (INT_MAX): Likewise.
25697 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25699 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25701 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25703 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25704 bound negative. Suffix upper bound with "L".
25705 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25707 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25709 [C99-based standards] (LLONG_MAX): Likewise.
25710 [C99-based standards] (ULLONG_MAX): Likewise.
25711 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25713 [ISO11] (max_align_t): Require type.
25714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25716 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25717 from $CFLAGS, without defining away __attribute__ calls.
25718 (checknamespace): Use $CFLAGS_namespace.
25720 * conform/conformtest.pl (@keywords): Only include C99 keywords
25721 for standards based on C99 or C11.
25723 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25725 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25728 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25729 usability of symbols in #if.
25731 * conform/conformtest.pl: If macro or constant types start
25732 "promoted:", expect the symbol to be of the following type
25733 promoted by the integer promotions.
25735 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25736 in one place. Also handle "macro-constant".
25738 * conform/conformtest.pl: Only accept expected macro values with
25739 "==". Parse all "macro" lines in one place.
25740 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25742 * conform/conformtest.pl: Handle braced types on "constant" lines
25743 instead of handling "typed-constant".
25744 * conform/data/signal.h-data: Use "constant" instead of
25747 * conform/conformtest.pl: Handle "optional-" at start of lines in
25748 one place rather than duplicating several cases. Handle each
25749 format of "macro" line with initial "optional-".
25751 * conform/conformtest.pl: Only accept expected constant or
25752 optional-constant values with "==". Parse all "constant" lines in
25753 one place. Parse all "optional-constant" lines in one place.
25754 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25755 * conform/data/fmtmsg.h-data: Likewise.
25756 * conform/data/netinet/in.h-data: Likewise.
25757 * conform/data/tar.h-data: Likewise.
25758 * conform/data/limits.h-data: Use "==" form on "constant" and
25759 "optional-constant" lines.
25761 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25762 Use -std=c99 for XOPEN2K.
25763 (@knownproblems): Remove.
25764 (newtoken): Don't check %isknown.
25766 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25767 Do not expect macro.
25768 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25780 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25781 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25798 [XPG3] (acosh): Likewise.
25799 [XPG3] (asinh): Likewise.
25800 [XPG3] (atanh): Likewise.
25801 [XPG3] (cbrt): Likewise.
25802 [XPG3] (expm1): Likewise.
25803 [XPG3] (ilogb): Likewise.
25804 [XPG3] (log1p): Likewise.
25805 [XPG3] (logb): Likewise.
25806 [XPG3] (nextafter): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25809 [XPG3] (remainder): Likewise.
25810 [XPG3] (rint): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25815 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25816 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25817 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25818 [UNIX98 || XOPEN2K] (scalb): Expect.
25819 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25820 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25821 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25822 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25823 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25826 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25827 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25829 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25830 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25831 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25832 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25833 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25834 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25835 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25836 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25837 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25838 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25839 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25840 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25841 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25842 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25843 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25844 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25845 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25846 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25847 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25848 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25849 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25850 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25851 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25852 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25853 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25854 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25855 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25856 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25857 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25858 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25859 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25860 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25861 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25862 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25863 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25864 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25865 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25866 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25867 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25868 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25869 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25870 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25871 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25872 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25873 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25874 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25875 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25876 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25877 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25878 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25879 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25880 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25881 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25882 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25883 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25884 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25885 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25886 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25887 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25888 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25892 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25896 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25897 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25898 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25909 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25910 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25911 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25912 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25913 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25915 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25916 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25931 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25957 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25958 _XOPEN_SOURCE_EXTENDED for XPG4.
25960 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25962 * Makeconfig (localtime): Remove variable.
25963 (inst_localtime-file): Likewise.
25965 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25986 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25990 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25991 comparisons to determine direction to adjust input.
25992 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25993 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25994 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25996 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25998 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26000 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26001 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26003 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26005 * math/libm-test.inc (nexttoward_test): Add more tests.
26007 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26011 in version GLIBC_2.1, not GLIBC_2.0.
26012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26015 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26018 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26020 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26021 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26022 * math/libm-test.inc (acos_test): Add more tests.
26023 (asin_test): Likewise.
26024 * sysdeps/i386/fpu/libm-test-ulps: Update.
26025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26028 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26030 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26031 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26032 * math/libm-test.inc (acos_test_tonearest): New function.
26033 (acos_test_towardzero): Likewise.
26034 (acos_test_downward): Likewise.
26035 (acos_test_upward): Likewise.
26036 (asin_test_tonearest): Likewise.
26037 (asin_test_towardzero): Likewise.
26038 (asin_test_downward): Likewise.
26039 (asin_test_upward): Likewise.
26040 (main): Call the new functions.
26041 * sysdeps/i386/fpu/libm-test-ulps: Update.
26042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26046 * math/e_exp10.c: Include <float.h>.
26047 (__ieee754_exp10): Handle underflow here rather than multiplying
26048 large negative argument by M_LN10.
26049 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26051 * math/e_exp10l.c: Include <float.h>.
26052 (__ieee754_exp10l): Handle underflow here rather than multiplying
26053 large negative argument by M_LN10l.
26054 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26055 spurious overflow exception on underflow.
26057 2012-04-29 Marek Polacek <polacek@redhat.com>
26059 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26060 (__fortify_function): New macro.
26061 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26062 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26063 __extern_always_inline.
26064 * libio/bits/stdio2.h: Likewise.
26065 * libio/bits/stdio.h: Likewise.
26066 * string/string.h: Likewise.
26067 * string/bits/string3.h: Likewise.
26068 * include/stdio.h: Likewise.
26069 * stdlib/bits/stdlib.h: Likewise.
26070 * stdlib/stdlib.h: Likewise.
26071 * rt/bits/mqueue2.h: Likewise.
26072 * rt/mqueue.h: Likewise.
26073 * posix/bits/unistd.h: Likewise.
26074 * posix/unistd.h: Likewise.
26075 * io/bits/poll2.h: Likewise.
26076 * io/bits/fcntl2.h: Likewise.
26077 * io/fcntl.h: Likewise.
26078 * io/sys/poll.h: Likewise.
26079 * misc/bits/syslog.h: Likewise.
26080 * misc/bits/syslog-ldbl.h: Likewise.
26081 * misc/sys/syslog.h: Likewise.
26082 * socket/bits/socket2.h: Likewise.
26083 * socket/sys/socket.h: Likewise.
26084 * debug/tst-chk1.c: Likewise.
26085 * wcsmbs/bits/wchar2.h: Likewise.
26086 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26087 * wcsmbs/wchar.h: Likewise.
26089 2012-04-29 Andreas Jaeger <aj@suse.de>
26091 * Makerules (tests): Remove enable-check-abi protection.
26092 (check-abi-warn): Remove.
26093 (check-abi-%): Remove check-abi-warn usage.
26095 * configure.in: Remove check-abi configure option.
26096 * configure: Regenerated.
26097 * config.make.in (enable-check-abi): Remove.
26099 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26102 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26103 double functions to double *_finite functions.
26106 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26107 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26109 * stdio-common/Makefile (tests): Add tst-sprintf3.
26110 * stdio-common/tst-sprintf3.c: New file.
26112 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26113 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26115 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26117 * conform/conformtest.pl: Remove duplicate typed-constant
26120 2012-04-28 David S. Miller <davem@davemloft.net>
26122 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26123 (check-abi-%): Remove AWK script prerequisite and explicit
26125 (check-abi): Rewrite to just diff the symlist with the abilist.
26126 (config-tls, config-abi-config): Delete, no longer used.
26127 (update-abi-%): Remove AWK script and explicit abilist directory.
26128 (update-abi): Rewrite to simply compare and conditionally copy the
26129 symlist and the sysdep abilist file. Remove update-abi-config
26131 * abilist/ld.abilist: Remove.
26132 * abilist/libBrokenLocale.abilist: Remove.
26133 * abilist/libanl.abilist: Remove.
26134 * abilist/libcrypt.abilist: Remove.
26135 * abilist/libdl.abilist: Remove.
26136 * abilist/librt.abilist: Remove.
26137 * abilist/libthread_db.abilist: Remove.
26138 * abilist/libutil.abilist: Remove.
26139 * scripts/extract-abilist.awk: Remove.
26140 * scripts/merge-abilist.awk: Remove.
26141 * sysdeps/generic/libcidn.abilist: New file.
26142 * sysdeps/generic/libnss_compat.abilist: New file.
26143 * sysdeps/generic/libnss_db.abilist: New file.
26144 * sysdeps/generic/libnss_dns.abilist: New file.
26145 * sysdeps/generic/libnss_files.abilist: New file.
26146 * sysdeps/generic/libnss_hesiod.abilist: New file.
26147 * sysdeps/generic/libnss_nis.abilist: New file.
26148 * sysdeps/generic/libnss_nisplus.abilist: New file.
26149 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26150 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26151 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26153 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26154 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26155 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26156 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26157 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26158 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26159 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26160 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26161 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26163 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26164 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26165 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26166 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26168 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26169 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26170 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26171 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26172 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26173 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26175 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26176 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26177 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26179 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26282 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26283 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26284 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26287 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26288 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26289 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26290 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26291 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26292 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26293 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26294 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26295 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26347 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26349 * conform/conformtest.pl: Fix typo in handling typed-constant from
26352 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26354 * README: Cut down references to pre-2.6 Linux kernels and
26355 Linuxthreads. Update lists of configurations in libc and ports
26356 and sort alphabetically. Say "or newer" with Linux kernel version
26359 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26361 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26364 * math/libm-test.inc (logb_test_downward): New test to expose
26365 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26368 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26371 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26373 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26374 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26376 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26378 * sysdeps/unix/i386/brk.S: Remove file.
26379 * sysdeps/unix/i386/dl-brk.S: Likewise.
26380 * sysdeps/unix/i386/pipe.S: Likewise.
26381 * sysdeps/unix/i386/sigreturn.S: Likewise.
26382 * sysdeps/unix/i386/syscall.S: Likewise.
26383 * sysdeps/unix/i386/vfork.S: Likewise.
26384 * sysdeps/unix/i386/wait.S: Likewise.
26386 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26387 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26389 * configure.in (arm*-none*): Do not allow without
26390 --enable-hacker-mode.
26391 (netbsd*): Remove case setting base_os.
26392 (386bsd*): Likewise.
26393 (freebsd*): Likewise.
26396 (sunos*): Likewise.
26397 (ultrix*): Likewise.
26398 (newsos*): Likewise.
26399 (dynix*): Likewise.
26405 (minix*): Likewise.
26406 (irix4*): Likewise.
26407 (irix6*): Likewise.
26408 (solaris[2-9]*): Likewise.
26410 * configure: Regenerated.
26412 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26415 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26416 overflow or cancellation in calculating denominator.
26417 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26418 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26419 down expression to avoid unexpected rounding in newer GCCs.
26420 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26422 2012-04-26 David S. Miller <davem@davemloft.net>
26424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26425 long-double compat symbols.
26426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26440 2012-04-25 David S. Miller <davem@davemloft.net>
26442 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26443 HWCAP_* values only after the memory barriers have been defined.
26444 (atomic_full_barrier): Define.
26445 (atomic_read_barrier): Define.
26446 (atomic_write_barrier): Define.
26448 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26450 * shlib-versions: Add libgcc_s version information.
26451 * sysdeps/generic/libgcc_s.h: Remove.
26452 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26454 * sysdeps/gnu/unwind-resume.c: Likewise.
26455 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26457 2012-04-25 David S. Miller <davem@davemloft.net>
26459 * sysdeps/unix/sparc/brk.S: Delete.
26460 * sysdeps/unix/sparc/dl-brk.S: Delete.
26461 * sysdeps/unix/sparc/pipe.S: Delete.
26462 * sysdeps/unix/sparc/sysdep.S: Delete.
26463 * sysdeps/unix/sparc/sysdep.h: Delete.
26464 * sysdeps/unix/sparc/vfork.S: Delete.
26465 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26466 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26467 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26468 ret_ERRVAL, r0, r1, MOVE): Define.
26469 (JUMPTARGET): Remove.
26470 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26471 sysdeps/unix/sparc/sysdep.h
26472 (ENTRY, END): Remove.
26473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26475 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26477 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26478 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26481 * timezone/README: Update upstream location and email address for
26483 * timezone/zdump.c: Update from tzcode 2012b.
26484 * timezone/zic.c: Likewise.
26486 * configure.in (libc_cv_as_needed): Remove test.
26487 * configure: Regenerated.
26488 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26489 conditional definition.
26490 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26491 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26492 * config.make.in (have-as-needed): Remove variable.
26494 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26495 Paul Pluzhnikov <ppluzhnikov@google.com>
26497 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26500 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26502 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26503 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26504 * sysdeps/sh/strlen.S: Likewise.
26506 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26508 * sysdeps/unix/fork.S: Remove file.
26509 * sysdeps/unix/i386/fork.S: Likewise.
26510 * sysdeps/unix/sparc/fork.S: Likewise.
26512 * sysdeps/unix/system.c: Remove file.
26513 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26515 * sysdeps/unix/getegid.S: Remove file.
26516 * sysdeps/unix/geteuid.S: Likewise.
26518 2012-04-24 Roland McGrath <roland@hack.frob.com>
26520 * scripts/check-localplt.awk: New file.
26521 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26523 * scripts/data/localplt-generic.data: Add a comment.
26525 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26526 NODE when __dir_mkfile failed.
26527 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26528 Reported by Ludovic Courtès <ludo@gnu.org>.
26530 2012-04-24 Andreas Jaeger <aj@suse.de>
26532 * Makerules (common-clean): Also remove gen-as-const-headers
26535 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26537 * Makerules (native-compile): Do not change working directory for
26538 build. Use $(OUTPUT_OPTION) in command.
26539 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26541 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26544 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26545 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26546 * math/libm-test.inc (floor_test): Add more tests.
26547 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26549 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26551 * sysdeps/unix/getdents.c: Remove file.
26552 * sysdeps/unix/sysv/getdents.c: Likewise.
26553 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26555 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26556 sysdeps/unix/mman/syscalls.list.
26558 (mprotect): Likewise.
26560 (munmap): Likewise.
26561 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26562 * sysdeps/unix/mman/syscalls.list: Remove.
26563 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26565 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26566 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26567 * configure: Regenerated.
26568 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26569 $(libgcc_s_suffix).
26570 * config.make.in (libgcc_s_suffix): Remove variable.
26572 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26574 * sysdeps/unix/sysv/gethostname.c: Move to ...
26575 * sysdeps/posix/gethostname.c: ... here.
26577 * sysdeps/unix/execve.S: Remove file.
26579 * sysdeps/unix/_exit.S: Remove file.
26581 2012-04-23 Andreas Jaeger <aj@suse.de>
26584 * manual/Makefile: Remove make dist support, there's no
26585 need for a stand-alone documentation tar ball.
26586 (TEXI2DVI): Define always, it's not in Makeconfig.
26589 (edition): Removed.
26590 (glibc-doc-$(edition).tar): Removed
26594 (ETAGS): Remove, it's in Makeconfig.
26595 (move-if-change): Remove, it's in Makeconfig.
26597 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26600 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26601 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26602 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26603 (strtod_l, strtof_l, strtold_l): Remove __wur.
26604 It is not necessarily an error to ignore strtol's return value.
26605 One can reliably look at the stored endptr to decide whether
26606 the number had valid syntax.
26608 2012-04-21 Andreas Jaeger <aj@suse.de>
26611 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26613 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26615 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26616 * sysdeps/unix/sysv/Versions: Remove file.
26618 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26623 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26626 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26627 version from __vm86.
26629 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26631 * sysdeps/unix/common/lxstat.c: Remove file.
26632 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26634 * sysdeps/unix/sysv/Makefile: Remove file.
26636 * sysdeps/unix/sysv/direct.h: Remove file.
26638 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26639 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26640 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26641 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26642 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26643 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26644 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26646 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26648 * sysdeps/unix/xmknod.c: Remove file.
26649 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26651 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26653 * sysdeps/unix/sysv/i386/time.S: Remove file.
26655 * sysdeps/unix/fxstat.c: Remove file.
26656 * sysdeps/unix/xstat.c: Likewise.
26657 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26659 * sysdeps/unix/sysv/sigaction.c: Remove file.
26661 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26662 (sysdep_headers): Remove variable.
26663 [termio.h not in sysdep_headers] (generated): Likewise.
26664 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26665 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26666 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26667 * sysdeps/unix/sysv/tcflow.c: Likewise.
26668 * sysdeps/unix/sysv/tcflush.c: Likewise.
26669 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26670 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26671 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26672 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26673 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26675 * sysdeps/unix/siglist.c: Remove file.
26677 * sysdeps/unix/getppid.S: Remove file.
26679 * sysdeps/unix/mkdir.c: Remove file.
26680 * sysdeps/unix/rmdir.c: Likewise.
26682 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26684 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26686 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26687 errlist-compat value.
26689 2012-04-18 David S. Miller <davem@davemloft.net>
26691 * sysdeps/generic/memcopy.h (reg_char): Delete.
26692 * debug/strcat_chk.c: Use char, not reg_char.
26693 * debug/strcpy_chk.c: Likewise.
26694 * debug/strncat_chk.c: Likewise.
26695 * debug/strncpy_chk.c: Likewise.
26696 * string/memchr.c: Likewise.
26697 * string/memrchr.c: Likewise.
26698 * string/rawmemchr.c: Likewise.
26699 * string/strcat.c: Likewise.
26700 * string/strchr.c: Likewise.
26701 * string/strchrnul.c: Likewise.
26702 * string/strcmp.c: Likewise.
26703 * string/strcpy.c: Likewise.
26704 * string/strncat.c: Likewise.
26705 * string/strncmp.c: Likewise.
26706 * string/strncpy.c: Likewise.
26708 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26710 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26711 __builtin_memcopy is called when src and dest ranges are known to not
26714 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26716 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26717 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26718 fwd_align_merge macro call.
26719 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26720 bwd_align_merge macro call.
26721 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26723 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26725 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26726 bwd_align_merge macros.
26727 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26728 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26729 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26731 2012-04-18 David S. Miller <davem@davemloft.net>
26733 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26735 2012-04-18 Andreas Jaeger <aj@suse.de>
26738 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26739 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26740 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26742 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26743 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26744 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26746 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26747 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26748 Adjust for changed ldbl-128 files.
26750 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26751 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26752 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26754 2012-04-17 David S. Miller <davem@davemloft.net>
26756 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26758 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26760 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26761 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26762 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26763 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26764 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26765 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26767 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26770 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26771 * math/libm-test.inc: Add ilogb errno and exception tests.
26772 * math/w_ilogb.c: New file: ilogb wrapper.
26773 * math/w_ilogbf.c: New file: ilogbf wrapper.
26774 * math/w_ilogbl.c: New file: ilogbl wrapper.
26775 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26776 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26777 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26778 exception being thrown with 0.0 as argument.
26779 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26780 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26781 exception being thrown with 0.0 as argument.
26782 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26783 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26784 exception being thrown with 0.0 as argument.
26785 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26786 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26787 exception being thrown with 0.0 as argument.
26788 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26789 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26790 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26791 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26792 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26793 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26794 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26795 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26796 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26798 2012-04-17 Petr Baudis <pasky@ucw.cz>
26800 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26803 2012-04-16 Marek Polacek <polacek@redhat.com>
26805 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26807 2012-04-16 Marek Polacek <polacek@redhat.com>
26809 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26810 operands of fdivp instruction.
26812 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26814 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26815 * elf/tst-auditmod3b.c: Likewise.
26816 * elf/tst-auditmod4b.c: Likewise.
26817 * elf/tst-auditmod5b.c: Likewise.
26818 * elf/tst-auditmod6b.c: Likewise.
26819 * elf/tst-auditmod6c.c: Likewise.
26820 * elf/tst-auditmod7b.c: Likewise.
26821 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26822 * sysdeps/x86_64/preconfigure.in: Likewise.
26823 * sysdeps/x86_64/preconfigure: Regenerated.
26825 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26827 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26830 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26832 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26833 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26835 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26838 * locale/iso-639.def: Fix gl language name. Spotted by
26841 2012-04-12 Roland McGrath <roland@hack.frob.com>
26844 * libio/libio.h (__io_write_fn): Update comment.
26846 2012-04-12 Petr Baudis <pasky@ucw.cz>
26849 * stdio.texi (Hook Functions): The user provided writer function
26850 is not allowed to return -1.
26852 2012-04-11 David S. Miller <davem@davemloft.net>
26854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26856 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26858 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26859 Add a leading slash to rtkaio.
26861 2012-04-11 Jim Meyering <meyering@redhat.com>
26864 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26865 It is not necessarily an error to ignore fwrite's return
26866 value. One can reliably use ferror to test for errors after
26869 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26871 * bits/types.h (__snseconds_t): New type.
26872 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26874 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26876 (__SNSECONDS_T_TYPE): Likewise.
26877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26878 (__SNSECONDS_T_TYPE): Likewise.
26879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26880 (__SNSECONDS_T_TYPE): Likewise.
26882 2012-04-10 Andreas Jaeger <aj@suse.de>
26885 * manual/time.texi (Processor Time): Return type of times is
26886 elapsed real time since an arbitrary point in the past.
26887 (CPU Time): Move CLK_TCK from here...
26888 (Processor Time): ...to here. Correct description.
26889 * manual/conf.texi (Constants for Sysconf): Correct description of
26892 2012-04-10 David S. Miller <davem@davemloft.net>
26895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26896 where the is a gap between DT_REL(A) and DT_JMPREL.
26898 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26900 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26901 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26902 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26904 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26906 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26907 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26908 (dl_main): Handle --inhibit-cache.
26909 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26911 * elf/dl-load.c (_dl_map_object): Use it.
26912 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26914 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26917 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26918 (__ieee754_powl): Saturate large exponents rather than testing for
26919 overflow of y*log2(x).
26920 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26921 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26925 * math/s_ctan.c: Include <float.h>.
26926 (__ctan): Avoid internal overflow or cancellation in calculating
26928 * math/s_ctanf.c: Likewise.
26929 * math/s_ctanl.c: Likewise.
26930 * math/s_ctanh.c: Likewise.
26931 * math/s_ctanhf.c: Likewise.
26932 * math/s_ctanhl.c: Likewise.
26933 * math/libm-test.inc (ctan_test): Add more tests.
26934 (ctanh_test): Likewise.
26935 * sysdeps/i386/fpu/libm-test-ulps: Update.
26936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26938 2012-04-09 Andreas Jaeger <aj@suse.de>
26941 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26942 is an optional BSD extension.
26945 * manual/stdio.texi (Opening Streams): Document additional fopen
26948 2012-04-09 Roland McGrath <roland@hack.frob.com>
26950 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26951 %eax without telling the compiler.
26953 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26956 * manual/install.texi: Use sourceware.org.
26958 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26961 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26962 (__ieee754_pow): Generate overflow and underflow using huge*huge
26963 and tiny*tiny rather than just returning constant infinity or zero
26964 for large exponents.
26965 * math/libm-test.inc (pow_test): Require overflow exceptions for
26966 applicable cases of large exponents.
26969 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26970 (__ieee754_pow): Use iterative multiplication algorithm only for
26971 integer exponents with absolute value below 1024. Check for odd
26972 integer exponents when using algorithm for real exponents.
26973 * math/libm-test.inc (pow_test): Add more tests.
26974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26976 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26979 * math/libm-test.inc (exp_test): Do not allow overflow exception
26982 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26985 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26986 instead of __kernel_standard_f.
26988 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26990 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26991 * sysdeps/x86_64/memset_chk.S: Likewise.
26993 2012-04-08 Andreas Jaeger <aj@suse.de>
26996 * manual/startup.texi (Environment Access): Describe return value
26997 for putenv and setenv.
27000 * manual/filesys.texi (Directory Entries): Add description for
27004 * manual/filesys.texi (Directory Entries): Clarify that it's file
27005 system not operating system in the description of DT_UNKNOWN.
27008 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27010 2012-04-08 Stephen Compall <s11@member.fsf.org>
27013 * manual/llio.texi (Opening and Closing Files): Add cross
27014 reference to explain mode argument.
27016 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27018 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27019 * sysdeps/x86_64/memset_chk.S: Likewise.
27021 2012-04-07 David S. Miller <davem@davemloft.net>
27023 * elf/elf.h (R_SPARC_WDISP10): Define.
27024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27026 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27027 R_SPARC_SIZE64 and R_SPARC_H34.
27029 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27031 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27032 conditions and remove no longer applicable assertion.
27034 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27036 * bits/byteswap.h: Include <features.h>.
27037 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27038 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27040 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27042 * bits/byteswap.h (__bswap_16): Removed.
27043 Include <bits/byteswap-16.h> to get __bswap_16.
27044 * sysdeps/i386/bits/byteswap.h: Likewise.
27045 * sysdeps/s390/bits/byteswap.h: Likewise.
27046 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27047 * bits/byteswap-16.h: New file.
27048 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27049 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27050 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27051 * string/Makefile (headers): Add bits/byteswap-16.h.
27053 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27056 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27058 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27059 * nss/tst-nss-static.c: New.
27061 2012-04-06 Robert Millan <rmh@gnu.org>
27064 * manual/llio.texi (File Position Primitive): lseek
27065 refers to WHENCE when it really means OFFSET.
27067 2012-04-06 Andreas Jaeger <aj@suse.de>
27069 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27070 strncmp declarations.
27072 * abilist/libc.abilist: Add __poll and __ppoll.
27074 2012-04-05 David S. Miller <davem@davemloft.net>
27076 * scripts/check-local-headers.sh: Accept a host triplet in the
27077 path matched by the exclude regexp.
27079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27081 * sysdeps/powerpc/powerpc32/dl-machine.h
27082 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27083 * sysdeps/s390/s390-32/dl-machine.h
27084 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27085 * sysdeps/sparc/sparc32/dl-machine.h
27086 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27087 * sysdeps/sparc/sparc64/dl-machine.h
27088 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27090 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27092 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27093 undefined symbol errors.
27095 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27098 2012-04-05 Michael Matz <matz@suse.de>
27101 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27103 2012-04-05 Andreas Jaeger <aj@suse.de>
27106 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27109 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27111 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27112 which ROUND is no valid rounding mode.
27114 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27116 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27118 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27120 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27122 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27123 an exception using FPU order intentionally.
27125 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27127 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27128 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27129 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27130 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27132 2012-04-05 Simon Josefsson <simon@josefsson.org>
27135 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27136 EINVAL when BUFLEN is too smal.
27138 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27141 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27142 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27144 2012-04-03 Andreas Jaeger <aj@suse.de>
27147 * manual/setjmp.texi (System V contexts): Fix sentence.
27150 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27151 New macro for this case.
27152 [!__GNUC__] (__bswap_64): New inline function for this case.
27153 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27154 * bits/byteswap.h: Likewise.
27155 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27156 ull, guard with __GLIBC_HAVE_LONG_LONG.
27158 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27159 __GLIBC_HAVE_LONG_LONG.
27161 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27162 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27164 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27167 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27168 inptr and inend, rather than using last_ch.
27170 2012-04-02 David S. Miller <davem@davemloft.net>
27172 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27173 * stdio-common/printf-parse.h (read_int): Change return type to
27174 'int', return -1 on INT_MAX overflow.
27175 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27176 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27177 overflows INT_MAX. Check for overflow of in-format-string precision
27178 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27179 SIZE_MAX not INT_MAX for integer overflow test.
27180 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27181 skip the construct in the format string but do not record anything.
27182 * stdio-common/bug22.c: Adjust to test both width/prevision
27183 INT_MAX overflow as well as total length INT_MAX overflow. Check
27184 explicitly for proper errno values.
27186 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27188 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27190 * string/test-strcmp.c [! WIDE]: Likewise.
27191 * time/tst-mktime2.c: Likewise for INT_MAX.
27192 * string/test-string.h: #include <sys/param.h> for MIN.
27194 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27195 * sysdeps/i386/init-first.c (init): Likewise.
27196 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27197 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27198 * sysdeps/sh/init-first.c (init): Likewise.
27200 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27202 * po/ru.po: Update from translation team.
27203 * po/vi.po: Likewise.
27205 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27207 * resolv/nss_dns/dns-host.c: Merge copyright years.
27209 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27211 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27212 Optimize memcpy with prefetch if
27213 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27214 src, dst pointers have unequal 16 byte alignments.
27216 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27219 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27220 from a CNAME entry and return the minimum ttl for the query.
27221 (gaih_getanswer_slice): Likewise.
27223 2012-03-30 Jeff Law <law@redhat.com>
27225 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27227 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27228 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27230 * resolv/nss_dns/dns-host.c: Update copyright year.
27232 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27234 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27235 requests to save a system call. Fix check that all bytes are sent.
27237 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27238 comments for sendmmsg.
27240 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27243 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27244 with only 1 character between 0x0041 and 0x01b0.
27245 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27246 * wcsmbs/tst-mbsnrtowcs.c: New file.
27248 2012-03-29 David S. Miller <davem@davemloft.net>
27250 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27251 small copies by hand.
27253 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27256 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27257 _nss_compat_initgroups_dyn): Fall back to malloc/free
27258 for large group memberships.
27260 2012-03-28 David S. Miller <davem@davemloft.net>
27262 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27263 that branches into memcpy.
27264 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27265 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27266 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27267 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27270 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27271 implementation too.
27272 * sysdeps/sparc/mempcpy.S: New file.
27274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27275 the IFUNC routine in the libc case.
27276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27278 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27279 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27280 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27281 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27282 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27283 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27284 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27285 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27287 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27288 loop to 256 bytes instead of 64 bytes and fix test signedness.
27290 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27291 * sysdeps/sparc/sparc32/Makefile: rather than here...
27292 * sysdeps/sparc/sparc64/Makefile: and here.
27294 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27296 * malloc/mallocbug.c: Avoid warnings about unused variables.
27298 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27301 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27302 in the right place. Discard and retry query if response is
27303 larger than input buffer size.
27305 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27310 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27311 x for large integer exponent.
27312 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27313 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27314 sign of result as needed afterwards.
27315 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27316 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27317 result for underflowing pow the same as for overflow.
27318 (__kernel_standard_l): Handle powl overflow and underflow here
27319 rather than calling __kernel_standard.
27320 * math/libm-test.inc (pow_test): Add more tests.
27335 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27336 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27337 (__kernel_standard_l): New function.
27338 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27340 * math/w_acosl.c (__acosl): Likewise.
27341 * math/w_asinl.c (__asinl): Likewise.
27342 * math/w_atan2l.c (__atan2l): Likewise.
27343 * math/w_atanhl.c (__atanhl): Likewise.
27344 * math/w_coshl.c (__coshl): Likewise.
27345 * math/w_exp10l.c (__exp10l): Likewise.
27346 * math/w_exp2l.c (__exp2l): Likewise.
27347 * math/w_fmodl.c (__fmodl): Likewise.
27348 * math/w_hypotl.c (__hypotl): Likewise.
27349 * math/w_j0l.c (__j0l, __y0l): Likewise.
27350 * math/w_j1l.c (__j1l, __y1l): Likewise.
27351 * math/w_jnl.c (__jnl, __ynl): Likewise.
27352 * math/w_lgammal.c (__lgammal): Likewise.
27353 * math/w_log10l.c (__log10l): Likewise.
27354 * math/w_log2l.c (__log2l): Likewise.
27355 * math/w_logl.c (__logl): Likewise.
27356 * math/w_powl.c (__powl): Likewise.
27357 * math/w_remainderl.c (__remainderl): Likewise.
27358 * math/w_scalbl.c (sysv_scalbl): Likewise.
27359 * math/w_sinhl.c (__sinhl): Likewise.
27360 * math/w_sqrtl.c (__sqrtl): Likewise.
27361 * math/w_tgammal.c (__tgammal): Likewise.
27362 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27363 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27364 * math/libm-test.inc (acos_test): Add more tests.
27365 (acosh_test): Likewise.
27366 (asin_test): Likewise.
27367 (atanh_test): Likewise.
27368 (exp_test): Likewise.
27369 (exp10_test): Likewise.
27370 (exp2_test): Likewise.
27371 (expm1_test): Likewise.
27372 (lgamma_test): Likewise.
27373 (log_test): Likewise.
27374 (log10_test): Likewise.
27375 (log1p_test): Likewise.
27376 (log2_test): Likewise.
27377 (pow_test): Do not allow some spurious overflow exceptions.
27378 (sqrt_test): Add more tests.
27379 (tgamma_test): Likewise.
27380 (y0_test): Likewise.
27381 (y1_test): Likewise.
27382 (yn_test): Likewise.
27384 2012-03-27 Anton Blanchard <anton@samba.org>
27386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27388 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27389 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27390 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27392 2012-03-27 David S. Miller <davem@davemloft.net>
27394 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27396 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27397 have-as-vis3 check.
27399 2012-03-27 Andreas Jaeger <aj@suse.de>
27401 * sysdeps/x86_64/elf/configure.in: Moved to ...
27402 * sysdeps/x86_64/configure.in: ... here.
27403 * sysdeps/x86_64/elf/start.S: Moved to ...
27404 * sysdeps/x86_64/start.S: ... here.
27405 * sysdeps/x86_64/elf/configure: Delete.
27407 * sysdeps/x86_64/configure.in: Merge contents from
27408 sysdeps/i386/configure.in (without i686 check).
27410 * sysdeps/i386/elf/Versions: Merge into ...
27411 * sysdeps/i386/Versions: ... this.
27412 * sysdeps/i386/elf/Versions: Delete file.
27413 * sysdeps/i386/elf/start.S: Moved to ...
27414 * sysdeps/i386/start.S: ...here.
27415 * sysdeps/i386/elf/configure.in: Merge into...
27416 * sysdeps/i386/configure.in: ...here.
27417 * sysdeps/i386/elf/configure.in: Delete file.
27418 * sysdeps/i386/elf/configure: Delete file.
27420 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27421 * debug/backtracesyms.c: ... here.
27422 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27423 * debug/backtracesymsfd.c: ... here.
27424 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27425 * sysdeps/generic/ifunc-sel.h: ... here.
27427 * sysdeps/unix/i386/start.c: Delete file.
27428 * sysdeps/unix/sparc/start.c: Delete file.
27429 * sysdeps/unix/start.c: Delete file.
27431 * sysdeps/sh/elf/configure.in: Moved to ...
27432 * sysdeps/sh/configure.in: ... here.
27433 * sysdeps/sh/elf/start.S: Moved to ...
27434 * sysdeps/sh/start.S: ... here.
27435 * sysdeps/sh/elf/configure: Delete file.
27437 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27438 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27439 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27440 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27441 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27442 * sysdeps/powerpc/powerpc64/start.S: here.
27443 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27444 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27445 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27446 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27447 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27449 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27450 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27451 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27452 * sysdeps/powerpc/powerpc32/start.S: ... here.
27453 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27454 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27455 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27457 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27458 * sysdeps/powerpc/ifunc-sel.h: ... here.
27459 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27460 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27462 * sysdeps/sparc/elf/configure.in: Moved to ...
27463 * sysdeps/sparc/configure.in: ... here.
27464 * sysdeps/sparc/elf/configure: Delete file.
27465 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27466 * sysdeps/sparc/sparc32/start.S: ... here.
27467 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27468 * sysdeps/sparc/sparc64/start.S: ... here.
27469 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27470 * sysdeps/sparc/sparc32/Makefile: ... this.
27471 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27472 * sysdeps/sparc/sparc64/Makefile: ... this.
27474 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27475 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27476 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27477 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27478 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27479 * sysdeps/s390/s390-32/setjmp.S: ... here.
27480 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27481 * sysdeps/s390/s390-32/configure.in: ... here.
27482 * sysdeps/s390/s390-32/elf/configure: Delete file.
27483 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27484 * sysdeps/s390/s390-32/start.S: ... here.
27486 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27487 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27488 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27489 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27490 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27491 * sysdeps/s390/s390-64/setjmp.S: ... here.
27492 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27493 * sysdeps/s390/s390-64/configure.in: ... here
27494 * sysdeps/s390/s390-64/elf/configure: Delete file.
27495 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27496 * sysdeps/s390/s390-64/start.S: ... here.
27497 * sysdeps/s390/s390-64/elf/configure: Delete.
27499 * configure.in: Remove support for elf directories in sysdeps.
27501 * configure: Regenerated.
27502 * sysdeps/i386/configure: Regenerated.
27503 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27504 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27505 * sysdeps/s390/s390-32/configure: Regenerated.
27506 * sysdeps/s390/s390-64/configure: Regenerated.
27507 * sysdeps/sh/configure: Regenerated.
27508 * sysdeps/sparc/configure: Regenerated.
27509 * sysdeps/x86_64/configure: Regenerated.
27511 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27515 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27516 denormal result into account.
27518 2012-03-25 Roland McGrath <roland@hack.frob.com>
27520 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27521 Reported by Allan McRae <allan@archlinux.org>.
27523 2012-03-23 Jeff Law <law@redhat.com>
27525 * nss/getnssent.c (__nss_getent): Fix typo.
27527 2012-03-23 David S. Miller <davem@davemloft.net>
27529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27531 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27533 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27534 to pad to uint64_t for each field.
27535 (dl_tls_index): Replace unsigned long with uint64_t.
27537 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27538 Paul Pluzhnikov <ppluzhnikov@google.com>
27541 * grp/Makefile (otherlibs): Don't set it.
27542 * inet/Makefile (otherlibs): Likewise.
27543 * login/Makefile (otherlibs): Likewise.
27544 * nscd/Makefile (otherlibs): Likewise.
27545 * posix/Makefile (otherlibs): Likewise.
27546 * pwd/Makefile (otherlibs): Likewise.
27547 * rt/Makefile (otherlibs): Likewise.
27548 * sunrpc/Makefile (otherlibs): Likewise.
27549 * nss/Makefile (otherlibs): Likewise.
27550 Add libnss_files to routines and static-only-routines.
27551 ($(objpfx)getent): Remove rule.
27552 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27553 static-only-routines.
27555 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27558 * math/s_cexp.c: Include <float.h>.
27559 (__cexp): Handle exp result overflowing not necessarily
27560 overflowing both real and imaginary parts of result.
27561 * math/s_cexpf.c: Likewise.
27562 * math/s_cexpl.c: Likewise.
27563 * math/libm-test.inc (cexp_test): Add more tests.
27564 * sysdeps/i386/fpu/libm-test-ulps: Update.
27565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27567 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27569 * include/link.h (ELFW): New macro.
27570 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27571 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27573 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27575 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27578 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27580 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27582 (struct La_x32_retval): Likewise.
27584 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27586 * sysdeps/x86_64/preconfigure.in: New file.
27587 * sysdeps/x86_64/preconfigure: New generated file.
27589 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27592 * math/e_exp2l.c: Include <float.h>.
27593 (__ieee754_exp2l): Handle overflow and underflow cases
27594 separately. Only pass fractional part of argument to
27596 * math/libm-test.inc (exp2_test): Add more tests.
27598 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27599 negating x to take absolute value.
27600 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27602 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27603 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27605 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27606 computing low part if x was negated.
27607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27609 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27611 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27612 la_x32_gnu_pltexit.
27613 (pltexit): Cast int_retval to ptrdiff_t.
27614 * elf/tst-auditmod3b.c: Likewise.
27615 * elf/tst-auditmod4b.c: Likewise.
27616 * elf/tst-auditmod5b.c: Likewise.
27617 * elf/tst-auditmod6b.c: Likewise.
27618 * elf/tst-auditmod6c.c: Likewise.
27619 * elf/tst-auditmod7b.c: Likewise.
27621 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27622 and x32_gnu_pltexit.
27624 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27625 __ELF_NATIVE_CLASS.
27626 (La_x32_regs): New macro.
27627 (La_x32_retval): Likewise.
27628 (la_x32_gnu_pltenter): New function prototype.
27629 (la_x32_gnu_pltexit): Likewise.
27631 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27638 * configure.in (libc_cv_cc_nofma): Check for option to disable
27639 generation of FMA instructions.
27640 * configure: Regenerate.
27641 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27642 * sysdeps/ieee754/dbl-64/Makefile: New file.
27643 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27644 Remove brandred-fma4.
27645 (CFLAGS-brandred-fma4.c): Remove.
27646 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27647 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27649 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27652 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27654 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27655 LLONG_MAX != LONG_MAX.
27656 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27657 (_fitoa_word): Likewise.
27658 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27659 LLONG_MAX != LONG_MAX.
27660 * stdio-common/_itowa.h: Include <_itoa.h>.
27661 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27662 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27663 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27664 only if not defined.
27665 (_ITOA_WORD_TYPE): Likewise.
27666 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27667 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27669 2012-03-21 David S. Miller <davem@davemloft.net>
27671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27673 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27675 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27676 of x86_64 when setting libc_cv_slibdir, libdir and
27678 * sysdeps/unix/sysv/linux/configure: Regenerated.
27680 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27682 * manual/lang.texi (Old Varargs): Remove section.
27683 (How Variadic): Update menu.
27684 (va_start): Do not mention varargs.h.
27686 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27687 Joseph Myers <joseph@codesourcery.com>
27689 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27691 * configure: Regenerated.
27693 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27695 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27696 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27699 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27702 * Makefile (files-for-dist): Remove NOTES.
27703 (NOTES): Remove rule.
27704 * README: Don't refer to NOTES.
27705 * manual/creature.texi: Don't include macros.texi.
27706 * manual/intro.texi (creature.texi): Remove comment referring to
27709 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27710 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27711 * configure: Regenerated.
27712 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27713 LIBC_TRY_CC_OPTION.
27714 (libc_cv_as_i686): Likewise.
27715 (libc_cv_cc_avx): Likewise.
27716 (libc_cv_cc_sse2avx): Likewise.
27717 (libc_cv_cc_fma4): Likewise.
27718 (libc_cv_cc_novzeroupper): Likewise.
27719 * sysdeps/i386/configure: Regenerated.
27722 * sysdeps/i386/fpu/s_cexp.S: Remove.
27723 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27724 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27725 * math/libm-test.inc (cexp_test): Add more tests.
27726 * sysdeps/i386/fpu/libm-test-ulps: Update.
27727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27729 2012-03-21 Allan McRae <allan@archlinux.org>
27731 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27733 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27736 * math/w_exp2.c: Do not include <float.h>.
27737 (o_threshold, u_threshold): Remove.
27738 (__exp2): Calculate result before checking finiteness and calling
27740 * math/w_exp2f.c: Likewise.
27741 * math/w_exp2l.c: Likewise.
27742 * math/libm-test.inc (exp2_test): Require overflow exception for
27746 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27747 range of signed 64-bit integers before using fistpll. Remove
27748 checks for whether integers fit in mantissa bits.
27749 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27750 the range of signed 32-bit integers before using fistpl. Remove
27751 checks for whether integers fit in mantissa bits.
27752 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27753 (__ieee754_powl): Test for y outside the range of signed 64-bit
27754 integers before using fistpll. Reduce 64-bit values to 63-bit
27756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27757 divide-by-zero is raised for zero to large negative powers.
27758 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27759 (__ieee754_powl): Test for y outside the range of signed 64-bit
27760 integers before using fistpll. Reduce 64-bit values to 63-bit
27762 * math/libm-test.inc (pow_test): Add more tests.
27764 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27766 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27767 <stdio-common/_itoa.h>.
27768 * debug/segfault.c: Likewise.
27769 * elf/dl-cache.c: Likewise.
27770 * elf/dl-minimal.c: Likewise.
27771 * elf/dl-misc.c: Likewise.
27772 * elf/dl-sysdep.c: Likewise.
27773 * elf/dl-version.c: Likewise.
27774 * elf/rtld.c: Likewise.
27775 * hurd/hurdsock.c: Likewise.
27776 * hurd/lookup-retry.c: Likewise.
27777 * malloc/malloc.c: Likewise.
27778 * malloc/mtrace.c: Likewise.
27779 * nscd/nscd_getgr_r.c: Likewise.
27780 * nscd/nscd_getpw_r.c: Likewise.
27781 * nscd/nscd_getserv_r.c: Likewise.
27782 * posix/getopt_init.c: Likewise.
27783 * posix/wordexp.c: Likewise.
27784 * stdio-common/_itoa.c: Likewise.
27785 * stdio-common/printf_fphex.c: Likewise.
27786 * stdio-common/vfprintf.c: Likewise.
27787 * string/_strerror.c: Likewise.
27788 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27789 * sysdeps/i386/i686/hp-timing.h: Likewise.
27790 * sysdeps/mach/_strerror.c: Likewise.
27791 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27792 * sysdeps/mach/hurd/sethostid.c: Likewise.
27793 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27794 * sysdeps/mach/xpg-strerror.c: Likewise.
27795 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27796 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27797 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27798 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27799 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27800 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27801 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27802 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27803 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27804 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27805 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27806 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27807 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27808 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27809 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27810 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27811 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27812 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27813 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27814 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27815 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27817 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27819 * stdio-common/_itoa.h: Moved to ...
27820 * sysdeps/generic/_itoa.h: Here.
27822 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27824 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27825 instead of "_itoa.h" and "_itowa.h".
27826 * stdio-common/vfprintf.: Likewise.
27828 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27830 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27832 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27833 (__signbit): Likwise.
27834 (llrintf): Likwise.
27837 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27839 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27842 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27844 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27845 OVERFLOW_EXCEPTION_OK.
27846 * math/libm-test.inc ("Philosophy"): Update comment about
27848 (OVERFLOW_EXCEPTION): Define.
27849 (OVERFLOW_EXCEPTION_OK): Likewise.
27850 (INVALID_EXCEPTION_OK): Renumber.
27851 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27852 (IGNORE_ZERO_INF_SIGN): Likewise.
27853 (test_exceptions): Handle FE_OVERFLOW.
27854 (exp10_test): Expect overflow exceptions.
27855 (exp2_test): Likewise.
27856 (expm1_test): Likewise.
27857 (nextafter_test): Likewise.
27858 (pow_test): Likewise.
27859 (scalbn_test): Likewise.
27860 (scalbln_test): Likewise.
27862 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27864 * sysdeps/x86_64/bits/atomic.h
27865 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27867 (atomic_exchange_acq): Likewise.
27868 (__arch_exchange_and_add_body): Likewise.
27869 (__arch_add_body): Likewise.
27870 (atomic_add_negative): Likewise.
27871 (atomic_add_zero): Likewise.
27873 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27875 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27876 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27878 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27880 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27881 Check __x86_64__ instead of __WORDSIZE.
27883 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27885 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27887 2012-03-19 David S. Miller <davem@davemloft.net>
27889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27891 * sysdeps/sparc/fpu/fenv_private.h: New file.
27892 * sysdeps/sparc/fpu/math_private.h: Use it.
27893 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27895 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27896 (libc_feholdexcept_setroundl): Remove.
27897 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27899 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27900 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27902 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27904 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27905 int64_t instead of long int.
27906 (INSERT_WORDS64): Likwise.
27908 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27910 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27911 _Unwind_GetCFA return to _Unwind_Ptr first.
27913 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27916 * math/s_clog.c: Include <float.h>.
27917 (__clog): Scale large or subnormal inputs.
27918 * math/s_clogf.c: Likewise.
27919 * math/s_clogl.c: Likewise.
27920 * math/s_clog10.c: Include <float.h>.
27921 (M_LOG10_2): Define.
27922 (__clog10): Scale large or subnormal inputs.
27923 * math/s_clog10f.c: Likewise.
27924 * math/s_clog10l.c: Likewise.
27925 * math/libm-test.inc (clog_test): Add more tests.
27926 (clog10_test): Likewise.
27927 * sysdeps/i386/fpu/libm-test-ulps: Update.
27928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27931 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27933 * math/libm-test.inc (atan2_test): Add another test.
27935 * Makerules (common-objdir-compile): Remove.
27936 * sysdeps/unix/Makefile (config-generated): Do not add
27937 $(unix-generated) to variable.
27938 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27939 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27941 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27943 [generic bits/local_lim.h] (before-compile): Do not append to
27945 [generic bits/local_lim.h] (common-generated): Likewise.
27946 [generic sys/param.h] (before-compile): Do not append to variable.
27947 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27948 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27949 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27950 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27952 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27953 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27954 [generic sys/param.h] ($(addprefix
27955 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27956 [generic sys/param.h] (common-generated): Do not append to
27958 [generic sys/param.h] (sysdep_headers): Likewise.
27959 [generic bits/errno.h] (before-compile): Do not append to
27961 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27963 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27964 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27965 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27966 [generic bits/errno.h] (common-generated): Do not append to
27968 [generic bits/ioctls.h] (before-compile): Do not append to
27970 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27972 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27973 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27974 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27976 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27977 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27978 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27979 [generic bits/ioctls.h] (common-generated): Do not append to
27981 [generic sys/syscall.h] (syscall.h): Remove variable.
27982 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27984 [generic sys/syscall.h] (before-compile): Do not append to
27986 [generic sys/syscall.h] (common-generated): Likewise.
27987 * sysdeps/unix/errnos-tmpl.c: Remove file.
27988 * sysdeps/unix/errnos.awk: Likewise.
27989 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27990 * sysdeps/unix/ioctls.awk: Likewise.
27991 * sysdeps/unix/mk-local_lim.c: Likewise.
27992 * sysdeps/unix/snarf-ioctls: Likewise.
27994 2012-03-19 Richard Henderson <rth@twiddle.net>
27996 * sysdeps/i386/fpu/fenv_private.h: New file.
27997 * sysdeps/i386/fpu/math_private.h: Use it.
27998 (math_opt_barrier, math_force_eval): Remove.
27999 (libc_feholdexcept_setround_53bit): Remove.
28000 (libc_feupdateenv_53bit): Remove.
28001 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28002 (math_opt_barrier, math_force_eval): Remove.
28003 (libc_feholdexcept): Remove.
28004 (libc_feholdexcept_setround): Remove.
28005 (libc_fetestexcept, libc_fesetenv): Remove.
28006 (libc_feupdateenv_test): Remove.
28007 (libc_feupdateenv, libc_feholdsetround): Remove.
28008 (libc_feresetround): Remove.
28010 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28011 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28013 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28014 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28015 (libc_feupdateenv_testl): New.
28016 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28017 (libc_feupdateenv_testf): New.
28018 (libc_feupdateenv): Use libc_feupdateenv_test.
28019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28020 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28022 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28023 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28024 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28025 (libc_feresetround_noex): New.
28026 (libc_feresetround_noexf): New.
28027 (libc_feresetround_noexl): New.
28028 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28029 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28030 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28031 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28034 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28036 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28037 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28038 SET_RESTORE_ROUND_NOEX.
28039 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28040 SET_RESTORE_ROUND_NOEXF.
28041 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28042 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28043 (libc_feholdsetroundf): New.
28044 (libc_feresetround, libc_feresetroundf): New.
28046 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28047 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28048 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28050 * sysdeps/generic/math_private.h: Include <fenv.h>.
28051 (default_libc_feholdexcept): New.
28052 (default_libc_feholdexcept_setround): New.
28053 (default_libc_fesetenv, default_libc_feupdateenv): New.
28054 (libc_feholdexcept): Only define if undefined.
28055 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28056 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28057 (libc_feholdexcept_setroundl): Likewise.
28058 (libc_feholdexcept_setround_53bit): Likewise.
28059 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28060 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28061 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28062 (libc_feupdateenv_53bit): Likewise.
28063 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28064 (libc_feholdexcept): Convert from macro to inline function.
28065 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28066 (libc_fesetenv, libc_feupdateenv): Likewise.
28068 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28069 not previously defined.
28070 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28071 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28072 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28073 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28074 * sysdeps/ieee754/flt-32/math_private.h: New file.
28075 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28076 math_private.h below SET_FLOAT_WORD.
28077 (__isnan, __isinf_ns, __finite): Remove.
28078 (__isnanf, __isinf_nsf, __finitef): Remove.
28080 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28084 2012-03-17 David S. Miller <davem@davemloft.net>
28087 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28090 2012-03-16 David S. Miller <davem@davemloft.net>
28092 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28096 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28098 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28099 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28100 sysdep_routines when subdir is sysvipc.
28101 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28102 __getshmlba helper.
28104 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28106 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28108 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28111 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28113 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28114 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28115 (__lround): Renamed to ...
28116 (__llround): This. Replace long int with long long int.
28117 Define lround functions as aliases of llround functions.
28118 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28120 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28122 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28123 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28124 adresses to uintptr_t. Replace "long int" and "unsigned long
28125 int" with "greg_t" on va_arg.
28127 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28129 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28130 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28132 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28133 Move e_machine check before EI_CLASS check. Handle x32
28134 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28135 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28136 SKIP_EM_IA_64 and include
28137 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28139 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28140 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28141 (add_system_dir): New macro.
28143 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28144 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28146 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28157 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28159 * math/w_j0f.c (j0f): Likewise.
28161 * math/w_j0l.c (__j0l): Likewise.
28163 * math/w_j1.c (j1): Likewise.
28165 * math/w_j1f.c (j1f): Likewise.
28167 * math/w_j1l.c (__j1l): Likewise.
28169 * math/w_jn.c (jn): Likewise.
28171 * math/w_jnf.c (jnf): Likewise.
28173 * math/w_jnl.c (__jnl): Likewise.
28175 * math/libm-test.inc (j0_test): Add more tests.
28176 (j1_test): Likewise.
28177 (jn_test): Likewise. Add trailing semicolon to existing test.
28178 (y0_test): Likewise.
28179 (y1_test): Likewise.
28180 * sysdeps/i386/fpu/libm-test-ulps: Update.
28181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28185 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28186 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28187 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28188 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28189 (__tanl): Set errno for infinite argument.
28190 * sysdeps/i386/fpu/mptan.c: Remove.
28191 * sysdeps/i386/fpu/s_tan.S: Likewise.
28192 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28193 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28194 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28195 * math/libm-test.inc (tan_test): Add more tests and enable more
28196 tests for double and long double.
28197 * sysdeps/i386/fpu/libm-test-ulps: Update.
28198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28200 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28202 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28203 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28205 2012-03-16 Roland McGrath <roland@hack.frob.com>
28207 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28208 * configure.in: Use it for both main tree and add-ons.
28209 * configure: Regenerated.
28211 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28213 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28215 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28217 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28221 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28222 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28223 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28224 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28225 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28227 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28228 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28229 != 0 for prec == 2.
28230 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28231 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28232 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28233 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28234 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28235 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28236 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28237 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28238 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28239 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28240 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28241 * math/libm-test.inc (cos_test): Add more tests and enable more
28242 tests for long double.
28243 (sin_test): Likewise.
28244 (sincos_test): Likewise.
28245 * sysdeps/i386/fpu/libm-test-ulps: Update.
28246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28248 2012-03-16 David S. Miller <davem@davemloft.net>
28250 * sysdeps/sparc/fpu/math_private.h: New file.
28252 2012-03-15 David S. Miller <davem@davemloft.net>
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28268 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28269 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28271 * sysdeps/sparc/sparc-ifunc.h: New file.
28272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28317 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28319 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28323 2012-03-15 Andreas Jaeger <aj@suse.de>
28326 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28327 ieee754/flt-32 implementation for sin, cos and sincos.
28328 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28329 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28330 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28331 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28332 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28333 ieee754/flt-32 implementation for tan.
28335 * math/libm-test.inc (cos_test): Enable some large input tests for
28337 (sin_test): Likewise.
28338 (sincos_test): Likewise.
28339 (tan_test): Add tests for large input.
28341 * sysdeps/i386/fpu/libm-test-ulps: Update.
28343 2012-03-15 Andreas Jaeger <aj@suse.de>
28346 * math/libm-test.inc (cos_test): Add more test cases.
28347 (sin_test): Likewise.
28348 (sincos_test): Likewise.
28350 2012-03-15 Andreas Jaeger <aj@suse.de>
28353 * math/libm-test.inc (cos_test): Add a test case for large input
28355 (sin_test): Likewise.
28356 (sincos_test): Likewise.
28358 2012-03-15 Andreas Jaeger <aj@suse.de>,
28359 Joseph Myers <joseph@codesourcery.com>
28362 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28363 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28364 * sysdeps/i386/fpu/branred.c: Likewise.
28365 * sysdeps/i386/fpu/dosincos.c: Likewise.
28366 * sysdeps/i386/fpu/mpa.c: Likewise.
28367 * sysdeps/i386/fpu/s_cos.S: Likewise.
28368 * sysdeps/i386/fpu/s_sin.S: Likewise.
28369 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28370 * sysdeps/i386/fpu/sincos32.c: Likewise.
28372 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28374 (libc_feupdateenv_53bit): Define.
28375 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28377 (libc_feupdateenv_53bit): Define.
28379 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28380 53 bit (without extend i386 double precision).
28382 * math/libm-test.inc (sincos_test): Add tests for large input.
28386 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28388 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28392 2012-03-15 David S. Miller <davem@davemloft.net>
28394 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28395 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28396 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28397 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28422 fmin/fmax sysdep routines.
28423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28425 2012-03-14 David S. Miller <davem@davemloft.net>
28427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28499 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28504 * sysdeps/sparc/configure.in: New file.
28505 * sysdeps/sparc/configure: Generate.
28506 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28507 * configure: Regenerate.
28508 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28509 * config.make.in (have-as-vis3): New.
28510 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28511 available use -Av9d instead of -Av9a.
28512 * sysdeps/sparc/sparc64/Makefile: Likewise.
28513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28522 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28528 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28529 fzeros/fnegs to load 0x80000000 into a float register instead of
28531 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28533 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28537 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28538 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28539 ($(inst_includedir)/bits/syscall.h): Remove rule.
28540 ($(objpfx)bits/syscall.d): Include instead of
28541 $(objpfx)syscall-list.d.
28542 (generated): Change syscall-list.h and syscall-list.d to
28543 bits/syscall.h and bits/syscall.d.
28545 2012-03-14 Roland McGrath <roland@hack.frob.com>
28548 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28550 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28553 * math/s_csqrt.c: Include <float.h>.
28554 (__csqrt): Scale large or subnormal inputs.
28555 * math/s_csqrtf.c: Likewise.
28556 * math/s_csqrtl.c: Likewise.
28557 * math/libm-test.inc (csqrt_test): Add more tests.
28558 * sysdeps/i386/fpu/libm-test-ulps: Update.
28559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28562 * math/libm-test.inc (hypot_test): Add more tests.
28564 2012-03-13 David S. Miller <davem@davemloft.net>
28567 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28568 double-precision for the calculation instead of scaling.
28570 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28572 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28573 manipulate bits before adding and subtracting TWO52[sx].
28574 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28579 2012-03-13 David S. Miller <davem@davemloft.net>
28581 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28582 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28584 rtld-global-offsets.h
28585 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28587 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28590 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28592 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28593 'err' in the ifdef scope in which it is actually used.
28595 * nss/nss_db/db-init.c: Include string.h
28597 2012-03-12 David S. Miller <davem@davemloft.net>
28599 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28600 masking out of the most significant byte of random value used.
28601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28602 Fix coding style in previous change.
28604 * sysdeps/unix/sysv/linux/kernel-features.h
28605 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28606 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28608 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28611 2012-03-11 David S. Miller <davem@davemloft.net>
28613 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28614 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28616 for 'resultvar' otherwise things get truncated on 64-bit.
28618 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28619 Fix masking out of the most significant byte of random value used.
28621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28623 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28627 2012-03-09 David S. Miller <davem@davemloft.net>
28629 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28630 variables with appropriate CPP guards.
28631 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28632 frame pointer, not the stack pointer. Correct layout comments. Fix test
28633 on resulting framesize and the management of the outregs buffer for pltexit.
28634 Preserve floating point return values across _dl_call_pltexit call.
28635 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28636 framesize and the management of the outregs buffer for pltexit.
28637 Preserve floating point return values across _dl_call_pltexit
28639 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28640 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28641 (print_exit): Fix format string for return register value.
28643 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28645 * sunrpc/Makefile (others): Add rpcgen.
28646 ($(objpfx)rpcgen): Remove special build rule and dependency on
28648 * sunrpc/rpcgen.c: New file.
28650 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28653 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28654 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28655 * sysdeps/i386/crti.S: Likewise.
28656 * sysdeps/i386/crtn.S: Likewise.
28657 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28658 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28659 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28660 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28661 * sysdeps/sh/crti.S: Likewise.
28662 * sysdeps/sh/crtn.S: Likewise.
28663 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28666 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28668 * locale/programs/locfile-kw.gperf: Likewise.
28669 * locale/programs/charmap-kw.h: Regenerated.
28670 * locale/programs/locfile-kw.h: Likewise.
28673 * intl/plural.y: Replace FSF snail mail address with URL.
28674 * intl/plural.c: Regenerated.
28676 2012-03-09 Richard Henderson <rth@twiddle.net>
28678 * include/math_private.h: Remove file.
28679 * math/math_private.h: Move file ...
28680 * sysdeps/generic/math_private.h: ... here.
28682 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28683 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28684 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28686 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28687 and <math_private.h>.
28688 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28689 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28690 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28691 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28692 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28693 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28700 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28701 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28702 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28712 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28713 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28715 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28718 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28723 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28724 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28725 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28726 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28728 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28729 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28730 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28731 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28732 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28734 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28735 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28736 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28737 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28738 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28739 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28741 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28742 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28743 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28744 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28747 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28749 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28755 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28756 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28768 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28776 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28777 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28778 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28779 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28780 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28781 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28782 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28783 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28784 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28785 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28786 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28787 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28788 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28789 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28790 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28791 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28792 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28793 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28794 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28795 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28796 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28798 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28799 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28800 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28801 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28802 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28804 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28805 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28806 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28807 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28808 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28809 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28811 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28812 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28813 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28814 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28815 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28816 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28817 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28818 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28819 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28820 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28821 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28822 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28823 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28824 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28825 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28826 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28827 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28828 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28829 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28830 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28831 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28832 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28833 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28835 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28836 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28837 * sysdeps/ieee754/k_standard.c: Likewise.
28838 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28842 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28847 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28848 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28850 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28851 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28852 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28871 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28873 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28876 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28877 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28879 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28880 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28882 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28889 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28890 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28891 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28894 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28896 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28897 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28899 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28900 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28904 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28915 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28953 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28957 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28958 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28960 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28965 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28970 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28986 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28998 * sysdeps/ieee754/s_lib_version.c: Likewise.
28999 * sysdeps/ieee754/s_matherr.c: Likewise.
29000 * sysdeps/ieee754/s_signgam.c: Likewise.
29001 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29002 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29003 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29004 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29005 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29006 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29007 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29008 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29009 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29010 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29011 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29012 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29013 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29014 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29015 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29016 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29017 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29018 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29019 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29023 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29025 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29026 * sunrpc/rpc_main.c: Likewise.
29027 * sunrpc/rpc_svcout.c: Likewise.
29029 2012-03-09 David S. Miller <davem@davemloft.net>
29031 * include/math_private.h: New file.
29033 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29035 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29036 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29037 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29038 from <bits/socket_type.h>.
29039 (enum __socket_type): Don't define here.
29040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29042 bits/socket_type.h.
29045 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29046 checking __USE_GNU.
29048 * Makerules ($(inst_includedir)/%.h): New rule.
29049 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29050 (install-others): Remove variable setting.
29051 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29053 2012-03-08 Richard Henderson <rth@twiddle.net>
29055 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29056 from macro to inline function; merge with the
29057 !__LIBC_INTERNAL_MATH_INLINES version.
29058 (__ieee754_sqrtf): Likewise.
29060 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29061 to inline function.
29062 (__rintf, __floor, __floorf): Likewise.
29064 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29065 macro to inline function.
29066 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29069 not <math/math_private.h>.
29071 2012-03-08 David S. Miller <davem@davemloft.net>
29073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29075 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29077 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29079 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29081 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29082 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29084 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29086 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29087 be defined individually, they must be defined as a block. Define
29088 S for printing a string instead of hidint the different by using a
29089 macro for adding the 'l'.
29090 * stdio-common/tst-fphex-wide.c: Adjust.
29092 2012-03-07 Marek Polacek <polacek@redhat.com>
29094 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29096 2012-03-08 Marek Polacek <polacek@redhat.com>
29099 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29100 * stdio-common/tst-fphex.c: Define a few macros to make the
29101 test reusable. Use them.
29102 * stdio-common/tst-fphex-wide.c: New file.
29104 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29107 * manual/macros.texi (gnusystems): New macro.
29108 (nongnusystems): Likewise.
29109 (gnulinuxhurdsystems): Likewise.
29110 (gnuhurdsystems): Likewise..
29111 (gnulinuxsystems): Likewise.
29112 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29113 variants of the GNU system, not "GNU system".
29114 * manual/conf.texi: Likewise.
29115 * manual/errno.texi: Likewise. Update example of errno macro
29117 * manual/filesys.texi: Likewise.
29118 (getumask): Document as specific to GNU/Hurd.
29119 * manual/install.texi: Likewise. Reword some references to
29121 * manual/intro.texi: Likewise.
29122 * manual/io.texi: Likewise.
29123 (File Name Portability): Detail which constraints are inapplicable
29124 to all GNU systems and which are only inapplicable to GNU/Hurd.
29125 * manual/job.texi: Likewise.
29126 * manual/llio.texi: Likewise.
29127 (O_NOCTTY): Document as present on GNU/Linux.
29128 * manual/maint.texi: Likewise.
29129 * manual/memory.texi: Likewise.
29130 * manual/pattern.texi: Likewise.
29131 * manual/pipe.texi: Likewise.
29132 * manual/process.texi: Likewise.
29133 * manual/resource.texi: Likewise.
29134 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29136 * manual/setjmp.texi: Likewise.
29137 * manual/signal.texi: Likewise.
29138 * manual/startup.texi: Likewise.
29139 * manual/stdio.texi: Likewise.
29140 * manual/terminal.texi: Likewise.
29141 (ONLCR): Document as POSIX.
29142 (OXTABS): Document availability on GNU/Linux as XTABS.
29143 (ONOEOT): Document availability separately from other bits.
29144 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29145 * manual/time.texi: Likewise.
29146 * manual/users.texi: Likewise.
29147 * INSTALL: Regenerated.
29148 * sysdeps/gnu/errlist.c: Regenerated.
29150 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29151 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29152 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29154 * configure: Regenerated.
29156 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29158 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29159 default includes instead of AC_HEADER_CHECK.
29160 * sysdeps/i386/configure: Regenerated.
29163 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29164 * math/s_cacoshf.c (__cacoshf): Likewise.
29165 * math/s_cacoshl.c (__cacoshl): Likewise.
29166 * math/s_casinh.c (__casinh): Set signs of result from argument.
29167 * math/s_casinhf.c (__casinhf): Likewise.
29168 * math/s_casinhl.c (__casinhl): Likewise.
29169 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29170 (casinh_test): Add more tests.
29171 * sysdeps/i386/fpu/libm-test-ulps: Update.
29172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29174 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29176 * po/zh_TW.po: Update from translation team.
29178 * login/Makefile (distribute): Remove variable.
29179 * catgets/Makefile: Likewise.
29180 * mach/Makefile: Likewise.
29181 * malloc/Makefile: Likewise.
29182 * misc/Makefile: Likewise.
29183 * iconv/Makefile: Likewise.
29184 * nscd/Makefile: Likewise.
29185 * hurd/Makefile: Likewise.
29186 * manual/Makefile: Likewise.
29187 * locale/Makefile: Likewise.
29188 * intl/Makefile: Likewise.
29189 * conform/Makefile: Likewise.
29190 * nss/Makefile: Likewise.
29191 * time/Makefile: Likewise.
29192 * soft-fp/Makefile: Likewise.
29193 * dirent/Makefile: Likewise.
29194 * gmon/Makefile: Likewise.
29195 * po/Makefile: Likewise.
29196 * rt/Makefile: Likewise.
29197 * socket/Makefile: Likewise.
29198 * math/Makefile: Likewise.
29199 * signal/Makefile: Likewise.
29200 * debug/Makefile: Likewise.
29201 * elf/Makefile: Likewise.
29202 * timezone/Makefile: Likewise.
29203 * stdlib/Makefile: Likewise.
29204 * iconvdata/Makefile: Likewise.
29205 * sunrpc/Makefile: Likewise.
29206 * io/Makefile: Likewise.
29207 * argp/Makefile: Likewise.
29208 * inet/Makefile: Likewise.
29209 * hesiod/Makefile: Likewise.
29210 * grp/Makefile: Likewise.
29211 * csu/Makefile: Likewise.
29212 * wctype/Makefile: Likewise.
29213 * crypt/Makefile: Likewise.
29214 * libio/Makefile: Likewise.
29215 * string/Makefile: Likewise.
29216 * nis/Makefile: Likewise.
29217 * resolv/Makefile: Likewise.
29218 * stdio-common/Makefile: Likewise.
29219 * wcsmbs/Makefile: Likewise.
29220 * dlfcn/Makefile: Likewise.
29221 * posix/Makefile: Likewise.
29224 * timezone/Makefile: Don't install timezone files, just the programs
29227 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29229 * nss/databases.def: Add missing gshadow entry.
29231 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29233 2012-03-06 Marek Polacek <polacek@redhat.com>
29236 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29237 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29238 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29239 * stdio-common/tst-long-dbl-fphex.c: New file.
29241 2012-03-06 David S. Miller <davem@davemloft.net>
29243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29244 (set_obp_int): New function.
29245 (get_obp_int): New function.
29246 (__get_clockfreq_via_dev_openprom): Likewise.
29247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29248 Avoid unused variable warnings on 'val' and use builtin_expect.
29249 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29251 (INLINE_CLONE_SYSCALL): Likewise.
29253 2012-03-05 David S. Miller <davem@davemloft.net>
29255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29257 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29262 only for |x| >= 40.
29263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29265 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29267 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29268 Replace gettimeofday with __vdso_gettimeofday.
29270 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29271 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29272 __vdso_clock_gettime and __vdso_getcpu.
29274 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29275 time with __vdso_time.
29277 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29279 * manual/lang.texi (size_t): Note types to which size_t may be
29280 equivalent with the GNU C Library, but do not describe when
29281 differences between them are significant.
29283 2012-03-05 Andreas Jaeger <aj@suse.de>
29285 * sysdeps/i386/fpu/libm-test-ulps: Update.
29287 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29290 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29291 (__ieee754_pow): Save and restore rounding mode and use
29292 round-to-nearest for main computations.
29293 * math/libm-test.inc (pow_test_tonearest): New function.
29294 (pow_test_towardzero): Likewise.
29295 (pow_test_downward): Likewise.
29296 (pow_test_upward): Likewise.
29297 (main): Call the new functions.
29298 * sysdeps/i386/fpu/libm-test-ulps: Update.
29299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29302 * math/libm-test.inc (cosh_test_tonearest): New function.
29303 (cosh_test_towardzero): Likewise.
29304 (cosh_test_downward): Likewise.
29305 (cosh_test_upward): Likewise.
29306 (sinh_test_tonearest): Likewise.
29307 (sinh_test_towardzero): Likewise.
29308 (sinh_test_downward): Likewise.
29309 (sinh_test_upward): Likewise.
29310 (main): Call the new functions.
29311 * sysdeps/i386/fpu/libm-test-ulps: Update.
29312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29314 2012-03-05 Tom de Vries <tom@codesourcery.com>
29316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29317 default stack guard is set in last bytes.
29318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29320 2012-03-05 Kees Cook <keescook@chromium.org>
29322 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29325 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29326 possibly allocate from heap instead of stack.
29327 * stdio-common/bug-vfprintf-nargs.c: New file.
29328 * stdio-common/Makefile (tests): Add nargs overflow test.
29330 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29334 2012-03-03 Marek Polacek <polacek@redhat.com>
29336 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29337 * math/math_private.h: Likewise.
29338 * stdlib/tst-strtod.c: Likewise.
29339 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29340 * sysdeps/x86_64/bits/atomic.h: Likewise.
29342 2012-03-02 David S. Miller <davem@davemloft.net>
29344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29348 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29349 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29350 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29351 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29353 2012-03-02 Roland McGrath <roland@hack.frob.com>
29356 * manual/examples/README: New file, says the example source files
29357 can be used under GPL>=2.
29358 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29359 line containing just "*/".
29360 * manual/examples/add.c: Add copyright header (GPL>=2).
29361 * manual/examples/argp-ex1.c: Likewise.
29362 * manual/examples/argp-ex2.c: Likewise.
29363 * manual/examples/argp-ex3.c: Likewise.
29364 * manual/examples/argp-ex4.c: Likewise.
29365 * manual/examples/atexit.c: Likewise.
29366 * manual/examples/db.c: Likewise.
29367 * manual/examples/dir.c: Likewise.
29368 * manual/examples/dir2.c: Likewise.
29369 * manual/examples/execinfo.c: Likewise.
29370 * manual/examples/filecli.c: Likewise.
29371 * manual/examples/filesrv.c: Likewise.
29372 * manual/examples/fmtmsgexpl.c: Likewise.
29373 * manual/examples/genpass.c: Likewise.
29374 * manual/examples/inetcli.c: Likewise.
29375 * manual/examples/inetsrv.c: Likewise.
29376 * manual/examples/isockad.c: Likewise.
29377 * manual/examples/longopt.c: Likewise.
29378 * manual/examples/memopen.c: Likewise.
29379 * manual/examples/memstrm.c: Likewise.
29380 * manual/examples/mkfsock.c: Likewise.
29381 * manual/examples/mkisock.c: Likewise.
29382 * manual/examples/mygetpass.c: Likewise.
29383 * manual/examples/pipe.c: Likewise.
29384 * manual/examples/popen.c: Likewise.
29385 * manual/examples/rprintf.c: Likewise.
29386 * manual/examples/search.c: Likewise.
29387 * manual/examples/select.c: Likewise.
29388 * manual/examples/setjmp.c: Likewise.
29389 * manual/examples/sigh1.c: Likewise.
29390 * manual/examples/sigusr.c: Likewise.
29391 * manual/examples/stpcpy.c: Likewise.
29392 * manual/examples/strdupa.c: Likewise.
29393 * manual/examples/strftim.c: Likewise.
29394 * manual/examples/strncat.c: Likewise.
29395 * manual/examples/subopt.c: Likewise.
29396 * manual/examples/swapcontext.c: Likewise.
29397 * manual/examples/termios.c: Likewise.
29398 * manual/examples/testopt.c: Likewise.
29399 * manual/examples/testpass.c: Likewise.
29400 * manual/examples/timeval_subtract.c: Likewise.
29403 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29405 * manual/timeval_subtract.c.texi: ... here, new file.
29407 2012-03-02 David S. Miller <davem@davemloft.net>
29409 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29411 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29414 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29415 (__sin): Save and restore rounding mode and use round-to-nearest
29416 for all computations.
29417 (__cos): Save and restore rounding mode and use round-to-nearest
29418 for all computations.
29419 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29421 (tan): Save and restore rounding mode and use round-to-nearest for
29423 * math/libm-test.inc (cos_test_tonearest): New function.
29424 (cos_test_towardzero): Likewise.
29425 (cos_test_downward): Likewise.
29426 (cos_test_upward): Likewise.
29427 (sin_test_tonearest): Likewise.
29428 (sin_test_towardzero): Likewise.
29429 (sin_test_downward): Likewise.
29430 (sin_test_upward): Likewise.
29431 (tan_test_tonearest): Likewise.
29432 (tan_test_towardzero): Likewise.
29433 (tan_test_downward): Likewise.
29434 (tan_test_upward): Likewise.
29435 (main): Call the new functions.
29436 * sysdeps/i386/fpu/libm-test-ulps: Update.
29437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29440 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29441 small n, then large n, before computing and testing k+n.
29442 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29447 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29448 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29449 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29450 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29455 * math/libm-test.inc (scalbn_test): Add more tests.
29456 (scalbln_test): Likewise.
29458 * manual/filesys.texi (mode_t): Describe constraints on size and
29459 signedness, not exact equivalence to a particular type.
29461 (ino64_t): Likewise.
29463 (nlink_t): Likewise.
29464 (blkcnt_t): Likewise.
29465 (blkcnt64_t): Likewise.
29466 * manual/llio.texi (off_t): Likewise.
29469 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29470 (__ieee754_exp): Save and restore rounding mode and use
29471 round-to-nearest for all computations.
29472 * math/libm-test.inc (exp_test_tonearest): New function.
29473 (exp_test_towardzero): Likewise.
29474 (exp_test_downward): Likewise.
29475 (exp_test_upward): Likewise.
29476 (main): Call the new functions.
29477 * sysdeps/i386/fpu/libm-test-ulps: Update.
29478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29480 2012-03-01 Chris Demetriou <cgd@google.com>
29482 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29483 have predictable order.
29485 2012-03-01 David S. Miller <davem@davemloft.net>
29487 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29489 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29490 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29491 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29492 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29494 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29495 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29496 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29498 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29499 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29500 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29501 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29507 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29508 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29510 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29511 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29512 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29513 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29514 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29517 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29518 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29519 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29520 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29523 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29526 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29527 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29528 * sysdeps/sparc/elf/configure: Regenerated.
29530 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29532 * configure.in (AS, LD): Require binutils 2.20 or later.
29533 * configure: Regenerated.
29534 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29535 as required minimum version.
29536 * INSTALL: Regenerated.
29540 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29541 before squaring exponent.
29542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29543 bottom long double and 27 bits of top long double before squaring
29545 * math/libm-test.inc (erfc_test): Add more tests.
29546 * sysdeps/i386/fpu/libm-test-ulps: Update.
29547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29550 2012-03-01 Kai Tietz <ktietz@redhat.com>
29552 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29553 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29554 containing bit-fields.
29555 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29556 * soft-fp/single.h (_FP_UNION_S): Likewise.
29557 * soft-fp/double.h (_FP_UNION_D): Likewise.
29559 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29562 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29563 not include ../strcmp.S.
29564 [USE_AS_STRNCASECMP_L]: Likewise.
29565 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29566 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29567 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29568 (__strncasecmp_l_ia32): Define as alias to
29569 __strncasecmp_l_nonascii.
29572 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29573 * sysdeps/i386/fpu/libm-test-ulps: Update.
29574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29576 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29579 2012-02-29 Jeff Law <law@redhat.com>
29581 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29582 out of bounds read.
29584 2012-02-29 Marek Polacek <polacek@redhat.com>
29587 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29588 * elf/Makefile: Add rules to run tst-unused-dep.out.
29590 2012-02-28 David S. Miller <davem@davemloft.net>
29592 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29593 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29596 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29597 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29599 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29601 * math/libm-test.inc (llround_test): Move one test from
29602 lround_test. Use TEST_f_L in moved test.
29603 (lround_test): Move misplaced test to llround_test. Add testcase
29606 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29608 * sysdeps/x86_64/fpu/e_expf.S: New file.
29609 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29611 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29614 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29615 of remain_len that may cause incomplete multi-byte character and
29617 * posix/bug-regex33.c: New file.
29618 * posix/Makefile (tests): Add bug-regex33.
29620 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29622 * manual/macros.texi: New file.
29623 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29624 * manual/libc.texinfo: Include macros.texi.
29625 * manual/creatute.texi: Likewise.
29626 * manual/install.texi: Likewise.
29627 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29628 @glibcadj{} in references to the GNU C Library.
29629 * manual/charset.texi: Likewise.
29630 * manual/conf.texi: Likewise.
29631 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29632 when not using those macros.
29633 * manual/creature.texi: Likewise.
29634 * manual/crypt.texi: Likewise.
29635 * manual/errno.texi: Likewise.
29636 * manual/filesys.texi: Likewise.
29637 * manual/header.texi: Likewise.
29638 * manual/install.texi: Likewise.
29639 * manual/intro.texi: Likewise.
29640 * manual/io.texi: Likewise.
29641 * manual/job.texi: Likewise.
29642 * manual/lang.texi: Likewise.
29643 * manual/libc.texiinfo: Likewise.
29644 * manual/llio.texi: Likewise.
29645 * manual/locale.texi: Likewise.
29646 * manual/maint.texi: Likewise.
29647 * manual/math.texi: Likewise.
29648 * manual/memory.texi: Likewise.
29649 * manual/message.texi: Likewise.
29650 * manual/nss.texi: Likewise.
29651 * manual/pattern.texi: Likewise.
29652 * manual/process.texi: Likewise.
29653 * manual/resource.texi: Likewise.
29654 * manual/search.texi: Likewise.
29655 * manual/setjmp.texi: Likewise.
29656 * manual/signal.texi: Likewise.
29657 * manual/socket.texi: Likewise.
29658 * manual/startup.texi: Likewise.
29659 * manual/stdio.texi: Likewise.
29660 * manual/string.texi: Likewise.
29661 * manual/sysinfo.texi: Likewise.
29662 * manual/syslog.texi: Likewise.
29663 * manual/terminal.texi: Likewise.
29664 * manual/time.texi: Likewise.
29665 * manual/users.texi: Likewise.
29666 * INSTALL: Regenerated.
29667 * NOTES: Regenerated.
29668 * sysdeps/gnu/errlist.c: Regenerated.
29670 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29672 * include/dirent.h: Include <dirstream.h> before
29675 2012-02-28 David S. Miller <davem@davemloft.net>
29677 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29678 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29679 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29680 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29682 2012-02-27 David S. Miller <davem@davemloft.net>
29684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29686 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29687 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29690 frame pointer instead of stack pointer relative arg slot.
29691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29692 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29693 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29695 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29698 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29700 2012-02-27 David S. Miller <davem@davemloft.net>
29702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29706 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29707 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29708 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29709 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29711 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29713 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29714 later. Allow versions 5-9.
29715 * configure: Regenerated.
29716 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29717 required minimum version and 4.6 as recommended version. Do not
29718 mention bugs in GCC 2.7 and 2.8.
29719 * INSTALL: Regenerated.
29721 2012-02-27 David S. Miller <davem@davemloft.net>
29723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29727 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29728 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29729 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29730 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29733 manipulate bits before adding and subtracting TWO112[sx].
29734 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29736 2012-02-27 Roland McGrath <roland@hack.frob.com>
29739 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29740 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29741 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29742 being in POSIX, because they are in 1003.1-2008.
29744 * rt/tst-aio.c: Include <fcntl.h>.
29745 * rt/tst-aio7.c: Likewise.
29746 * rt/tst-aio64.c: Likewise.
29748 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29750 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29752 * manual/install.texi (--with-headers): Describe headers as
29753 interface headers, not private headers.
29754 (Specific advice for GNU/Linux systems): Describe use of headers
29755 from "make headers_install", not private headers from older
29757 * INSTALL: Regenerated.
29758 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29760 * sysdeps/unix/sysv/linux/configure: Regenerated.
29762 * manual/llio.texi (fclean): Remove documentation.
29764 * manual/Makefile (libc-texi-generated): New variable. Include
29766 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29767 $(libc-texi-generated), not duplicated list of files.
29768 (version.texi, stamp-version): New rules.
29769 (realclean): Remove $(libc-texi-generated), not individual files
29770 from that list. Do not remove dir-add.texinfo.
29771 * manual/libc.texinfo: Comment out uses of edition numbers and
29772 references to printed manual. Remove last-updated dates.
29773 (EDITION): Comment out.
29775 (VERSION, UPDATED): Remove.
29776 (version.texi): Include.
29778 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29780 * sysdeps/posix/spawni.c: Include <signal.h>.
29781 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29782 * sysdeps/pthread/aio_fsync.c: Likewise.
29784 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29786 * conform/Makefile (tests): Run only when not cross-compiling and
29787 when fast-check is not defined.
29789 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29790 * conform/data/limits.h-data: Fixes for POSIX2008.
29791 * conform/run-conformtest.sh: Run all tests.
29792 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29794 * include/bits/dlfcn.h: Likewise.
29795 * include/langinfo.h: Likewise.
29796 * include/monetary.h: Likewise.
29797 * include/sys/poll.h: Likewise.
29799 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29801 * posix/spawn.h: Define __need_sigset_t.
29802 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29803 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29804 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29805 to get sigevent_t only.
29806 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29807 only for __USE_GNU.
29808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29809 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29810 process_vm_writev only for __USE_GNU.
29811 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29813 * conform/Makefile: For now ignore errors from run-conformtest.
29814 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29815 POSIX to avoid namespace pollution. Don't prepend headers.
29816 * conform/data/aio.h-data: Fixes for POSIX testing.
29817 * conform/data/fcntl.h-data: Likewise.
29818 * conform/data/glob.h-data: Likewise.
29819 * conform/data/grp.h-data: Likewise.
29820 * conform/data/pthread.h-data: Likewise.
29821 * conform/data/pwd.h-data: Likewise.
29822 * conform/data/signal.h-data: Likewise.
29823 * conform/data/spawn.h-data: Likewise.
29824 * conform/data/stdio.h-data: Likewise.
29825 * conform/data/stdlib.h-data: Likewise.
29826 * conform/data/stropts.h-data: Likewise.
29827 * conform/data/sys/mman.h-data: Likewise.
29828 * conform/data/sys/stat.h-data: Likewise.
29829 * conform/data/sys/types.h-data: Likewise.
29830 * conform/data/sys/wait.h-data: Likewise.
29831 * conform/data/time.h-data: Likewise.
29832 * conform/data/unistd.h-data: Likewise.
29833 * conform/data/utime.h-data: Likewise.
29835 * io/sys/stat.h: fchmod was always in POSIX.
29836 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29837 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29838 * rt/aio.h: Define __need_timespec before including <time.h>.
29839 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29840 struct. Add forward declaration of pthread_attr_t and use it in
29842 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29844 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29845 always remove CLK_TCK definition.
29847 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29849 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29851 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29853 * conform/run-conformtest.sh: New file.
29854 * conform/Makefile: Run run-conformtest for tests.
29855 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29858 * conform/data/uchar.h-data: New file.
29859 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29860 * conform/data/arpa/inet.h-data: Likewise.
29861 * conform/data/assert.h-data: Likewise.
29862 * conform/data/complex.h-data: Likewise.
29863 * conform/data/cpio.h-data: Likewise.
29864 * conform/data/ctype.h-data: Likewise.
29865 * conform/data/dirent.h-data: Likewise.
29866 * conform/data/dlfcn.h-data: Likewise.
29867 * conform/data/errno.h-data: Likewise.
29868 * conform/data/fcntl.h-data: Likewise.
29869 * conform/data/float.h-data: Likewise.
29870 * conform/data/fmtmsg.h-data: Likewise.
29871 * conform/data/fnmatch.h-data: Likewise.
29872 * conform/data/ftw.h-data: Likewise.
29873 * conform/data/glob.h-data: Likewise.
29874 * conform/data/grp.h-data: Likewise.
29875 * conform/data/iconv.h-data: Likewise.
29876 * conform/data/inttypes.h-data: Likewise.
29877 * conform/data/langinfo.h-data: Likewise.
29878 * conform/data/libgen.h-data: Likewise.
29879 * conform/data/limits.h-data: Likewise.
29880 * conform/data/locale.h-data: Likewise.
29881 * conform/data/math.h-data: Likewise.
29882 * conform/data/monetary.h-data: Likewise.
29883 * conform/data/mqueue.h-data: Likewise.
29884 * conform/data/ndbm.h-data: Likewise.
29885 * conform/data/net/if.h-data: Likewise.
29886 * conform/data/netdb.h-data: Likewise.
29887 * conform/data/netinet/in.h-data: Likewise.
29888 * conform/data/nl_types.h-data: Likewise.
29889 * conform/data/poll.h-data: Likewise.
29890 * conform/data/pthread.h-data: Likewise.
29891 * conform/data/pwd.h-data: Likewise.
29892 * conform/data/regex.h-data: Likewise.
29893 * conform/data/sched.h-data: Likewise.
29894 * conform/data/search.h-data: Likewise.
29895 * conform/data/semaphore.h-data: Likewise.
29896 * conform/data/setjmp.h-data: Likewise.
29897 * conform/data/signal.h-data: Likewise.
29898 * conform/data/spawn.h-data: Likewise.
29899 * conform/data/stdarg.h-data: Likewise.
29900 * conform/data/stdio.h-data: Likewise.
29901 * conform/data/stdlib.h-data: Likewise.
29902 * conform/data/string.h-data: Likewise.
29903 * conform/data/strings.h-data: Likewise.
29904 * conform/data/stropts.h-data: Likewise.
29905 * conform/data/sys/ipc.h-data: Likewise.
29906 * conform/data/sys/mman.h-data: Likewise.
29907 * conform/data/sys/msg.h-data: Likewise.
29908 * conform/data/sys/resource.h-data: Likewise.
29909 * conform/data/sys/select.h-data: Likewise.
29910 * conform/data/sys/sem.h-data: Likewise.
29911 * conform/data/sys/shm.h-data: Likewise.
29912 * conform/data/sys/socket.h-data: Likewise.
29913 * conform/data/sys/stat.h-data: Likewise.
29914 * conform/data/sys/statvfs.h-data: Likewise.
29915 * conform/data/sys/time.h-data: Likewise.
29916 * conform/data/sys/timeb.h-data: Likewise.
29917 * conform/data/sys/times.h-data: Likewise.
29918 * conform/data/sys/types.h-data: Likewise.
29919 * conform/data/sys/uio.h-data: Likewise.
29920 * conform/data/sys/un.h-data: Likewise.
29921 * conform/data/sys/utsname.h-data: Likewise.
29922 * conform/data/sys/wait.h-data: Likewise.
29923 * conform/data/syslog.h-data: Likewise.
29924 * conform/data/tar.h-data: Likewise.
29925 * conform/data/termios.h-data: Likewise.
29926 * conform/data/utime.h-data: Likewise.
29927 * conform/data/utmpx.h-data: Likewise.
29928 * conform/data/varargs.h-data: Likewise.
29929 * conform/data/wchar.h-data: Likewise.
29930 * conform/data/wctype.h-data: Likewise.
29931 * conform/data/wordexp.h-data: Likewise.
29933 * include/stropts.h: New file.
29934 * include/uchar.h: New file.
29935 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29936 * include/assert.h: Likewise.
29937 * include/ctype.h: Likewise.
29938 * include/dirent.h: Likewise.
29939 * include/dlfcn.h: Likewise.
29940 * include/fcntl.h: Likewise.
29941 * include/fnmatch.h: Likewise.
29942 * include/glob.h: Likewise.
29943 * include/grp.h: Likewise.
29944 * include/libio.h: Likewise.
29945 * include/locale.h: Likewise.
29946 * include/math.h: Likewise.
29947 * include/net/if.h: Likewise.
29948 * include/netdb.h: Likewise.
29949 * include/netinet/in.h: Likewise.
29950 * include/pthread.h: Likewise.
29951 * include/pwd.h: Likewise.
29952 * include/regex.h: Likewise.
29953 * include/sched.h: Likewise.
29954 * include/search.h: Likewise.
29955 * include/setjmp.h: Likewise.
29956 * include/signal.h: Likewise.
29957 * include/stdio.h: Likewise.
29958 * include/stdlib.h: Likewise.
29959 * include/string.h: Likewise.
29960 * include/sys/cdefs.h: Likewise.
29961 * include/sys/mman.h: Likewise.
29962 * include/sys/msg.h: Likewise.
29963 * include/sys/resource.h: Likewise.
29964 * include/sys/select.h: Likewise.
29965 * include/sys/socket.h: Likewise.
29966 * include/sys/stat.h: Likewise.
29967 * include/sys/statvfs.h: Likewise.
29968 * include/sys/time.h: Likewise.
29969 * include/sys/times.h: Likewise.
29970 * include/sys/uio.h: Likewise.
29971 * include/sys/utsname.h: Likewise.
29972 * include/sys/wait.h: Likewise.
29973 * include/termios.h: Likewise.
29974 * include/time.h: Likewise.
29975 * include/ulimit.h: Likewise.
29976 * include/unistd.h: Likewise.
29977 * include/utime.h: Likewise.
29978 * include/wchar.h: Likewise.
29979 * include/wctype.h: Likewise.
29980 * include/wordexp.h: Likewise.
29982 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29984 * time/time.h: TIME_UTC must be a macro.
29985 Make timespec_get available for ISO C11 only as well.
29987 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29989 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29990 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29994 * configure.in: Use -o not -a in test for unsupported multi-arch.
29996 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29998 * manual/texinfo.tex: Update to version 2012-01-19.16.
30000 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30002 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30004 2012-02-24 Roland McGrath <roland@hack.frob.com>
30007 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30008 * manual/fdl-1.3.texi: New file.
30009 * manual/fdl-1.1.texi: File removed.
30012 * manual/libc.texinfo (FDL_VERSION): New @set.
30013 Use it for mention of FDL in cover text.
30014 (Documentation License): Use it in @include file name.
30016 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30017 Roland McGrath <roland@hack.frob.com>
30020 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30021 not LONG_LONG_MAX and LONG_LONG_MIN.
30022 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30023 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30025 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30027 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30031 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30032 manipulate bits before adding and subtracting TWO23[sx].
30033 * math/libm-test.inc (nearbyint_test): Add more tests.
30035 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30038 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30039 bits before adding and subtracting TWO23[sx].
30040 * math/libm-test.inc (rint_test): Add more tests.
30041 (rint_test_tonearest): Likewise.
30042 (rint_test_towardzero): Likewise.
30043 (rint_test_downward): Likewise.
30044 (rint_test_upward: Likewise.
30046 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30049 * include/stdc-predef.h: New file. Extracted from features.h.
30050 * include/features.h: Include stdc-predef.h.
30051 * Makefile (headers): Add stdc-predef.h.
30052 * CONFORMANCE (Compiler limitations): Update.
30054 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30056 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30058 2012-02-21 David S. Miller <davem@davemloft.net>
30060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30063 2012-02-20 David S. Miller <davem@davemloft.net>
30065 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30066 using a normal save/restore sequence, rather than allocating a
30067 dummy stack frame just to store a frame pointer and restore.
30068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30070 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30072 * manual/install.texi: Fix stray word in line-wrapped comment.
30074 2012-02-20 David S. Miller <davem@davemloft.net>
30076 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30077 both binutils and gcc support GOTDATA.
30079 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30080 "rd %pc" in the PIC register setup sequences.
30082 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30083 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30084 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30085 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30086 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30089 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30091 (SYSCALL_ERROR_HANDLER): Likewise.
30092 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30093 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30095 (SYSCALL_ERROR_HANDLER): Likewise.
30097 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30098 (HAVE_GCC_GOTDATA): New.
30099 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30100 relocation support in both binutils and gcc.
30101 * sysdeps/sparc/elf/configure: Regenerate.
30103 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30104 * sysdeps/sparc/sparc32/elf/configure: Delete.
30105 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30106 * sysdeps/sparc/sparc64/elf/configure: Delete.
30107 * sysdeps/sparc/elf/configure.in: New file.
30108 * sysdeps/sparc/elf/configure: Generate.
30110 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30111 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30112 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30113 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30114 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30118 * manual/install.texi: Do not mention specific glibc version
30120 * manual/libc.texinfo (VERSION, UPDATED): Update.
30121 (@copying): Use @copyright{} and range of years.
30123 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30126 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30127 [crti.S not in sysdirs] (generated): Do not append.
30128 [crti.S not in sysdirs] (omit-deps): Likewise.
30129 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30130 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30131 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30132 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30133 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30135 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30136 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30137 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30138 * csu/defs.awk: Remove file.
30139 * sysdeps/generic/initfini.c: Likewise.
30140 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30142 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30145 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30147 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30148 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30150 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30152 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30154 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30155 (__EPOLL_PACKED): Define to empty if not defined by
30157 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30161 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30163 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30164 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30165 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30166 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30168 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30172 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30174 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30177 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30178 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30181 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30184 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30186 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30188 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30189 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30191 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30193 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30196 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30198 * math/w_acos.c: Use non-signaling floating-point comparisons.
30199 * math/w_acosf.c: Likewise.
30200 * math/w_acosh.c: Likewise.
30201 * math/w_acoshf.c: Likewise.
30202 * math/w_acoshl.c: Likewise.
30203 * math/w_acosl.c: Likewise.
30204 * math/w_asin.c: Likewise.
30205 * math/w_asinf.c: Likewise.
30206 * math/w_asinl.c: Likewise.
30207 * math/w_atanh.c: Likewise.
30208 * math/w_atanhf.c: Likewise.
30209 * math/w_atanhl.c: Likewise.
30210 * math/w_exp2.c: Likewise.
30211 * math/w_exp2f.c: Likewise.
30212 * math/w_exp2l.c: Likewise.
30213 * math/w_j0.c: Likewise.
30214 * math/w_j0f.c: Likewise.
30215 * math/w_j0l.c: Likewise.
30216 * math/w_j1.c: Likewise.
30217 * math/w_j1f.c: Likewise.
30218 * math/w_j1l.c: Likewise.
30219 * math/w_jn.c: Likewise.
30220 * math/w_jnf.c: Likewise.
30221 * math/w_log.c: Likewise.
30222 * math/w_log10.c: Likewise.
30223 * math/w_log10f.c: Likewise.
30224 * math/w_log10l.c: Likewise.
30225 * math/w_log2.c: Likewise.
30226 * math/w_log2f.c: Likewise.
30227 * math/w_log2l.c: Likewise.
30228 * math/w_logf.c: Likewise.
30229 * math/w_logl.c: Likewise.
30230 * math/w_sqrt.c: Likewise.
30231 * math/w_sqrtf.c: Likewise.
30232 * math/w_sqrtl.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30236 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30237 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30239 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30242 * manual/string.texi (strnlen): Use correct parameter name in
30243 equivalent expression.
30245 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30248 * manual/users.texi (seteuid): Consistently use neweuid for
30251 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30254 * manual/nss.texi (Services in the NSS configuration): Correct
30255 list of services in example configuration file.
30257 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30260 * manual/arith.texi: Remove statements about negative zero
30261 behaving identically to zero.
30263 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30266 * manual/install.texi: Do not document upgrading from libc5.
30268 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30271 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30273 2012-02-18 David S. Miller <davem@davemloft.net>
30275 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30276 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30277 %o7 across the call.
30278 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30281 SETUP_PIC_REG_LEAF.
30282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30283 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30284 * sysdeps/sparc/crtn.S: Likewise.
30286 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30288 * aout/Makefile: Remove.
30290 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30293 * manual/examples/argp-ex1.c (main): Format definition in GNU
30295 * manual/examples/argp-ex2.c (main): Likewise.
30296 * manual/examples/argp-ex3.c (main): Likewise.
30297 * manual/examples/argp-ex4.c (main): Likewise.
30298 * manual/examples/longopt.c (main): Use new-style prototype
30300 * manual/examples/strncat.c (main): Specify return type and use
30301 (void) for arguments.
30302 * manual/examples/subopt.c (main): Use char **argv argument.
30304 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30307 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30310 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30313 * manual/string.texi (strchr): Change when strchrnul is
30316 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30319 * manual/locale.texi (setlocale): Document LOCPATH.
30321 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30324 * manual/process.texi (execle): Move @dots{} before last argument.
30326 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30329 * manual/charset.texi (Generic Charset Conversion): Fix typo
30330 (LC_TYPE -> LC_CTYPE).
30332 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30335 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30336 (scalbnf): Likewise.
30337 (scalbnl): Likewise.
30338 (scalbln): Likewise.
30339 (scalblnf): Likewise.
30340 (scalblnl): Likewise.
30341 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30342 (vwarnx): Likewise.
30345 * manual/filesys.texi (telldir): Use braces around return type.
30346 * manual/llio.texi (mmap): Add space after comma.
30347 (mmap64): Likewise.
30348 * manual/math.texi (jn): Use @var{} on parameter names.
30354 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30356 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30358 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30359 (sched_get_priority_max): Likewise.
30360 * manual/signal.texi (sigvec): Add space after comma.
30361 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30363 (if_indextoname): Likewise.
30364 (if_freenameindex): Likewise.
30365 (sendto): Use ',' instead of '.' in prototype.
30366 * manual/startup.texi (syscall): Use @dots{} instead of literal
30368 * manual/stdio.texi (__fpending): Separate initial words of
30369 paragraph from @deftypefun line.
30370 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30372 (vsyslog): Use @var{} on parameter names.
30373 * manual/terminal.texi (stty): Use @var{} on parameter names.
30374 * manual/users.texi (getutmp): Use @var{} on parameter names.
30375 (getutmpx): Likewise.
30377 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30380 * manual/stdio.texi (fopen): Fix typos in description of
30383 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30386 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30387 get clock_id definition.
30389 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30392 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30393 (madvise): Cast every argument to void on its own.
30395 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30398 * manual/startup.texi (Exit Status): Fix typo.
30400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30403 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30404 * manual/examples/argp-ex2.c: Likewise.
30405 * manual/examples/argp-ex3.c: Likewise.
30407 2012-02-16 Richard Henderson <rth@redhat.com>
30409 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30410 * sysdeps/s390/s390-32/initfini.c: Remove.
30411 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30412 * sysdeps/s390/s390-64/initfini.c: Remove.
30414 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30416 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30417 compiler output for sysdeps/generic/initfini.c.
30418 * sysdeps/sh/elf/initfini.c: Remove file.
30420 2012-02-16 David S. Miller <davem@davemloft.net>
30423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30425 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30426 * sysdeps/sparc/crti.S: New file.
30427 * sysdeps/sparc/crtn.S: New file.
30428 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30429 * sysdeps/sparc/sparc64/Makefile: Likewise.
30431 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30434 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30436 2012-02-15 Roland McGrath <roland@hack.frob.com>
30439 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30441 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30442 (write, read, close): Likewise.
30443 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30445 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30447 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30448 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30449 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30450 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30452 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30456 2012-02-14 Marek Polacek <polacek@redhat.com>
30458 * sysdeps/x86_64/crti.S: New file.
30459 * sysdeps/x86_64/crtn.S: New file.
30460 * sysdeps/x86_64/elf/initfini.c: Remove file.
30462 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30464 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30465 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30466 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30467 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30469 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30473 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30475 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30476 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30477 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30478 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30480 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30484 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30486 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30487 __feraiseexcept instead of feraiseexcept.
30489 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30490 nanosleep invocations.
30491 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30492 strings, and add error checking for a nanosleep invocations.
30494 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30496 Replace FSF snail mail address with URLs, as per GNU coding standards.
30497 Most of the snail mail addresses were wrong anyway, and omitting
30498 them makes the source code easier to maintain. Almost all of the
30499 changes are to license notices and to locale LC_IDENTIFICATION
30500 addresses, except for this one:
30501 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30502 not its snail mail address.
30504 2012-02-09 Richard Henderson <rth@twiddle.net>
30506 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30507 of kernel-features.h.
30509 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30511 2012-02-08 Marek Polacek <polacek@redhat.com>
30513 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30514 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30515 * sysdeps/gnu/_G_config.h: Likewise.
30516 * sysdeps/generic/_G_config.h: Likewise.
30518 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30520 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30524 * sysdeps/powerpc/powerpc32/crti.S: New file.
30525 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30526 * sysdeps/powerpc/powerpc64/crti.S: New file.
30527 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30529 * Makeconfig (have-initfini): Don't set.
30530 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30531 * configure.in (nopic_initfini): Don't substitute.
30532 * config.h.in (HAVE_INITFINI): Don't #undef.
30533 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30534 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30536 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30538 Support crti.S and crtn.S provided directly by architectures.
30539 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30540 [crti.S in sysdirs] (omit-deps): Likewise.
30541 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30542 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30543 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30544 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30545 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30546 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30547 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30548 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30549 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30550 compiler output for sysdeps/generic/initfini.c.
30551 * sysdeps/i386/elf/Makefile: Remove file.
30552 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30554 2012-02-07 Marek Polacek <polacek@redhat.com>
30556 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30557 * sysdeps/gnu/_G_config.h: Likewise.
30558 * sysdeps/mach/hurd/_G_config.h: Likewise.
30560 2012-02-07 Marek Polacek <polacek@redhat.com>
30562 * math/Makefile (tests): Add tst-CMPLX2.
30563 * math/tst-CMPLX2.c: New file.
30565 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30567 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30569 * math/libm-test.inc (jn_test): Add missing L suffix.
30571 2012-02-06 Marek Polacek <polacek@redhat.com>
30573 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30574 * sysdeps/i386/fpu/e_powf.S: Likewise.
30575 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30576 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30577 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30578 * sysdeps/i386/fpu/e_pow.S: Likewise.
30579 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30580 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30581 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30582 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30583 * sysdeps/i386/fpu/e_log2.S: Likewise.
30584 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30586 * sysdeps/i386/fpu/e_powl.S: Likewise.
30587 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30589 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30590 * sysdeps/i386/fpu/e_logl.S: Likewise.
30591 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30592 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30593 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30594 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30595 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30596 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30597 * sysdeps/i386/fpu/e_log.S: Likewise.
30598 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30599 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30600 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30601 * sysdeps/i386/fpu/e_logf.S: Likewise.
30602 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30603 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30604 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30605 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30606 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30607 * sysdeps/i386/fpu/e_log10.S: Likewise.
30608 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30609 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30610 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30611 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30612 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30613 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30614 * sysdeps/i386/asm-syntax.h: Likewise.
30615 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30616 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30617 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30618 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30619 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30620 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30621 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30622 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30624 * sysdeps/powerpc/sysdep.h: Likewise.
30625 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30626 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30628 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30631 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30633 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30635 * sysdeps/i386/sysdep.h: Include <features.h>.
30636 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30639 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30641 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30643 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30646 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30648 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30649 (SETUP_PIC_REG): Use GET_PC_THUNK.
30650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30653 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30655 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30656 for non-PIC compilation.
30657 (SETUP_PIC_REG): Add .p2align directive.
30658 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30659 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30660 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30661 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30662 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30663 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30664 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30666 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30667 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30668 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30669 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30670 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30671 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30672 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30673 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30674 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30675 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30676 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30677 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30678 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30679 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30680 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30681 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30684 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30685 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30686 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30687 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30688 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30689 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30690 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30691 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30692 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30693 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30694 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30695 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30696 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30697 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30698 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30700 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30702 * math/tst-CMPLX.c: Include <stdio.h>.
30704 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30706 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30709 * sysdeps/sparc/bits/mathdef.h: Likewise.
30711 2012-01-31 Marek Polacek <polacek@redhat.com>
30713 * libio/libio.h: Don't define _PARAMS.
30714 * locale/programs/config.h: Don't define PARAMS.
30715 * stdlib/strtol_l.c: Likewise.
30716 (__strtol_l): Remove PARAMS from the prototype.
30718 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30720 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30721 names. Just use the correct names. Remove unnecessary wrapper
30723 * malloc/arena.c: Likewise.
30724 * malloc/hooks.c: Likewise.
30726 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30727 ARENA_TEST says not to. Simplify test for creation of a new arena.
30728 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30730 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30732 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30734 (update_get_addr): New function.
30735 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30736 GET_ADDR_MODULE parameter.
30738 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30740 * crypt/cert.c: Remove __STDC__ conditionals.
30741 * crypt/crypt-entry.c: Likewise.
30742 * crypt/crypt_util.c: Likewise.
30743 * libio/filedoalloc.c: Likewise.
30744 * libio/fileops.c: Likewise.
30745 * libio/genops.c: Likewise.
30746 * libio/iofclose.c: Likewise.
30747 * libio/iofdopen.c: Likewise.
30748 * libio/iofopen.c: Likewise.
30749 * libio/iofopen64.c: Likewise.
30750 * libio/iogetdelim.c: Likewise.
30751 * libio/iopopen.c: Likewise.
30752 * libio/obprintf.c: Likewise.
30753 * libio/oldfileops.c: Likewise.
30754 * libio/oldiofclose.c: Likewise.
30755 * libio/oldiofdopen.c: Likewise.
30756 * libio/oldiofopen.c: Likewise.
30757 * libio/oldiopopen.c: Likewise.
30758 * libio/wfiledoalloc.c: Likewise.
30759 * libio/wgenops.c: Likewise.
30760 * locale/programs/xmalloc.c: Likewise.
30761 * misc/syslog.c: Likewise.
30762 * stdio-common/xbug.c: Likewise.
30763 * string/memchr.c: Likewise.
30764 * string/memcmp.c: Likewise.
30765 * string/memrchr.c: Likewise.
30766 * string/rawmemchr.c: Likewise.
30767 * sysdeps/posix/getcwd.c: Likewise.
30768 * time/strftime_l.c: Likewise.
30770 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30772 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30773 * config.make.in (config-cflags-sse2avx): Define.
30774 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30777 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30779 * scripts/config.guess: Update from upstream config git repository.
30780 * scripts/config.sub: Likewise.
30782 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30784 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30786 (R_TILEPRO_*, R_TILEGX_*): New macros.
30788 * scripts/firstversions.awk: Fix bug in version range handling.
30790 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30792 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30794 * include/sys/epoll.h: New file.
30795 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30798 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30800 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30801 Avoid unnecessary __WORDSIZE == 64 test.
30802 (fmaxf): Use VEX format if possible.
30807 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30808 * math/math_private.h: Remove libc_fegetround* and
30810 * sysdeps/i386/configure.in: Check for -msse2avx.
30811 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30812 also if SSE2AVX is defined.
30813 Remove libc_fegetround* and libc_fesetround*.
30814 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30815 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30816 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30818 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30819 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30820 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30821 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30822 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30824 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30826 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30832 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30835 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30837 * Makeconfig (libm): Define.
30838 * elf/Makefile: Add rules to build and run tst-relsort1.
30839 * elf/tst-relsort1.c: New file.
30840 * elf/tst-relsort1mod1.c: New file.
30841 * elf/tst-relsort1mod2.c: New file.
30843 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30845 * math/s_ldexp.c: Remove __STDC__ conditionals.
30846 * math/s_ldexpf.c: Likewise.
30847 * math/s_ldexpl.c: Likewise.
30848 * math/s_nextafter.c: Likewise.
30849 * math/s_nexttowardf.c: Likewise.
30850 * math/s_significand.c: Likewise.
30851 * math/s_significandf.c: Likewise.
30852 * math/s_significandl.c: Likewise.
30853 * math/w_jnl.c: Likewise.
30854 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30855 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30856 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30857 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30858 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30860 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30875 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30876 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30877 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30878 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30879 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30880 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30881 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30882 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30885 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30886 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30887 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30888 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30889 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30890 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30891 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30892 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30893 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30894 * sysdeps/ieee754/k_standard.c: Likewise.
30895 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30899 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30904 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30905 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30906 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30907 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30908 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30909 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30911 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30914 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30917 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30918 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30919 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30920 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30921 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30922 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30924 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30925 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30926 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30927 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30928 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30930 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30931 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30933 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30934 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30935 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30936 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30937 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30938 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30939 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30940 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30944 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30945 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30946 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30947 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30949 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30955 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30956 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30961 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30967 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30969 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30970 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30974 * sysdeps/ieee754/s_matherr.c: Likewise.
30975 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30976 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30980 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30982 * crypt/md5.h: Remove __STDC__ conditionals.
30983 * libio/libioP.h: Likewise.
30984 * locale/programs/config.h: Likewise.
30985 * sysdeps/generic/sysdep.h: Likewise.
30986 * sysdeps/i386/asm-syntax.h: Likewise.
30987 * sysdeps/s390/asm-syntax.h: Likewise.
30988 * sysdeps/unix/sysdep.h: Likewise.
30989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30992 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30994 * libio/libio.h: Remove __STDC__ conditionals.
30995 * malloc/obstack.h: Likewise.
30996 * math/complex.h: Likewise.
30997 * math/math.h: Likewise.
30998 * sysdeps/generic/_G_config.h: Likewise.
30999 * sysdeps/gnu/_G_config.h: Likewise.
31000 * sysdeps/mach/hurd/_G_config.h: Likewise.
31001 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31002 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31003 * sysdeps/sparc/bits/mathdef.h: Likewise.
31005 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31008 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31009 Clean up HAS_* macros.
31010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31011 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31016 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31021 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31023 * elf/tst-unique3.cc (gets): Remove declaration.
31024 * elf/tst-unique3lib.cc (gets): Likewise.
31025 * elf/tst-unique3lib2.cc (gets): Likewise.
31026 * elf/tst-unique4.cc (gets): Likewise.
31028 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31030 * include/stdio.h: Add C++ protection. Add gets declarations and
31032 * debug/tst-chk1.c: Don't declare gets here.
31033 * stdio-common/tst-gets.c: Likewise.
31035 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31037 * posix/glob: Remove directory.
31039 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31041 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31043 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31045 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31046 of the non-standard EPFNOSUPPORT.
31048 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31050 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31051 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31052 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31054 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31056 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31058 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31060 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31062 * nscd/grpcache.c (cache_addgr): Likewise.
31063 * nscd/hstcache.c (cache_addhst): Likewise.
31064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31065 * nscd/pwdcache.c (cache_addpw): Likewise.
31066 * nscd/servicescache.c (cache_addserv): Likewise.
31068 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31070 * malloc/malloc.c: Various cleanups.
31071 * malloc/hooks.c: Likewise.
31073 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31074 * stdlib/bug-fmtmsg1.c: New file.
31076 * stdlib/fmtmsg.c (init): Add missing unlock.
31077 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31079 2012-01-12 Marek Polacek <polacek@redhat.com>
31081 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31084 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31086 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31087 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31088 macro to ensure uniqueness of label name.
31089 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31090 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31092 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31094 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31096 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31097 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31098 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31101 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31103 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31105 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31106 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31107 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31109 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31111 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31113 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31116 * math/bits/math-finite.h: Add ldexp support.
31118 2012-01-10 Marek Polacek <polacek@redhat.com>
31120 * locale/programs/localedef.h (show_archive_content): Add noreturn
31123 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31125 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31127 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31129 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31131 * io/Makefile (headers): Add bits/poll2.h.
31133 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31136 typo #include statement.
31138 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31140 * include/sys/cdefs.h: Define __attribute_alloc_size.
31141 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31142 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31143 * elf/pldd.c: Likewise.
31144 * iconv/iconv_charmap.c: Likewise.
31145 * iconv/iconvconfig.c: Likewise.
31146 * iconv/strtab.c: Likewise.
31147 * locale/programs/locale.c: Likewise.
31148 * locale/programs/localedef.h: Likewise.
31149 * locale/programs/simple-hash.c: Likewise.
31150 * nscd/nscd.h: Likewise.
31151 * nss/makedb.c: Likewise.
31152 * sysdeps/generic/ldconfig.h: Likewise.
31153 * locale/programs/localedef.c: Remove xmalloc prototype.
31154 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31156 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31158 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31161 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31163 * math/Makefile (tests): Add tst-CMPLX.
31164 * math/tst-CMPLX.c: New file.
31166 * math/complex.h (CMPLXL): Fix typo.
31168 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31169 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31171 * debug/tst-chk1.c: Add poll and ppoll tests.
31172 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31173 * include/sys/poll.h: Add hidden proto for ppoll.
31174 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31175 * sysdeps/mach/hurd/ppoll.c: Likewise.
31176 * io/ppoll.c: Likewise.
31177 * debug/poll_chk.c: New file.
31178 * debug/ppoll_chk.c: New file.
31179 * include/bits/poll2.h: New file.
31180 * io/bits/poll2.h: New file.
31183 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31185 * configure.in: static is always set to yes. Remove.
31186 * config.make.in: Don't set build-static.
31187 * Makeconfig: Remove use of build-static.
31188 * dlfcn/Makefile: Likewise.
31189 * elf/Makefile: Likewise.
31190 * math/Makefile: Likewise.
31191 * misc/Makefile: Likewise.
31192 * nptl/Makefile: Likewise.
31193 * sysdeps/mach/hurd/Makefile: Likewise.
31195 * configure.in: PWD_P is not used anymore.
31196 * config.make.in: Remove PWD_P entry.
31198 * configure.in: Remove last remnants of RANLIB.
31199 No need to check for signed size_t anymore.
31200 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31202 Remove __builtin_expect test because we require at least gcc 3.4.
31203 * aclocal.m4: Likewise.
31205 * wcsmbs/mbrtoc16.c: Implement using towc function.
31206 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31207 * wcsmbs/wcsmbsload.c: Likewise.
31208 * iconv/gconv_simple.c: Likewise.
31209 * iconv/gconv_int.h: Likewise.
31210 * iconv/gconv_builtin.h: Likewise.
31211 * iconv/iconv_prog.c: Remove CHAR16 handling.
31213 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31215 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31217 * configure.in: Remove --with-elf and --enable-bounded options.
31218 Dont set base_machine for ia64. More non-ELF conditions removed.
31219 Remove testing and setting of leading underscore information.
31220 * config.make.in (build-bounded): Set to no.
31221 * config.h.in: Remove NO_UNDERSCORES entry.
31222 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31224 * csu/start.c: Remove !NO_UNDERSCORE code.
31225 * locale/localeinfo.h: Likewise.
31226 * sysdeps/generic/machine-gmon.h: Likewise.
31227 * sysdeps/generic/sysdep.h: Likewise.
31228 * sysdeps/i386/sysdep.h: Likewise.
31229 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31230 * sysdeps/mach/sysdep.h: Likewise.
31231 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31232 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31233 * sysdeps/sh/sysdep.h: Likewise.
31234 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31235 * sysdeps/unix/i386/sysdep.S: Likewise.
31236 * sysdeps/unix/sparc/start.c: Likewise.
31237 * sysdeps/unix/sparc/sysdep.S: Likewise.
31238 * sysdeps/unix/sparc/sysdep.h: Likewise.
31239 * sysdeps/unix/start.c: Likewise.
31240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31241 * sysdeps/x86_64/sysdep.h: Likewise.
31243 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31246 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31248 * argp/argp-fmtstream.h: Use const instead __const.
31249 * argp/argp.h: Likewise.
31250 * assert/assert.h: Likewise.
31251 * bits/fenv.h: Likewise.
31252 * bits/sched.h: Likewise.
31253 * bits/sigset.h: Likewise.
31254 * bits/sigthread.h: Likewise.
31255 * catgets/nl_types.h: Likewise.
31256 * conform/data/pthread.h-data: Likewise.
31257 * crypt/crypt-private.h: Likewise.
31258 * crypt/crypt.h: Likewise.
31259 * crypt/crypt_util.c: Likewise.
31260 * ctype/ctype.h: Likewise.
31261 * debug/execinfo.h: Likewise.
31262 * debug/mbsnrtowcs_chk.c: Likewise.
31263 * debug/mbsrtowcs_chk.c: Likewise.
31264 * debug/wcsnrtombs_chk.c: Likewise.
31265 * debug/wcsrtombs_chk.c: Likewise.
31266 * debug/wcstombs_chk.c: Likewise.
31267 * dirent/dirent.h: Likewise.
31268 * dlfcn/dlfcn.h: Likewise.
31269 * elf/neededtest4.c: Likewise.
31270 * grp/grp.h: Likewise.
31271 * gshadow/gshadow.h: Likewise.
31272 * iconv/gconv.h: Likewise.
31273 * iconv/gconv_int.h: Likewise.
31274 * iconv/gconv_simple.c: Likewise.
31275 * iconv/iconv.h: Likewise.
31276 * iconv/loop.c: Likewise.
31277 * iconv/skeleton.c: Likewise.
31278 * include/aio.h: Likewise.
31279 * include/aliases.h: Likewise.
31280 * include/argz.h: Likewise.
31281 * include/arpa/inet.h: Likewise.
31282 * include/assert.h: Likewise.
31283 * include/dirent.h: Likewise.
31284 * include/dlfcn.h: Likewise.
31285 * include/execinfo.h: Likewise.
31286 * include/fcntl.h: Likewise.
31287 * include/fenv.h: Likewise.
31288 * include/glob.h: Likewise.
31289 * include/grp.h: Likewise.
31290 * include/libintl.h: Likewise.
31291 * include/mntent.h: Likewise.
31292 * include/netdb.h: Likewise.
31293 * include/pwd.h: Likewise.
31294 * include/rpc/netdb.h: Likewise.
31295 * include/sched.h: Likewise.
31296 * include/search.h: Likewise.
31297 * include/shadow.h: Likewise.
31298 * include/signal.h: Likewise.
31299 * include/stdio.h: Likewise.
31300 * include/stdlib.h: Likewise.
31301 * include/string.h: Likewise.
31302 * include/sys/socket.h: Likewise.
31303 * include/sys/stat.h: Likewise.
31304 * include/sys/statfs.h: Likewise.
31305 * include/sys/statvfs.h: Likewise.
31306 * include/sys/syslog.h: Likewise.
31307 * include/sys/time.h: Likewise.
31308 * include/sys/uio.h: Likewise.
31309 * include/time.h: Likewise.
31310 * include/unistd.h: Likewise.
31311 * include/utmp.h: Likewise.
31312 * include/wchar.h: Likewise.
31313 * include/wctype.h: Likewise.
31314 * inet/aliases.h: Likewise.
31315 * inet/arpa/inet.h: Likewise.
31316 * inet/netinet/ether.h: Likewise.
31317 * inet/netinet/in.h: Likewise.
31318 * intl/libintl.h: Likewise.
31319 * io/bits/fcntl2.h: Likewise.
31320 * io/fcntl.h: Likewise.
31321 * io/ftw.h: Likewise.
31322 * io/sys/poll.h: Likewise.
31323 * io/sys/stat.h: Likewise.
31324 * io/sys/statfs.h: Likewise.
31325 * io/sys/statvfs.h: Likewise.
31326 * io/utime.h: Likewise.
31327 * libio/bits/stdio.h: Likewise.
31328 * libio/bits/stdio2.h: Likewise.
31329 * libio/libio.h: Likewise.
31330 * libio/libioP.h: Likewise.
31331 * libio/stdio.h: Likewise.
31332 * locale/lc-ctype.c: Likewise.
31333 * locale/locale.h: Likewise.
31334 * login/utmp.h: Likewise.
31335 * malloc/arena.c: Likewise.
31336 * malloc/malloc.c: Likewise.
31337 * malloc/malloc.h: Likewise.
31338 * malloc/mcheck.c: Likewise.
31339 * malloc/mtrace.c: Likewise.
31340 * math/bits/mathcalls.h: Likewise.
31341 * math/fenv.h: Likewise.
31342 * math/math_private.h: Likewise.
31343 * misc/bits/error.h: Likewise.
31344 * misc/bits/syslog.h: Likewise.
31345 * misc/err.h: Likewise.
31346 * misc/error.h: Likewise.
31347 * misc/fstab.h: Likewise.
31348 * misc/mntent.h: Likewise.
31349 * misc/regexp.h: Likewise.
31350 * misc/search.h: Likewise.
31351 * misc/sgtty.h: Likewise.
31352 * misc/sys/mman.h: Likewise.
31353 * misc/sys/syslog.h: Likewise.
31354 * misc/sys/uio.h: Likewise.
31355 * misc/sys/xattr.h: Likewise.
31356 * misc/ttyent.h: Likewise.
31357 * nis/rpcsvc/ypclnt.h: Likewise.
31358 * nss/nss.h: Likewise.
31359 * posix/bits/unistd.h: Likewise.
31360 * posix/fnmatch.h: Likewise.
31361 * posix/glob.h: Likewise.
31362 * posix/sched.h: Likewise.
31363 * posix/spawn.h: Likewise.
31364 * posix/sys/wait.h: Likewise.
31365 * posix/unistd.h: Likewise.
31366 * posix/wordexp.h: Likewise.
31367 * pwd/pwd.h: Likewise.
31368 * resolv/netdb.h: Likewise.
31369 * resource/sys/resource.h: Likewise.
31370 * rt/aio.h: Likewise.
31371 * rt/bits/mqueue2.h: Likewise.
31372 * rt/mqueue.h: Likewise.
31373 * shadow/shadow.h: Likewise.
31374 * signal/signal.h: Likewise.
31375 * socket/send.c: Likewise.
31376 * socket/sendto.c: Likewise.
31377 * socket/sys/socket.h: Likewise.
31378 * stdio-common/printf.h: Likewise.
31379 * stdlib/bits/stdlib.h: Likewise.
31380 * stdlib/fmtmsg.h: Likewise.
31381 * stdlib/monetary.h: Likewise.
31382 * stdlib/stdlib.h: Likewise.
31383 * stdlib/ucontext.h: Likewise.
31384 * streams/stropts.h: Likewise.
31385 * string/argz.h: Likewise.
31386 * string/bits/string2.h: Likewise.
31387 * string/string.h: Likewise.
31388 * string/strings.h: Likewise.
31389 * sunrpc/rpc/auth.h: Likewise.
31390 * sunrpc/rpc/auth_des.h: Likewise.
31391 * sunrpc/rpc/clnt.h: Likewise.
31392 * sunrpc/rpc/netdb.h: Likewise.
31393 * sunrpc/rpc/pmap_clnt.h: Likewise.
31394 * sunrpc/rpc/xdr.h: Likewise.
31395 * sysdeps/generic/inttypes.h: Likewise.
31396 * sysdeps/generic/net/if.h: Likewise.
31397 * sysdeps/generic/sys/swap.h: Likewise.
31398 * sysdeps/gnu/net/if.h: Likewise.
31399 * sysdeps/gnu/utmpx.h: Likewise.
31400 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31401 * sysdeps/i386/i486/bits/string.h: Likewise.
31402 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31403 * sysdeps/s390/bits/string.h: Likewise.
31404 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31405 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31406 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31407 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31408 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31409 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31410 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31411 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31412 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31413 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31414 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31415 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31416 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31417 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31418 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31419 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31420 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31422 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31424 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31425 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31426 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31427 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31428 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31429 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31432 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31433 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31434 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31435 * sysvipc/sys/ipc.h: Likewise.
31436 * sysvipc/sys/msg.h: Likewise.
31437 * sysvipc/sys/sem.h: Likewise.
31438 * sysvipc/sys/shm.h: Likewise.
31439 * termios/termios.h: Likewise.
31440 * time/sys/time.h: Likewise.
31441 * time/time.h: Likewise.
31442 * wcsmbs/bits/wchar2.h: Likewise.
31443 * wcsmbs/uchar.h: Likewise.
31444 * wcsmbs/wchar.h: Likewise.
31445 * wctype/wctype.h: Likewise.
31448 * Makeconfig: Remove all but ELF support including AIX support.
31449 * Makerules: Likewise.
31450 * config.h.in: Likewise.
31451 * config.make.in: Likewise.
31452 * configure: Likewise.
31453 * configure.in: Likewise.
31454 * csu/Makefile: Likewise.
31455 * csu/version.c: Likewise.
31456 * debug/Makefile: Likewise.
31457 * dlfcn/Makefile: Likewise.
31458 * elf/Makefile: Likewise.
31459 * extra-lib.mk: Likewise.
31460 * iconv/Makefile: Likewise.
31461 * include/libc-symbols.h: Likewise.
31462 * include/shlib-compat.h: Likewise.
31463 * resolv/Makefile: Likewise.
31464 * resolv/res_libc.c: Likewise.
31465 * rt/Makefile: Likewise.
31466 * sysdeps/i386/asm-syntax.h: Likewise.
31467 * sysdeps/i386/sysdep.h: Likewise.
31468 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31469 * sysdeps/mach/sysdep.h: Likewise.
31470 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31471 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31472 * sysdeps/s390/asm-syntax.h: Likewise.
31473 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31475 * sysdeps/sh/sysdep.h: Likewise.
31476 * sysdeps/unix/sparc/sysdep.h: Likewise.
31477 * sysdeps/wordsize-32/divdi3.c: Likewise.
31478 * sysdeps/x86_64/sysdep.h: Likewise.
31480 * argp/Versions: Remove _argp_unlock_xxx.
31483 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31484 * abilist/libBrokenLocale.abilist: Likewise.
31485 * abilist/libanl.abilist: Likewise.
31486 * abilist/libc.abilist: Likewise.
31487 * abilist/libcrypt.abilist: Likewise.
31488 * abilist/libdl.abilist: Likewise.
31489 * abilist/libm.abilist: Likewise.
31490 * abilist/libnsl.abilist: Likewise.
31491 * abilist/libpthread.abilist: Likewise.
31492 * abilist/libresolv.abilist: Likewise.
31493 * abilist/librt.abilist: Likewise.
31494 * abilist/libthread_db.abilist: Likewise.
31495 * abilist/libutil.abilist: Likewise.
31496 * abilist/libnss_db.abilist: New file.
31498 * scripts/abilist.awk: Add support for indirect functions.
31500 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31502 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31504 * shlib-versions: Remove entries for ports architectures.
31506 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31508 * elf/stackguard-macros.h: Remove support for IA-64.
31509 * elf/tst-auditmod1.c: Likewise.
31510 * sysdeps/generic/ldsodefs.h: Likewise.
31512 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31513 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31517 * configure.in: Remove --enable-omitfp support.
31519 * config.make.in: Likewise.
31520 * Makeconfig: Likewise.
31521 * manual/install.texi: Likewise.
31523 In case anyone cares, the IA-64 architecture could move to ports.
31524 * sysdeps/ia64/*: Removed.
31525 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31526 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31529 * configure.in: Remove entries for unsupported architectures.
31532 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31533 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31535 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31536 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31537 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31538 fall back to using wcrtomb.
31539 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31540 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31542 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31543 * wcsmbs/tst-c16c32-1.c: New file.
31545 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31548 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31550 * elf/tst-unique3.cc: Add explicit declaration of gets.
31551 * elf/tst-unique3lib.cc: Likewise.
31552 * elf/tst-unique3lib2.cc: Likewise.
31553 * elf/tst-unique4.cc: Likewise.
31555 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31557 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31560 * assert/assert.h (static_assert): Don't define for C++.
31561 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31562 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31564 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31566 * iconv/loop.c (single loop): Fix assertion in storing of
31569 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31571 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31573 * posix/getconf.c: Update copyright year.
31574 * nss/getent.c: Likewise.
31575 * nss/makedb.c: Likewise.
31576 * iconv/iconvconfig.c: Likewise.
31577 * iconv/iconv_prog.c: Likewise.
31578 * elf/ldconfig.c: Likewise.
31579 * elf/pldd.c: Likewise.
31580 * elf/sotruss.ksh: Likewise.
31581 * catgets/gencat.c: Likewise.
31582 * csu/version.c: Likewise.
31583 * elf/ldd.bash.in: Likewise.
31584 * elf/sprof.c (print_version): Likewise.
31585 * locale/programs/locale.c: Likewise.
31586 * locale/programs/localedef.c: Likewise.
31587 * login/programs/pt_chown.c: Likewise.
31588 * nscd/nscd.c (print_version): Likewise.
31589 * debug/xtrace.sh: Likewise.
31590 * malloc/memusage.sh: Likewise.
31591 * malloc/mtrace.pl: Likewise.
31592 * debug/catchsegv.sh: Likewise.
31594 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31596 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31599 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31602 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31603 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31605 * iconv/gconv_int.h: Likewise.
31606 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31607 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31608 from libc for GLIBC_2.16.
31609 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31610 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31611 * wcsmbs/uchar.h: Really define mbstate_t.
31612 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31613 * wcsmbs/c16rtomb.c: New file.
31614 * wcsmbs/mbrtoc16.c: New file.
31615 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31616 for C/POSIX locale.
31617 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31618 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31620 * wcsmbs/wchar.h: Add missing __restrict.
31622 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31625 * time/Makefile (routines): Add timespec_get.
31626 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31627 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31628 timespec for ISO C11.
31629 * time/timespec_get.c: New file.
31630 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31631 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31634 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31635 * stdlib/stdlib.h: Declare aligned_alloc.
31636 * Versions.def: Add GLIBC_2.16 for libc.
31637 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31640 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31643 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31647 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31650 * assert/assert.h (static_assert): Define.
31652 * version.h: Update for 2.16 development version.
31655 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31658 * version.h (RELEASE): Bump for 2.15 release.
31659 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31661 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31662 Patch by Marek Polacek <mpolacek@redhat.com>.
31664 * bits/byteswap.h: Protect long long constants with __extension__.
31665 * sysdeps/i386/bits/byteswap.h: Likewise.
31666 * sysdeps/ia64/bits/byteswap.h: Likewise.
31667 * sysdeps/s390/bits/byteswap.h: Likewise.
31668 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31670 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31674 destination buffer.
31675 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31677 2011-12-23 Marek Polacek <polacek@redhat.com>
31679 * elf/dl-addr.c (determine_info): Add inline keyword.
31680 * elf/tst-auditmod4b.c (check_avx): Likewise.
31681 * elf/tst-auditmod6b.c (check_avx): Likewise.
31682 * elf/tst-auditmod6c.c (check_avx): Likewise.
31683 * elf/tst-auditmod7b.c (check_avx): Likewise.
31685 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31687 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31690 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31693 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31694 processing for last bytes.
31696 2011-08-06 Bruno Haible <bruno@clisp.org>
31699 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31700 U+0385, not to U+1FEE.
31703 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31704 entry for U+00A5 U+0301.
31706 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31709 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31710 buffer for the output is too small.
31712 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31716 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31717 SSE flags if possible.
31719 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31722 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31723 processing for last bytes.
31725 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31727 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31728 (syscall-list-default-options, syscall-list-default-condition)
31729 (syscall-list-includes): Define.
31730 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31731 list of ABIs and options and #if conditions for each ABI. Do not
31732 handle common syscalls between ABIs specially.
31733 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31735 (syscall-list-variants, syscall-list-32bit-options)
31736 (syscall-list-32bit-condition, syscall-list-64bit-options)
31737 (syscall-list-64bit-condition): Define.
31738 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31739 (syscall-list-variants, syscall-list-32bit-options)
31740 (syscall-list-32bit-condition, syscall-list-64bit-options)
31741 (syscall-list-64bit-condition): Define.
31742 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31744 (syscall-list-variants, syscall-list-32bit-options)
31745 (syscall-list-32bit-condition, syscall-list-64bit-options)
31746 (syscall-list-64bit-condition): Define.
31747 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31749 (syscall-list-variants, syscall-list-32bit-options)
31750 (syscall-list-32bit-condition, syscall-list-64bit-options)
31751 (syscall-list-64bit-condition): Define.
31753 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31755 * locale/iso-639.def: Add brx entry.
31758 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31759 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31761 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31762 __feraiseexcept_renamed.
31764 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31767 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31768 EPOLLET with unsigned values.
31769 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31772 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31773 to large cancellation.
31774 * math/s_cacoshf.c: Likewise.
31775 * math/s_cacoshl.c: Likewise.
31777 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31781 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31782 * math/s_cacoshf.c: Likewise.
31783 * math/s_cacoshl.c: Likewise.
31785 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31788 * iconv/gconv.h: Define __GCONV_SWAP.
31789 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31790 * iconvdata/utf-16.c: Likewise.
31791 * iconvdata/utf-32.c: Likewise.
31793 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31797 numerator after shifting it by one limb.
31799 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31801 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31802 under [__USE_EXTERN_INLINES].
31804 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31807 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31809 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31811 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31812 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31814 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31815 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31816 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31817 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31818 for strncasecmp/strncasecmp_l compilation.
31819 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31820 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31822 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31825 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31828 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31831 * time/tzfile.c (__tzfile_read): Check values from file header.
31833 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31835 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31836 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31837 * powerpc/powerpc32/dl-start.S: Likewise.
31838 * powerpc/powerpc32/elf/start.S: Likewise.
31839 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31840 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31841 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31842 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31843 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31844 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31845 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31846 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31847 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31848 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31849 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31850 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31851 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31852 * powerpc/powerpc32/memset.S: Likewise.
31853 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31854 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31855 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31856 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31857 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31858 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31859 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31860 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31861 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31862 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31863 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31864 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31865 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31867 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31869 * math/libm-test.inc: Added more nearbyint tests.
31870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31875 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31877 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31880 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31882 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31883 Add wcscpy-ssse3 wcscpy-c.
31884 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31885 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31886 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31887 * sysdeps/x86_64/wcschr.S: New file.
31888 * sysdeps/x86_64/wcsrchr.S: New file.
31889 * string/test-strcmp.c: Remove checking of wcscmp function for
31891 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31892 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31893 wcsrchr-sse2 wcsrchr-c.
31894 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31895 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31896 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31897 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31898 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31899 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31900 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31901 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31902 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31903 * wcsmbc/wcschr.c (WCSCHR): New macro.
31905 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31907 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31908 * wcsmbs/test-wcsrchr.c: New file.
31909 * string/test-strrchr.c: Add wcsrchr support.
31911 * wcsmbs/test-wcscpy.c: New file.
31912 * string/test-strcpy.c: Add wcscpy support.
31915 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31917 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31920 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31923 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31925 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31927 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31928 Minor optimizations.
31930 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31931 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31932 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31934 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31936 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31937 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31938 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31939 for gcc to avoid warnings.
31940 * inet/Makefile (tests): Add tst-checks.
31941 * inet/tst-checks.c: New file.
31943 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31946 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31949 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31950 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31952 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31954 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31956 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31959 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31961 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31963 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31964 conditional on GCC version.
31965 (__arch_compare_and_exchange_val_8_acq)
31966 (__arch_compare_and_exchange_val_16_acq)
31967 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31968 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31969 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31971 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31973 * sysdeps/sh/backtrace.c: New file.
31975 2011-12-02 Andreas Schwab <schwab@redhat.com>
31977 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31980 2011-12-01 Andreas Schwab <schwab@redhat.com>
31982 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31983 falling back to utime.
31985 2011-11-30 Andreas Schwab <schwab@redhat.com>
31987 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31988 expectations for float.
31990 2011-11-29 Andreas Schwab <schwab@redhat.com>
31992 * locale/weight.h (findidx): Add parameter len.
31993 * locale/weightwc.h (findidx): Likewise.
31994 * posix/fnmatch_loop.c (FCT): Adjust caller.
31995 * posix/regcomp.c (build_equiv_class): Likewise.
31996 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31997 * posix/regexec.c (check_node_accept_bytes): Likewise.
31998 * string/strcoll_l.c (STRCOLL): Likewise.
31999 * string/strxfrm_l.c (STRXFRM): Likewise.
32001 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32003 * Makefile.in: Remove CVSOPT handling.
32004 * configure.in: Remove use of AC_REVISION.
32005 * iconvdata/Makefile (distribute): No need to filter out CVS.
32006 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32009 2011-11-16 Andreas Schwab <schwab@redhat.com>
32011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32012 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32013 [USE_AS_STRNCASECMP_L]: Likewise.
32014 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32015 NO_TLS_DIRECT_SEG_REFS.
32016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32017 Fix argument offsets for non-PIC.
32018 [USE_AS_STRNCASECMP_L]: Likewise.
32019 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32020 NO_TLS_DIRECT_SEG_REFS.
32022 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32024 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32026 * locale/loadlocale.c (_nl_load_locale): Likewise.
32028 2011-11-15 Andreas Schwab <schwab@redhat.com>
32030 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32031 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32032 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32033 (SYSCALL_GETTIME): Set errno on error.
32035 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32036 count references to noai6ai_cached.
32038 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32040 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32042 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32043 FD_CLOEXEC for /proc/self/maps.
32045 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32046 FD_CLOEXEC for /proc/meminfo.
32048 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32051 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32052 FD_CLOEXEC for given file.
32054 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32056 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32057 FD_CLOEXEC for /etc/hosts.
32058 (_gethtent): Likewise.
32060 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32062 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32063 cancellation and set FD_CLOEXEC for /etc/netgroup.
32065 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32066 reading /etc/publickey.
32068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32069 allow cancellation when reading /etc/group.
32071 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32073 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32075 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32076 when using data file.
32078 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32080 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32081 (write_nis_obj): Use "c" and "e" in fopen.
32083 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32085 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32087 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32089 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32091 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32094 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32096 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32098 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32100 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32101 file parsing and set FD_CLOEXEC.
32103 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32105 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32107 2011-11-14 Andreas Schwab <schwab@redhat.com>
32109 * malloc/arena.c (arena_get2): Don't call reused_arena when
32110 _int_new_arena failed.
32112 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32114 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32115 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32116 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32117 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32118 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32120 to compile strcasecmp and strncasecmp.
32121 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32122 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32126 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32128 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32129 locale-defines.sym to gen-as-const-headers.
32130 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32131 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32133 to compile strcasecmp and strncasecmp.
32134 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32135 strcasecmp_l and strncasecmp_l.
32136 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32137 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32138 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32139 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32140 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32141 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32142 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32143 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32144 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32145 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32146 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32148 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32150 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32151 result of SYSDEP_GETTIME_CPU to retval.
32152 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32153 parameter list to macro. Remove trailing semicolon. Adjust users.
32155 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32158 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32160 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32162 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32163 from unused variable.
32165 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32167 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32170 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32173 * sunrpc/rpc_prot.c (rejected): Fix case value.
32175 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32176 unsigned long long int to avoid warnings in shift.
32178 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32180 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32183 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32184 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32185 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32187 * nis/nis_table.c (nis_list): Use variable of correct type for
32188 result of __follow_path call.
32190 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32192 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32193 of math functions ceil, trunc, floor, round, and sqrt, when
32194 avaliable on the platform.
32195 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32197 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32198 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32199 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32201 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32203 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32204 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32206 2011-11-11 Roland McGrath <roland@hack.frob.com>
32208 * include/unistd.h: Fix __readlink return type.
32209 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32211 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32213 * stdlib/ucontext.h: Undo last change for makecontext.
32215 2011-11-11 Andreas Schwab <schwab@redhat.com>
32217 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32219 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32220 * setjmp/setjmp.h: Mark functions as non-leaf.
32221 * setjmp/bits/setjmp2.h: Likewise.
32222 * stdlib/ucontext.h: Likewise.
32224 2011-11-10 Andreas Schwab <schwab@redhat.com>
32226 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32227 (reused_arena): Don't check arena limit.
32228 (arena_get2): Atomically check arena limit.
32230 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32232 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32233 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32238 2011-11-07 Andreas Schwab <schwab@redhat.com>
32240 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32241 handler when locking.
32243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32244 Fix size of allocated buffer.
32246 2011-11-04 Andreas Schwab <schwab@redhat.com>
32249 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32250 declarations for long double functions.
32251 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32253 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32255 2011-11-03 Andreas Schwab <schwab@redhat.com>
32257 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32260 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32263 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32265 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32267 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32269 * include/alloca.h (stackinfo_alloca_round): Define.
32270 (extend_alloca): Use it.
32271 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32272 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32275 * scripts/check-local-headers.sh: Ignore libaudit.h.
32277 * nscd/Makefile (extra-objs): Make recursively expanded.
32279 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32281 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32284 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32285 * posix/tst-rfc3484-2.c: Likewise.
32286 * posix/tst-rfc3484-3.c: Likewise.
32288 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32290 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32292 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32293 process_vm_writev from libc using GLIBC_2.15 version.
32295 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32297 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32299 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32302 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32305 * nss/getent.c (initgroups_keys): Show error message in case no group
32308 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32309 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32310 __bump_nl_timestamp.
32311 * nscd/connections (nscd_init): When host database is served open
32312 netlink socket and request notification about configuration changes.
32313 (main_loop_poll): Track netlink file descriptor and bump timestamp
32314 in case data becomes available.
32315 (main_loop_epoll): Likewise.
32316 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32317 (database_pers_head): Add extra_data fileds.
32318 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32319 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32320 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32323 in6ai data, call __free_in6ai.
32324 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32325 Add -DHAVE_NETLINK.
32326 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32327 interface information. Reuse previous data if netlink timestamp
32329 (__bump_nl_timestamp): New function.
32330 (__free_in6ai): New function.
32332 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32334 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32335 close_not_cancel_no_status here.
32336 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32338 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32341 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32344 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32345 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32346 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32348 2011-07-03 Andreas Jaeger <aj@suse.de>
32351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32352 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32353 * math/libm-test.inc (sin_test): Add test case.
32355 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32358 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32359 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32361 * elf/chroot_canon.c (chroot_canon): Cleanups.
32363 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32366 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32367 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32369 * string/test-strchr.c: Make usable for strchrnul testing.
32370 * string/test-strchrnul.c: New file.
32371 * string/Makefile (strop-tests): Add strchrnul.
32373 * po/it.po: Update from translation team.
32374 * po/es.po: Likewise.
32376 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32379 the three constants needed as parameters. Drop the others.
32380 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32381 __m128i_strloadu_tolower.
32382 Create and initialize variable zero and use it in all the places
32383 where _mm_setzero_si128 was used.
32385 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32386 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32387 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32388 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32390 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32391 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32392 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32393 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32394 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32395 __mpranred, __mptan.
32396 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32397 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32398 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32399 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32400 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32401 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32403 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32404 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32406 2011-10-28 Andreas Schwab <schwab@redhat.com>
32408 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32409 redefine if SHARED.
32410 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32413 wide char related routines to wcsmbs subdir.
32415 2011-10-27 Andreas Schwab <schwab@redhat.com>
32418 * misc/sys/cdefs.h (__THROWNL): Define.
32419 * posix/unistd.h: Use __THREADNL instead of __THREAD
32420 for memory synchronization functions.
32422 2011-10-26 Roland McGrath <roland@hack.frob.com>
32425 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32427 * manual/stdio.texi (Obstack Streams): Node removed.
32429 2011-10-26 Andreas Schwab <schwab@redhat.com>
32431 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32432 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32433 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32435 * math/math_private.h (math_force_eval): Allow non-addressable
32437 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32439 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32442 file is not needed.
32444 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32446 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32447 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32450 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32453 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32454 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32455 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32456 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32457 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32458 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32459 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32460 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32461 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32462 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32463 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32464 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32465 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32466 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32467 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32468 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32469 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32470 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32471 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32473 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32474 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32477 place. Use VEX encoding when compiling for AVX.
32479 2011-10-25 Andreas Schwab <schwab@redhat.com>
32481 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32482 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32484 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32486 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32488 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32489 useless if() expression.
32490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32500 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32501 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32502 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32503 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32504 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32505 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32506 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32508 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32510 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32512 2011-10-25 Andreas Schwab <schwab@redhat.com>
32514 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32516 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32518 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32520 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32521 .text section. Avoid duplicate constants.
32522 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32532 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32534 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32537 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32539 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32545 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32546 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32547 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32548 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32549 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32550 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32551 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32552 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32553 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32554 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32555 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32556 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32557 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32558 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32559 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32560 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32561 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32562 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32563 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32564 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32565 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32566 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32568 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32570 * sysdeps/x86_64/dla.h: Move to ...
32571 * sysdeps/x86_64/fpu/dla.h: ...here.
32572 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32573 situations. Use __builtin_fma only for gcc 4.6 and up.
32575 * config.make.in: Add have-mfma4 entry.
32576 * configure.in: Substitute libc_cv_cc_fma4.
32577 * math/Makefile (dbl-only-routines): Add sincostab.
32578 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32579 Use __sincostab not sincos.
32580 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32587 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32588 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32589 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32590 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32593 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32595 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32596 define aliases when function name is a macro.
32597 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32598 sysdeps/ieee754/dbl-64/sincos.tbl.
32599 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32600 fma4-enabled routines.
32601 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32602 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32603 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32604 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32606 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32607 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32608 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32609 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32610 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32611 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32612 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32613 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32614 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32615 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32616 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32617 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32618 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32619 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32620 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32621 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32622 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32623 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32624 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32626 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32628 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32629 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32630 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32632 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32643 2011-10-24 Andreas Schwab <schwab@redhat.com>
32645 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32647 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32649 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32651 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32653 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32655 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32656 Remove unused variable magic_bits.
32657 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32659 * string/strnlen.c: Define and use STRNLEN macro.
32660 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32661 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32663 * wcsmbs/wcslen.c: Define and use WCSLEN.
32664 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32665 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32666 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32667 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32668 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32669 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32670 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32672 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32675 strnlen-sse2-no-bsf.
32676 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32678 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32679 Add strnlen support.
32680 (USE_AS_STRNLEN): New macro.
32681 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32682 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32683 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32684 * sysdeps/x86_64/wcslen.S: New file.
32686 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32688 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32689 XMM-moves are used for copying on small sizes.
32691 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32693 * wcsmbs/Makefile (strop-tests): Add wcschr.
32694 * wcsmbs/test-wcschr.c: New file.
32695 * string/test-strchr.c: Update.
32696 Add wcschr support.
32699 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32701 * wcsmbs/Makefile (strop-tests): Add wcslen.
32702 * wcsmbs/test-wcslen.c: New file.
32703 * string/test-strlen.c: Update.
32704 Add wcslen support.
32707 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32709 * po/it.po: Update from translation team.
32711 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32713 * sysdeps/x86_64/wcscmp.S: Update.
32714 Fix wrong comparison semantics.
32715 wcscmp shall use signed comparison not unsigned.
32716 Don't use substraction to avoid overflow bug.
32717 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32718 * wcsmbc/wcscmp.c: Likewise.
32719 * string/test-strcmp.c: Likewise.
32720 Add new tests to check cases with negative values.
32722 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32724 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32725 * sysdeps/x86_64/dla.h: ...here. New file.
32726 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32736 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32739 __ynl_finite aliases.
32741 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32745 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32747 [DLA_FMA] (EMULV): Use DLA_FMA.
32748 [DLA_FMA] (MUL12): Use EMULV.
32749 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32750 that are not needed.
32751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32752 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32753 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32759 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32761 * math/s_nan.c: Undef __nan.
32762 * math/s_nanf.c: Undef __nanf.
32763 * math/s_nanl.c: Undef __nanl.
32764 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32767 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32769 * math/s_catan.c: Add branch predictions.
32770 * math/s_catanf.c: Likewise.
32771 * math/s_catanh.c: Likewise.
32772 * math/s_catanhf.c: Likewise.
32773 * math/s_catanhl.c: Likewise.
32774 * math/s_catanl.c: Likewise.
32775 * math/s_cexp.c: Likewise.
32776 * math/s_cexpf.c: Likewise.
32777 * math/s_cexpl.c: Likewise.
32778 * math/s_clog.c: Likewise.
32779 * math/s_clog10.c: Likewise.
32780 * math/s_clog10f.c: Likewise.
32781 * math/s_clog10l.c: Likewise.
32782 * math/s_clogf.c: Likewise.
32783 * math/s_clogl.c: Likewise.
32784 * math/s_csqrt.c: Likewise.
32785 * math/s_csqrtf.c: Likewise.
32786 * math/s_csqrtl.c: Likewise.
32787 * math/s_ctanf.c: Likewise.
32788 * math/s_ctanh.c: Likewise.
32789 * math/s_ctanhf.c: Likewise.
32790 * math/s_ctanhl.c: Likewise.
32791 * math/s_ctanl.c: Likewise.
32793 * math/math_private.h: Define __nan, __nanf, __nanl.
32794 * math/s_cacosh.c: Include <math_private.h>.
32795 * math/s_cacoshl.c: Likewise.
32796 * math/s_casinh.c: Likewise.
32797 * math/s_casinhf.c: Likewise.
32798 * math/s_casinhl.c: Likewise.
32799 * math/s_ccos.c: Rely entire on ccosh.
32800 * math/s_ccosf.c: Rely entire on ccoshf.
32801 * math/s_ccosl.c: Rely entirely on ccoshl.
32802 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32803 Remove tests for FE_INVALID.
32804 * math/s_ccoshf.c: Likewise.
32805 * math/s_ccoshl.c: Likewise.
32806 * math/s_csin.c: Likewise.
32807 * math/s_csinf.c: Likewise.
32808 * math/s_csinh.c Likewise.
32809 * math/s_csinhf.c: Likewise.
32810 * math/s_csinhl.c: Likewise.
32811 * math/s_csinl.c: Likewise.
32812 * math/s_ctan.c: Likewise.
32813 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32814 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32815 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32817 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32820 compilation problems.
32822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32825 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32827 * sysdeps/i386/configure.in: Test for -mfma4 option.
32828 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32829 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32830 COMMON_CPUID_INDEX_80000001.
32831 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32832 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32833 use it if FMA3 is not supported.
32834 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32836 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32837 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32839 2011-10-20 Andreas Schwab <schwab@redhat.com>
32842 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32843 it would create a cycle with a link time dependency.
32845 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32847 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32849 * string/Makefile (strop-tests): Add rawmemchr.
32850 * string/test-rawmemchr.c: New file.
32852 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32854 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32855 when compiling str{,n}casecmp and when AVX is available. Hook up
32856 new optimized code in initializers.
32858 2011-10-19 Andreas Schwab <schwab@redhat.com>
32860 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32861 __feraiseexcept instead of feraiseexcept.
32863 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32865 * math/math_private.h: Define defaults for libc_fetestexcept and
32867 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32868 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32869 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32870 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32871 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32872 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32873 libc_fetestexcept and libc_feupdateenv.
32875 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32876 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32877 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32878 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32879 libc_feholdexcept_setround.
32881 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32882 Add s_nearbyint-c and s_nearbyintf-c.
32883 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32884 nearbyintf inlines.
32885 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32886 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32887 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32888 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32890 * math/math_private.h: Define defaults for libc_fegetround,
32891 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32892 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32893 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32895 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32896 standard functions.
32897 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32898 Remove comments and hacks for old compiler versions.
32899 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32900 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32901 libc_feholdexceptl.
32903 2011-10-18 Andreas Schwab <schwab@redhat.com>
32905 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32906 (__feraiseexcept_renamed): Add __NTH.
32907 (feraiseexcept): Add __NTH. Rename local variables to fix
32908 namespace violations.
32910 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32912 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32914 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32916 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32917 recently added interfaces.
32918 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32920 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32921 about macro parameter expansion.
32923 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32924 __NO_MATH_INLINES is defined. Cleanups.
32926 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32927 and __floorf is target has SSE4.1.
32928 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32930 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32931 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32933 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32935 (floorf): Likewise.
32937 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32939 2011-10-17 Andreas Schwab <schwab@redhat.com>
32941 * misc/sys/cdefs.h: Fix last change.
32943 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32946 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32948 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32950 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32951 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32956 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32957 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32958 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32959 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32960 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32961 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32962 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32963 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32964 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32965 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32966 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32967 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32968 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32970 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32971 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32973 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32974 ceil, ceilf, floor, floorf.
32976 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32977 Perform IRELATIVE relocations last.
32979 * elf/do-rel.h: Add another parameter nrelative, replacing the
32980 local variable with the same name. Change name of the function
32981 to end in Rel or Rela (uppercase).
32982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32983 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32984 elf_dynamic_do_##reloc function.
32986 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32988 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32989 is sufficient, at least on modern CPUs.
32991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32993 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32994 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32996 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32998 * math/bits/math-finite.h: Add entries for exp.
32999 * math/e_expl.c: Add __*_finite alias.
33000 * sysdeps/i386/fpu/e_exp.S: Likewise.
33001 * sysdeps/i386/fpu/e_expf.S: Likewise.
33002 * sysdeps/i386/fpu/e_expl.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33004 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33005 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33008 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33009 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33011 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33012 is sufficient, at least on modern CPUs.
33014 * ctype/ctype-info.c (__ctype_init): Define.
33015 * include/ctype.h (__ctype_init): Declare.
33016 (__ctype_b_loc): The variable is always initialized.
33017 (__ctype_toupper_loc): Likewise.
33018 (__ctype_tolower_loc): Likewise.
33019 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33020 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33022 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33024 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33026 * configure.in: Also look in $cxxmachine/include for C++ system
33029 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33031 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33032 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33033 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33034 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33035 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33036 (USE_AS_WMEMCMP): New macro.
33038 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33039 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33040 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33041 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33043 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33044 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33045 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33046 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33047 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33049 (USE_AS_WMEMCMP): New macro.
33050 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33051 * sysdeps/string/test-memcmp.c: Update.
33052 Fix simple_wmemcmp.
33054 * wcsmbs/wmemcmp.c: Update.
33055 (WMEMCMP): New macro.
33058 2011-10-12 Andreas Jaeger <aj@suse.de>
33061 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33063 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33065 * libio/iofwide.c (do_length): Avoid warning.
33067 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33069 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33071 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33073 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33074 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33075 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33076 * sysdeps/i386/i686/fpu/e_log.S: New file.
33077 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33078 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33080 * ctype/ctype.h: Add support for inlined isXXX functions when
33081 compiling C++ code.
33083 2011-10-14 Andreas Schwab <schwab@redhat.com>
33085 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33089 2011-10-13 Roland McGrath <roland@hack.frob.com>
33092 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33094 2011-10-13 Andreas Schwab <schwab@redhat.com>
33096 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33097 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33100 * sysdeps/x86_64/memrchr.S: Check for zero size.
33102 * string/stratcliff.c: Add memrchr tests.
33104 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33107 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33108 rawmemchr-sse2 rawmemchr-sse2-bsf.
33109 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33110 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33111 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33112 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33113 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33114 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33115 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33116 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33117 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33118 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33119 * string/memrchr.c (MEMRCHR): New macro.
33121 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33123 Add integration with gcc's -ffinite-math-only and optimize wrapper
33125 * Versions.def: Define GLIBC_2.15 version for libm.
33126 * math/Makefile (headers): Add bits/math-finite.h.
33127 * math/bits/math-finite.h: New file.
33128 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33129 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33130 * math/e_acoshl.c: Add __*_finite alias.
33131 * math/e_acosl.c: Likewise.
33132 * math/e_asinl.c: Likewise.
33133 * math/e_atan2l.c: Likewise.
33134 * math/e_atanhl.c: Likewise.
33135 * math/e_coshl.c: Likewise.
33136 * math/e_exp10.c: Likewise.
33137 * math/e_exp10f.c: Likewise.
33138 * math/e_exp10l.c: Likewise.
33139 * math/e_exp2l.c: Likewise.
33140 * math/e_fmodl.c: Likewise.
33141 * math/e_gammal_r.c: Likewise.
33142 * math/e_hypotl.c: Likewise.
33143 * math/e_j0l.c: Likewise.
33144 * math/e_j1l.c: Likewise.
33145 * math/e_jnl.c: Likewise.
33146 * math/e_lgammal_r.c: Likewise.
33147 * math/e_log10l.c: Likewise.
33148 * math/e_log2l.c: Likewise.
33149 * math/e_logl.c: Likewise.
33150 * math/e_powl.c: Likewise.
33151 * math/e_sinhl.c: Likewise.
33152 * math/e_sqrtl.c: Likewise.
33153 * math/e_scalb.c: Completely rewritten and optimized.
33154 * math/e_scalbf.c: Likewise.
33155 * math/e_scalbl.c: Likewise.
33156 * math/w_acos.c: Likewise.
33157 * math/w_acosf.c: Likewise.
33158 * math/w_acosl.c: Likewise.
33159 * math/w_acosh.c: Likewise.
33160 * math/w_acoshf.c: Likewise.
33161 * math/w_acoshl.c: Likewise.
33162 * math/w_asin.c: Likewise.
33163 * math/w_asinf.c: Likewise.
33164 * math/w_asinl.c: Likewise.
33165 * math/w_atan2.c: Likewise.
33166 * math/w_atan2f.c: Likewise.
33167 * math/w_atan2l.c: Likewise.
33168 * math/w_atanh.c: Likewise.
33169 * math/w_atanhf.c: Likewise.
33170 * math/w_atanhl.c: Likewise.
33171 * math/w_exp10.c: Likewise.
33172 * math/w_exp10f.c: Likewise.
33173 * math/w_exp10l.c: Likewise.
33174 * math/w_fmod.c: Likewise.
33175 * math/w_fmodf.c: Likewise.
33176 * math/w_fmodl.c: Likewise.
33177 * math/w_j0.c: Likewise.
33178 * math/w_j0f.c: Likewise.
33179 * math/w_j0l.c: Likewise.
33180 * math/w_j1.c: Likewise.
33181 * math/w_j1f.c: Likewise.
33182 * math/w_j1l.c: Likewise.
33183 * math/w_jn.c: Likewise.
33184 * math/w_jnf.c: Likewise.
33185 * math/w_log.c: Likewise.
33186 * math/w_logf.c: Likewise.
33187 * math/w_logl.c: Likewise.
33188 * math/w_log10.c: Likewise.
33189 * math/w_log10f.c: Likewise.
33190 * math/w_log10l.c: Likewise.
33191 * math/w_log2.c: Likewise.
33192 * math/w_log2f.c: Likewise.
33193 * math/w_log2l.c: Likewise.
33194 * math/w_pow.c: Likewise.
33195 * math/w_powf.c: Likewise.
33196 * math/w_powl.c: Likewise.
33197 * math/w_remainder.c: Likewise.
33198 * math/w_remainderf.c: Likewise.
33199 * math/w_remainderl.c: Likewise.
33200 * math/w_scalb.c: Likewise.
33201 * math/w_scalbf.c: Likewise.
33202 * math/w_scalbl.c: Likewise.
33203 * math/w_sqrt.c: Likewise.
33204 * math/w_sqrtf.c: Likewise.
33205 * math/w_sqrtl.c: Likewise.
33206 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33207 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33209 * math/math_private.h: Declare __kernel_standard_f.
33210 * math/w_cosh.c: Remove cruft and optimize a bit.
33211 * math/w_coshf.c: Likewise.
33212 * math/w_coshl.c: Likewise.
33213 * math/w_exp2.c: Likewise.
33214 * math/w_exp2f.c: Likewise.
33215 * math/w_exp2l.c: Likewise.
33216 * math/w_hypot.c: Likewise.
33217 * math/w_hypotf.c: Likewise.
33218 * math/w_hypotl.c: Likewise.
33219 * math/w_lgamma.c: Likewise.
33220 * math/w_lgamma_r.c: Likewise.
33221 * math/w_lgammaf.c: Likewise.
33222 * math/w_lgammaf_r.c: Likewise.
33223 * math/w_lgammal.c: Likewise.
33224 * math/w_lgammal_r.c: Likewise.
33225 * math/w_sinh.c: Likewise.
33226 * math/w_sinhf.c: Likewise.
33227 * math/w_sinhl.c: Likewise.
33228 * math/w_tgamma.c: Likewise.
33229 * math/w_tgammaf.c: Likewise.
33230 * math/w_tgammal.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33233 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33234 Minor optimizations. Pretty printing. Remove cruft.
33235 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33236 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33237 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33238 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33239 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33240 * sysdeps/i386/fpu/e_asin.S: Likewise.
33241 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33242 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33243 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33244 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33245 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33246 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33247 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33248 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33249 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33250 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33251 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33252 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33253 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33254 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33255 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33256 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33257 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33258 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33259 * sysdeps/i386/fpu/e_log.S: Likewise.
33260 * sysdeps/i386/fpu/e_log10.S: Likewise.
33261 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33263 * sysdeps/i386/fpu/e_log2.S: Likewise.
33264 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33265 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33266 * sysdeps/i386/fpu/e_logf.S: Likewise.
33267 * sysdeps/i386/fpu/e_logl.S: Likewise.
33268 * sysdeps/i386/fpu/e_pow.S: Likewise.
33269 * sysdeps/i386/fpu/e_powf.S: Likewise.
33270 * sysdeps/i386/fpu/e_powl.S: Likewise.
33271 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33272 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33273 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33274 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33275 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33277 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33278 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33279 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33280 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33281 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33283 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33284 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33287 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33290 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33291 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33294 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33296 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33301 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33302 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33303 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33304 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33305 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33306 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33307 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33308 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33309 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33310 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33311 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33312 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33313 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33314 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33315 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33316 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33317 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33318 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33319 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33320 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33321 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33322 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33323 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33324 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33325 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33326 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33327 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33328 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33329 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33330 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33331 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33332 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33333 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33335 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33336 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33337 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33338 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33339 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33348 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33349 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33350 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33354 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33355 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33357 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33359 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33360 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33361 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33362 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33371 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33372 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33373 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33374 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33375 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33376 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33377 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33378 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33379 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33380 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33381 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33382 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33383 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33384 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33385 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33387 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33388 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33390 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33391 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33392 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33393 (__isnanf): Likewise.
33394 (__isinf_ns): Likewise.
33395 (__isinf_nsf): Likewise.
33396 (__finite): Likewise.
33397 (__finitef): Likewise.
33398 (__ieee754_sqrt): Define as macro.
33399 (__ieee754_sqrtf): Define as macro.
33400 (__ieee754_sqrtl): Define as macro.
33401 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33403 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33404 __FINITE_MATH_ONLY__ consistent.
33405 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33407 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33409 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33412 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33414 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33416 * po/ja.po: Update from translation team.
33418 2011-10-08 Roland McGrath <roland@hack.frob.com>
33420 * locale/programs/locarchive.c (prepare_address_space): New function.
33421 (create_archive, enlarge_archive, open_archive): Use it.
33423 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33424 inside [SHARED], where it is used.
33426 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33428 * nss/getent.c (netgroup_keys): Remove unused variable.
33429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33431 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33433 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33434 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33436 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33437 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33438 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33439 * math/Makefile (libm-calls): Add s_isinf_ns.
33440 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33441 * math/multc3.c: Likewise.
33442 * math/s_casin.c: Likewise.
33443 * math/s_casinf.c: Likewise.
33444 * math/s_casinl.c: Likewise.
33445 * math/s_ccos.c: Likewise.
33446 * math/s_ccosf.c: Likewise.
33447 * math/s_ccosl.c: Likewise.
33448 * math/s_ctan.c: Likewise.
33449 * math/s_ctanf.c: Likewise.
33450 * math/s_ctanh.c: Likewise.
33451 * math/s_ctanhf.c: Likewise.
33452 * math/s_ctanhl.c: Likewise.
33453 * math/s_ctanl.c: Likewise.
33454 * math/w_fmod.c: Likewise.
33455 * math/w_fmodf.c: Likewise.
33456 * math/w_fmodl.c: Likewise.
33457 * math/w_remainder.c: Likewise.
33458 * math/w_remainderf.c: Likewise.
33459 * math/w_remainderl.c: Likewise.
33460 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33461 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33464 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33465 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33466 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33467 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33469 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33471 * stdio-common/printf_fphex.c: Likewise.
33472 * stdio-common/printf_size.c: Likewise.
33474 * math/e_exp10.c: Include math_private.h using <...> not "...".
33475 * math/e_exp10f.c: Likewise.
33476 * math/e_exp10l.c: Likewise.
33477 * math/e_exp2l.c: Likewise.
33478 * math/e_j0l.c: Likewise.
33479 * math/e_j1l.c: Likewise.
33480 * math/e_jnl.c: Likewise.
33481 * math/e_lgammal_r.c: Likewise.
33482 * math/e_rem_pio2l.c: Likewise.
33483 * math/e_scalb.c: Likewise.
33484 * math/e_scalbf.c: Likewise.
33485 * math/e_scalbl.c: Likewise.
33486 * math/k_cosl.c: Likewise.
33487 * math/k_sinl.c: Likewise.
33488 * math/k_tanl.c: Likewise.
33489 * math/s_cacoshf.c: Likewise.
33490 * math/s_catan.c: Likewise.
33491 * math/s_catanf.c: Likewise.
33492 * math/s_catanh.c: Likewise.
33493 * math/s_catanhf.c: Likewise.
33494 * math/s_catanhl.c: Likewise.
33495 * math/s_catanl.c: Likewise.
33496 * math/s_ccosh.c: Likewise.
33497 * math/s_ccoshf.c: Likewise.
33498 * math/s_ccoshl.c: Likewise.
33499 * math/s_cexp.c: Likewise.
33500 * math/s_cexpf.c: Likewise.
33501 * math/s_cexpl.c: Likewise.
33502 * math/s_clog.c: Likewise.
33503 * math/s_clog10.c: Likewise.
33504 * math/s_clog10f.c: Likewise.
33505 * math/s_clog10l.c: Likewise.
33506 * math/s_clogf.c: Likewise.
33507 * math/s_clogl.c: Likewise.
33508 * math/s_csin.c: Likewise.
33509 * math/s_csinf.c: Likewise.
33510 * math/s_csinh.c: Likewise.
33511 * math/s_csinhf.c: Likewise.
33512 * math/s_csinhl.c: Likewise.
33513 * math/s_csinl.c: Likewise.
33514 * math/s_csqrt.c: Likewise.
33515 * math/s_csqrtf.c: Likewise.
33516 * math/s_csqrtl.c: Likewise.
33517 * math/s_ctan.c: Likewise.
33518 * math/s_ctanf.c: Likewise.
33519 * math/s_ctanh.c: Likewise.
33520 * math/s_ctanhf.c: Likewise.
33521 * math/s_ctanhl.c: Likewise.
33522 * math/s_ctanl.c: Likewise.
33523 * math/s_ldexp.c: Likewise.
33524 * math/s_ldexpf.c: Likewise.
33525 * math/s_ldexpl.c: Likewise.
33526 * math/s_significand.c: Likewise.
33527 * math/s_significandf.c: Likewise.
33528 * math/s_significandl.c: Likewise.
33529 * math/w_acos.c: Likewise.
33530 * math/w_acosf.c: Likewise.
33531 * math/w_acosh.c: Likewise.
33532 * math/w_acoshf.c: Likewise.
33533 * math/w_acoshl.c: Likewise.
33534 * math/w_acosl.c: Likewise.
33535 * math/w_asin.c: Likewise.
33536 * math/w_asinf.c: Likewise.
33537 * math/w_asinl.c: Likewise.
33538 * math/w_atan2.c: Likewise.
33539 * math/w_atan2f.c: Likewise.
33540 * math/w_atan2l.c: Likewise.
33541 * math/w_atanh.c: Likewise.
33542 * math/w_atanhf.c: Likewise.
33543 * math/w_atanhl.c: Likewise.
33544 * math/w_cosh.c: Likewise.
33545 * math/w_coshf.c: Likewise.
33546 * math/w_coshl.c: Likewise.
33547 * math/w_dremf.c: Likewise.
33548 * math/w_exp10.c: Likewise.
33549 * math/w_exp10f.c: Likewise.
33550 * math/w_exp10l.c: Likewise.
33551 * math/w_exp2.c: Likewise.
33552 * math/w_exp2f.c: Likewise.
33553 * math/w_fmod.c: Likewise.
33554 * math/w_fmodf.c: Likewise.
33555 * math/w_fmodl.c: Likewise.
33556 * math/w_hypot.c: Likewise.
33557 * math/w_hypotf.c: Likewise.
33558 * math/w_hypotl.c: Likewise.
33559 * math/w_j0.c: Likewise.
33560 * math/w_j0f.c: Likewise.
33561 * math/w_j0l.c: Likewise.
33562 * math/w_j1.c: Likewise.
33563 * math/w_j1f.c: Likewise.
33564 * math/w_j1l.c: Likewise.
33565 * math/w_jn.c: Likewise.
33566 * math/w_jnf.c: Likewise.
33567 * math/w_jnl.c: Likewise.
33568 * math/w_lgamma.c: Likewise.
33569 * math/w_lgamma_r.c: Likewise.
33570 * math/w_lgammaf.c: Likewise.
33571 * math/w_lgammaf_r.c: Likewise.
33572 * math/w_lgammal.c: Likewise.
33573 * math/w_lgammal_r.c: Likewise.
33574 * math/w_log.c: Likewise.
33575 * math/w_log10.c: Likewise.
33576 * math/w_log10f.c: Likewise.
33577 * math/w_log10l.c: Likewise.
33578 * math/w_log2.c: Likewise.
33579 * math/w_log2f.c: Likewise.
33580 * math/w_log2l.c: Likewise.
33581 * math/w_logf.c: Likewise.
33582 * math/w_logl.c: Likewise.
33583 * math/w_pow.c: Likewise.
33584 * math/w_powf.c: Likewise.
33585 * math/w_powl.c: Likewise.
33586 * math/w_remainder.c: Likewise.
33587 * math/w_remainderf.c: Likewise.
33588 * math/w_remainderl.c: Likewise.
33589 * math/w_scalb.c: Likewise.
33590 * math/w_scalbf.c: Likewise.
33591 * math/w_scalbl.c: Likewise.
33592 * math/w_sinh.c: Likewise.
33593 * math/w_sinhf.c: Likewise.
33594 * math/w_sinhl.c: Likewise.
33595 * math/w_sqrt.c: Likewise.
33596 * math/w_sqrtf.c: Likewise.
33597 * math/w_sqrtl.c: Likewise.
33598 * math/w_tgamma.c: Likewise.
33599 * math/w_tgammaf.c: Likewise.
33600 * math/w_tgammal.c: Likewise.
33602 * po/ja.po: Update from translation team.
33604 2011-09-29 Andreas Jaeger <aj@suse.de>
33607 * sunrpc/netname.c (netname2host): Fix logic.
33611 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33613 * math/w_remainder.c (__remainder): Likewise.
33614 * math/w_remainderf.c (__remainderf): Likewise.
33615 * math/libm-test.inc (remainder_test): Add test cases.
33617 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33619 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33622 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33624 * string/test-memcmp.c: Avoid unncessary #defines.
33625 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33627 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33629 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33630 Use new sse2 version for core i3 - i7 as it's faster
33631 than sse42 version.
33632 (bit_Prefer_PMINUB_for_stringop): New.
33633 * sysdeps/x86_64/rawmemchr.S: Update.
33634 Replace with faster SSE2 version.
33635 * sysdeps/x86_64/memrchr.S: New file.
33636 * sysdeps/x86_64/memchr.S: Update.
33637 Replace with faster SSE2 version.
33639 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33641 * elf/dl-load.c (lose): Add cast to avoid warning.
33643 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33645 * po/ca.po: Update from translation team.
33647 * inet/getnetgrent_r.c: Hook up nscd.
33648 * nscd/Makefile (routines): Add nscd_netgroup.
33649 (nscd-modules): Add netgroupcache.
33650 (CFLAGS-netgroupcache.c): Define.
33651 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33652 (cache_search): Add const to second parameter.
33653 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33655 (dbs): Add netgrdb entry.
33656 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33657 (verify_persistent_db): Handle netgrdb.
33658 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33659 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33661 (netgroup_response_header): Define.
33662 (innetgroup_response_header): Define.
33663 (datahead): Add netgroup_response_header and innetgroup_response_header
33665 * nscd/nscd.conf: Add entries for netgroup cache.
33666 * nscd/nscd.h (dbtype): Add netgrdb.
33667 (_PATH_NSCD_NETGROUP_DB): Define.
33668 (netgroup_iov_disabled): Declare.
33669 (xmalloc, xcalloc, xrealloc): Move declarations here.
33670 (cache_search): Adjust prototype.
33671 Add netgroup-related prototypes.
33672 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33673 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33674 (__nscd_innetgr): Declare.
33675 * nscd/selinux.c (perms): Use access_vector_t as element type and
33676 add netgroup-related initializers.
33677 * nscd/netgroupcache.c: New file.
33678 * nscd/nscd_netgroup.c: New file.
33679 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33680 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33681 For four parameters use innetgr.
33682 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33683 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33684 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33685 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33687 * nscd/connections.c (register_traced_file): Don't register file
33688 for disabled databases.
33690 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33692 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33694 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33695 from tree and freeing node.
33697 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33699 * nss/nsswitch.c (__nss_database_lookup): Handle
33700 nss_parse_service_list out of memory case.
33702 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33704 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33705 out of memory case.
33707 2011-10-04 Andreas Schwab <schwab@redhat.com>
33709 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33710 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33712 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33713 elf_machine_rela, elf_machine_lazy_rel.
33714 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33715 (ELF_DYNAMIC_DO_REL): Likewise.
33716 (ELF_DYNAMIC_DO_RELA): Likewise.
33717 (ELF_DYNAMIC_RELOCATE): Likewise.
33718 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33719 to ELF_DYNAMIC_DO_REL.
33720 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33721 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33722 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33724 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33725 skip_ifunc, don't call ifunc function if non-zero.
33726 (elf_machine_rela): Likewise.
33727 (elf_machine_lazy_rel): Likewise.
33728 (elf_machine_lazy_rela): Likewise.
33729 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33730 (elf_machine_lazy_rel): Likewise.
33731 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33733 (elf_machine_lazy_rel): Likewise.
33734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33736 (elf_machine_lazy_rel): Likewise.
33737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33738 (elf_machine_lazy_rel): Likewise.
33739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33740 (elf_machine_lazy_rel): Likewise.
33741 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33742 (elf_machine_lazy_rel): Likewise.
33743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33744 (elf_machine_lazy_rel): Likewise.
33745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33746 (elf_machine_lazy_rel): Likewise.
33747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33748 (elf_machine_lazy_rel): Likewise.
33750 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33752 * nss/nss_files/files-init.c (_nss_files_init): Use static
33753 initialization for all the *_traced_file variables.
33755 2011-09-28 Andreas Schwab <schwab@redhat.com>
33757 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33759 2011-09-27 Roland McGrath <roland@hack.frob.com>
33762 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33764 2011-09-27 Andreas Schwab <schwab@redhat.com>
33766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33767 Reread the line before reparsing it.
33769 2011-09-26 Andreas Schwab <schwab@redhat.com>
33771 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33773 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33774 Maxim Kuvyrkov <maxim@codesourcery.com>
33775 Joseph Myers <joseph@codesourcery.com>
33777 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33778 if needed for __stack_chk_guard.
33780 2011-09-19 Roland McGrath <roland@hack.frob.com>
33782 * sysdeps/posix/spawni.c (script_execute): Always define it.
33783 It will be optimized away if unused.
33784 (maybe_script_execute): New function.
33785 (__spawni): Call it.
33787 * Makerules: Don't include tls.make.
33788 (config-tls): Always set to thread.
33789 * tls.make.c: File removed.
33791 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33793 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33794 * config.make.in (CPPFLAGS-config): New substituted variable.
33796 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33798 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33801 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33802 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33804 2011-09-15 Roland McGrath <roland@hack.frob.com>
33806 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33807 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33809 (CALL_FAIL): Likewise.
33810 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33811 (CALL_FAIL): Macro removed.
33812 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33814 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33816 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33817 for __FINITE_MATH_ONLY__ == 1.
33819 2011-09-15 Andreas Schwab <schwab@redhat.com>
33821 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33822 __ieee754_sqrt instead of sqrt.
33823 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33824 __ieee754_sqrtf instead of sqrtf.
33825 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33826 __floorf instead of floorf.
33827 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33828 __floorf, __truncf instead of floorf, truncf.
33830 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33832 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33834 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33835 __extern_always_inline.
33836 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33839 2011-09-14 Andreas Schwab <schwab@redhat.com>
33841 * elf/rtld.c (dl_main): Also relocate in dependency order when
33842 doing symbol dependency testing.
33844 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33847 Always define `refsym'.
33849 2011-09-13 Andreas Schwab <schwab@redhat.com>
33851 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33852 (__FD_ELT): Renamed from __FDELT.
33853 * misc/bits/select2.h (__FD_ELT): Likewise.
33854 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33855 __FD_MASK instead of __FDELT, __FDMASK.
33856 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33858 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33861 * elf/Makefile (gen-ldd): Fix pattern.
33863 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33864 (init_tls): Likewise.
33866 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33868 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33870 2011-09-12 Andreas Schwab <schwab@redhat.com>
33872 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33873 `struct cmsghdr *' instead of `void *'.
33874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33877 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33879 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33881 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33882 ldd_rewrite_script.
33884 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33886 * configure.in: Remove --with-tls option.
33887 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33888 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33889 out in case it is missing.
33890 * sysdeps/ia64/elf/configure.in: Likewise.
33891 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33892 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33893 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33894 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33895 * sysdeps/sh/elf/configure.in: Likewise.
33896 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33897 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33898 * sysdeps/x86_64/elf/configure.in: Likewise.
33899 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33900 * sysdeps/mach/hurd/tls.h: Likewise.
33903 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33906 * configure.in: Fix use of AC_INIT.
33908 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33910 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33912 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33914 * malloc/hooks.c: Likewise.
33917 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33918 variables statically.
33919 (narenas): Initialize.
33920 (list_lock): Initialize.
33921 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33922 initializtion of main_arena and list_lock. Small cleanups.
33923 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33924 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33925 Add initializers to main_arena and mp_.
33926 (malloc_state): Remove pagesize member. Change all users to use
33929 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33930 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33931 is always initialized.
33933 * malloc/malloc.c: Removed unused configurations and dead code.
33934 * malloc/arena.c: Likewise.
33935 * malloc/hooks.c: Likewise.
33936 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33938 * include/tls.h: Removed. USE___THREAD must always be defined.
33939 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33940 * elf/dl-libc.c: Likewise.
33941 * elf/dl-tsd.c: Likewise.
33942 * include/errno.h: Likewise.
33943 * include/netdb.h: Likewise.
33944 * include/resolv.h: Likewise.
33945 * inet/herrno-loc.c: Likewise.
33946 * inet/herrno.c: Likewise.
33947 * malloc/arena.c: Likewise.
33948 * malloc/hooks.c: Likewise.
33949 * malloc/malloc.c: Likewise.
33950 * resolv/res-state.c: Likewise.
33951 * resolv/res_libc.c: Likewise.
33952 * sysdeps/i386/dl-machine.h: Likewise.
33953 * sysdeps/ia64/dl-machine.h: Likewise.
33954 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33955 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33956 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33957 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33958 * sysdeps/sh/dl-machine.h: Likewise.
33959 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33960 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33961 * sysdeps/unix/i386/sysdep.S: Likewise.
33962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33963 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33968 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33972 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33973 * sysdeps/x86_64/dl-machine.h: Likewise.
33974 * tls.make.c: Likewise.
33976 * configure.in: Remove --with-__thread option. Make tests for
33977 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33978 tls_model attribute fail if no support is available. Remove
33980 * Makeconfig: Adjust for dropped configure option. All features are
33982 * Makerules: Likewise.
33983 * Versions.def: Likewise.
33984 * argp/argp-fmtstream.c: Likewise.
33985 * argp/argp-fmtstream.h: Likewise.
33986 * argp/argp-help.c: Likewise.
33987 * assert/assert.c: Likewise.
33988 * config.h.in: Likewise.
33989 * config.make.in: Likewise.
33990 * configure: Likewise.
33991 * configure.in: Likewise.
33992 * csu/Versions: Likewise.
33993 * csu/init.c: Likewise.
33994 * elf/tst-audit2.c: Likewise.
33995 * elf/tst-tls10.c: Likewise.
33996 * elf/tst-tls10.h: Likewise.
33997 * elf/tst-tls11.c: Likewise.
33998 * elf/tst-tls12.c: Likewise.
33999 * elf/tst-tls14.c: Likewise.
34000 * elf/tst-tlsmod11.c: Likewise.
34001 * elf/tst-tlsmod12.c: Likewise.
34002 * elf/tst-tlsmod13.c: Likewise.
34003 * elf/tst-tlsmod13a.c: Likewise.
34004 * elf/tst-tlsmod14a.c: Likewise.
34005 * elf/tst-tlsmod15b.c: Likewise.
34006 * elf/tst-tlsmod16a.c: Likewise.
34007 * elf/tst-tlsmod16b.c: Likewise.
34008 * elf/tst-tlsmod7.c: Likewise.
34009 * elf/tst-tlsmod8.c: Likewise.
34010 * elf/tst-tlsmod9.c: Likewise.
34011 * gmon/gmon.c: Likewise.
34012 * grp/fgetgrent_r.c: Likewise.
34013 * grp/putgrent.c: Likewise.
34014 * hurd/fopenport.c: Likewise.
34015 * include/libc-symbols.h: Likewise.
34016 * include/tls.h: Likewise.
34017 * intl/gettextP.h: Likewise.
34018 * intl/loadinfo.h: Likewise.
34019 * locale/global-locale.c: Likewise.
34020 * locale/localeinfo.h: Likewise.
34021 * mach/devstream.c: Likewise.
34022 * malloc/arena.c: Likewise.
34023 * malloc/set-freeres.c: Likewise.
34024 * misc/err.c: Likewise.
34025 * misc/getttyent.c: Likewise.
34026 * misc/mntent_r.c: Likewise.
34027 * posix/getopt.c: Likewise.
34028 * posix/wordexp.c: Likewise.
34029 * pwd/fgetpwent_r.c: Likewise.
34030 * resolv/Versions: Likewise.
34031 * resolv/res_hconf.c: Likewise.
34032 * shadow/fgetspent_r.c: Likewise.
34033 * shadow/putspent.c: Likewise.
34034 * stdio-common/printf_fphex.c: Likewise.
34035 * stdio-common/tmpfile.c: Likewise.
34036 * stdlib/abort.c: Likewise.
34037 * stdlib/fmtmsg.c: Likewise.
34038 * sunrpc/auth_unix.c: Likewise.
34039 * sunrpc/clnt_perr.c: Likewise.
34040 * sunrpc/clnt_tcp.c: Likewise.
34041 * sunrpc/clnt_udp.c: Likewise.
34042 * sunrpc/clnt_unix.c: Likewise.
34043 * sunrpc/openchild.c: Likewise.
34044 * sunrpc/svc_simple.c: Likewise.
34045 * sunrpc/svc_tcp.c: Likewise.
34046 * sunrpc/svc_udp.c: Likewise.
34047 * sunrpc/svc_unix.c: Likewise.
34048 * sunrpc/xdr.c: Likewise.
34049 * sunrpc/xdr_array.c: Likewise.
34050 * sunrpc/xdr_rec.c: Likewise.
34051 * sunrpc/xdr_ref.c: Likewise.
34052 * sunrpc/xdr_stdio.c: Likewise.
34054 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34056 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34058 2011-07-03 Andreas Jaeger <aj@suse.de>
34060 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34061 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34062 regenerate with gen-libm-tests.pl.
34064 2010-05-12 Petr Baudis <pasky@suse.cz>
34067 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34068 around j0() zero points by switching to j1().
34069 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34070 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34074 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34076 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34078 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34081 Patch in part by Pavel Roskin <proski@gnu.org>.
34084 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34086 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34087 Free memory block if necessary.
34090 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34091 be NULL. Don't lock in this case.
34093 2011-09-09 Roland McGrath <roland@hack.frob.com>
34095 * elf/elf.h (ELFOSABI_GNU): New macro.
34096 (ELFOSABI_LINUX): Define to that.
34098 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34100 * string/strncat.c (strncat): Undef the symbol in case it has been
34101 defined in bits/string.h.
34103 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34105 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34107 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34110 2011-08-17 Andreas Jaeger <aj@suse.de>
34112 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34114 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34115 Ian Lance Taylor <iant@google.com>
34117 * math/libm-test.inc (lround_test): New testcase.
34118 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34120 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34122 * Makefile: Remove support for automatic cvs check-ins.
34123 * Makerules: Likewise.
34124 * config.make.in: Likewise.
34125 * configure.in: Likewise.
34126 * intl/Makefile: Likewise.
34127 * locale/Makefile: Likewise.
34128 * po/Makefile: Likewise.
34129 * posix/Makefile: Likewise.
34130 * sysdeps/gnu/Makefile: Likewise.
34131 * sysdeps/mach/hurd/Makefile: Likewise.
34132 * sysdeps/sparc/sparc32/Makefile: Likewise.
34135 * posix/Makefile (bug-regex32-ENV): Define.
34136 Patch by John Stanley <jpsinthemix@verizon.net>.
34138 * misc/Makefile (headers): Add bits/select2.h.
34139 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34140 * misc/bits/select2.h: New file.
34141 * include/bits/select2.h: New file.
34142 * debug/Makefile (routines): Add fdelt_chk.
34143 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34144 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34146 * debug/fdelt_chk.c: New file.
34148 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34149 * wcsmbs/test-wmemcmp.c: Likewise.
34150 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34151 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34153 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34155 * string/Makefile (strop-tests): Add memcmp.
34156 * string/test-wmemcmp.c: New file.
34157 * string/test-memcmp.c: Add wmemcmp support.
34159 2011-09-08 Roland McGrath <roland@hack.frob.com>
34162 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34165 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34166 garbage value in a __mach_port_mod_refs call in the cases of the
34167 task-self and thread-self ports.
34169 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34171 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34173 2011-09-08 Andreas Schwab <schwab@redhat.com>
34175 * elf/dl-load.c (lose): Check for non-null L.
34177 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34179 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34181 * elf/dl-libc.c (dlerror_run): Pass back error code from
34185 * elf/dl-load.c (lose): Free l_origin if it is valid.
34187 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34189 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34190 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34192 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34193 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34194 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34196 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34198 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34199 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34200 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34201 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34202 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34203 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34204 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34205 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34206 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34207 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34209 2011-08-15 Alan Modra <amodra@gmail.com>
34212 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34213 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34214 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34215 ppc_mcount to static-only-routines.
34216 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34218 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34219 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34221 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34223 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34224 for finite and infinity parameters.
34226 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34228 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34229 and add nop instructions for throughput optimization.
34230 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34232 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34234 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34235 aligned copy for power7 with vector-scalar instructions.
34236 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34238 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34243 2011-09-07 Andreas Schwab <schwab@redhat.com>
34246 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34249 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34251 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34252 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34253 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34254 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34257 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34259 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34260 Forgot to demangle the pointer.
34262 * sysdeps/i386/sysdep.h: Define atom_text_section.
34263 * sysdeps/x86_64/sysdep.h: Likewise.
34264 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34265 section with atom_text_section.
34266 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34267 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34268 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34270 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34272 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34274 already be defined. Change to take two parameters and don't assign
34275 result to variable. Adjust all users.
34276 Define INTERNAL_GETTIME if not already defined.
34277 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34280 HAVE_CLOCK_GETTIME_VSYSCALL.
34281 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34284 gettimeofday vsyscall, just use time.
34286 2011-09-06 Andreas Schwab <schwab@redhat.com>
34288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34291 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34293 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34295 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34297 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34298 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34299 syscall if possible.
34301 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34303 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34304 e_ident. Don't pass to find_mapsXX.
34305 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34307 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34310 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34311 * sysdeps/x86_64/multiarch/strchr.S: Update.
34312 Check bit_slow_BSF bit.
34313 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34315 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34317 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34320 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34322 (tryshell): Define.
34323 (__spawni): Change last parameter to be flag. Test
34324 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34325 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34326 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34327 * posix/spawni.c: Likewise.
34328 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34329 * posix/spawnp.c: Likewise. Change normal version to use
34330 SPAWN_XFLAGS_USE_PATH.
34331 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34332 SPAWN_XFLAGS_TRY_SHELL.
34335 * posix/glob.h: Remove gcc 1.x support.
34338 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34340 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34343 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34345 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34346 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34347 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34348 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34349 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34350 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34352 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34354 * sysdeps/x86_64/wcscmp.S: New file.
34356 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34357 wcscmp-c wcscmp-sse2
34358 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34359 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34361 * wcsmbs/wcscmp.c: Allow renaming.
34363 2011-09-05 David S. Miller <davem@davemloft.net>
34365 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34366 stack slot, rather than the struct return pointer slot.
34367 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34368 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34370 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34372 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34374 * po/ja.po: Update from translation team.
34377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34378 kernel in 64-bit binaries.
34380 2011-09-01 David S. Miller <davem@davemloft.net>
34382 * elf/elf.h (HWCAP_SPARC_*): Move to..
34383 * sysdeps/sparc/sysdep.h: this new file and add new values.
34384 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34385 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34386 _DL_HWCAP_COUNT to 24.
34387 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34389 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34390 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34391 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34393 instead of magic constants.
34394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34396 2011-08-31 David S. Miller <davem@davemloft.net>
34398 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34400 Reimplement to do errno handling inline.
34401 (SYSCALL_ERROR_HANDLER): New macro.
34402 (__SYSCALL_STRING): Do not do errno handling in asm.
34403 (__CLONE_SYSCALL_STRING): Delete.
34404 (__INTERNAL_SYSCALL_STRING): Delete.
34405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34406 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34407 (PSEUDO): Reimplement to do errno handling inline.
34408 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34409 (SYSCALL_ERROR_HANDLER): New macro.
34410 (__SYSCALL_STRING): Do not do errno handling in asm.
34411 (__CLONE_SYSCALL_STRING): Delete.
34412 (__INTERNAL_SYSCALL_STRING): Delete.
34413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34414 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34416 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34417 (inline_syscall*): Add 'err' argument.
34418 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34419 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34420 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34421 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34423 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34424 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34426 2011-08-30 Andreas Schwab <schwab@redhat.com>
34428 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34430 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34432 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34435 2011-08-24 David S. Miller <davem@davemloft.net>
34437 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34439 2011-08-24 Andreas Schwab <schwab@redhat.com>
34441 * elf/Makefile: Add rules to build and run unload8 test.
34442 * elf/unload8.c: New file.
34443 * elf/unload8mod1.c: New file.
34444 * elf/unload8mod1x.c: New file.
34445 * elf/unload8mod2.c: New file.
34446 * elf/unload8mod3.c: New file.
34448 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34451 2011-08-23 David S. Miller <davem@davemloft.net>
34453 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34454 subtract stack bias.
34455 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34456 %sp not %fp in calculations.
34457 (_JMPBUF_UNWINDS_ADJ): Likewise.
34459 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34460 (aio_suspend): Call it to force an exception region around the
34461 AIO_MISC_WAIT() invocation.
34463 2011-08-23 Andreas Schwab <schwab@redhat.com>
34465 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34468 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34470 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34472 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34473 and <dl-machine.h>.
34474 (Elf64_FuncDesc): Remove.
34476 2011-08-22 David S. Miller <davem@davemloft.net>
34478 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34479 sigaltstack check, add missing cfi directives.
34480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34481 missing cfi directives, and sigaltstack handling.
34483 2011-08-16 Andreas Schwab <schwab@redhat.com>
34486 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34487 object is seen twice.
34488 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34490 * elf/Makefile (distribute): Add tst-initorder2.c.
34491 (tests): Add tst-initorder2.
34492 (modules-names): Add tst-initorder2a tst-initorder2b
34493 tst-initorder2c tst-initorder2d. Add rules to build them.
34494 ($(objpfx)tst-initorder2.out): New rule.
34495 * elf/tst-initorder2.c: New file.
34496 * elf/tst-initorder2.exp: New file.
34498 2011-08-22 Andreas Schwab <schwab@redhat.com>
34500 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34502 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34503 dependencies back to end of function.
34505 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34506 $(elfobjdir)/ld.so.
34508 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34511 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34513 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34514 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34515 of __vdso_gettimeofday.
34516 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34517 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34519 (_libc_vdso_platform_setup): Remove initialization of
34520 __vdso_gettimeofday and __vdso_time.
34522 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34524 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34525 and fgetc_unlocked.
34526 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34529 * elf/dl-open.c (add_to_global): Report additions to the global scope
34530 for LD_DEBUG=scopes.
34531 (dl_open_worker): Also print scope of newly loaded dependencies.
34532 (_dl_show_scope): Indicate if there is no scope.
34535 * stdio-common/Makefile (tests): Add bug24.
34536 * stdio-common/bug24.c: New file.
34538 2011-08-19 Andreas Jaeger <aj@suse.de>
34541 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34542 non-existant file when using close-on-exec mode.
34544 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34547 the very first instruction.
34549 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34550 the CFI state in the end.
34551 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34552 inclusion of dl-trampoline.h.
34553 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34555 2011-08-19 Andreas Schwab <schwab@redhat.com>
34557 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34558 expectations for long double.
34560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34561 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34563 2011-08-14 David S. Miller <davem@davemloft.net>
34565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34566 artificual limit depends upon the system page size.
34568 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34570 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34571 * resolv/Makefile: Define CFLAGS-libresolv.
34573 2011-08-17 Andreas Schwab <schwab@redhat.com>
34575 * nss/makedb.c (compute_tables): Make variables used in nested
34578 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34580 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34581 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34582 if buffer was too small.
34584 * elf/pldd.c (main): Attach to all threads in the process.
34585 Rewrite /proc handling to use *at functions.
34587 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34589 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34590 specifies first scope to show.
34591 (dl_open_worker): Update callers. Move printing scope of new
34592 object to before the relocation.
34593 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34594 * sysdeps/generic/ldsodefs.h: Update declaration.
34596 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34597 string for the scope number.
34599 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34601 * nscd/servicescache.c (cache_addserv): Make sure written is always
34604 2011-08-14 Roland McGrath <roland@hack.frob.com>
34606 * sysdeps/i386/i486/bits/atomic.h
34607 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34608 statement expression, so as to suppress "set but not used" warning.
34609 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34611 * string/strncat.c (STRNCAT): Use prototype definition.
34613 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34614 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34616 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34617 (localedef-modules): Add localedef.
34618 (locale-modules): Add locale.
34620 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34621 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34622 to avoid a warning.
34624 2011-08-14 David S. Miller <davem@davemloft.net>
34626 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34627 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34629 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34631 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34632 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34633 * elf/rtld.c (dl_main): Set l_name of vDSO.
34634 Call _dl_show_scope when DL_DEBUG_SCOPES.
34635 (process_dl_debug): Recognize scopes flag and also set it for all.
34636 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34637 Declare _dl_show_scope.
34639 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34640 (do_dlopen): Pass caller_dlopen to dl_open.
34641 (__libc_dlopen_mode): Initialize caller_dlopen.
34643 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34644 of libc. Make tolower call locale-independent. Optimize a bit by
34645 using isdigit instead of isalnum.
34646 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34648 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34650 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34651 was a dependency or dynamically loaded.
34653 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34655 * intl/l10nflist.c: Allow architecture-specific pop function.
34656 * sysdeps/x86_64/l10nflist.c: New file.
34658 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34661 2011-08-10 Andreas Schwab <schwab@redhat.com>
34663 * include/dirent.h: Add libc_hidden_proto for scandirat and
34664 scandirat64. Don't declare __scandirat64.
34665 * dirent/scandirat.c: Add libc_hidden_def.
34666 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34667 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34669 2011-08-10 David S. Miller <davem@davemloft.net>
34671 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34675 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34677 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34679 * Versions.def [libc]: Add GLIBC_2.15.
34680 * dirent/Makefile (routines): Add scandirat and scandirat64.
34681 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34683 * dirent/dirent.h: Declare scandirat and scandirat64.
34684 * dirent/scandirat.c: New file.
34685 * dirent/scandirat64.c: New file.
34686 * sysdeps/wordsize-64/scandirat.c: New file.
34687 * sysdeps/wordsize-64/scandirat64.c: New file.
34688 * dirent/opendir.c: Define opendirat.
34689 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34691 * dirent/scandir64.c: Adjust for scandir.c change.
34692 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34693 __scandirat64, and __scandir_cancel_handler.
34694 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34695 additional parameter and use openat instead of open (outside of ld.so).
34696 Add new __opendir as wrapper around __opendirat.
34697 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34698 here without requiring old scandirat implementation.
34700 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34702 * dirent/scandir.c (cancel_handler): Renamed to
34703 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34704 defined. Adjust users.
34705 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34706 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34708 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34710 * string/test-string.h (IMPL): Use __STRING to expand name and then
34713 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34716 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34718 * string/Makefile: Update.
34719 (strop-tests): Append strncat.
34720 * string/test-wcscmp.c: New file.
34721 New comprehensive test for wcscmp.
34722 * string/test-strcmp.c: Update.
34723 (WIDE): New define.
34725 2011-07-22 Andreas Schwab <schwab@redhat.com>
34727 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34730 2011-07-26 Andreas Schwab <schwab@redhat.com>
34732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34733 encoding to ACE if AI_IDN.
34735 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34738 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34740 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34742 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34743 Fix overflow bug in strncat.
34744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34746 * string/test-strncat.c: Update.
34747 Add new tests for checking overflow bugs.
34749 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34752 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34753 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34754 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34756 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34757 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34758 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34759 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34762 (USE_AS_STRCAT): Define.
34763 Add strcat and strncat support.
34764 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34766 2011-07-25 Andreas Schwab <schwab@redhat.com>
34768 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34769 __n bigger than INT_MAX+1.
34770 (__strncmp_g): Likewise.
34772 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34774 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34775 * libio/stido.h: Likewise.
34777 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34782 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34785 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34789 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34794 (_dl_x86_64_save_sse): Likewise.
34796 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34800 (_dl_x86_64_save_sse): Likewise.
34802 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34804 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34806 2011-07-21 Andreas Schwab <schwab@redhat.com>
34808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34810 (_dl_x86_64_save_sse): Use correct AVX check.
34812 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34814 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34815 bug in strncpy/strncat.
34816 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34818 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34820 * string/tester.c (test_strcat): Add tests for different alignments
34821 of source and destination.
34822 (test_strncat): Likewise.
34824 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34827 * posix/glob.c (glob): Check passed in values before using them in
34828 expressions to avoid some overflows.
34829 (glob_in_dir): Likewise.
34832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34833 check for AVX enablement so that we don't crash with old kernels and
34835 * elf/tst-audit4.c: Add same checks here.
34836 * elf/tst-audit6.c: Likewise.
34838 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34840 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34842 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34844 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34846 * po/cs.po: Update from translation team.
34847 * po/bg.po: Likewise.
34849 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34851 * misc/sys/cdefs.h: Add support for const attribute.
34852 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34853 to gnu_dev_{major,minor,makedev} functions.
34855 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34857 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34859 2011-07-20 Andreas Schwab <schwab@redhat.com>
34861 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34864 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34867 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34868 register in order to avoid conflicts with the soft frame pointer
34869 being held in r11 when necessary.
34870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34871 (INTERNAL_VSYSCALL_NCS): Likewise.
34873 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34875 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34876 * elf/dl-fini.c (_dl_fini): Adjust caller.
34877 * elf/dl-close.c (_dl_close_worker): Likewise.
34878 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34880 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34882 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34883 "aux_cache->nlibs < 0".
34885 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34886 in the reload-count case.
34888 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34891 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34892 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34893 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34894 * sysdeps/x86_64/multiarch/strcat.S: New file.
34895 * sysdeps/x86_64/multiarch/strncat.S: New file.
34896 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34897 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34898 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34899 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34900 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34901 (USE_AS_STRCAT): Define.
34902 Add strcat and strncat support.
34903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34905 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34906 * string/strncat.c: Update.
34907 (USE_AS_STRNCAT): Define.
34908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34909 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34911 * sysdeps/x86_64/multiarch/init-arch.h
34912 (bit_Prefer_PMINUB_for_stringop): New.
34913 (index_Prefer_PMINUB_for_stringop): Likewise.
34914 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34915 bit_Prefer_PMINUB_for_stringop.
34917 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34919 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34921 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34922 of casting of buffer.
34923 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34924 buffer32 and buffer64.
34925 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34926 writes instead of casting of buffer.
34927 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34929 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34932 2011-07-19 Andreas Schwab <schwab@redhat.com>
34934 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34936 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34938 * nscd/nscd.c (termination_handler): Don't do anything for a database
34939 if it has not yet been initialized.
34941 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34943 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34945 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34947 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34949 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34951 * po/nl.po: Update from translation team.
34952 * po/sv.po: Likewise.
34954 2011-07-16 Roland McGrath <roland@hack.frob.com>
34956 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34957 now disallowed by GCC.
34959 * configure.in (use-default-link): Default to yes if a test -shared
34960 link meets our qualifications.
34961 * configure: Regenerated.
34963 * config.make.in (output-format): New variable.
34964 * configure.in: Check for ld --print-output-format support.
34965 * configure: Regenerated.
34966 * Makerules ($(common-objpfx)format.lds)
34967 [$(output-format) != unknown]: Just use $(output-format),
34968 instead of the linker-script munging.
34970 2011-07-14 Roland McGrath <roland@hack.frob.com>
34972 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34973 of $(common-objpfx)shlib.lds.
34974 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34976 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34977 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34979 * configure.in (-z relro check): Adjust test code to add a large
34980 writable data section after it.
34981 * configure: Regenerated.
34983 2011-07-11 Roland McGrath <roland@hack.frob.com>
34985 * configure.in (-z relro check): Fix test code to make the variable
34987 * configure: Regenerated.
34989 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34991 * nscd/nscd.h (struct traced_file): Define.
34992 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34993 elements. Add traced_files.
34994 (inotify_fd): Declare.
34995 (register_traced_file): Declare.
34996 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34997 (inotify_fd): Export.
34998 (resolv_conf_descr): Remove.
34999 (nscd_init): Move inotify descriptor creation to main.
35000 Don't register files for notification here.
35001 (register_traced_file): New function.
35002 (invalidate_cache): Don't use reset_res to determine whether to call
35003 res_init, go through the list of registered files.
35004 (main_loop_poll): The inotify descriptors are now stored in the
35005 structures for the traced files.
35006 (main_loop_epoll): Likewise
35007 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35008 to __nss_disable_nscd.
35009 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35010 for a database anymore. Check the records for all the registered
35012 * nss/Makefile (libnss_files-routines): Add files-init.
35013 (libnss_db-routines): Add db-init.
35014 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35015 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35016 * nss/nss_db/db-init.c: New file.
35017 * nss/nss_files/files-init.c: New file.
35018 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35019 __nss_lookup_function.
35020 (__nss_lookup_function): Call nss_load_library.
35021 (nss_load_all_libraries): New function.
35022 (__nss_disable_nscd): Take parameter with callback function for files
35023 to register. Set is_nscd. Load all the DSOs for the NSS modules
35024 used for the cached services.
35025 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35026 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35027 options for features to all the files in nscd.
35029 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35031 2011-07-10 Roland McGrath <roland@hack.frob.com>
35033 * csu/elf-init.c (__libc_csu_init): Comment typo.
35035 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35037 * po/pl.po: Update from translation team.
35038 * po/ja.po: Likewise.
35039 * po/ru.po: Likewise.
35040 * po/ko.po: Likewise.
35041 * po/fr.po: Likewise.
35043 2011-07-09 Roland McGrath <roland@hack.frob.com>
35045 * configure.in (.ctors/.dtors header and trailer check):
35046 Use an empirical test on a built program.
35047 * configure: Regenerated.
35049 * configure.in (-z relro check): Use an empirical test on a built DSO.
35050 Detect, but do not require, on ia64.
35051 * configure: Regenerated.
35053 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35054 Update tests that use readelf to use $READELF instead.
35055 * configure: Regenerated.
35057 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35059 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35060 if the result is not used.
35062 2011-07-05 Andreas Jaeger <aj@suse.de>
35065 * stdlib/tst-strtod.c: Add testcase.
35067 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35069 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35070 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35071 The latter has a higher limit. Take additional parameter to pass to
35073 (__pathconf): Pass file to __statfs_link_max.
35074 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35076 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35080 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35081 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35083 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35084 (__statfs_filesize_max): Likewise.
35085 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35087 2011-07-05 Andreas Jaeger <aj@suse.de>
35089 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35091 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35093 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35095 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35098 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35100 * Makefile (strop-tests): Add strncat.
35101 * string/test-strncat.c: New file.
35103 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35105 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35107 2011-06-21 Andreas Jaeger <aj@suse.de>
35109 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35110 Copy rule from iconvdata/Makefile.
35112 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35115 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35116 but no long options are defined, just return 'W'.
35118 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35121 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35123 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35125 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35127 (innetgr): Likewise.
35129 2011-07-05 Roland McGrath <roland@hack.frob.com>
35131 * config.make.in (install_root): Default to $(DESTDIR).
35133 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35135 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35137 2011-07-02 Roland McGrath <roland@hack.frob.com>
35139 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35141 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35142 containing directory rather than embedding absolute directory names.
35144 * scripts/check-local-headers.sh: Rewritten using awk.
35145 Match by word, not by line. Print error messages for matches.
35146 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35148 * Makerules [shlib-lds-flags empty]:
35149 ($(common-objpfx)libc_pic.opts): New target.
35150 ($(common-objpfx)libc_pic.os.clean): New target.
35151 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35153 * config.make.in (OBJCOPY): New variable.
35154 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35155 * configure: Regenerated.
35157 * config.make.in (use-default-link): New variable.
35158 * configure.in (use_default_link): Grok --with-default-link to set it.
35159 * configure: Regenerated.
35160 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35161 (shlib-lds, shlib-lds-flags): Define to empty.
35163 * Makerules (shlib-lds): New variable.
35164 (shlib-lds-flags): New variable.
35165 (build-shlib, build-moduile, build-module-asneeded): Use it.
35166 ($(common-objpfx)libc.so): Use $(shlib-lds).
35167 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35168 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35170 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35171 DT_FLAGS/DT_FLAGS_1 with zero flags.
35173 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35174 linker script munging.
35176 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35178 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35180 * crypt/sha512.c (sha512_process_block): Perform total addition using
35181 128-bit if possible.
35182 (__sha512_finish_ctx): Likewise.
35183 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35185 * crypt/sha256.c (SWAP64): Define.
35186 (sha256_process_block): Perform total addition using 64-bit if
35188 (__sha256_finish_ctx): Likewise.
35190 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35192 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35193 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35194 * nscd/hstcache.c (cache_addhst): Likewise.
35195 * nscd/grpcache.c (cache_addgr): Likewise.
35196 * nscd/aicache.c (addhstaiX): Likewise
35197 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35199 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35201 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35203 * nscd/hstcache.c (cache_addhst): Likewise.
35204 * nscd/grpcache.c (cache_addgr): Likewise.
35205 * nscd/aicache.c (addhstaiX): Likewise
35207 2011-07-01 Andreas Schwab <schwab@redhat.com>
35209 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35210 domain only when needed.
35212 2011-06-30 Andreas Schwab <schwab@redhat.com>
35214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35215 is always restored.
35217 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35219 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35220 are re-adding the entry.
35221 * nscd/servicescache.c (cache_addserv): Likewise.
35223 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35225 * sysdeps/generic/dl-irel.h: fix protection against multiple
35227 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35229 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35232 * malloc/memusage.sh: Fix quoting in message.
35233 * debug/xtrace.sh: Likewise.
35235 * configure.in: Remove support for --experimental-malloc option, make
35237 * config.make.in: Likewise.
35238 * malloc/Makefile: Likewise.
35240 2011-06-27 Andreas Schwab <schwab@redhat.com>
35242 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35243 two-byte characters.
35245 2011-06-27 Roland McGrath <roland@hack.frob.com>
35247 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35248 AC_CACHE_CHECK invocation.
35249 * configure: Regenerated.
35251 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35253 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35256 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35257 bit from old_res_options.
35259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35261 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35262 value type for setfct.
35264 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35267 __gettimeofday instead of gettimeofday.
35269 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35271 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35273 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35280 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35283 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35284 strcpy-sse2-unaligned strncpy-sse2-unaligned
35285 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35286 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35287 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35288 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35289 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35290 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35291 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35292 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35293 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35294 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35295 (STRCPY): Support SSE2 and SSSE3 versions.
35297 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35300 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35301 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35302 kernels which artificially limit size of requests.
35304 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35307 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35308 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35309 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35310 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35311 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35312 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35313 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35316 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35317 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35318 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35319 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35320 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35322 Enable unaligned load optimization for Intel Core i3, i5 and i7
35324 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35326 (index_Fast_Unaligned_Load): Define.
35327 (HAS_FAST_UNALIGNED_LOAD): Define.
35329 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35331 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35333 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35337 until it is clear that the information is realy needed.
35338 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35340 2011-06-22 Andreas Schwab <schwab@redhat.com>
35342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35344 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35347 /sys/devices/system/cpu/online if it is usable.
35349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35350 reading the information from the /proc filesystem to once a second.
35352 2011-06-21 Andreas Jaeger <aj@suse.de>
35354 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35355 NULL after inclusion of kernel headers.
35357 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35359 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35360 calls to internal_setent.
35363 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35364 addresses using gethostbyname4_r ignore IPv4 addresses.
35366 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35367 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35369 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35371 2011-06-20 David S. Miller <davem@davemloft.net>
35373 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35375 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35377 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35378 (elf_irel): Use it.
35379 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35380 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35381 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35382 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35383 * sysdeps/x86_64/dl-irel.h: Likewise.
35385 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35386 * elf/dl-sym.c: Likewise.
35388 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35390 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35391 need to dereference resplen2.
35393 2011-06-14 Andreas Schwab <schwab@redhat.com>
35395 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35397 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35399 * Makeconfig: Define vardbdir and inst_vardbdir.
35400 * nss/Makefile: Add rules to install db-Makefile.
35402 * nss/nss_db/db-XXX.c: Cleanup.
35404 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35405 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35407 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35408 * nss/makedb.c: Implement -g option to specify that value strings
35409 are generated and should not be added to table iterated over for
35411 * nss/nss_db/db-initgroups.c: New file.
35413 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35416 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35417 (internal_getgrouplist): Adjust to name change.
35418 Update use_initgroups_entry if this is not the first call.
35419 * nss/databases.def: Add initgroups entry.
35421 * nss/makedb.c (compute_tables): Check result of multiple hash table
35422 sizes to minimize maximum chain length.
35424 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35426 * Versions.def: Add entry for libnss_db.
35427 * shlib-versions: Likewise.
35428 * nss/Makefile: Add rules to build libnss_db.
35429 * nss/Versions: Add libnss_db information. Organize libnss_files
35431 * nss/db-Makefile: Add gshadow support. Change rules for the new
35432 makedb progra. Some minor improvements to generate smaller files.
35433 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35435 * nss/makedb.c: ...here.
35436 Improve database format to be smaller and require less memory at
35438 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35440 * nss/nss_db/db-netgrp.c: Likewise.
35441 * nss/nss_db/db-open.c: Likewise.
35442 * nss/nss_files/flies-XXX.x: Adjust comments.
35443 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35444 * nss/nss_files/files-grp.c: Likewise.
35445 * nss/nss_files/files-hosts.c: Likewise.
35446 * nss/nss_files/files-network.c: Likewise.
35447 * nss/nss_files/files-proto.c: Likewise.
35448 * nss/nss_files/files-pwd.c: Likewise.
35449 * nss/nss_files/files-rpc.c: Likewise.
35450 * nss/nss_files/files-service.c: Likewise.
35451 * nss/nss_files/files-sgrp.c: Likewise.
35452 * nss/nss_files/files-spwd.c: Likewise.
35453 * nss/nss_db/db-alias.c: Removed.
35454 * nss/nss_db/dummy-db.h: Removed.
35456 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35458 * nss/makedb.c: Rewritten to not use database library.
35459 * nss/Makefile: Update to build new makedb program.
35461 2011-06-14 Andreas Jaeger <aj@suse.de>
35463 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35464 memset declaration.
35466 2011-06-10 Andreas Schwab <schwab@redhat.com>
35468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35471 2011-06-10 Roland McGrath <roland@hack.frob.com>
35473 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35474 * elf/Makefile ($(objpfx)ld.so): Likewise.
35476 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35477 Don't list ld.so twice in dependencies.
35479 * posix/bug-regex31.c: Include <stdlib.h>.
35481 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35483 * nis/nss_compat/compat-spwd.c
35484 (getspent_next_nss_netgr): Remove unused variable.
35485 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35487 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35488 nonmembers" output to use the right array.
35490 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35492 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35494 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35495 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35496 * catgets/gencat.c (read_input_file): Likewise.
35497 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35499 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35500 variable definition inside #if's controlling its use.
35502 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35504 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35506 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35508 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35511 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35513 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35514 * configure: Regenerated.
35516 * Makerules: Revert last change.
35517 * elf/Makefile: Likewise.
35519 2011-06-09 Roland McGrath <roland@hack.frob.com>
35521 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35522 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35523 (reloc-link): Likewise.
35525 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35527 * elf/Makefile: Add rules to build pldd.
35528 * elf/pldd.c: New file.
35529 * elf/pldd-xx.c: New file.
35531 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35533 * version.h: Update for 2.15 development version.
35535 2011-06-07 David S. Miller <davem@davemloft.net>
35537 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35539 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35540 elf_machine_lazy_rel): Likewise.
35541 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35543 elf_machine_lazy_rel): Likewise.
35544 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35545 dl_hwcap via passed in argument.
35546 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35549 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35551 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35553 2011-06-06 Roland McGrath <roland@hack.frob.com>
35556 * manual/fdl-1.1.texi: New file, verbatim from:
35557 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35558 * manual/lgpl-2.1.texi: New file, verbatim from:
35559 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35560 * manual/Makefile (licenses): New variable, list those new file names.
35562 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35564 * manual/fdl.texi: File removed.
35565 * manual/lesser.texi: File removed.
35566 * manual/libc.texinfo (Copying, Documentation License):
35567 Use new @include file names, put @appendix directive before @include.
35569 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35572 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35573 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35574 (mq_open): Add __NTH.
35576 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35579 Assume Intel Core i3/i5/i7 processor if AVX is available.
35581 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35586 2011-05-31 Andreas Schwab <schwab@redhat.com>
35588 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35589 memory. Use alloca_account. Fix memory leak when retrying.
35591 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35593 * version.h (RELEASE): Bump for 2.14 release.
35594 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35596 * config.make.in (RANLIB): Remove entry.
35598 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35600 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35601 (libc.pot): Work around missing support for .ksh extension in xgettext.
35604 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35605 if both request failed.
35606 (send_dg): In case of server errors clear resplen or *resplen2.
35609 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35610 when there are multiple maps.
35611 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35612 (_dl_fini): Remove test here.
35614 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35616 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35619 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35620 bit from old_res_options.
35621 (gaih_inet): Likewise.
35624 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35627 * resolv/res_init.c (res_setoptions): Make the code more compact.
35630 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35634 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35636 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35639 * malloc/malloc.h: Declare malloc hook variables as volatile.
35641 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35645 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35646 raise in the comment.
35647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35649 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35651 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35654 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35655 grow the buffers more if it already has to be sufficient.
35656 (build_wcs_upper_buffer): Likewise.
35657 * posix/regexec.c (check_matching): Likewise.
35658 (clean_state_log_if_needed): Likewise.
35659 (extend_buffers): Don't enlarge buffers beyond size of the input
35661 Patches mostly by Emil Wojak <emil@wojak.eu>.
35662 * posix/bug-regex32.c: New file.
35663 * posix/Makefile (tests): Add bug-regex32.
35665 * locale/findlocale.c (_nl_find_locale): Return right away if
35666 _nl_explode_name failed.
35667 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35669 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35671 * debug/xtrace.sh: Unify messages.
35672 * malloc/memusage.sh: Likewise.
35675 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35676 time symbol from vDSO. Substitute with vsyscall if not available.
35677 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35680 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35681 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35682 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35683 Add sendmmsg and internal_sendmmsg.
35684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35685 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35686 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35688 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35689 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35692 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35695 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35696 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35698 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35702 * iconvdata/Makefile (tests): Add bug-iconv9.
35703 * iconvdata/bug-iconv9.c: New file.
35705 2011-05-27 Andreas Schwab <schwab@redhat.com>
35708 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35710 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35713 (struct user_regs_struct): Change intcs field back to cs.
35715 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35717 * po/ja.po: Update from translation team.
35719 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35722 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35723 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35725 2011-05-20 Andreas Schwab <schwab@redhat.com>
35727 * stdlib/longlong.h: Update from GCC.
35729 2011-05-23 Andreas Schwab <schwab@redhat.com>
35731 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35733 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35734 Add parameter name.
35735 (__sysconf): Pass it down.
35737 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35740 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35742 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35743 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35744 add in in __libc_use_alloca calls. Adjust callers.
35745 (glob): Use malloc in some situations.
35747 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35748 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35751 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35753 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35754 and CLOCK_BOOTTIME_ALARM.
35757 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35760 * string/_strerror.c (__strerror_r): Print negative errors as signed
35764 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35765 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35766 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35768 * configure.in: Fix typo in redirection and correct removal of test
35769 files in two cases.
35772 * locale/setlocale.c (new_composite_name): Fix test to check for
35773 identical name of all categories.
35776 * libio/filedoalloc.c (local_isatty): New function.
35777 (_IO_file_doallocate): Use local_isatty.
35778 * stdio-common/perror.c (perror): In case a new stream is used
35779 forward the stream error.
35780 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35783 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35788 * include/alloca.h (extend_alloca_account): Define.
35791 * posix/regex.h: Fix comments with documentation of user-accessible
35792 fields after compilation and describe correct free'ing of pattern
35793 after re_compile_pattern.
35794 Patch by Reuben Thomas <rrt@sc3d.org>.
35796 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35798 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35799 and -mno-altivec to prevent the compiler from using Altivec and/or
35800 VSX instructions when the corresponding registers are not available.
35802 2011-05-19 Andreas Schwab <schwab@redhat.com>
35804 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35806 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35808 * libio/freopen.c (freopen): Use __dup2, not dup2.
35809 * libio/freopen64.c (freopen64): Likewise.
35811 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35814 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35815 * math/Makefile (tests): Add test-powl.
35816 (CFLAGS-test-powl.c): Define.
35817 * math/test-powl.c: New file.
35819 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35821 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35823 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35826 * iconvdata/gb18030.c: Update to GB18020-2005.
35828 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35830 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35831 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35832 Patch by Aharon Robbins <arnold@skeeve.com>.
35835 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35839 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35840 through underflows.
35843 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35844 point to strings before performing equality test for error_one_per_line
35848 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35852 (struct user_fpregs_struct): Avoid __uint*_t types.
35855 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35856 symbol info. Use it instead of calling _dl_addr locally.
35857 (lock_and_info): New function.
35858 (tr_freehook): Call lock_and_info and pass symbol info as additional
35859 parameter to tr_where.
35860 (tr_mallochook): Likewise.
35861 (tr_reallochook): Likewise.
35862 (tr_memalignhook): Likewise.
35864 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35865 used and couldn't be at all thread-safe.
35867 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35869 * libio/freopen.c (freopen): Don't close old file descriptor
35870 before the new one is opened. Instead dup the new file descriptor
35871 to the old one after the new stream is created.
35872 * libio/freopen64.c (freopen64): Likewise.
35873 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35874 * libio/fileops.c (_IO_new_file_close_it): Handle new
35875 _IO_FLAGS2_NOCLOSE flag.
35876 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35877 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35878 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35879 _IO_FLAGS2_NOCLOSE flag.
35880 * include/unistd.h: Add hidden_proto for dup3.
35881 Define __have_dup3.
35882 * io/dup3.c: Define hidden symbol.
35883 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35886 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35887 when an incomplete long option is used.
35888 * posix/tst-getopt_long1.c: New file.
35889 * posix/Makefile (tests): Add tst-getopt_long1.
35892 * scripts/config.guess: Update from autoconf-2.68.
35893 * scripts/config.sub: Likewise.
35896 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35898 (has_cpuclock): ...this. New function.
35899 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35900 macro here based on has_cpuclock code.
35903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35904 First byte (not low byte) is now always NUL.
35905 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35908 Use non-cancelable interfaces.
35911 * locale/iso-639.def: Add entry for Sorani.
35914 * include/stdlib.h: Move include protection to the right place.
35915 Define abort_msg_s. Declare __abort_msg with it.
35916 * stdlib/abort.c (__abort_msg): Adjust type.
35917 * assert/assert.c (__assert_fail_base): New function. Majority
35918 of code from __assert_fail. Allocate memory for __abort_msg with
35920 (__assert_fail): Now call __assert_fail_base.
35921 * assert/assert-perr.c: Remove bulk of implementation. Use
35922 __assert_fail_base.
35923 * include/assert.hL Declare __assert_fail_base.
35924 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35926 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35928 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35932 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35933 until all modules are registered in the DTV.
35934 * elf/Makefile: Add rules to build and run tst-tls19.
35935 * elf/tst-tls19.c: New file.
35936 * elf/tst-tls19mod1.c: New file.
35937 * elf/tst-tls19mod2.c: New file.
35938 * elf/tst-tls19mod3.c: New file.
35939 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35942 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35946 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35947 two-byte sequence errors.
35948 * iconvdata/Makefile (tests): Add bug-iconv8.
35949 * iconvdata/bug-iconv8.c: New file.
35952 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35955 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35958 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35959 (dummy_getcfa): New function.
35960 (init): Get _Unwind_GetCFA address, use dummy if not found.
35961 (backtrace_helper): In recursion check, also check whether CFA changes.
35962 (__backtrace): Completely initialize arg.
35964 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35965 storing incomplete byte sequence in state object. Avoid testing for
35966 guaranteed too small input if we know there is enough data available.
35968 2011-05-11 Andreas Schwab <schwab@redhat.com>
35970 * Makeconfig (+link-pie): Indent.
35971 * Rules (binaries-pie): Define if $(have-fpie) and
35973 (binaries-shared): Also filter out $(binaries-pie).
35974 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35975 * nscd/Makefile (others-pie): Add nscd.
35976 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35977 ($(objpfx)nscd): Remove command override.
35978 * login/Makefile (others-pie): Add pt_chown.
35979 ($(objpfx)pt_chown): Remove command override.
35980 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35981 remove command overrides.
35983 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35985 * libio/tst_putwc.c: Fix error messages.
35988 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35989 currently writing and seek to current position when not.
35990 * libio/Makefile (tests): Add bug-fclose1.
35991 * libio/bug-fclose1.c: New file.
35993 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35996 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35997 don't set DF_1_NODELETE here.
35998 (do_lookup_x): When entering new entry test for copy relocation
35999 and if necessary set DF_1_NODELETE flag.
36000 * elf/tst-unique4.cc: New file.
36001 * elf/tst-unique4.h: New file.
36002 * elf/tst-unique4lib.cc: New file.
36003 * elf/Makefile: Add rules to build and run tst-unique4.
36004 Patch by Piotr Bury <pbury@goahead.com>.
36006 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36009 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36012 * misc/mntent_r.c (addmntent): Flush the stream after the output
36015 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36016 (is_trusted_path_normalize): Skip initial colon. Append slash
36017 to empty buffer. Duplicate is_trusted_path code but allow
36018 constructed patch to be prefix.
36019 (is_dst): Allow $ORIGIN followed by /.
36020 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36021 Correct testing of result of is_trusted_path_normalize
36022 (decompose_rpath): Fix warning.
36024 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36027 * grp/initgroups.c (internal_getgrouplist): When we found the service
36028 list through the initgroups entry in nsswitch.conf do not always
36029 continue on a successful lookup. Don't always use the
36030 __nss_group_database value if it is set.
36031 * nss/nsswitch.conf (initgroups): Change action for successful db
36032 lookup to continue for compatibility.
36034 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36037 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36039 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36041 * iconvdata/tst-tables.sh: Likewise.
36042 * iconvdata/cp770.c: New file.
36043 * iconvdata/cp771.c: New file.
36044 * iconvdata/cp772.c: New file.
36045 * iconvdata/cp773.c: New file.
36046 * iconvdata/cp774.c: New file.
36047 * iconvdata/testdata/CP770: New file.
36048 * iconvdata/testdata/CP770..UTF8: New file.
36049 * iconvdata/testdata/CP771: New file.
36050 * iconvdata/testdata/CP771..UTF8: New file.
36051 * iconvdata/testdata/CP772: New file.
36052 * iconvdata/testdata/CP772..UTF8: New file.
36053 * iconvdata/testdata/CP773: New file.
36054 * iconvdata/testdata/CP773..UTF8: New file.
36055 * iconvdata/testdata/CP774: New file.
36056 * iconvdata/testdata/CP774..UTF8: New file.
36058 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36060 * iconvdata/gen-8bit-gap.sh: Likewise.
36061 * iconvdata/gen-8bit.sh: Likewise.
36063 * locale/iso-639.def: Add ary entry.
36066 * locale/C-translit.h.in: Add U20A1 transliteration.
36069 * locale/iso-639.def: Add wae entry.
36070 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36073 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36077 * locale/C-translit.h.in: Add entry for U20B9.
36078 Patch by pravin.d.s@gmail.com.
36080 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36083 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36084 ENAMETOOLONG use generic getcwd.
36085 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36086 in rtld. Use *stat64.
36087 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36088 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36089 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36090 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36091 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36092 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36093 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36094 __fstatat64 macros.
36095 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36096 * dirent/rewinddir.c: Add libc_hidden_def.
36097 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36098 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36100 * include/dirent.h (__alloc_dir): Add flags parameter.
36101 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36102 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36104 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36105 from fdopendir if O_CLOEXEC is already set.
36107 2011-03-15 Alan Modra <amodra@gmail.com>
36109 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36110 l_tls_firstbyte_offset non-zero. Save padding offset in
36111 l_tls_firstbyte_offset for later use.
36112 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36113 freeing static tls block.
36115 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36117 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36118 where #ifdef was intended. The intent is to prevent ARG_MAX from
36119 being defined by the kernel headers.
36121 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36124 * resolv/resolv.h: Define RES_NOTLDQUERY.
36125 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36126 no-tld-query and set RES_NOTLDQUERY.
36127 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36128 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36129 modern BIND to search name as TLD unless forbidden.
36131 2011-05-07 Petr Baudis <pasky@suse.cz>
36132 Ulrich Drepper <drepper@gmail.com>
36135 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36136 (is_trusted_path): ...to here.
36137 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36138 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36139 using is_trusted_path_normalize() in setuid scripts.
36141 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36143 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36144 __BEGIN/__END_DECLS.
36146 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36149 NSS_STATUS_NOTFOUND if no record was found.
36151 2011-05-05 Andreas Schwab <schwab@redhat.com>
36153 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36154 (headers-not-in-tirpc): Remove rpc/netdb.h
36155 * resolv/netdb.h: Revert last change.
36157 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36159 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36160 circular dependency between libgcc.a and libc.a.
36162 2011-05-05 Andreas Schwab <schwab@redhat.com>
36164 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36165 * nis/Makefile: Don't install rpcsvc/*.
36166 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36167 instead of <rpc/types.h>.
36168 (MAXHOSTNAMELEN): Define.
36170 2011-05-03 Andreas Schwab <schwab@redhat.com>
36172 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36174 2011-04-28 Maciej Babinski <mbabinski@google.com>
36177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36178 gethostbyname4_r when IPv6 results are possible.
36180 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36183 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36184 _PC_PIPE_BUF handling.
36186 2011-04-30 Bruno Haible <bruno@clisp.org>
36189 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36190 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36192 * inet/getnameinfo.c (getnameinfo): Likewise.
36194 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36196 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36197 to groups setting in database lookup.
36198 * nss/nsswitch.conf: Add initgroups entry.
36200 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36203 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36205 Patch by Eric Blake <eblake@redhat.com>.
36207 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36209 * sunrpc/Makefile (need-export-routines): Add svc_run.
36210 (routines): Remove svc_run.
36211 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36212 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36213 * sunrpc/svc_run.c (svc_run): Likewise.
36214 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36216 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36219 problem in reallocation in last patch.
36221 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36223 * sunrpc/Makefile: Move inclusion of Rules.
36225 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36227 * nss/nss_files/files-initgroups.c: New file.
36228 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36229 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36230 _nss_files_initgroups_dyn.
36232 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36234 * elf/elf.h (R_ARM_IRELATIVE): Define.
36236 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36238 * po/ru.po: Update from translation team.
36240 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36242 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36245 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36248 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36249 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36250 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36254 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36256 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36258 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36260 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36262 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36265 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36267 * stdlib/bug-getcontext.c: New file.
36268 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36270 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36272 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36273 instructions into .machine "z9-109".
36274 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36275 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36277 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36279 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36280 between environment variables and auxiliary vector.
36282 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36284 * Makefile: Add rules to build linkobj/libc.so.
36285 * include/libc-symbols.h: Define libc_hidden_nolink.
36286 * include/rpc/auth.h: Mark functions which are to be hidden.
36287 * include/rpc/auth_des.h: Likewise.
36288 * include/rpc/auth_unix.h: Likewise.
36289 * include/rpc/clnt.h: Likewise.
36290 * include/rpc/des_crypt.h: Likewise.
36291 * include/rpc/key_prot.h: Likewise.
36292 * include/rpc/pmap_clnt.h: Likewise.
36293 * include/rpc/pmap_prot.h: Likewise.
36294 * include/rpc/pmap_rmt.h: Likewise.
36295 * include/rpc/rpc_msg.h: Likewise.
36296 * include/rpc/svc.h: Likewise.
36297 * include/rpc/svc_auth.h: Likewise.
36298 * include/rpc/xdr.h: Likewise.
36299 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36300 * nss/Makefile: Likewise.
36301 * sunrpc/Makefile: Don't install headers. Build library with normal
36302 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36303 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36304 for the compat linking library. Remove use of INTDEF/INTUSE.
36305 * sunrpc/auth_none.c: Likewise.
36306 * sunrpc/auth_unix.c: Likewise.
36307 * sunrpc/authdes_prot.c: Likewise.
36308 * sunrpc/authuxprot.c: Likewise.
36309 * sunrpc/clnt_gen.c: Likewise.
36310 * sunrpc/clnt_perr.c: Likewise.
36311 * sunrpc/clnt_raw.c: Likewise.
36312 * sunrpc/clnt_simp.c: Likewise.
36313 * sunrpc/clnt_tcp.c: Likewise.
36314 * sunrpc/clnt_udp.c: Likewise.
36315 * sunrpc/clnt_unix.c: Likewise.
36316 * sunrpc/des_crypt.c: Likewise.
36317 * sunrpc/des_soft.c: Likewise.
36318 * sunrpc/get_myaddr.c: Likewise.
36319 * sunrpc/key_call.c: Likewise.
36320 * sunrpc/key_prot.c: Likewise.
36321 * sunrpc/netname.c: Likewise.
36322 * sunrpc/pm_getmaps.c: Likewise.
36323 * sunrpc/pm_getport.c: Likewise.
36324 * sunrpc/pmap_clnt.c: Likewise.
36325 * sunrpc/pmap_prot.c: Likewise.
36326 * sunrpc/pmap_prot2.c: Likewise.
36327 * sunrpc/pmap_rmt.c: Likewise.
36328 * sunrpc/publickey.c: Likewise.
36329 * sunrpc/rpc_cmsg.c: Likewise.
36330 * sunrpc/rpc_common.c: Likewise.
36331 * sunrpc/rpc_dtable.c: Likewise.
36332 * sunrpc/rpc_prot.c: Likewise.
36333 * sunrpc/rpc_thread.c: Likewise.
36334 * sunrpc/rtime.c: Likewise.
36335 * sunrpc/svc.c: Likewise.
36336 * sunrpc/svc_auth.c: Likewise.
36337 * sunrpc/svc_authux.c: Likewise.
36338 * sunrpc/svc_raw.c: Likewise.
36339 * sunrpc/svc_run.c: Likewise.
36340 * sunrpc/svc_simple.c: Likewise.
36341 * sunrpc/svc_tcp.c: Likewise.
36342 * sunrpc/svc_udp.c: Likewise.
36343 * sunrpc/svc_unix.c: Likewise.
36344 * sunrpc/svcauth_des.c: Likewise.
36345 * sunrpc/xcrypt.c: Likewise.
36346 * sunrpc/xdr.c: Likewise.
36347 * sunrpc/xdr_array.c: Likewise.
36348 * sunrpc/xdr_float.c: Likewise.
36349 * sunrpc/xdr_intXX_t.c: Likewise.
36350 * sunrpc/xdr_mem.c: Likewise.
36351 * sunrpc/xdr_rec.c: Likewise.
36352 * sunrpc/xdr_ref.c: Likewise.
36353 * sunrpc/xdr_sizeof.c: Likewise.
36354 * sunrpc/xdr_stdio.c: Likewise.
36356 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36359 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36360 * sysdeps/ia64/dl-tls.h: Likewise.
36361 * sysdeps/powerpc/dl-tls.h: Likewise.
36362 * sysdeps/s390/dl-tls.h: Likewise.
36363 * sysdeps/sh/dl-tls.h: Likewise.
36364 * sysdeps/sparc/dl-tls.h: Likewise.
36365 * sysdeps/x86_64/dl-tls.h: Likewise.
36366 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36368 2011-03-14 Andreas Schwab <schwab@redhat.com>
36370 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36371 rpath element also skip the following colon.
36372 (expand_dynamic_string_token): Add is_path parameter and pass
36373 down to DL_DST_REQUIRED and _dl_dst_substitute.
36374 (decompose_rpath): Call expand_dynamic_string_token with
36375 non-zero is_path. Ignore empty rpaths.
36376 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36379 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36384 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36387 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36388 Patch by Filipe David Manana <fdmanana@apache.org>.
36390 2011-04-07 Andreas Schwab <schwab@redhat.com>
36392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36393 Maintain aligned stack.
36394 (CHECK_RSP): Remove unused macro.
36396 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36398 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36399 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36401 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36403 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36405 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36407 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36410 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36411 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36412 * sysdeps/x86_64/memmove.c: New file.
36413 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36414 (memcpy): Renamed to ...
36415 (__new_memcpy): This.
36416 (memcpy): Provide GLIBC_2_14 memcpy.
36417 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36418 (memcpy): Provide GLIBC_2_2_5 memcpy.
36420 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36423 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36425 2011-03-30 Andreas Schwab <schwab@redhat.com>
36427 * misc/syncfs.c: New file.
36428 * misc/Makefile (routines): Add syncfs.
36429 * posix/unistd.h: Declare syncfs.
36430 * sysdeps/unix/syscalls.list: Add syncfs.
36432 2011-04-01 Andreas Schwab <schwab@redhat.com>
36434 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36436 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36441 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36444 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36446 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36447 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36450 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36452 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36454 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36455 sync_file_range.c with -fexceptions.
36456 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36457 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36458 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36459 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36460 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36461 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36463 sync_file_range as cancellation point
36464 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36465 now a wrapper around __call_sync_file_range with cancellation handling.
36466 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36467 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36468 function name to __call_sync_file_range.
36469 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36470 Add call_sync_file_range.
36472 2011-04-01 Andreas Schwab <schwab@redhat.com>
36474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36477 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36479 * iconv/iconv.h: Fix typo in comment.
36480 * io/fcntl.h: Likewise.
36481 * libio/stdio.h: Likewise.
36482 * posix/spawn.h: Likewise.
36483 * posix/unistd.h: Likewise.
36484 * stdlib/stdlib.h: Likewise.
36485 * time/time.h: Likewise.
36486 * wcsmbs/wchar.h: Likewise.
36488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36489 open_by_handle): Add.
36490 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36491 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36492 Augment a few comments.
36493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36495 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36498 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36501 * io/fcntl.h (AT_EMPTY_PATH): Define.
36503 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36505 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36506 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36507 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36509 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36510 * Versions.def: Add GLIBC_2.14.
36511 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36514 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36516 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36518 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36520 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36523 * string/test-strncmp.c (do_page_test): New function.
36524 (check2): Likewise.
36525 (test_main): Call check2.
36526 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36528 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36532 Handle cache information in CPU leaf 4.
36533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36535 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36538 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36539 character representation.
36540 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36542 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36544 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36545 END(__isnan) to END(__isnanf) to match function entry point/label
36546 EALIGN(__isnanf,...).
36548 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36550 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36552 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36555 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36556 copy from the symbol referenced in the relocation to initialize the
36558 Patch by Piotr Bury <pbury@goahead.com>.
36559 * elf/Makefile: Add rules to build and tst-unique3.
36560 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36561 * elf/tst-unique3.cc: New file.
36562 * elf/tst-unique3.h: New file.
36563 * elf/tst-unique3lib.cc: New file.
36564 * elf/tst-unique3lib2.cc: New file.
36566 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36568 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36570 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36571 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36574 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36576 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36577 to-be-loaded object along a path to loader is ld.so.
36579 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36580 Ulrich Drepper <drepper@gmail.com>
36582 * sysdeps/x86_64/memset.S: After aligning destination, code
36583 branches to different locations depending on the value of
36584 misalignment, when multiarch is enabled. Fix this.
36586 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36588 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36589 Set _x86_64_preferred_memory_instruction for AMD processsors.
36590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36591 Set bit_Prefer_SSE_for_memop for AMD processors.
36593 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36595 * libio/fmemopen.c (fmemopen): Optimize a bit.
36597 2011-03-03 Andreas Schwab <schwab@redhat.com>
36599 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36601 2011-03-03 Roland McGrath <roland@redhat.com>
36603 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36605 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36607 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36608 __bzero_ultra1 instead of __memset_ultra1.
36610 2011-02-23 Andreas Schwab <schwab@redhat.com>
36611 Ulrich Drepper <drepper@gmail.com>
36614 * include/link.h (struct link_map): Add l_orig_initfini.
36615 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36616 returning unsuccessfully.
36617 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36618 close of a file loaded at startup, restore the original l_initfini
36620 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36621 list, store the pointer.
36622 * elf/Makefile ($(objpfx)noload-mem): New rule.
36623 (noload-ENV): Define.
36624 (tests): Add $(objpfx)noload-mem.
36625 * elf/noload.c: Include <memcheck.h>.
36626 (main): Call mtrace. Close all opened handles.
36628 2011-02-17 Andreas Schwab <schwab@redhat.com>
36631 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36632 dependencies are missing.
36634 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36636 Fix __if_freereq crash: Unlike the generic version which uses free,
36638 * sysdeps/mach/hurd/ifreq.h: New file.
36640 2011-01-27 Petr Baudis <pasky@suse.cz>
36641 Ulrich Drepper <drepper@gmail.com>
36644 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36645 to extend_alloca().
36646 * stdio-common/bug23.c: New file.
36647 * stdio-common/Makefile (tests): Add bug23.
36649 2010-09-28 Andreas Schwab <schwab@redhat.com>
36650 Ulrich Drepper <drepper@gmail.com>
36653 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36654 before performing relro protection. At old place add assertion
36655 to make sure nothing changed.
36657 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36658 Glauber de Oliveira Costa <glommer@gmail.com>
36660 * elf/elf.h: Add new ARM TLS relocs.
36662 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36665 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36667 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36669 * sysdeps/wordsize-64/tst-writev.c: New file.
36671 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36673 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36674 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36675 insns in _dl_start to prevent a TOC reference before relocs are
36678 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36681 * Makeconfig: Remove RANLIB definition.
36682 * Makerules: Don't use RANLIB.
36683 * aclocal.m4: Remove ranlib test.
36684 * configure.in: No need to check for ranlib.
36685 * elf/rtld-Rules: Don't use RANLIB.
36687 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36689 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36691 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36692 inclusion protection macro.
36694 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36695 SIGRTMIN and SIGRTMAX and print information in that case only when
36696 SIGRTMIN is defined.
36698 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36700 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36701 arginfo fn returning -1.
36703 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36704 and thousands string is zero terminated.
36706 2011-02-03 Andreas Schwab <schwab@redhat.com>
36708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36709 sysdeps/unix/sysv/linux/bits/socket.h.
36711 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36713 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36714 (__CPU_COUNT): Remove old macros.
36715 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36716 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36717 (__CPU_ALLOC, __CPU_FREE): Add macros.
36718 (__sched_cpualloc, __sched_cpufree): Add declarations.
36720 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36722 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36723 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36724 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36725 (readdhstai): Return value of addhstaiX call.
36726 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36727 (addgrbyX): Return value returned by cache_addgr.
36728 (readdgrbyname): Return value returned by addgrbyX.
36729 (readdgrbygid): Likewise.
36730 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36731 (addpwbyX): Return value returned by cache_addpw.
36732 (readdpwbyname): Return value returned by addhstbyX.
36733 (readdpwbyuid): Likewise.
36734 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36735 (addservbyX): Return value returned by cache_addserv.
36736 (readdservbyname): Return value returned by addservbyX:
36737 (readdservbyport): Likewise.
36738 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36739 (addhstbyX): Return value returned by cache_addhst.
36740 (readdhstbyname): Return value returned by addhstbyX.
36741 (readdhstbyaddr): Likewise.
36742 (readdhstbynamev6): Likewise.
36743 (readdhstbyaddrv6): Likewise.
36744 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36745 (readdinitgroups): Return value returned by addinitgroupsX.
36746 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36747 (prune_cache): Keep track of timeout value of re-added entries.
36748 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36749 * nscd/nscd.h: Adjust prototypes of readd* functions.
36751 2011-02-04 Roland McGrath <roland@redhat.com>
36753 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36754 (nis_stats): Likewise.
36755 * nis/nis_modify.c (nis_modify): Likewise.
36756 * nis/nis_remove.c (nis_remove): Likewise.
36757 * nis/nis_add.c (nis_add): Likewise.
36759 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36761 * posix/fnmatch_loop.c: Add some consts.
36763 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36765 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36768 * config.make.in (config-cflags-novzeroupper): Define.
36769 * configure.in: Substitute libc_cv_cc_novzeroupper.
36770 * elf/Makefile (AVX-CFLAGS): Define.
36771 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36772 (CFLAGS-tst-auditmod4a.c): Likewise.
36773 (CFLAGS-tst-auditmod4b.c): Likewise.
36774 (CFLAGS-tst-auditmod6b.c): Likewise.
36775 (CFLAGS-tst-auditmod6c.c): Likewise.
36776 (CFLAGS-tst-auditmod7b.c): Likewise.
36777 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36779 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36781 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36782 function to the callback.
36783 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36785 2011-02-02 Andreas Schwab <schwab@redhat.com>
36787 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36790 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36793 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36795 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36797 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36800 * elf/Makefile: Add rules to build and run new test.
36801 * elf/tst-initorder.c: New file.
36802 * elf/tst-initorder.exp: New file.
36803 * elf/tst-initordera1.c: New file.
36804 * elf/tst-initordera2.c: New file.
36805 * elf/tst-initordera3.c: New file.
36806 * elf/tst-initordera4.c: New file.
36807 * elf/tst-initorderb1.c: New file.
36808 * elf/tst-initorderb2.c: New file.
36809 * elf/tst-order-a1.c: New file.
36810 * elf/tst-order-a2.c: New file.
36811 * elf/tst-order-a3.c: New file.
36812 * elf/tst-order-a4.c: New file.
36813 * elf/tst-order-b1.c: New file.
36814 * elf/tst-order-b2.c: New file.
36815 * elf/tst-order-main.c: New file.
36816 New test case by George Gensure <werkt0@gmail.com>.
36818 2010-10-01 Andreas Schwab <schwab@redhat.com>
36820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36821 decoding ACE if AI_CANONIDN.
36823 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36825 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36827 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36829 * version.h (RELEASE): Bump for 2.13 release.
36830 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36832 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36834 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36836 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36837 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36838 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36839 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36840 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36841 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36843 * posix/getconf.c: Update copyright year.
36844 * catgets/gencat.c: Likewise.
36845 * csu/version.c: Likewise.
36846 * debug/catchsegv.sh: Likewise.
36847 * debug/xtrace.sh: Likewise.
36848 * elf/ldconfig.c: Likewise.
36849 * elf/ldd.bash.in: Likewise.
36850 * elf/sprof.c (print_version): Likewise.
36851 * iconv/iconv_prog.c: Likewise.
36852 * iconv/iconvconfig.c: Likewise.
36853 * locale/programs/locale.c: Likewise.
36854 * locale/programs/localedef.c: Likewise.
36855 * malloc/memusage.sh: Likewise.
36856 * malloc/mtrace.pl: Likewise.
36857 * nscd/nscd.c (print_version): Likewise.
36858 * nss/getent.c: Likewise.
36860 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36861 PF_CAIF, and PF_ALG.
36862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36864 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36866 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36867 (modules-names): Use them.
36868 (ifunc-test-modules, ifunc-pie-tests): Define.
36869 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36870 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36871 (test-extras): Likewise.
36872 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36873 $(compile-command.c).
36874 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36875 (all-built-dso): Define.
36876 (check-textrel.out, check-execstack.out): Depend on it.
36878 * configure.in: Don't override --enable-multi-arch.
36880 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36883 * nscd/hstcache.c (tryagain): Define.
36884 (cache_addhst): Return tryagain not notfound for temporary errors.
36885 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36888 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36891 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36892 to make the syscall.
36893 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36896 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36897 and fall back to matching as normal character if the string ends before
36898 the matching ']' is found. This is what POSIX requires.
36899 * posix/testfnm.c: Adjust test result.
36900 * posix/globtest.sh: Adjust test result. Add new test.
36901 * posix/tst-fnmatch.input: Likewise.
36902 * posix/tst-fnmatch2.c: Add new test.
36904 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36906 * elf/Makefile (check-execstack): Revert last change. Depend on
36908 (check-execstack.h): New target.
36909 (generated): Add check-execstack.h.
36910 * elf/check-execstack.c: Include "check-execstack.h".
36911 (main): Revert last change.
36912 (handle_file): Return zero if GNU_STACK is absent and
36913 DEFAULT_STACK_PERMS doesn't include PF_X.
36915 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36917 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36918 in child fails because the descriptor is already closed.
36919 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36920 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36921 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36924 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36928 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36929 temporary buffer used to handle multi lookups locally.
36930 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36932 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36934 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36937 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36939 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36940 alignment for SSE2.
36942 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36945 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36946 characters. When rounding increased number of integer digits recompute
36948 * stdio-common/tst-grouping.c: New file.
36949 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36951 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36953 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36954 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36956 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36958 * bits/select.h: Likewise.
36960 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36962 * po/ja.po: Update from translation team.
36964 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36967 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36968 implementation just like for lxstat, fxstatat, et al.
36970 2010-12-27 Jim Meyering <meyering@redhat.com>
36973 * posix/regexec.c (build_trtable): Return failure indication upon
36974 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36976 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36979 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36980 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36981 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36982 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36985 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36988 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36989 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36991 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36993 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36994 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36995 script has SORT_BY_INIT_PRIORITY.
36996 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36997 NO_CTORS_DTORS_SECTIONS is defined.
36998 * elf/soinit.c: Likewise.
36999 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37000 NO_CTORS_DTORS_SECTIONS is defined.
37001 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37002 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37003 * sysdeps/sh/init-first.c: Likewise.
37004 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37006 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37008 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37009 always use the slow path.
37011 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37013 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37014 similar rule which adds the sysdep directories to the header search in
37015 order to pick up the correct platform stackinfo.h.
37016 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37017 perform test if it is, otherwise return successfully without testing.
37018 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37019 DEFAULT_STACK_PERMS define in stackinfo.h.
37020 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37021 defined in stackinfo.h.
37022 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37023 DEFAULT_STACK_PERMS defined in stackinfo.h.
37024 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37025 * sysdeps/ia64/stackinfo.h: Likewise.
37026 * sysdeps/s390/stackinfo.h: Likewise.
37027 * sysdeps/sh/stackinfo.h: Likewise.
37028 * sysdeps/sparc/stackinfo.h: Likewise.
37029 * sysdeps/x86_64/stackinfo.h: Likewise.
37030 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37031 PF_X for powerpc64. Retain PF_X for powerpc32.
37033 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37035 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37037 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37038 GETDENTS_64BIT_ALIGNED.
37040 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37042 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37044 2010-12-10 Andreas Schwab <schwab@redhat.com>
37046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37049 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37050 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37052 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37053 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37055 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37058 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37061 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37063 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37065 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37067 * po/it.po: Update from translation team.
37069 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37074 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37076 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37078 2010-11-24 Andreas Schwab <schwab@redhat.com>
37080 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37082 (gaih_getanswer_slice): Likewise.
37084 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37088 2010-05-31 Petr Baudis <pasky@suse.cz>
37091 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37092 silently even in the chroot mode.
37094 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37096 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37097 last patch a bit. Pretty printing
37099 2010-05-31 Petr Baudis <pasky@suse.cz>
37102 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37103 initialization of skip_initgroups_dyn.
37105 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37107 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37110 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37112 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37114 2010-11-11 Andreas Schwab <schwab@redhat.com>
37116 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37117 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37118 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37119 ($(objpfx)tst-fnmatch-mem): New rule.
37120 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37121 * posix/tst-fnmatch.c (main): Call mtrace.
37123 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37126 Support Intel processor model 6 and model 0x2c.
37128 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37130 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37133 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37136 * string/test-strncasecmp.c (check_result): New function.
37137 (do_one_test): Use it.
37138 (check1): New function.
37139 (test_main): Use it.
37140 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37141 Support strcasecmp and strncasecmp.
37143 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37146 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37147 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37149 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37151 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37155 * sysdeps/x86_64/multiarch/bzero.S: New file.
37156 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37157 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37158 * sysdeps/x86_64/multiarch/memset.S: New file.
37159 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37161 Set bit_Prefer_SSE_for_memop for Intel processors.
37162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37164 (index_Prefer_SSE_for_memop): Define.
37165 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37167 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37169 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37170 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37172 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37175 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37176 (__x86_64_raw_data_cache_size_half): Likewise.
37177 (__x86_64_raw_shared_cache_size): Likewise.
37178 (__x86_64_raw_shared_cache_size_half): Likewise.
37180 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37181 (__x86_64_raw_data_cache_size_half): Likewise.
37182 (__x86_64_raw_shared_cache_size): Likewise.
37183 (__x86_64_raw_shared_cache_size_half): Likewise.
37184 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37185 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37186 and __x86_64_raw_shared_cache_size_half. Round
37187 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37188 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37189 to multiple of 256 bytes.
37191 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37194 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37195 of inacessible symlinks. Verify result of symlink before returning it.
37196 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37197 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37199 2010-10-28 Erich Ritz <erichritz@gmail.com>
37201 * math/math.h (isinf): Fix typo in comment.
37203 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37205 * po/da.po: Update from translation team.
37207 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37209 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37210 is added to the list.
37212 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37213 Ulrich Drepper <drepper@gmail.com>
37215 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37216 the global list here. Move code to...
37217 (_dl_add_to_namespace_list): ...here. New function.
37218 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37219 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37220 * elf/dl-load.c (lose): Don't remove the element from the list.
37221 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37222 (_dl_map_object): Likewise.
37224 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37227 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37228 into all bytes of SSE register.
37229 Patch by Richard Li <richardpku@gmail.com>.
37231 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37234 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37237 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37239 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37240 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37247 2010-10-22 Andreas Schwab <schwab@redhat.com>
37249 * include/dlfcn.h (__RTLD_SECURE): Define.
37250 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37251 mode & __RTLD_SECURE instead.
37252 (open_path): Rename preloaded parameter to secure.
37253 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37254 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37255 * elf/dl-deps.c (openaux): Likewise.
37256 * elf/rtld.c (struct map_args): Remove is_preloaded.
37257 (map_doit): Don't use it.
37258 (dl_main): Likewise.
37259 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37260 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37262 2010-09-09 Andreas Schwab <schwab@redhat.com>
37264 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37265 (sysd-rules-targets): Remove duplicates.
37266 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37267 rtld-%.$o dependency.
37269 2010-10-18 Andreas Schwab <schwab@redhat.com>
37271 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37272 _dl_map_object do it.
37274 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37276 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37277 fast fma builtins, define the macros in the C99 standard.
37278 (FP_FAST_FMAF): Likewise.
37279 (FP_FAST_FMAL): Likewise.
37280 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37282 * bits/mathdef.h: Update copyright year.
37283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37285 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37287 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37288 builtins, define the macros in the C99 standard.
37289 (FP_FAST_FMAF): Likewise.
37290 (FP_FAST_FMAL): Likewise.
37291 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37293 (FP_FAST_FMAF): Likewise.
37295 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37298 * math/libm-test.inc (fma_test): Some new testcases.
37299 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37300 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37301 y and infinite z. Do multiplication by C already in long double.
37302 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37304 y and infinite z. Do bitwise or of inexact bit into u.d.
37305 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37306 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37307 * sysdeps/i386/fpu/s_fma.S: Removed.
37308 * sysdeps/i386/fpu/s_fmal.S: Removed.
37310 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37313 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37315 computation is not scheduled after fetestexcept. Fix value
37316 of minimum denormal long double.
37318 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37321 * math/libm-test.inc (fma_test): Add some more tests.
37322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37325 2010-10-15 Andreas Schwab <schwab@redhat.com>
37327 * scripts/data/localplt-s390-linux-gnu.data: New file.
37328 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37330 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37333 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37334 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37336 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37338 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37340 if one of x and y is very large and the other is subnormal.
37341 * sysdeps/s390/fpu/s_fmaf.c: New file.
37342 * sysdeps/s390/fpu/s_fma.c: New file.
37343 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37344 * sysdeps/powerpc/fpu/s_fma.S: New file.
37345 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37346 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37347 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37349 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37352 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37354 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37355 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37356 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37357 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37358 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37359 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37360 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37362 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37365 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37366 * posix/bug-regex31.input: Add test case.
37368 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37370 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37371 * posix/bug-regex31.input: New file.
37374 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37375 (parse_sub_exp): Fix last change, use postorder.
37377 * posix/bug-regex31.c: New file.
37378 * posix/Makefile: Add rules to build and run bug-regex31.
37380 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37383 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37386 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37387 to have entries in sys_siglist.
37390 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37393 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37396 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37397 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37398 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37399 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37400 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37401 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37402 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37403 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37404 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37405 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37406 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37407 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37408 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37409 * math/ftestexcept.c (fetestexcept): Likewise.
37410 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37411 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37412 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37413 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37414 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37415 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37416 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37418 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37421 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37424 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37426 * string/bug-strstr1.c: New file.
37427 * string/Makefile: Add rules to build and run bug-strstr1.
37429 2010-10-05 Eric Blake <eblake@redhat.com>
37432 * string/str-two-way.h (two_way_long_needle): Always clear memory
37433 when skipping input due to the shift table.
37435 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37438 * malloc/mcheck.c: Handle large requests.
37441 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37442 for strncmp and strncasecmp.
37443 * string/stratcliff.c: Add tests for strcmp and strncmp.
37444 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37446 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37448 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37451 2010-09-30 Andreas Jaeger <aj@suse.de>
37453 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37454 (CGROUP_SUPER_MAGIC): Define.
37455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37456 Handle btrfs and cgroup file systems.
37457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37460 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37462 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37463 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37465 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37468 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37469 trying to locate the ELF header.
37471 2010-09-27 Andreas Schwab <schwab@redhat.com>
37474 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37475 Mask out sign-bit copies when constructing f_fsid.
37477 2010-09-24 Petr Baudis <pasky@suse.cz>
37479 * debug/stack_chk_fail_local.c: Add missing licence exception.
37480 * debug/warning-nop.c: Likewise.
37482 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37484 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37485 implementing getdents64 using getdents syscall, set d_type if
37486 __ASSUME_GETDENTS32_D_TYPE.
37488 2010-09-16 Andreas Schwab <schwab@redhat.com>
37490 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37491 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37493 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37496 * posix/unistd.h: Undo change of feature selection for ftruncate from
37499 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37501 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37504 2010-09-20 Andreas Schwab <schwab@redhat.com>
37506 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37508 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37510 2010-09-14 Andreas Schwab <schwab@redhat.com>
37512 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37513 variables after CHECK_SP call.
37514 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37516 2010-09-13 Andreas Schwab <schwab@redhat.com>
37517 Ulrich Drepper <drepper@redhat.com>
37519 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37520 re-relocationg ld.so.
37521 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37522 _dl_init_paths call.
37523 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37526 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37528 * resolv/res_init.c (__res_vinit): Count the default server we added.
37530 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37531 Ulrich Drepper <drepper@redhat.com>
37534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37535 (____longjmp_chk): Use %ebx for saving value across system call.
37538 2010-09-06 Andreas Schwab <schwab@redhat.com>
37540 * manual/Makefile: Don't mix pattern rules with normal rules.
37542 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37544 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37546 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37547 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37548 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37549 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37553 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37556 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37557 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37559 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37561 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37562 * sysdeps/x86_64/addmul_1.S: Likewise.
37563 * sysdeps/x86_64/lshift.S: Likewise.
37564 * sysdeps/x86_64/mul_1.S: Likewise.
37565 * sysdeps/x86_64/rshift.S: Likewise.
37566 * sysdeps/x86_64/sub_n.S: Likewise.
37567 * sysdeps/x86_64/submul_1.S: Likewise.
37569 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37571 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37572 Define __sched_param instead of SCHED_* and sched_param when
37573 <bits/sched.h> is included with __need_schedparam defined.
37574 * bits/sched.h [__need_schedparam]
37575 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37576 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37577 (__defined_schedparam): Define to 1.
37578 (__sched_param): New structure, identical to sched_param.
37579 (__need_schedparam): Undefine.
37581 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37584 (epoll_create1): Declare.
37586 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37588 2010-08-31 Andreas Schwab <schwab@redhat.com>
37591 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37592 shifting retval into place.
37594 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37596 * nis/rpcsvc/nis.h: Update copyright notice.
37597 * nis/rpcsvc/nis.x: Likewise.
37598 * nis/rpcsvc/nis_callback.h: Likewise.
37599 * nis/rpcsvc/nis_callback.x: Likewise.
37600 * nis/rpcsvc/nis_object.x: Likewise.
37601 * nis/rpcsvc/nis_tags.h: Likewise.
37602 * nis/rpcsvc/yp.h: Likewise.
37603 * nis/rpcsvc/yp.x: Likewise.
37604 * nis/rpcsvc/ypupd.h: Likewise.
37605 * nis/yp_xdr.c: Likewise.
37606 * nis/ypupdate_xdr.c: Likewise.
37608 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37609 mainly the body of pmap_getport. Add parameters to specify timeouts.
37610 (pmap_getport): Use __libc_rpc_getport.
37611 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37612 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37613 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37615 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37620 2010-08-27 Roland McGrath <roland@redhat.com>
37622 * sysdeps/i386/i686/multiarch/Makefile
37623 (CFLAGS-varshift.c): New variable.
37625 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37627 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37628 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37632 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37634 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37636 * sysdeps/x86_64/strlen.S: Unroll the loop.
37637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37638 strlen-sse2 strlen-sse2-bsf.
37639 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37640 __strlen_no_bsf if bit_Slow_BSF is set.
37641 (__strlen_sse42): Removed.
37642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37643 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37645 2010-08-25 Roland McGrath <roland@redhat.com>
37647 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37648 * sysdeps/x86_64/multiarch/varshift.c: New file.
37649 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37650 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37651 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37652 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37654 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37657 strlen-sse2 strlen-sse2-bsf.
37658 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37659 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37660 (__strlen_sse2): Removed.
37661 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37664 bit_Slow_BSF for Atom.
37665 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37666 (index_Slow_BSF): Define.
37667 (HAS_SLOW_BSF): Define.
37669 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37672 * resolv/res_init.c (__res_vinit): When no server address at all
37673 is given default to loopback.
37675 2010-08-24 Roland McGrath <roland@redhat.com>
37677 * configure.in: Remove config-name.h generation.
37678 * configure: Regenerated.
37679 * config-name.in: File removed.
37680 * scripts/config-uname.sh: New file.
37681 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37682 ($(objdir)config-name.h): New target.
37684 * sunrpc/rpc_parse.h: Avoid nested comment.
37686 2010-08-24 Richard Henderson <rth@redhat.com>
37687 Ulrich Drepper <drepper@redhat.com>
37688 H.J. Lu <hongjiu.lu@intel.com>
37690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37692 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37693 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37694 _mm_alignr_epi8 with _mm_loadu_si128.
37695 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37696 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37697 (__m128i_shift_right): Removed.
37698 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37699 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37700 * sysdeps/x86_64/multiarch/varshift.h: New file.
37701 * sysdeps/x86_64/multiarch/varshift.S: New file.
37703 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37705 * configure.in: Move assembler checks to before sysdep dir checking.
37707 2010-08-20 Petr Baudis <pasky@suse.cz>
37709 * LICENSES: Sync the sunrpc license.
37711 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37713 * sunrpc/auth_des.c: Update copyright notice once again.
37714 * sunrpc/auth_none.c: Likewise.
37715 * sunrpc/auth_unix.c: Likewise.
37716 * sunrpc/authdes_prot.c: Likewise.
37717 * sunrpc/authuxprot.c: Likewise.
37718 * sunrpc/bindrsvprt.c: Likewise.
37719 * sunrpc/clnt_gen.c: Likewise.
37720 * sunrpc/clnt_perr.c: Likewise.
37721 * sunrpc/clnt_raw.c: Likewise.
37722 * sunrpc/clnt_simp.c: Likewise.
37723 * sunrpc/clnt_tcp.c: Likewise.
37724 * sunrpc/clnt_udp.c: Likewise.
37725 * sunrpc/clnt_unix.c: Likewise.
37726 * sunrpc/des_crypt.c: Likewise.
37727 * sunrpc/des_soft.c: Likewise.
37728 * sunrpc/get_myaddr.c: Likewise.
37729 * sunrpc/getrpcport.c: Likewise.
37730 * sunrpc/key_call.c: Likewise.
37731 * sunrpc/key_prot.c: Likewise.
37732 * sunrpc/openchild.c: Likewise.
37733 * sunrpc/pm_getmaps.c: Likewise.
37734 * sunrpc/pm_getport.c: Likewise.
37735 * sunrpc/pmap_clnt.c: Likewise.
37736 * sunrpc/pmap_prot.c: Likewise.
37737 * sunrpc/pmap_prot2.c: Likewise.
37738 * sunrpc/pmap_rmt.c: Likewise.
37739 * sunrpc/rpc/auth.h: Likewise.
37740 * sunrpc/rpc/auth_unix.h: Likewise.
37741 * sunrpc/rpc/clnt.h: Likewise.
37742 * sunrpc/rpc/des_crypt.h: Likewise.
37743 * sunrpc/rpc/key_prot.h: Likewise.
37744 * sunrpc/rpc/netdb.h: Likewise.
37745 * sunrpc/rpc/pmap_clnt.h: Likewise.
37746 * sunrpc/rpc/pmap_prot.h: Likewise.
37747 * sunrpc/rpc/pmap_rmt.h: Likewise.
37748 * sunrpc/rpc/rpc.h: Likewise.
37749 * sunrpc/rpc/rpc_des.h: Likewise.
37750 * sunrpc/rpc/rpc_msg.h: Likewise.
37751 * sunrpc/rpc/svc.h: Likewise.
37752 * sunrpc/rpc/svc_auth.h: Likewise.
37753 * sunrpc/rpc/types.h: Likewise.
37754 * sunrpc/rpc/xdr.h: Likewise.
37755 * sunrpc/rpc_clntout.c: Likewise.
37756 * sunrpc/rpc_cmsg.c: Likewise.
37757 * sunrpc/rpc_common.c: Likewise.
37758 * sunrpc/rpc_cout.c: Likewise.
37759 * sunrpc/rpc_dtable.c: Likewise.
37760 * sunrpc/rpc_hout.c: Likewise.
37761 * sunrpc/rpc_main.c: Likewise.
37762 * sunrpc/rpc_parse.c: Likewise.
37763 * sunrpc/rpc_parse.h: Likewise.
37764 * sunrpc/rpc_prot.c: Likewise.
37765 * sunrpc/rpc_sample.c: Likewise.
37766 * sunrpc/rpc_scan.c: Likewise.
37767 * sunrpc/rpc_scan.h: Likewise.
37768 * sunrpc/rpc_svcout.c: Likewise.
37769 * sunrpc/rpc_tblout.c: Likewise.
37770 * sunrpc/rpc_util.c: Likewise.
37771 * sunrpc/rpc_util.h: Likewise.
37772 * sunrpc/rpcinfo.c: Likewise.
37773 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37774 * sunrpc/rpcsvc/key_prot.x: Likewise.
37775 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37776 * sunrpc/rpcsvc/mount.x: Likewise.
37777 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37778 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37779 * sunrpc/rpcsvc/rex.x: Likewise.
37780 * sunrpc/rpcsvc/rstat.x: Likewise.
37781 * sunrpc/rpcsvc/rusers.x: Likewise.
37782 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37783 * sunrpc/rpcsvc/spray.x: Likewise.
37784 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37785 * sunrpc/rtime.c: Likewise.
37786 * sunrpc/svc.c: Likewise.
37787 * sunrpc/svc_auth.c: Likewise.
37788 * sunrpc/svc_authux.c: Likewise.
37789 * sunrpc/svc_raw.c: Likewise.
37790 * sunrpc/svc_run.c: Likewise.
37791 * sunrpc/svc_simple.c: Likewise.
37792 * sunrpc/svc_tcp.c: Likewise.
37793 * sunrpc/svc_udp.c: Likewise.
37794 * sunrpc/svc_unix.c: Likewise.
37795 * sunrpc/svcauth_des.c: Likewise.
37796 * sunrpc/xcrypt.c: Likewise.
37797 * sunrpc/xdr.c: Likewise.
37798 * sunrpc/xdr_array.c: Likewise.
37799 * sunrpc/xdr_float.c: Likewise.
37800 * sunrpc/xdr_mem.c: Likewise.
37801 * sunrpc/xdr_rec.c: Likewise.
37802 * sunrpc/xdr_ref.c: Likewise.
37803 * sunrpc/xdr_sizeof.c: Likewise.
37804 * sunrpc/xdr_stdio.c: Likewise.
37806 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37809 2010-08-19 Andreas Schwab <schwab@redhat.com>
37811 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37813 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37815 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37816 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37817 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37818 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37820 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37821 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37822 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37823 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37824 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37825 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37826 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37827 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37828 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37830 2010-07-26 Anton Blanchard <anton@samba.org>
37832 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37833 * malloc/arena.c (heap_trim): Likewise.
37835 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37837 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37840 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37842 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37844 * sysdeps/i386/elf/Makefile: New file.
37846 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37848 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37849 from fanotify_init.
37850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37853 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37855 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37857 * sysdeps/multiarch/strcmp.S: Likewise.
37859 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37861 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37862 strncase_l-nonascii.
37863 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37864 Add strncase_l-ssse3.
37865 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37866 * sysdeps/x86_64/strcmp.S: Likewise.
37867 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37868 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37869 * sysdeps/x86_64/strncase.S: New file.
37870 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37871 * sysdeps/x86_64/strncase_l.S: New file.
37872 * string/Makefile (strop-tests): Add strncasecmp.
37873 * string/test-strncasecmp.c: New file.
37875 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37878 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37879 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37881 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37883 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37885 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37887 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37888 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37889 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37891 2010-05-01 Alan Modra <amodra@gmail.com>
37893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37894 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37895 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37896 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37897 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37898 tidying. Don't tail-call __sigjmp_save for static lib.
37899 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37901 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37902 (CALL_MCOUNT): Add eh info, and nop after bl.
37903 (TAIL_CALL_SYSCALL_ERROR): New macro.
37904 (PSEUDO_RET): Use it.
37905 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37906 Correct save location of integer regs and cr.
37907 (_dl_profile_resolve): Correct cr save location. Delete nops
37908 after bl when SHARED. Reduce cfi size a little by better
37909 placement of cfi directives.
37910 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37911 make a stack frame. Instead use parm save area as a temp.
37912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37913 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37915 Don't make a stack frame for parent, use parm save area.
37916 Increase child stack frame to 112 bytes. Don't save unused reg,
37917 and adjust reg usage. Set up cfi on error recovery and
37918 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37920 (__makecontext): Add dummy nop after jump to exit.
37921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37922 Use correct parm save area and cr save, reduce stack frame.
37923 Correct cfi for possible PSEUDO_RET frame setup.
37924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37925 Branch to local label emitted by PSEUDO_RET rather than
37928 2010-08-12 Andreas Schwab <schwab@redhat.com>
37931 * locale/programs/locale.c (print_assignment): New function.
37932 (show_locale_vars): Use it.
37934 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37936 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37938 (struct statfs64): Likewise.
37939 (_STATFS_F_FLAGS): Define.
37940 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37942 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37943 (ST_VALID): Define locally.
37944 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37945 __statvfs_getflags, use the provided value.
37946 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37947 __ASSUME_STATFS_F_FLAGS.
37949 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37951 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37952 Add sys/fanotify.h.
37953 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37954 fanotify_mask for GLIBC_2.13.
37955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37956 fanotify_init and fanotify_mark.
37957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37958 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37960 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37962 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37963 prlimit64 for GLIBC_2.13.
37964 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37969 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37970 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37971 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37974 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37977 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37978 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37980 * nss/Makefile: Add rules to build and run tst-nss-test1.
37981 * shlib-versions: Add entry for libnss_test1.
37982 * nss/nss_test1.c: New file.
37983 * nss/tst-nss-test1.c: New file.
37985 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37986 (__nss_configure_lookup): Set appropriate entry in
37987 __nss_configure_lookup to true.
37988 * nss/nsswitch.h: Define enum with indeces of databases in
37989 databases and __nss_database_custom arrays. Declare
37990 __nss_database_custom.
37991 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37992 to avoid using nscd when custom rules are installed.
37993 * nss/getXXbyYY_r.c: Likewise.
37994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37996 * nss/nss_files/files-parse.c: Whitespace fixes.
37998 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38001 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38002 * posix/fnmatch_loop.c: Likewise.
38004 2010-07-17 Andi Kleen <ak@linux.intel.com>
38006 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38007 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38008 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38009 * Versions.def [GLIBC_2.13]: Add.
38011 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38014 Also fail if tpwd after pwuid call is NULL.
38016 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38018 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38019 when converting to ms.
38021 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38023 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38024 EOPNOTSUPP errors with ENOTTY.
38025 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38026 EOPNOTSUPP errors with ENOTTY.
38028 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38030 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38031 Add strcasecmp_l-ssse3.
38032 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38034 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38035 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38036 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38038 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38040 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38042 * string/Makefile (strop-tests): Add strcasecmp.
38043 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38044 strcasecmp_l-nonascii.
38045 (gen-as-const-headers): Add locale-defines.sym.
38046 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38047 * sysdeps/x86_64/strcasecmp.S: New file.
38048 * sysdeps/x86_64/strcasecmp_l.S: New file.
38049 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38050 * sysdeps/x86_64/locale-defines.sym: New file.
38051 * string/test-strcasecmp.c: New file.
38053 * string/test-strcasestr.c: Test both ends of the range of characters.
38054 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38056 2010-07-29 Roland McGrath <roland@redhat.com>
38059 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38061 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38063 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38066 2010-07-27 Andreas Schwab <schwab@redhat.com>
38068 * manual/memory.texi (Malloc Tunable Parameters): Document
38071 2010-07-26 Roland McGrath <roland@redhat.com>
38074 * configure.in (-fgnu89-inline check): Set and substitute
38075 gnu89_inline, not libc_cv_gnu89_inline.
38076 * configure: Regenerated.
38077 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38079 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38081 * string/test-strnlen.c: New file.
38082 * string/Makefile (strop-tests): Add strnlen.
38083 * string/tester.c (test_strnlen): Add a few more test cases.
38084 * string/tst-strlen.c: Better error reporting.
38086 * sysdeps/x86_64/strnlen.S: New file.
38088 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38090 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38091 lower-latency instructions.
38093 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38095 * string/test-strcasestr.c: New file.
38096 * string/test-strstr.c: New file.
38097 * string/Makefile (strop-tests): Add strstr and strcasestr.
38098 * string/str-two-way.h: Don't undefine MAX.
38099 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38101 2010-07-21 Andreas Schwab <schwab@redhat.com>
38103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38104 strcasestr-nonascii.
38105 (CFLAGS-strcasestr-nonascii.c): Define.
38106 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38108 Remove unused attribute.
38110 2010-07-20 Roland McGrath <roland@redhat.com>
38112 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38113 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38114 ld.so.cache was broken. With it, there is no way to disable dsocaps
38115 like LD_HWCAP_MASK can disable hwcaps.
38117 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38119 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38121 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38123 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38124 call in strcasestr.
38125 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38126 __strcasestr_sse42_nonascii.
38127 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38128 strcasestr-nonascii.c.
38129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38131 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38133 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38134 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38135 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38138 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38140 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38143 2010-07-06 Andreas Schwab <schwab@redhat.com>
38146 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38149 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38151 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38152 _PC_PIPE_BUF using F_GETPIPE_SZ.
38154 2010-07-05 Roland McGrath <roland@redhat.com>
38156 * manual/arith.texi (Rounding Functions): Fix rint description
38157 implicit in round description.
38159 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38161 * elf/Makefile: Fix linking for a few tests to make recent linker
38164 2010-06-30 Andreas Schwab <schwab@redhat.com>
38166 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38167 $(common-objpfx)libc_nonshared.a.
38169 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38171 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38172 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38173 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38174 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38175 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38176 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38177 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38178 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38193 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38194 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38195 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38196 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38197 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38198 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38199 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38200 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38201 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38202 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38203 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38204 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38220 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38222 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38223 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38224 * string/memmove.c (memmove): Renamed to ...
38225 (MEMMOVE): ...this. Default to memmove.
38226 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38227 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38230 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38231 mempcpy-ssse3-back memmove-ssse3-back.
38232 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38234 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38235 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38236 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38237 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38238 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38239 * sysdeps/x86_64/multiarch/memmove.c: New file.
38240 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38241 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38242 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38243 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38244 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38245 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38247 (index_Fast_Copy_Backward): Define.
38248 (HAS_ARCH_FEATURE): Define.
38249 (HAS_FAST_REP_STRING): Define.
38250 (HAS_FAST_COPY_BACKWARD): Define.
38252 2010-06-21 Andreas Schwab <schwab@redhat.com>
38254 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38255 Restore proper fallback handling.
38257 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38260 * posix/group_member.c (__group_member): Correct checking loop.
38262 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38263 OOM in getpwuid_r correctly. Return error number when the caller
38264 should return, otherwise -1.
38265 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38266 call returning > 0 value.
38267 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38269 2010-06-07 Andreas Schwab <schwab@redhat.com>
38271 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38272 libc_nonshared.a from targets in modules-names.
38274 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38276 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38279 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38282 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38283 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38284 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38286 2010-06-02 Andreas Schwab <schwab@redhat.com>
38288 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38290 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38292 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38298 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38301 2010-06-14 Roland McGrath <roland@redhat.com>
38303 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38305 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38307 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38308 __REDIRECT followed by __THROW.
38309 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38310 * posix/getopt.h (getopt): Likewise.
38312 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38314 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38315 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38316 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38318 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38319 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38321 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38325 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38329 Properly check family and model.
38331 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38333 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38335 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38337 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38339 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38341 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38344 2010-05-19 Andreas Schwab <schwab@redhat.com>
38346 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38349 2010-05-21 Andreas Schwab <schwab@redhat.com>
38351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38352 and internal_recvmmsg.
38353 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38354 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38355 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38356 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38358 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38359 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38360 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38362 2010-05-20 Andreas Schwab <schwab@redhat.com>
38364 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38366 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38368 POWER7 optimizations.
38369 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38370 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38372 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38374 * version.h: Update for 2.13 development version.
38376 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38378 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38379 exceptions. Return 0.
38381 2010-05-07 Roland McGrath <roland@redhat.com>
38383 * elf/ldconfig.c (main): Add a const.
38385 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38387 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38388 (args_options): Add no-idn option.
38389 (ahosts_keys_int): Add idn_flags to ai_flags.
38390 (parse_option): Handle 'i' option to clear idn_flags.
38392 * malloc/malloc.c (_int_free): Possible race in the most recently
38393 added check. Only act on the data if no current modification
38396 See ChangeLog.17 for earlier changes.