1 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9 implementation for powerpc.
11 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14 * sysdeps/posix/system.c (__libc_system): Do not enable
15 asynchronous cancellation.
17 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21 handling only for numbers special also in the IEEE case.
23 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27 2014-01-11 Allan McRae <allan@archlinux.org>
29 * po/bg.po: Update Bulgarian translation from translation project.
31 * po/de.po: Update German translation from translation project.
33 2014-01-10 Roland McGrath <roland@hack.frob.com>
35 * sysdeps/generic/gcc-compat.h: New file.
37 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * benchtests/asin-inputs: Correct slow inputs.
40 * benchtests/acos-inputs: Likewise.
42 2014-01-10 Allan McRae <allan@archlinux.org>
44 * po:sv.po: Update Swedish translation from translation project.
46 * po/vi.po: Update Vietnamese translation from translation project.
48 * po/eo.po: Update Esperanto translation from translation project.
50 * po/cs.po: Update Czech translation from translation project.
52 * po/nl.po: Update Dutch translation from translation project.
54 * po/pl.po: Update Polish translation from translation project.
56 * po/ru.po: Update Russian translation from translation project.
58 * po/uk.po: Update Ukrainian translation from translation project.
60 2014-01-08 Brooks Moses <bmoses@google.com>
62 * elf/dl-load.c: Fix comment typo.
64 2014-01-08 Carlos O'Donell <carlos@redhat.com>
66 * po/header.pot: Rename to...
67 * po/pot.header: ... this.
68 * po/Makefile: Use pot.header.
70 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
71 Maxim Kuvyrkov <maxim@kugelworks.com>
74 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
75 SRC and DEST against LEN.
77 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
82 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
84 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
88 2014-01-08 Joseph Myers <joseph@codesourcery.com>
91 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
92 for large positive arguments.
94 2014-01-07 Joseph Myers <joseph@codesourcery.com>
96 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
98 * math/auto-libm-test-in: Mark various tests with
99 xfail-rounding:ldbl-128ibm.
100 * math/auto-libm-test-out: Regenerated.
103 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
104 Increase overflow threshold.
106 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
109 * stdio-common/vfprintf.c: Check for integer overflow.
111 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
113 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
114 the first argument and return value of __tls_get_addr_internal.
116 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
118 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
119 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
121 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
123 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
124 * sysdeps/s390/rtld-global-offsets.sym: New file.
125 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
127 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
128 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
131 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
132 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
138 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
139 halfs of GPRs for high_gprs contexts.
140 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
141 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
143 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
145 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
147 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
148 for high GPRs (uc_high_gprs) and for future extensions
150 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
151 for future extensions (__reserved).
152 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
154 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
155 SC_HIGHGPRS offset definition.
156 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
157 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
159 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
161 * Versions.def: Add GLIBC_2.19 for libpthread.
162 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
163 siglongjmp for libpthread with GLIBC_2.19 symver.
164 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
165 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
166 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
167 * sysdeps/s390/__longjmp.c: New file.
168 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
169 * sysdeps/s390/longjmp.c: New file.
170 * sysdeps/s390/setjmp.S: New file.
171 * sysdeps/s390/sigjmp.S: New file.
172 * sysdeps/s390/v1-longjmp.c: New file.
173 * sysdeps/s390/v1-setjmp.h: New file.
174 * sysdeps/s390/v1-sigjmp.c: New file.
175 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
176 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
178 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
179 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
180 versioned symbols for ____longjmp_chk.
181 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
191 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
192 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
193 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
194 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
195 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
196 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
197 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
198 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
199 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
200 * sysdeps/s390/rtld-__longjmp.c: New file.
201 * sysdeps/s390/rtld-setjmp.S: New file.
203 2014-01-06 Joseph Myers <joseph@codesourcery.com>
206 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
207 Return -__logl (x) for small positive arguments without evaluating
210 2014-01-06 Mike Frysinger <vapier@gentoo.org>
212 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
214 (__ptrace_peeksiginfo_args): ... this.
215 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
216 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
219 2014-01-06 Allan McRae <allan@archlinux.org>
221 * inet/netinet/in.h: Fix typo in comment.
223 2014-01-05 Andreas Jaeger <aj@suse.de>
225 * sysdeps/i386/fpu/libm-test-ulps: Update.
227 2014-01-05 Allan McRae <allan@archlinux.org>
229 * po/libc.pot: Regenerated.
231 * malloc/memusagestat.c: Fix gettext call formatting.
233 2014-01-04 Sami Kerola <kerolasa@iki.fi>
235 * nscd/nscd.c: Improve usage() output.
237 2014-01-04 Mike Frysinger <vapier@gentoo.org>
239 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
240 * sysdeps/unix/sysv/linux/configure: Regenerated.
241 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
242 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
244 2014-01-03 Joseph Myers <joseph@codesourcery.com>
247 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
248 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
250 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
253 extra tokens at end of #undef directive.
254 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
255 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
256 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
258 2014-01-03 Andrew Hunter <ahh@google.com>
260 * elf/dl-open.c (dl_open_worker): New comment.
261 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
262 atomic_compare_and_exchange_bool_acq
263 (_dl_allocate_static_tls): Block signals.
264 * elf/dl-tls.c (allocate_and_init): Return void.
265 (_dl_update_slotinfo): Block signals, use atomic update.
267 2014-01-03 Joseph Myers <joseph@codesourcery.com>
269 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
271 * math/auto-libm-test-in: Mark various tests with
272 xfail-rounding:ldbl-128ibm.
273 * math/auto-libm-test-out: Regenerated.
275 2014-01-02 Joseph Myers <joseph@codesourcery.com>
278 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
279 numbers with subnormal high part when calculating exponent.
282 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
286 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
288 (__ieee754_acoshl): Use __log1pl not __log1p.
290 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
292 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
293 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
294 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
295 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
296 Convert to GNU style.
297 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
298 mem2mem_check, mem2chunk_check, top_check, realloc_check,
299 memalign_check, __malloc_set_state): Likewise.
300 * malloc/mallocbug.c (main): Likewise.
301 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
302 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
303 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
304 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
305 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
306 * malloc/malloc.h: Likewise.
307 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
308 memalignhook, reallochook, mabort): Likewise.
309 * malloc/mcheck.h: Likewise.
310 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
311 mmap64, mremap, munmap, dest): Likewise.
312 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
313 * malloc/morecore.c (__default_morecore): Likewise.
314 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
315 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
316 _obstack_allocated_p, obstack_free, _obstack_memory_used,
317 print_and_abort): Likewise.
318 * malloc/obstack.h: Likewise.
319 * malloc/set-freeres.c (__libc_freeres): Likewise.
320 * malloc/tst-mallocstate.c (main): Likewise.
321 * malloc/tst-mtrace.c (main): Likewise.
322 * malloc/tst-realloc.c (do_test): Likewise.
324 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
327 * nscd/netgroupcache.c (do_notfound): New function.
328 (addgetnetgrentX): Use it.
331 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
334 2014-01-01 Joseph Myers <joseph@codesourcery.com>
336 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
339 2014-01-01 Allan McRae <allan@archlinux.org>
341 * scripts/update-copyrights: Update configure input file suffix.
343 * NEWS: Update copyright year.
344 * catgets/gencat.c: Likewise.
345 * csu/version.c: Likewise.
346 * debug/catchsegv.sh: Likewise.
347 * debug/pcprofiledump.c: Likewise.
348 * debug/xtrace.sh: Likewise.
349 * elf/ldconfig.c: Likewise.
350 * elf/ldd.bash.in: Likewise.
351 * elf/pldd.c: Likewise.
352 * elf/sotruss.ksh: Likewise.
353 * elf/sprof.c: Likewise.
354 * iconv/iconv_prog.c: Likewise.
355 * iconv/iconvconfig.c: Likewise.
356 * locale/programs/locale.c: Likewise.
357 * locale/programs/localedef.c: Likewise.
358 * login/programs/pt_chown.c: Likewise.
359 * malloc/memusage.sh: Likewise.
360 * malloc/memusagestat.c: Likewise.
361 * malloc/mtrace.pl: Likewise.
362 * manual/libc.texinfo: Likewise.
363 * nscd/nscd.c: Likewise.
364 * nss/getent.c: Likewise.
365 * nss/makedb.c: Likewise.
366 * posix/getconf.c: Likewise.
367 * scripts/test-installation.pl: Likewise.
369 * All files with FSF copyright notices: Update copyright dates
370 using scripts/update-copyrights.
371 * intl/plural.c: Regenerated.
372 * locale/programs/charmap-kw.h: Likewise.
373 * locale/programs/locfile-kw.h: Likewise.
375 2013-12-31 Mike Frysinger <vapier@gentoo.org>
377 * sysdeps/unix/sysv/linux/configure: Regenerated.
378 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
379 the linux/fanotify.h header.
380 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
381 HAVE_LINUX_FANOTIFY_H is defined.
383 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
385 * benchtests/cos-inputs: New inputs.
386 * benchtests/sin-inputs: Likewise.
388 * benchtests/atan-inputs: New inputs. Fix name of multiple
389 precision fallback inputs.
391 * benchtests/atanh-inputs: New inputs.
392 * benchtests/tanh-inputs: Likewise.
394 * benchtests/acosh-inputs: New inputs.
395 * benchtests/asinh-inputs: Likewise.
397 * benchtests/cosh-inputs: New inputs.
398 * benchtests/sinh-inputs: Likewise.
400 * benchtests/acos-inputs: Add more inputs.
401 * benchtests/asin-inputs: Likewise.
403 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
406 * manual/arith.texi: Fix spelling.
407 * manual/charset.texi: Likewise.
408 * manual/errno.texi: Likewise.
409 * manual/filesys.texi: Likewise.
410 * manual/lang.texi: Likewise.
411 * manual/llio.texi: Likewise.
412 * manual/locale.texi: Likewise.
413 * manual/message.texi: Likewise.
414 * manual/resource.texi: Likewise.
415 * manual/search.texi: Likewise.
416 * manual/setjmp.texi: Likewise.
417 * manual/stdio.texi: Likewise.
418 * manual/string.texi: Likewise.
419 * manual/sysinfo.texi: Likewise.
420 * manual/time.texi: Likewise.
422 2013-12-27 Carlos O'Donell <carlos@redhat.com>
424 * po/sl.po: New file.
426 2013-12-27 Mike Frysinger <vapier@gentoo.org>
428 * .gitignore: Add core/.gdbinit/.gdb_history.
430 2013-12-27 Allan McRae <allan@archlinux.org>
433 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
434 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
436 2013-12-24 Brooks Moses <bmoses@google.com>
438 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
439 all compilers that claim C++98 compliance, not just GCC.
440 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
443 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
445 * NEWS: Restore accidentally deleted bug-fix entries.
447 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
448 Ondřej Bílka <neleai@seznam.cz>
451 * malloc/malloc.c (_int_free): Perform sanity check only if we
454 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
457 * manual/stdio.texi (String Input Conversions): Clarify that character
458 classes are not supported.
460 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
464 2013-12-22 Joseph Myers <joseph@codesourcery.com>
467 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
468 Calculate results for small negative arguments directly rather
469 than using reflection formula with special underflow handling.
471 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
472 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
473 sysdeps/unix/bsd/bsd4.4/syscalls.list.
474 (fchflags): Likewise.
476 (setlogin): Likewise.
477 (sigaltstack): Likewise.
480 (sigsetmask): Likewise.
483 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
484 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
486 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
487 * sysdeps/unix/bsd/Makefile: ... here.
488 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
489 * sysdeps/unix/bsd/Versions: ... here.
490 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
491 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
492 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
493 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
494 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
495 * sysdeps/unix/bsd/sigblock.c: ... here.
496 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
497 * sysdeps/unix/bsd/sigsetmask.c: ... here.
498 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
499 * sysdeps/unix/bsd/sigvec.c: ... here.
500 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
501 * sysdeps/unix/bsd/tcdrain.c: ... here.
502 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
503 * sysdeps/unix/bsd/tcgetattr.c: ... here.
504 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
505 * sysdeps/unix/bsd/tcsetattr.c: ... here.
506 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
507 * sysdeps/unix/bsd/wait.c: ... here.
508 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
509 * sysdeps/unix/bsd/wait3.c: ... here.
510 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
511 * sysdeps/unix/bsd/waitpid.c: ... here.
513 2013-12-21 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
517 round-to-nearest for [!USE_AS_EXPM1L].
518 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
519 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
520 more tests of exp and exp10. Expect some exp10 tests to miss
521 exceptions or fail in directed rounding modes.
522 * math/auto-libm-test-out: Regenerated.
523 * math/libm-test.inc (exp10_tonearest_test_data): New array.
524 (exp10_test_tonearest): New function.
525 (exp10_towardzero_test_data): New array.
526 (exp10_test_towardzero): New function.
527 (exp10_downward_test_data): New array.
528 (exp10_test_downward): New function.
529 (exp10_upward_test_data): New array.
530 (exp10_test_upward): New function.
531 (main): Call the new functions.
532 * sysdeps/i386/fpu/libm-test-ulps: Update.
533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
535 2013-12-20 Joseph Myers <joseph@codesourcery.com>
537 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
538 asinh, atan, atan2, atanh, cbrt, cos and cosh.
539 * math/auto-libm-test-out: Regenerated.
540 * math/libm-test.inc (acosh_test_data): Add more tests.
541 (atanh_test_data): Likewise.
542 (ceil_test_data): Likewise.
543 (copysign_test_data): Likewise.
544 * sysdeps/i386/fpu/libm-test-ulps: Update.
545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
547 * timezone/checktab.awk: Update from tzcode 2013i.
548 * timezone/private.h: Likewise.
549 * timezone/scheck.c: Likewise.
550 * timezone/tzfile.h: Likewise.
551 * timezone/tzselect.ksh: Likewise.
552 * timezone/zdump.c: Likewise.
553 * timezone/zic.c: Likewise.
555 * math/auto-libm-test-in: Add tests of cpow.
556 * math/auto-libm-test-out: Regenerated.
557 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
558 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
560 (func_calc_desc): Add mpc_cc_c union field.
561 (test_functions): Add cpow.
562 (special_fill_2pi): New function.
563 (special_real_inputs): Add 2pi.
564 (calc_generic_results): Handle mpc_cc_c.
565 * sysdeps/i386/fpu/libm-test-ulps: Update.
566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
568 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
569 csqrt, ctan and ctanh.
570 * math/auto-libm-test-out: Regenerated.
571 * math/libm-test.inc (TEST_COND_x86_64): New macro.
572 (TEST_COND_x86): Likewise.
573 (ccos_test_data): Use AUTO_TESTS_c_c.
574 (ccosh_test_data): Likewise.
575 (cexp_test_data): Likewise.
576 (clog_test_data): Likewise.
577 (csqrt_test_data): Likewise.
578 (ctan_test_data): Likewise.
579 (ctan_tonearest_test_data): Likewise.
580 (ctan_towardzero_test_data): Likewise.
581 (ctan_downward_test_data): Likewise.
582 (ctan_upward_test_data): Likewise.
583 (ctanh_test_data): Likewise.
584 (ctanh_tonearest_test_data): Likewise.
585 (ctanh_towardzero_test_data): Likewise.
586 (ctanh_downward_test_data): Likewise.
587 (ctanh_upward_test_data): Likewise.
588 * math/gen-auto-libm-tests.c (func_calc_method): Add value
590 (func_calc_desc): Add mpc_c_c union field.
591 (FUNC_mpc_c_c): New macro.
592 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
593 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
595 (special_fill_min_subnorm_p120): New function.
596 (special_real_inputs): Add min_subnorm_p120.
597 (calc_generic_results): Handle mpc_c_c.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
601 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
603 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
604 do_sin_slow): New functions.
605 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
606 cslow2, csloww1, csloww2): Use the new functions.
608 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
609 Use M to change sign of result instead of X. Assume X is
615 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
622 (sloww1): Don't adjust sign of DX.
624 (sloww2): Use X directly and don't adjust sign of DX.
627 2013-12-19 Joseph Myers <joseph@codesourcery.com>
629 * math/auto-libm-test-in: Add tests of cabs and carg.
630 * math/auto-libm-test-out: Regenerated.
631 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
632 (carg_test_data): Likewise.
633 * math/gen-auto-libm-tests.c (func_calc_method): Add value
635 (func_calc_desc): Add mpc_c_f union field.
636 (test_functions): Add cabs and carg.
637 (calc_generic_results): Handle mpc_c_f.
639 * sysdeps/powerpc/powerpc32/libgcc-compat.S
640 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
641 as a macro and a compat symbol.
642 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
643 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
644 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
645 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
646 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
647 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
649 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
651 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
653 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
655 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
657 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
659 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
660 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
663 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
667 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
669 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
670 (__signal_safe_memalign, __signal_safe_free): Use it.
671 (__signal_safe_realloc): Likewise.
673 2013-12-19 Joseph Myers <joseph@codesourcery.com>
675 * manual/texinfo.tex: Update to version 2013-11-26.10 with
676 trailing whitespace removed.
677 * scripts/config.guess: Update to version 2013-11-29.
678 * scripts/config.sub: Update to version 2013-10-01.
680 * math/auto-libm-test-in: Add tests of sincos.
681 * math/auto-libm-test-out: Regenerated.
682 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
683 * math/gen-auto-libm-tests.c (func_calc_method): Add value
685 (func_calc_desc): Add mpfr_f_11 union field.
686 (test_functions): Add sincos.
687 (calc_generic_results): Handle mpfr_f_11.
688 * sysdeps/i386/fpu/libm-test-ulps: Update.
689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
691 2013-12-19 Andreas Schwab <schwab@suse.de>
693 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
695 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
697 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
699 2013-12-19 Joseph Myers <joseph@codesourcery.com>
701 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
702 * sysdeps/i386/fpu/libm-test-ulps: Update.
703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
706 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
707 round-to-nearest mode when using frndint.
708 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
709 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
710 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
712 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
714 * math/auto-libm-test-out: Regenerated.
715 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
716 (TEST_COND_x86): Likewise.
717 (expm1_tonearest_test_data): New array.
718 (expm1_test_tonearest): New function.
719 (expm1_towardzero_test_data): New array.
720 (expm1_test_towardzero): New function.
721 (expm1_downward_test_data): New array.
722 (expm1_test_downward): New function.
723 (expm1_upward_test_data): New array.
724 (expm1_test_upward): New function.
725 (main): Run the new test functions.
726 * sysdeps/i386/fpu/libm-test-ulps: Update.
727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
729 * include/features.h: Update comment documenting feature test
730 macros. Mention _DEFAULT_SOURCE in comment.
731 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
732 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
733 _BSD_SOURCE and _SVID_SOURCE.
734 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
735 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
736 !_SVID_SOURCE]: Likewise.
737 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
738 (__USE_POSIX_IMPLICITLY): Define.
739 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
740 (_POSIX_SOURCE): Undefine and redefine.
741 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
742 (_POSIX_C_SOURCE): Likewise.
743 * manual/creature.texi (_DEFAULT_SOURCE): Document.
744 (Feature Test Macros): Update documentation of default features.
746 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
748 * benchtests/Makefile: Add bench-strtok.
749 * benchtests/bench-strtok.c: New file: strtok benchtest.
751 2013-12-19 Allan McRae <allan@archlinux.org>
753 * manual/install.texi: Suppress menu for plain text output.
754 * INSTALL: Regenerated.
756 2013-12-18 Andrew Hunter <ahh@google.com>
758 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
759 (__signal_safe_malloc, __signal_safe_free): Likewise.
760 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
761 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
762 (__signal_safe_memalign, __signal_safe_malloc): New function.
763 (__signal_safe_free, __signal_safe_realloc): Likewise.
764 (__signal_safe_calloc): Likewise.
765 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
767 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
769 2013-12-18 Andrew Hunter <ahh@google.com>
771 * elf/Versions (ld): Add _dl_clear_dtv.
772 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
773 * elf/dl-tls.c (_dl_clear_dtv): New function.
774 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
776 2013-12-18 Andrew Hunter <ahh@google.com>
778 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
779 (_dl_unmask_signals): Likewise.
780 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
781 (_dl_unmask_all_signals): Likewise.
782 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
783 (_dl_unmask_all_signals): Likewise.
784 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
785 (_dl_unmask_signals): Likewise.
787 2013-12-18 Brooks Moses <bmoses@google.com>
790 * misc/getauxval.c: Include errno.h.
791 (__getauxval): Set errno to ENOENT if the requested type is not
793 * misc/sys/auxv.h (getauxval): Document that it may set errno;
794 don't declare with __attribute_const__.
795 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
796 * manual/startup.texi: Document that getauxval sets errno.
798 2013-12-18 Joseph Myers <joseph@codesourcery.com>
800 * math/auto-libm-test-in: Add tests of jn and yn.
801 * math/auto-libm-test-out: Regenerated.
802 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
803 (yn_test_data): Likewise.
804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
806 (func_calc_desc): Add mpfr_if_f union field.
807 (FUNC_mpfr_if_f): New macro.
808 (test_functions): Add jn and yn.
809 (calc_generic_results): Assert type of second input for
810 mpfr_ff_f. Handle mpfr_if_f.
811 (output_for_one_input_case): Disable all checking for arguments
812 fitting floating-point types in case of an integer argument.
813 * sysdeps/i386/fpu/libm-test-ulps: Update.
814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
817 Don't expect fegetround reference in libm.so.
819 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
821 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
822 $(config-cflags-nofma).
824 2013-12-18 Joseph Myers <joseph@codesourcery.com>
826 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
827 * math/auto-libm-test-out: Regenerated.
830 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
831 to determine exponent and adjust argument to have exponent of -1.
832 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
834 * math/auto-libm-test-out: Regenerated.
835 * sysdeps/i386/fpu/libm-test-ulps: Update.
836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
838 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
840 * manual/probes.texi: Remove cases when per-thread arenas are
843 2013-12-18 Andreas Schwab <schwab@suse.de>
845 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
846 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
847 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
848 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
849 * sysdeps/i386/i686/multiarch/Makefile: Update.
850 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
852 2013-12-17 Joseph Myers <joseph@codesourcery.com>
854 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
855 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
857 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
859 Support TZ transition times < 00:00:00.
860 This is needed for version-3 tz-format files; it supports time
861 stamps past 2037 for America/Godthab (the only entry in the tz
862 database for which this change is relevant).
863 * manual/time.texi (TZ Variable): Document transition times
864 from -167:59:59 through -00:00:01.
865 * time/tzset.c (tz_rule): Time of day is now signed.
866 (__tzset_parse_tz): Parse negative time of day.
868 Document TZ transition times >= 25:00:00.
869 * manual/time.texi (TZ Variable): Document transition times from
870 25:00:00 through 167:59:59. These are already supported, and this
871 support will help with version-3 tz-format files.
873 * manual/time.texi (TZ Variable): Modernize North America example
874 to reflect current (i.e., 2007-and-later) daylight saving rules.
876 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
878 2013-12-17 Joseph Myers <joseph@codesourcery.com>
880 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
881 * sysdeps/unix/bsd/bits/stat.h: Likewise.
882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
884 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
885 * sysdeps/unix/bsd/bsdstat.h: Likewise.
886 * sysdeps/unix/bsd/clock.c: Likewise.
887 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
888 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
889 * sysdeps/unix/bsd/init-posix.c: Likewise.
890 * sysdeps/unix/bsd/poll.c: Likewise.
891 * sysdeps/unix/bsd/ptsname.c: Likewise.
892 * sysdeps/unix/bsd/seekdir.c: Likewise.
893 * sysdeps/unix/bsd/setegid.c: Likewise.
894 * sysdeps/unix/bsd/seteuid.c: Likewise.
895 * sysdeps/unix/bsd/setgid.c: Likewise.
896 * sysdeps/unix/bsd/setrgid.c: Likewise.
897 * sysdeps/unix/bsd/setruid.c: Likewise.
898 * sysdeps/unix/bsd/setsid.c: Likewise.
899 * sysdeps/unix/bsd/setuid.c: Likewise.
900 * sysdeps/unix/bsd/sigaction.c: Likewise.
901 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
902 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
903 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
904 * sysdeps/unix/bsd/telldir.c: Likewise.
905 * sysdeps/unix/bsd/times.c: Likewise.
906 * sysdeps/unix/bsd/usleep.c: Likewise.
908 * misc/Makefile (install-lib): Remove libbsd-compat.a.
909 ($(objpfx)libbsd-compat.a): Remove rule.
911 * include/features.h (__FAVOR_BSD): Do not define.
912 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
913 features conflicting with POSIX.
914 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
915 (_BSD_SOURCE): Remove description of not being a subset of other
917 * manual/job.texi (getpgrp): Do not document BSD version.
918 (getpgid): Do not document by reference to BSD getpgrp.
919 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
920 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
921 * signal/signal.h [__FAVOR_BSD]: Likewise.
922 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
923 instead of making contents conditional on [__FAVOR_BSD].
924 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
926 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
930 2013-12-17 Joseph Myers <joseph@codesourcery.com>
933 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
934 values below 2**-450, not 2**-500.
935 * math/auto-libm-test-in: Don't allow spurious underflow from
937 * math/auto-libm-test-out: Regenerated.
941 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
942 values of ha and hb and sort them after adjusting subnormal
944 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
946 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
947 values of ea and eb and sort them after adjusting subnormal
949 * math/auto-libm-test-in: Do not expect some hypot tests of
950 subnormals to fail. Add more hypot tests.
951 * math/auto-libm-test-out: Regenerated.
953 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
956 * sysdeps/sh/s_fma.c: New file.
957 * sysdeps/sh/s_fmaf.c: New file.
958 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
960 * sysdeps/sh/Implies: Add sh/soft-fp.
962 2013-12-16 Roland McGrath <roland@hack.frob.com>
964 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
965 level of indirection to members `objname', `errstring', `malloced'.
966 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
967 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
968 it as the __longjmp argument (just pass 1 instead).
969 (_dl_catch_error): Initialize C with argument pointers and address of
970 volatile local ERRCODE rather than copying values out of C at return.
972 2013-12-16 Joseph Myers <joseph@codesourcery.com>
974 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
975 * math/auto-libm-test-out: Regenerated.
976 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
977 (hypot_test_data): Likewise.
978 (pow_test_data): Likewise.
979 (pow_tonearest_test_data): Likewise.
980 * math/gen-auto-libm-tests.c (func_calc_method): Add value
982 (func_calc_desc): Add mpfr_ff_f union field.
983 (FUNC_mpfr_ff_f): New macro.
984 (test_functions): Add atan2, hypot and pow.
985 (special_fill_min): New function.
986 (special_fill_minus_min): Likewise.
987 (special_fill_min_subnorm): Likewise.
988 (special_fill_minus_min_subnorm): Likewise.
989 (special_real_inputs): Add min, -min, min_subnorm and
991 (calc_generic_results): Handle mpfr_ff_f.
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995 2013-12-16 Will Newton <will.newton@linaro.org>
997 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
998 (Aligned Memory Blocks): Add documentation for aligned_alloc
999 and suggest it as an alternative to posix_memalign.
1000 (Hooks for Malloc): Document __memalign_hook is also called
1001 for aligned_alloc. (Summary of Malloc): Add summary for
1002 aligned alloc. Document __memalign_hook is also called
1005 2013-12-16 Will Newton <will.newton@linaro.org>
1007 * manual/memory.texi (Malloc Examples): Clarify default
1008 alignment documentation. Suggest posix_memalign rather
1009 than memalign or valloc.
1010 (Aligned Memory Blocks): Remove suggestion to use memalign
1011 or valloc. Remove obsolete comment about BSD.
1012 Document memalign errno values and mark the function obsolete.
1013 Document posix_memalign returned error codes. Mark valloc
1014 as obsolete. (Hooks for Malloc): __memalign_hook is also
1015 called for posix_memalign and valloc.
1016 (Summary of Malloc): Add posix_memalign to function summary.
1017 __memalign_hook is also called for posix_memalign and valloc.
1019 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1021 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1025 (sloww): Use mynumber union. Expand ternary operator into
1027 (cslow): use mynumber union.
1029 2013-12-16 Allan McRae <allan@archlinux.org>
1031 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1032 * configure: Regenerated.
1034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1037 * configure.ac: Added --enable-maintainer-mode. Check for
1038 autoconf when enabled.
1039 * configure: Regenerated.
1041 * nscd/nscd.service: New file.
1042 * nscd/nscd.tmpfiles: New file.
1044 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1047 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1048 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1049 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1050 (strstr): Add __strstr_sse2_unaligned ifunc.
1051 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1052 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1053 (strcasestr): Remove __strcasestr_sse42 ifunc.
1054 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1058 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1060 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1061 * sysdeps/sh/bits/fenv.h: ... here.
1062 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1064 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1068 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1071 hypotf multiarch implementations.
1072 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1075 multiarch hypot for PPC64.
1076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1079 multiarch hypotf for PPC64.
1081 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1084 modff multiarch implementations.
1085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1088 multiarch modf for PPC64.
1089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1092 multiarch modff for PPC64.
1094 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1097 and logl multiarch implementations.
1098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1101 multiarch logb for PPC64.
1102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1105 multiarch logb for PPC64.
1106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1109 multiarch logb for PPC64.
1111 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1114 isinff multiarch implementation.
1115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1119 multiarch isinf for PPC64.
1120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1123 multiarch isinff for PPC64.
1125 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1128 finitef multiarch implementation.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1133 multiarch finite for PPC64.
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1137 multiarch finitef for PPC64.
1139 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1142 lrint multiarch implementation.
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1147 multiarch llrint for PPC64.
1148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1149 multiarch lrint for PPC64.
1151 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1154 copysignf multiarch implementation.
1155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1160 multiarch copysign for PPC64.
1161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1162 multiarch copysignf for PPC64.
1164 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1167 multiarch implementation.
1168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1176 multiarch llround for PPC64.
1177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1178 multiarch trunc for PPC64.
1179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1180 multiarch truncf for PPC64.
1182 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1185 multiarch implementation.
1186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1194 multiarch llround for PPC64.
1195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1196 multiarch round for PPC64.
1197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1198 multiarch roundf for PPC64.
1200 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1203 multiarch implementation.
1204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1212 multiarch llround for PPC64.
1213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1214 multiarch floor for PPC64.
1215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1216 multiarch floorf for PPC64.
1218 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1221 multiarch implementation.
1222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1230 multiarch llround for PPC64.
1231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1232 multiarch ceil for PPC64.
1233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1234 multiarch ceilf for PPC64.
1236 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1239 multiarch implementation.
1240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1247 multiarch llround for PPC64.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1249 multiarch lround for PPC64.
1251 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1254 multiarch implementation.
1255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1262 multiarch isnan for PPC64.
1263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1264 multiarch isnanf for PPC64.
1266 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1269 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1270 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1271 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1272 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1275 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1282 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1285 multiarch implementations.
1286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1287 (__libc_ifunc_impl_list): Likewise.
1288 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1290 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1291 multiarch stpcpy for PPC64.
1293 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1296 multiarch implementations.
1297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1298 (__libc_ifunc_impl_list): Likewise.
1299 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1301 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1302 multiarch strcpy for PPC64.
1304 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1307 redefine function name.
1308 (_wordcopy_fwd_dest_aligned): Likewise.
1309 (_wordcopy_bwd_aligned): Likewise.
1310 (_wordcopy_bwd_dest_aligned): Likewise.
1311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1312 multiarch implementations.
1313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Likewise.
1315 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1317 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1318 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1319 multiarch wcscpy for PPC64.
1321 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1324 multiarch implementations.
1325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1326 (__libc_ifunc_impl_list): Likewise.
1327 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1328 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1329 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1331 multiarch wcscpy for PPC64.
1333 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1336 multiarch implementations.
1337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1338 (__libc_ifunc_impl_list): Likewise.
1339 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1340 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1341 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1342 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1343 multiarch wcsrchr for PPC64.
1345 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1348 multiarch implementations.
1349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1350 (__libc_ifunc_impl_list): Likewise.
1351 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1352 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1353 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1354 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1355 multiarch wcschr for PPC64.
1357 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1360 multiarch implementations.
1361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1362 (__libc_ifunc_impl_list): Likewise.
1363 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1364 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1365 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1366 multiarch strchrnul for PPC64.
1368 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1373 (__libc_ifunc_impl_list): Likewise.
1374 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1375 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1376 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1377 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1380 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1385 (__libc_ifunc_impl_list): Likewise.
1386 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1387 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1388 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1389 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1392 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1395 multiarch implementations.
1396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1397 (__libc_ifunc_impl_list): Likewise.
1398 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1399 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1400 strncasecmp for PPC64.
1401 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1402 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1403 multiarch strncasecmp_l for PPC64.
1405 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1408 multiarch implementations.
1409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1410 (__libc_ifunc_impl_list): Likewise.
1411 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1412 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1413 multiarch strcasecmp for PPC64.
1414 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1416 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1417 multiarch strcasecmp_l for PPC64.
1419 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1424 (__libc_ifunc_impl_list): Likewise.
1425 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1426 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1430 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1435 (__libc_ifunc_impl_list): Likewise.
1436 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1437 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1438 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1446 (__libc_ifunc_impl_list): Likewise.
1447 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1448 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1449 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1450 rawmemrchr for PPC64.
1452 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1457 (__libc_ifunc_impl_list): Likewise.
1458 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1460 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1463 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1468 (__libc_ifunc_impl_list): Likewise.
1469 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1470 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1471 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1474 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1479 (__libc_ifunc_impl_list): Likewise.
1480 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1481 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1482 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1485 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1487 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1488 avoid cretion of __bzero symbol.
1489 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1491 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1493 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1496 multiarch implementations.
1497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1498 (__libc_ifunc_impl_list): Likewise.
1499 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1500 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1502 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1504 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1505 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1506 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1507 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1508 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1510 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1512 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1518 (__libc_ifunc_impl_list): Likewise.
1519 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1520 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1521 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1522 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1525 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1528 multiarch for POWER/PPC64.
1529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1530 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1534 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1535 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1536 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1537 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1540 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1542 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1543 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1544 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1545 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1546 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1547 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1548 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1549 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1550 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1551 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1552 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1553 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1554 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1555 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1556 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1565 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1569 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1571 * benchtests/Makefile (bench): Add exp2 and log2.
1572 (LDLIBS-bench-exp2): Add -lm.
1573 (LDLIBS-bench-log2): Likewise.
1574 * benchtests/exp2-inputs: New inputs file.
1575 * benchtests/log2-inputs: New inputs file.
1576 * benchtests/log-inputs: Add new inputs.
1577 * benchtests/tan-inputs: Likewise.
1579 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1583 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1584 csloww1, csloww2): ... from here.
1586 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1587 instead of structures.
1588 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1589 (POLYNOMIAL): Likewise.
1590 (TAYLOR_SLOW): Likewise.
1598 (bsloww1): Likewise.
1599 (bsloww2): Likewise.
1602 (csloww1): Likewise.
1603 (csloww2): Likewise.
1605 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1607 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1608 (__malloc_assert, __libc_realloc, __libc_calloc,
1609 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1611 * malloc/hooks.c (realloc_check): Likewise.
1613 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1615 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1616 * malloc/arena.c: Remove PER_THREAD conditional.
1617 [!PER_THREAD]: Remove code.
1618 (ptmalloc_unlock_all2): Likewise.
1619 (ptmalloc_init): Likewise.
1620 (_int_new_arena): Likewise.
1621 (arena_get2): Likewise.
1622 * malloc/hooks.c (__malloc_get_state): Likewise.
1623 (__malloc_set_state): Likewise.
1624 * malloc/malloc.c: Likewise.
1625 (struct malloc_state): Likewise.
1626 (struct malloc_par): Likewise.
1627 (__libc_realloc): Likewise.
1628 (__libc_mallopt): Likewise.
1630 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1634 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1636 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1637 macro to a function. Check for zero perturb_byte.
1638 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1640 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1642 * malloc/malloc.c: (force_reg): Remove.
1643 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1644 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1645 force_reg by atomic_forced_read.
1646 * malloc/arena.c (ptmalloc_init): Likewise.
1647 * malloc/hooks.c (top_check): Likewise.
1649 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1653 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1657 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1659 * math/auto-libm-test-in: Add tests of lgamma.
1660 * math/auto-libm-test-out: Regenerated.
1661 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1662 (M_LOG_2_SQRT_PIl): Likewise.
1663 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1664 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1666 (func_calc_desc): Add mpfr_f_f1 union field.
1675 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1676 (test_functions): Add lgamma.
1677 (calc_generic_results): Handle mpfr_f_f1.
1678 * sysdeps/i386/fpu/libm-test-ulps: Update.
1679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1681 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1683 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1684 __mpn_add_n for PowerPC64/POWER7.
1685 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1686 __mpn_sub_n for PowerPC64/POWER7.
1688 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1691 __mpn_addmul_1 for PowerPC64.
1692 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1693 __mpn_submul_1 for PowerPC64.
1694 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1696 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1699 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1702 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1704 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1708 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1711 add multiarch folders.
1712 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1713 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1714 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1715 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1716 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1717 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1718 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1719 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1720 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1721 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1722 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1730 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1733 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1739 multiarch __ieee754_hypot for PowerPC32.
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1745 multiarch __ieee754_hypotf for PowerPC32.
1747 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1750 long_double_symbol only if __logbl is defined.
1751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1752 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1754 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1756 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1757 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1758 path for implementation.
1759 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1762 logb, and logbl multiarch implementations for PowerPC32.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1768 multiarch logb for PowerPC32.
1769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1774 multiarch logbf for PowerPC32.
1775 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1779 multiarch logbl implementation for PowerPC32.
1781 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1784 and modff multiarch implementations.
1785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1790 multiarch modf for PowerPC32.
1791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1796 multiarch modff for PowerPC32.
1798 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1801 and lrintf multiarch implementations.
1802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1807 multiarch lrint for PowerPC32.
1808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1809 file: multiarch lrintf for PowerPC32.
1811 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1814 and lroundf multiarch implementations.
1815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1822 multiarch lround for PowerPC32.
1823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1824 file: multiarch lroundf for PowerPC32.
1826 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1829 copysign and copysignf multiarch implementations.
1830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1835 file: multiarch copysign for PowerPC32.
1836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1837 file: multiarch copysignf for PowerPC32.
1839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1842 and truncf multiarch implementations.
1843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1848 multiarch trunc for PowerPC32.
1849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1854 multiarch truncf for PowerPC32.
1856 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1859 and roundf multiarch implementations.
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1865 multiarch round for PowerPC32.
1866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1871 multiarch roundf for PowerPC32.
1873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1876 and floorf multiarch implementations.
1877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1882 multiarch floor for PowerPC32.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1888 multiarch floorf for PowerPC32.
1890 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1893 and ceilf multiarch implementations.
1894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1899 multiarch ceil for PowerPC32.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1905 multiarch ceilf for PowerPC32.
1907 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1909 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1911 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1914 and finitef multiarch implementations.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1920 multiarch finite for PowerPC32.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1924 file: multiarch finitef for PowerPC32.
1926 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1929 and isinff multiarch implementations.
1930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1935 multiarch isinf for PowerPC32.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1939 multiarch isinff for PowerPC32.
1941 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1943 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1944 alias when __isnan is defined.
1945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1946 and isnanf multiarch implementations.
1947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1956 multiarch isnan for PowerPC32.
1957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1962 multiarch isnanf for PowerPC32.
1964 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1967 and sqrtf multiarch implementations.
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1973 multiarch sqrt for PowerPC32.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1979 multiarch sqrtf for PowerPC32.
1981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1984 and llroundf multiarch implementations.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1992 file: multiarch llround for PowerPC32.
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1994 file: multiarch llroundf for PowerPC32.
1996 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1999 multiarch PowerPC32 fpu implementations.
2000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2005 multiarch llrint for PowerPC32.
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2013 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2017 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2021 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2025 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2026 multiarch wordcopy for PPC32.
2027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2030 (__libc_ifunc_impl_list): Likewise.
2031 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2032 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2033 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2034 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2035 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2036 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2038 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2048 multiarch wcscpy for PPC32.
2049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2052 (__libc_ifunc_impl_list): Likewise.
2053 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2054 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2055 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2056 sysdeps/powerpc/power6/wcscpy.c.
2058 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2060 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2067 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2068 multiarch wcsrchr for PPC32.
2069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2072 (__libc_ifunc_impl_list): Likewise.
2073 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2074 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2075 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2076 sysdeps/powerpc/power6/wcsrchr.c.
2078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2086 multiarch wcschr for PPc32.
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2090 (__libc_ifunc_impl_list): Likewise.
2091 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2092 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2093 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2094 sysdeps/powerpc/power6/wcschr.c.
2096 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2099 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2101 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2102 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2103 file: multiarch strchr for PPC32.
2104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2107 (__libc_ifunc_impl_list): Likewise.
2109 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2111 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2113 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2115 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2117 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2118 multiarch strchrnul for PPC32.
2119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2122 (__libc_ifunc_impl_list): Likewise.
2124 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2128 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2129 multiarch strncasecmp for PPC32.
2130 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2132 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2133 multiarch strncasecmp_l for PPC32.
2134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2135 strncasecmp multiarch objects.
2136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2137 (__libc_ifunc_impl_list): Likewise.
2139 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2141 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2143 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2144 multiarch strncasecmp for PPC32.
2145 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2148 multiarch strcasecmp_l for PPC32.
2149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2152 (__libc_ifunc_impl_list): Likewise.
2154 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2158 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2161 multiarch strncmp for PPC32.
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2165 (__libc_ifunc_impl_list): Likewise.
2167 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2170 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2172 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2173 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2177 (__libc_ifunc_impl_list): Likewise.
2179 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2183 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2185 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2189 (__libc_ifunc_impl_list): Likewise.
2191 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2193 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2195 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2197 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2198 multiarch rawmemchr for PPC32.
2199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2202 (__libc_ifunc_impl_list): Likewise.
2204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2206 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2208 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2210 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2211 file: memrchr multiarch for PPC32.
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2215 (__libc_ifunc_impl_list): Likewise.
2217 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2219 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2220 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2222 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2223 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2224 multiarch memchr for PPC32.
2225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2228 (__libc_ifunc_impl_list): Likewise.
2230 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2232 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2233 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2235 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2238 file: multiarch mempcpy for PPC32.
2239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2242 (__libc_ifunc_impl_list): Likewise.
2244 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2247 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2250 multiarch bzero for PPC32.
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2256 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2257 file: multiarch memset for PPC32.
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2260 memset multiarch objects.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2262 (__libc_ifunc_impl_list): Likewise.
2264 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2271 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2275 (__libc_ifunc_impl_list): Likewise.
2277 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2283 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2285 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2288 multiarch memcpy for PPC32.
2289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2292 (__libc_ifunc_impl_list): Likewise.
2294 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2297 support multiarch for POWER/PPC32.
2298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2300 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2302 Implies file to make multiarch folder appers before the fpu and
2303 default folder for power4 configuration.
2305 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2307 * scripts/bench.pl: Append volatile keyword to type.
2309 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2311 * sysdeps/sh/sotruss-lib.c: New file.
2312 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2314 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2318 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2321 * math/w_tgamma.c: Include <errno.h>.
2322 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2323 * math/w_tgammaf.c: Include <errno.h>.
2324 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2325 * math/w_tgammal.c: Include <errno.h>.
2326 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2327 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2328 underflow. Add more tgamma tests.
2329 * math/auto-libm-test-out: Regenerated.
2330 * sysdeps/i386/fpu/libm-test-ulps: Update.
2331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2333 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2334 sin, sinh, tan, tanh, tgamma, y0 and y1.
2335 * math/auto-libm-test-out: Regenerated.
2336 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2337 (TEST_COND_x86): Likewise.
2338 (M_E2l): Remove macro.
2340 (M_2_SQRT_PIl): Likewise.
2341 (M_SQRT_PIl): Likewise.
2342 (M_1_DIV_El): Likewise.
2343 (log_test_data): Use AUTO_TESTS_f_f.
2344 (log10_test_data): Likewise.
2345 (log1p_test_data): Likewise.
2346 (log2_test_data): Likewise.
2347 (sin_test_data): Likewise.
2348 (sin_tonearest_test_data): Likewise.
2349 (sin_towardzero_test_data): Likewise.
2350 (sin_downward_test_data): Likewise.
2351 (sin_upward_test_data): Likewise.
2352 (sinh_test_data): Likewise.
2353 (sinh_tonearest_test_data): Likewise.
2354 (sinh_towardzero_test_data): Likewise.
2355 (sinh_downward_test_data): Likewise.
2356 (sinh_upward_test_data): Likewise.
2357 (tan_test_data): Likewise.
2358 (tan_tonearest_test_data): Likewise.
2359 (tan_towardzero_test_data): Likewise.
2360 (tan_downward_test_data): Likewise.
2361 (tan_upward_test_data): Likewise.
2362 (tanh_test_data): Likewise.
2363 (tgamma_test_data): Likewise.
2364 (y0_test_data): Likewise.
2365 (y1_test_data): Likewise.
2366 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2367 (special_real_inputs): Add pi/4.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2371 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2373 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2374 "longjmp_target" static probes.
2375 (__longjmp): Rename to __longjmp_symbol.
2376 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2377 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2378 on which longjmp to generate.
2379 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2380 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2382 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2383 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2384 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2385 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2386 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2387 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2389 __longjmp_symbol based on which __longjmp to generate.
2390 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2392 (setjmp): Rename to setjmp_symbol.
2393 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2394 (_setjmp): Rename to _setjmp_symbol.
2395 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2396 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2397 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2398 which setjmp to generate.
2399 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2400 "longjmp_target" static probes.
2402 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2404 * benchtests/README: Add note about output arguments.
2405 * benchtests/bench-sincos.c: Remove file.
2406 * benchtests/sincos-inputs: New file.
2407 * scripts/bench.pl: Identify output arguments and define
2408 static variables for them.
2410 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2413 * Makefile (INSTALL): Add install-plain.texi as the primary
2415 * manual/install-plain.texi: New file.
2416 * manual/install.texi: Include node directive only for
2417 non-plaintext output.
2419 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2421 * stdlib/longlong.h: Update from GCC.
2425 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2426 * math/w_j0f.c (y0f): Likewise.
2427 * math/w_j0l.c (__y0l): Likewise.
2428 * math/w_j1.c (y1): Likewise.
2429 * math/w_j1f.c (y1f): Likewise.
2430 * math/w_j1l.c (__y1l): Likewise
2431 * math/w_jn.c (yn): Likewise.
2432 * math/w_jnf.c (ynf): Likewise.
2433 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2434 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2435 value for Bessel function domain errors outside _SVID_ mode.
2436 Adjust sign of return value for yn (negative integer, 0).
2437 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2438 by zero in return for negative x and set sign appropriately for
2440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2441 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2442 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2443 expectations in error cases.
2444 (y1_test_data): Likewise.
2445 (yn_test_data): Likewise.
2446 * sysdeps/i386/fpu/libm-test-ulps: Update.
2447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2449 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2451 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2452 "64" to "64-v1". Add "64-v2".
2453 (abi-64-options): Rename to ...
2454 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2455 (abi-64-condition): Rename to ...
2456 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2457 (abi-64-ld-soname): Rename to ...
2458 (abi-64-v1-ld-soname): ... this.
2459 (abi-64-v2-options): Define.
2460 (abi-64-v2-condition): Likewise.
2461 (abi-64-v2-ld-soname): Likewise.
2462 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2463 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2468 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2469 Alan Modra <amodra@gmail.com>
2471 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2472 New versions for use with the ELFv2 ABI.
2473 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2474 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2476 (struct La_ppc64v2_retval): Likewise.
2477 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2478 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2479 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2480 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2481 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2482 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2483 Do not save or restore CR.
2484 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2485 (_dl_profile_resolve): Do no save or restore CR. Support extended
2486 return values for ELFv2 ABI. Fix location of FPR return registers.
2487 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2488 updated values for _CALL_ELF == 2.
2489 (La_regs, La_retval, int_retval): Likewise.
2491 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2493 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2494 (FRAME_MIN_SIZE_PARM): Likewise.
2495 (FRAME_BACKCHAIN): Likewise.
2496 (FRAME_CR_SAVE): Likewise.
2497 (FRAME_LR_SAVE): Likewise.
2498 (FRAME_TOC_SAVE): Likewise.
2499 (FRAME_PARM_SAVE): Likewise.
2500 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2501 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2502 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2503 (call_mcount_parm_offset): New macro.
2504 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2505 (PROF): Use symbolic stack frame offsets.
2506 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2507 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2508 Redefine in terms of FRAME_MIN_SIZE.
2509 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2510 (_dl_profile_resolve): Likewise. Update comment.
2511 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2512 symbols stack frame offsets.
2513 (__sigsetjmp): Likewise.
2514 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2515 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2516 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2517 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2520 (FRAME_BACKCHAIN): Remove.
2521 (FRAME_CR_SAVE): Likewise.
2522 (FRAME_LR_SAVE): Likewise.
2523 (FRAME_COMPILER_DW): Likewise.
2524 (FRAME_LINKER_DW): Likewise.
2525 (FRAME_TOC_SAVE): Likewise.
2526 (FRAME_PARM_SAVE): Likewise.
2527 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2528 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2529 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2531 (CHECK_SP): Use symbolic stack frame offsets.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2533 zone" instead of caller's parameter save area for temp storage.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2535 Likewise. Also, use symbolic stack frame offsets.
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2537 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2538 our own stack frame instead of the caller's.
2539 (__socket): Use symbolic stack frame offsets.
2541 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2542 Alan Modra <amodra@gmail.com>
2544 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2546 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2547 PPC64_LOCAL_ENTRY_OFFSET): Define.
2548 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2550 (elf_machine_fixup_plt): Call it.
2551 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2553 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2555 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2556 r2 before calling target.
2558 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2559 Alan Modra <amodra@gmail.com>
2561 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2562 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2563 versions of macros to support ELFv2 ABI.
2564 (LOCALENTRY): New macro.
2565 (ENTRY, EALIGN): Use it.
2566 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2567 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2568 fall through into ENTRY entry point.
2569 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2570 Only define if _CALL_ELF != 2.
2572 (elf_machine_matches_host): Verify ABI version matches.
2573 (RTLD_START): Use LOCALENTRY.
2574 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2575 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2576 (PLT_ENTRY_WORDS): New macro.
2577 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2578 (elf_machine_runtime_setup): Support ELFv2 ABI.
2579 (elf_machine_fixup_plt): Likewise.
2580 (elf_machine_plt_conflict): Likewise.
2581 (resolve_ifunc): Likewise.
2582 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2583 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2586 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2588 (makecontext): Support ELFv2 ABI.
2589 * elf/elf.h (EF_PPC64_ABI): Define.
2591 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2593 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2594 New assembler macro.
2595 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2596 [ASSEMBLER] (ENTRY): ... but instead here ...
2597 [ASSEMBLER] (EALIGN): ... and here.
2598 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2599 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2600 [!ASSEMBLER] (ENTRY_2): Use it.
2601 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2602 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2603 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2604 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2605 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2607 Use PPC64_LOAD_FUNCPTR.
2609 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2611 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2613 2013-12-04 Alan Modra <amodra@gmail.com>
2615 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2616 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2617 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2618 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2621 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2622 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2623 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2624 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2625 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2627 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2630 (__makecontext): Fix incorrect CFI when backtracing out of
2631 context created via makecontext.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2633 (__setcontext): Fix incorrect CFI during switch to new context.
2634 (__novec_setcontext): Likewise.
2636 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2639 * time/strptime_l.c (__strptime_internal): Allow modifiers
2641 * time/tst-strptime.c (day_tests): Add testcase.
2644 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2646 * scripts/bench.pl: Skip over blank lines.
2648 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2651 * manual/time.texi (Calendar Time): Clarify what timezone functions
2654 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2658 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2660 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2662 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2663 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2664 * debug/memset_chk.c (__memset_chk): Likewise.
2665 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2666 * debug/strncpy_chk.c: Likewise.
2668 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2672 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2673 (__ieee754_exp): For possibly underflowing results, check size of
2674 result and force underflow exception if required.
2675 * math/auto-libm-test-in: Add more tests of exp.
2676 * math/auto-libm-test-out: Regenerated.
2677 * sysdeps/i386/fpu/libm-test-ulps: Update.
2678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2681 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2682 * math/w_exp2f.c (__exp2f): Likewise.
2683 * math/w_exp2l.c (__exp2l): Likewise.
2684 * math/auto-libm-test-in: Do not allow missing errno on exp2
2686 * math/auto-libm-test-out: Regenerated.
2688 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2691 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2692 handle filename validation.
2693 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2696 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2699 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2700 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2701 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2703 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2704 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2705 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2707 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2709 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2710 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2711 Add more erfc tests.
2712 * math/auto-libm-test-out: Regenerated.
2713 * sysdeps/i386/fpu/libm-test-ulps: Update.
2714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2716 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2717 exp2, expm1, j0 and j1.
2718 * math/auto-libm-test-out: Regenerated.
2719 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2720 (erfc_test_data): Likewise.
2721 (exp_test_data): Likewise.
2722 (exp_tonearest_test_data): Likewise.
2723 (exp_towardzero_test_data): Likewise.
2724 (exp_downward_test_data): Likewise.
2725 (exp_upward_test_data): Likewise.
2726 (exp10_test_data): Likewise.
2727 (exp2_test_data): Likewise.
2728 (expm1_test_data): Likewise.
2729 (j0_test_data): Likewise.
2730 (j1_test_data): Likewise.
2731 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2732 (input_flag_type): Add flag_xfail_rounding.
2733 (input_flags): Add xfail-rounding.
2734 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2735 (output_for_one_input_case): Handle flag_xfail_rounding.
2736 * sysdeps/i386/fpu/libm-test-ulps: Update.
2737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2739 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2742 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2745 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2748 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2749 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2750 (STAP_PROBE0): New macro.
2751 (STAP_PROBE1): Likewise.
2752 (STAP_PROBE2): Likewise.
2753 (STAP_PROBE3): Likewise.
2754 (STAP_PROBE4): Likewise.
2756 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2758 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2760 2013-12-02 Steve Ellcey <sellcey@mips.com>
2762 * benchtests/Makefile (bench): Add sqrt.
2763 (LDLIBS-bench-sqrt): New.
2764 * benchtests/sqrt-input: New.
2766 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2768 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2769 (GAIH_EAI): Likewise.
2770 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2771 (gaih_inet): Likewise.
2772 (getaddrinfo): Don't use GAIH_EAI.
2774 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2775 (struct gaih): Remove definition.
2777 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2779 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2780 Use HERRNOP directly.
2782 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2786 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2788 * math/gen-auto-libm-tests.c (test_functions): Add more
2789 single-argument functions.
2790 (special_fill_pi_2): New function.
2791 (special_fill_minus_pi_2): Likewise.
2792 (special_fill_pi_6): Likewise.
2793 (special_fill_minus_pi_6): Likewise.
2794 (special_fill_pi_3): Likewise.
2795 (special_fill_2pi_3): Likewise.
2796 (special_fill_e): Likewise.
2797 (special_fill_1_e): Likewise.
2798 (special_fill_e_minus_1): Likewise.
2799 (special_real_inputs): Add more special inputs.
2800 (output_for_one_input_case): Do not require ERANGE on underflow to
2801 zero if round-to-nearest result does not underflow to zero, unless
2802 exact results required.
2803 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2804 atan, atanh, cbrt, cos and cosh.
2805 * math/auto-libm-test-out: Regenerated.
2806 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2807 (acos_tonearest_test_data): Likewise.
2808 (acos_towardzero_test_data): Likewise.
2809 (acos_downward_test_data): Likewise.
2810 (acos_upward_test_data): Likewise.
2811 (acosh_test_data): Likewise.
2812 (asin_test_data): Likewise.
2813 (asin_tonearest_test_data): Likewise.
2814 (asin_towardzero_test_data): Likewise.
2815 (asin_upward_test_data): Likewise.
2816 (asinh_test_data): Likewise.
2817 (atan_test_data): Likewise.
2818 (atanh_test_data): Likewise.
2819 (cbrt_test_data): Likewise.
2820 (cos_test_data): Likewise.
2821 (cos_tonearest_test_data): Likewise.
2822 (cos_towardzero_test_data): Likewise.
2823 (cos_downward_test_data): Likewise.
2824 (cos_upward_test_data): Likewise.
2825 (cosh_test_data): Likewise.
2826 (cosh_tonearest_test_data): Likewise.
2827 (cosh_towardzero_test_data): Likewise.
2828 (cosh_downward_test_data): Likewise.
2829 (cosh_upward_test_data): Likewise.
2830 * sysdeps/i386/fpu/libm-test-ulps: Update.
2831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2833 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2836 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2837 * math/w_exp10f.c (__exp10f): Likewise.
2838 * math/w_exp10l.c (__exp10l): Likewise.
2839 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2840 errno settings in existing tests.
2843 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2844 precision control set to double precision.
2845 * sysdeps/i386/fpu/w_sqrt.c: New file.
2846 * math/auto-libm-test-in: Add more tests.
2847 * math/auto-libm-test-out: Update.
2849 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2850 (sqrt_test_tonearest): New function.
2851 (sqrt_towardzero_test_data): New variable.
2852 (sqrt_test_towardzero): New function.
2853 (sqrt_downward_test_data): New variable.
2854 (sqrt_test_downward): New function.
2855 (sqrt_upward_test_data): New variable.
2856 (sqrt_test_upward): New function.
2857 (main): Call the new functions.
2859 * math/gen-auto-libm-tests.c: New file.
2860 * math/auto-libm-test-in: Likewise.
2861 * math/auto-libm-test-out: New generated file.
2862 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2864 (%beautify): Add generated representations of zero.
2865 (top level): Set $auto_input and call parse_auto_input.
2866 (beautify): Remove trailing "f" from hex float constants.
2867 (parse_args): Handle XFAIL_TEST.
2868 (convert_condition): New function.
2869 (or_value): Likewise.
2870 (or_cond_value): Likewise.
2871 (generate_testfile): Handle AUTO_TESTS_* lines.
2872 (parse_auto_input): New function.
2873 * math/libm-test.inc (XFAIL_TEST): New macro.
2874 (ERRNO_UNCHANGED): Update value.
2875 (ERRNO_EDOM): Likewise.
2876 (ERRNO_ERANGE): Likewise.
2877 (IGNORE_RESULT): Likewise.
2878 (TEST_COND_flt_32): New macro.
2879 (TEST_COND_dbl_64): Likewise.
2880 (TEST_COND_ldbl_96_intel): Likewise.
2881 (TEST_COND_ldbl_96_m68k): Likewise.
2882 (TEST_COND_ldbl_128): Likewise.
2883 (TEST_COND_ldbl_128ibm): Likewise.
2884 (TEST_COND_long32): Likewise.
2885 (TEST_COND_long64): Likewise.
2886 (TEST_COND_before_rounding): Likewise.
2887 (TEST_COND_after_rounding): Likewise.
2888 (enable_test): Handle XFAIL_TEST flag.
2889 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2890 with finite results.
2891 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2894 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2895 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2898 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2899 __tls_get_addr_internal instead of __tls_get_offset in order to
2900 avoid GOT pointer dependency. Make rtld export
2901 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2902 __tls_get_addr since we are a __tls_get_offset platform.
2903 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2904 GOT pointer being set up before.
2905 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2907 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2909 * manual/math.texi (Errors in Math Functions): Document accuracy
2913 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2914 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2917 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2919 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2930 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2931 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2932 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2933 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2934 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2936 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2938 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2940 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2941 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2942 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2943 atomic-feupdateenv and flt-rounds.
2944 * sysdeps/powerpc/nofpu/Versions (libc): Add
2945 __atomic_feholdexcept, __atomic_feclearexcept,
2946 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2947 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2948 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2949 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2950 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2955 * manual/arith.texi (FP Exceptions): Document that exceptions may
2956 not be raised when matherr is used.
2957 (Math Error Reporting): Document overflow in directed rounding
2958 modes. Document that errno may not be set when finite values are
2959 returned on overflow. Document intent to set errno on underflow
2960 only for underflow to zero.
2963 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2964 round-to-nearest then adjust result for other rounding modes.
2965 * include/fenv.h (fegetround): Use libm_hidden_proto.
2966 * math/fegetround.c (fegetround): Use libm_hidden_def.
2967 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2968 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2969 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2970 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2972 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2973 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2974 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2975 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2977 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2980 * nss/Versions (libnss_files): Add
2981 _nss_files_gethostbyname3_r.
2982 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2984 (HOST_DB_LOOKUP): Remove macro.
2985 (_nss_files_gethostbyname_r): Implement function without the
2986 HOST_DB_LOOKUP macro.
2987 (_nss_files_gethostbyname2_r): Likewise.
2989 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2991 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2993 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2995 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2996 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2999 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3001 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3002 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3003 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3004 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3005 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3006 __fe_nomask_env_priv and attribute_hidden.
3007 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3008 (libc_feupdateenv_test_ppc): Likewise.
3009 (libc_feresetround_ppc): Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3011 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3012 compat_symbol macro.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3014 (__fe_nomask_env): Likewise.
3015 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3017 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3019 * string/Makefile: Remove ifunc tests.
3020 * string/test-string.h: Define TEST_IFUNC.
3021 * string/test-bcopy-ifunc.c: Remove.
3022 * string/test-bzero-ifunc.c: Likewise.
3023 * string/test-memccpy-ifunc.c: Likewise.
3024 * string/test-memchr-ifunc.c: Likewise.
3025 * string/test-memcmp-ifunc.c: Likewise.
3026 * string/test-memcpy-ifunc.c: Likewise.
3027 * string/test-memmem-ifunc.c: Likewise.
3028 * string/test-memmove-ifunc.c: Likewise.
3029 * string/test-mempcpy-ifunc.c: Likewise.
3030 * string/test-memrchr-ifunc.c: Likewise.
3031 * string/test-memset-ifunc.c: Likewise.
3032 * string/test-rawmemchr-ifunc.c: Likewise.
3033 * string/test-stpcpy-ifunc.c: Likewise.
3034 * string/test-stpncpy-ifunc.c: Likewise.
3035 * string/test-strcasecmp-ifunc.c: Likewise.
3036 * string/test-strcasestr-ifunc.c: Likewise.
3037 * string/test-strcat-ifunc.c: Likewise.
3038 * string/test-strchr-ifunc.c: Likewise.
3039 * string/test-strchrnul-ifunc.c: Likewise.
3040 * string/test-strcmp-ifunc.c: Likewise.
3041 * string/test-strcpy-ifunc.c: Likewise.
3042 * string/test-strcspn-ifunc.c: Likewise.
3043 * string/test-strlen-ifunc.c: Likewise.
3044 * string/test-strncasecmp-ifunc.c: Likewise.
3045 * string/test-strncat-ifunc.c: Likewise.
3046 * string/test-strncmp-ifunc.c: Likewise.
3047 * string/test-strncpy-ifunc.c: Likewise.
3048 * string/test-strnlen-ifunc.c: Likewise.
3049 * string/test-strpbrk-ifunc.c: Likewise.
3050 * string/test-strrchr-ifunc.c: Likewise.
3051 * string/test-strspn-ifunc.c: Likewise.
3052 * string/test-strstr-ifunc.c: Likewise.
3054 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3056 * benchtests/Makefile: Remove ifunc tests.
3057 * benchtests/bench-string.h: Define TEST_IFUNC.
3058 * benchtests/bench-bcopy-ifunc.c: Remove.
3059 * benchtests/bench-bzero-ifunc.c: Likewise.
3060 * benchtests/bench-memccpy-ifunc.c: Likewise.
3061 * benchtests/bench-memchr-ifunc.c: Likewise.
3062 * benchtests/bench-memcmp-ifunc.c: Likewise.
3063 * benchtests/bench-memcpy-ifunc.c: Likewise.
3064 * benchtests/bench-memmem-ifunc.c: Likewise.
3065 * benchtests/bench-memmove-ifunc.c: Likewise.
3066 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3067 * benchtests/bench-memrchr-ifunc.c: Likewise.
3068 * benchtests/bench-memset-ifunc.c: Likewise.
3069 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3070 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3071 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3072 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3073 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3074 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3075 * benchtests/bench-strcat-ifunc.c: Likewise.
3076 * benchtests/bench-strchr-ifunc.c: Likewise.
3077 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3078 * benchtests/bench-strcmp-ifunc.c: Likewise.
3079 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3080 * benchtests/bench-strcpy-ifunc.c: Likewise.
3081 * benchtests/bench-strcspn-ifunc.c: Likewise.
3082 * benchtests/bench-strlen-ifunc.c: Likewise.
3083 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3084 * benchtests/bench-strncat-ifunc.c: Likewise.
3085 * benchtests/bench-strncmp-ifunc.c: Likewise.
3086 * benchtests/bench-strncpy-ifunc.c: Likewise.
3087 * benchtests/bench-strnlen-ifunc.c: Likewise.
3088 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3089 * benchtests/bench-strrchr-ifunc.c: Likewise.
3090 * benchtests/bench-strsep-ifunc.c: Likewise.
3091 * benchtests/bench-strspn-ifunc.c: Likewise.
3092 * benchtests/bench-strstr-ifunc.c: Likewise.
3094 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3096 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3098 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3100 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3101 * rt/aio.h: Likewise.
3102 * sysdeps/gnu/bits/utmp.h: Likewise.
3103 * sysdeps/gnu/bits/utmpx.h: Likewise.
3104 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3105 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3106 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3107 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3108 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3109 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3110 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3111 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3112 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3113 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3114 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3116 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3119 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3120 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3121 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3122 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3123 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3124 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3125 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3126 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3127 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3128 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3131 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3132 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3134 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3135 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3139 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3140 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3141 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3142 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3143 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3144 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3145 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3147 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3150 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3151 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3153 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3155 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3156 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3159 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3162 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3163 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3164 (__fesetround): Remove define.
3165 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3166 rounding and exceptions handling.
3167 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3168 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3169 (__fe_nomask_env): Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3171 __fegetround instead of fegetround.
3172 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3175 2013-11-21 Roland McGrath <roland@hack.frob.com>
3177 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3180 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3182 2013-11-21 Meador Inge <meadori@codesourcery.com>
3185 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3186 (encrypt_r): Likewise.
3187 * malloc/obstack.h (obstack_free): Likewise.
3188 * posix/unistd.h (encrypt): Likewise.
3190 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3192 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3193 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3194 DL_CALL_DT_FINI() that call the functions directly.
3195 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3196 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3197 * elf/dl-fini.c: Likewise.
3199 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3201 * malloc/hooks.c (memalign_check): Add alignment rounding.
3202 * malloc/malloc.c (_mid_memalign): New function.
3203 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3204 Implement by calling _mid_memalign.
3205 * manual/probes.texi (Memory Allocation Probes): Remove
3206 memory_valloc_retry and memory_pvalloc_retry.
3208 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3210 * locale/programs/locarchive.c (open_archive): Add const
3211 qualifier to ARCHIVEFNAME and copy default fname to
3215 * libio/tst-widetext.input: Rename Oriya to Odia.
3216 * locale/iso-639.def: Likewise.
3218 * manual/probes.texi (Mathematical Function Probes): Add
3219 documentation for sin, cos, asin and acos probes.
3220 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3221 (__sin32): Add slowasin probe.
3222 (__cos32): Add slowacos probe.
3223 (__mpsin): Add slowsin probe.
3224 (__mpcos): Add slowcos probe.
3226 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3229 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3230 thread-local __sim_exceptions_thread and global
3231 __sim_exceptions_global.
3232 (__sim_disabled_exceptions): Change to thread-local
3233 __sim_disabled_exceptions_thread and global
3234 __sim_disabled_exceptions_global.
3235 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3236 and global __sim_round_mode_global.
3237 (__simulate_exceptions): Use thread-local floating-point state and
3238 set global state from it as needed.
3239 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3240 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3241 __sim_round_mode_thread.
3242 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3243 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3244 and global __sim_exceptions_global.
3245 (__sim_disabled_exceptions): Change to thread-local
3246 __sim_disabled_exceptions_thread and global
3247 __sim_disabled_exceptions_global.
3248 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3249 and global __sim_round_mode_global.
3250 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3251 (SIM_SET_GLOBAL): Likewise.
3252 * sysdeps/powerpc/soft-fp/sfp-machine.h
3253 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3254 __sim_round_mode_thread.
3255 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3256 __sim_disabled_exceptions_thread.
3257 (__sim_exceptions): Change to __sim_exceptions_thread.
3258 (__sim_disabled_exceptions): Change to
3259 __sim_disabled_exceptions_thread.
3260 (__sim_round_mode): Change to __sim_round_mode_thread.
3261 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3262 thread-local floating-point state and set global state from it as
3264 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3265 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3266 (__sim_disabled_exceptions): Remove extern declaration.
3267 (feenableexcept): Use thread-local floating-point state and set
3268 global state from it as needed.
3269 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3271 (__sim_disabled_exceptions): Likewise.
3272 (__sim_round_mode): Likewise.
3273 (__fegetenv): Use thread-local floating-point state.
3274 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3275 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3276 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3277 floating-point state and set global state from it as needed.
3278 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3279 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3280 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3282 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3283 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3285 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3286 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3287 Use __sim_round_mode_thread.
3288 * math/test-fenv-tls.c: New file.
3289 * math/Makefile (tests): Add test-fenv-tls.
3290 ($(objpfx)test-fenv-tls): Depend on
3291 $(common-objpfx)nptl/libpthread.so.
3293 2013-11-19 Andreas Schwab <schwab@suse.de>
3295 * locale/programs/locale.c (show_info): Decode wordarray elements.
3296 * locale/categories.def (LC_MONETARY): Add element for
3297 _NL_MONETARY_CRNCYSTR.
3298 * locale/C-monetary.c (conversion_rate): New variable.
3299 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3302 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3304 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3305 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3307 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3309 * elf/Makefile (tst-auxv): New test.
3310 * elf/tst-auxv.c: New
3311 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3313 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3315 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3316 (hidden_proto): Caller changed.
3317 (hidden_tls_proto): New macro.
3318 (libc_hidden_tls_proto): Likewise.
3319 (rtld_hidden_tls_proto): Likewise.
3320 (libm_hidden_tls_proto): Likewise.
3321 (libresolv_hidden_tls_proto): Likewise.
3322 (librt_hidden_tls_proto): Likewise.
3323 (libdl_hidden_tls_proto): Likewise.
3324 (libnss_files_hidden_tls_proto): Likewise.
3325 (libnsl_hidden_tls_proto): Likewise.
3326 (libnss_nisplus_hidden_tls_proto): Likewise.
3327 (libutil_hidden_tls_proto): Likewise.
3329 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3332 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3333 (decompose_rpath): Defer expansion to fillin_rpath.
3334 (_dl_init_paths): Pass linkmap to fillin_rpath.
3336 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3338 * benchtests/Makefile: Add strsep.
3339 * benchtests/bench-strsep.c: New file: strsep benchtest.
3340 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3342 2013-11-18 Andreas Schwab <schwab@suse.de>
3344 * locale/programs/locale.c (show_info) [case byte]: Check for
3345 '\377' instead of '\177'.
3346 * locale/C-monetary.c (not_available): Always use "\377".
3347 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3348 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3349 detect unavailable sign_posn locale elements.
3350 * locale/localeconv.c (__localeconv): For grouping and
3351 mon_grouping handle "\177" and "\377" like no grouping.
3352 (INT_ELEM): New macro. Use it to set all numeric members.
3353 * locale/programs/ld-monetary.c (monetary_read)
3354 <tok_mon_grouping>: Normalize single -1 to the empty string.
3355 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3358 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3361 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3362 when we match (nil).
3363 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3365 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3367 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3368 (NO_TEST_INLINE): Update value.
3369 (ERRNO_UNCHANGED): Likewise.
3370 (ERRNO_EDOM): Likewise.
3371 (ERRNO_ERANGE): Likewise.
3372 (IGNORE_RESULT): Likewise.
3373 (check_float_internal): Check signs of NaN results if
3375 (check_complex): Pass TEST_NAN_SIGN flag through to second
3376 check_float_internal call.
3377 (copysign_test_data): Add tests with quiet NaNs as second
3378 argument. Use TEST_NAN_SIGN.
3379 (fabs_test_data): Add test of negative quiet NaN argument. Use
3381 (signbit_test_data): Add tests of quiet NaN argument.
3382 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3384 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3386 (parse_args): Handle function results specified as IGNORE.
3387 * math/libm-test.inc (IGNORE_RESULT): New macro.
3388 (check_float_internal): Do not check numerical result if flag
3390 (check_complex): Pass through IGNORE_RESULT to second
3391 check_float_internal call.
3392 (check_int): Do not check numerical result if flag IGNORE_RESULT
3394 (check_long): Likewise.
3395 (check_bool): Likewise.
3396 (check_longlong): Likewise.
3397 (lrint_test_data): Add tests of infinite and NaN arguments.
3398 (lrint_tonearest_test_data): Likewise.
3399 (lrint_towardzero_test_data): Likewise.
3400 (lrint_downward_test_data): Likewise.
3401 (lrint_upward_test_data): Likewise.
3402 (llrint_test_data): Likewise.
3403 (llrint_tonearest_test_data): Likewise.
3404 (llrint_towardzero_test_data): Likewise.
3405 (llrint_downward_test_data): Likewise.
3406 (llrint_upward_test_data): Likewise.
3407 (lround_test_data): Likewise.
3408 (llround_test_data): Likewise.
3410 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3411 (ERRNO_UNCHANGED): Update value.
3412 (ERRNO_EDOM): Likewise.
3413 (ERRNO_ERANGE): Likewise.
3414 (NO_TEST_INLINE_FLOAT): New macro.
3415 (NO_TEST_INLINE_DOUBLE): Likewise.
3416 (enable_test): New function.
3417 (RUN_TEST_f_f): Check enable_test before running test.
3418 (RUN_TEST_2_f): Likewise.
3419 (RUN_TEST_fff_f): Likewise.
3420 (RUN_TEST_c_f): Likewise.
3421 (RUN_TEST_f_f1): Likewise.
3422 (RUN_TEST_fF_f1): Likewise.
3423 (RUN_TEST_fI_f1): Likewise.
3424 (RUN_TEST_ffI_f1): Likewise.
3425 (RUN_TEST_c_c): Likewise.
3426 (RUN_TEST_cc_c): Likewise.
3427 (RUN_TEST_f_i): Likewise.
3428 (RUN_TEST_f_i_tg): Likewise.
3429 (RUN_TEST_ff_i_tg): Likewise.
3430 (RUN_TEST_f_b): Likewise.
3431 (RUN_TEST_f_b_tg): Likewise.
3432 (RUN_TEST_f_l): Likewise.
3433 (RUN_TEST_f_L): Likewise.
3434 (RUN_TEST_fFF_11): Likewise.
3435 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3437 (cosh_test_data): Likewise.
3438 (exp_test_data): Likewise.
3439 (expm1_test_data): Likewise.
3440 (hypot_test_data): Likewise.
3441 (pow_test_data): Likewise.
3442 (sinh_test_data): Likewise.
3443 (tanh_test_data): Likewise.
3444 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3447 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3448 tests with quiet NaN input and output.
3449 (acosh_test_data): Likewise.
3450 (asin_test_data): Likewise.
3451 (asinh_test_data): Likewise.
3452 (atan_test_data): Likewise.
3453 (atanh_test_data): Likewise.
3454 (atan2_test_data): Likewise.
3455 (cbrt_test_data): Likewise.
3456 (cos_test_data): Likewise.
3457 (cosh_test_data): Likewise.
3458 (erf_test_data): Likewise.
3459 (erfc_test_data): Likewise.
3460 (exp_test_data): Likewise.
3461 (exp10_test_data): Likewise.
3462 (exp2_test_data): Likewise.
3463 (expm1_test_data): Likewise.
3464 (hypot_test_data): Likewise.
3465 (j0_test_data): Likewise.
3466 (j1_test_data): Likewise.
3467 (jn_test_data): Likewise.
3468 (lgamma_test_data): Likewise.
3469 (log_test_data): Likewise.
3470 (log10_test_data): Likewise.
3471 (log1p_test_data): Likewise.
3472 (log2_test_data): Likewise.
3473 (pow_test_data): Likewise.
3474 (scalb_test_data): Likewise.
3475 (sin_test_data): Likewise.
3476 (sincos_test_data): Likewise.
3477 (sinh_test_data): Likewise.
3478 (tan_test_data): Likewise.
3479 (tanh_test_data): Likewise.
3480 (tgamma_test_data): Likewise.
3481 (y0_test_data): Likewise.
3482 (y1_test_data): Likewise.
3483 (yn_test_data): Likewise.
3486 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3487 argument being NaN and avoid computations with second argument in
3489 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3490 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3491 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3493 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3495 * locale/iso-639.def: Add Chitwani Tharu (the).
3497 2013-11-14 Andreas Schwab <schwab@suse.de>
3499 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3500 word instead of empty string.
3502 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3505 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3507 (__fe_nomask_env): Likewise.
3509 2013-11-13 Steve Ellcey <sellcey@mips.com>
3511 * benchtests/bench-timing.h: Include time.h.
3513 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3516 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3518 * sysdeps/unix/sysv/linux/configure: Regenerated.
3520 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3523 * stdlib/strtod_l.c (round_and_return): Do not consider
3524 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3525 exponent one less than half the least subnormal exponent.
3526 * stdlib/test-strtod-round-data: Add more tests.
3527 * stdlib/tst-strtod-round.c (tests): Regenerated.
3529 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3533 (__fe_mask_env): Likewise.
3534 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3535 libm_hidden_proto and add function prototype.
3536 (__fe_mask_env): Add function prototype.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3538 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3540 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3542 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3544 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3546 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3547 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3549 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3551 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3552 of htab_find_slot().
3554 2013-11-11 David S. Miller <davem@davemloft.net>
3557 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3558 symbol in the non-vis3 case in static builds.
3559 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3560 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3561 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3562 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3564 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3567 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3570 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3572 * benchtests/Makefile: Add bench-strtod.
3573 * benchtests/bench-strtod.c: New file: strtod benchtest
3575 2013-11-11 Andreas Schwab <schwab@suse.de>
3578 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3579 terminating NUL in key length.
3581 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3583 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3584 Add artificial ODP entry for vDSO symbol for PPC64.
3585 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3586 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3588 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3591 * nss/getent.c (services_keys): Recognize services starting with digit.
3593 2013-11-06 David S. Miller <davem@davemloft.net>
3596 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3597 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3599 2013-11-06 Will Newton <will.newton@linaro.org>
3601 * manual/memory.texi (Malloc Examples): Remove register
3602 keyword from examples.
3604 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3606 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3608 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3610 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3611 depending on [__GCC_IEC_559 > 0].
3612 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3613 depending on [__GCC_IEC_559_COMPLEX > 0].
3615 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3617 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3620 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3622 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3624 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3627 * malloc/malloc (malloc_info): Do not handle first bin as
3630 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3632 * locale/iso-639.def: Add Central Nahuatl (nhn).
3634 2013-11-01 Bruno Haible <bruno@clisp.org>
3637 * manual/math.texi (BSD Random): Specify range upper bound as
3640 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3642 * locale/iso-639.def: Add Meadow Mari (mhr).
3644 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3646 [BZ #14752], [BZ #15763]
3647 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3649 * rt/tst_shm.c: Add test for escaping directory.
3651 2013-10-31 Andreas Schwab <schwab@suse.de>
3654 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3655 followed by 'x' as part of digit sequence.
3656 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3658 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3661 * configure.ac: allow GNU Make 4.0 and greater.
3662 * configure: Regenerated.
3664 2013-10-30 Will Newton <will.newton@linaro.org>
3667 * malloc/hooks.c (memalign_check): Limit alignment to the
3668 maximum representable power of two.
3669 * malloc/malloc.c (__libc_memalign): Likewise.
3670 * malloc/tst-memalign.c (do_test): Add test for very
3671 large alignment values.
3672 * malloc/tst-posix_memalign.c (do_test): Likewise.
3674 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3677 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3678 (munmap_chunk): Likewise.
3679 (mremap_chunk): Likewise.
3681 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3684 * stdlib/div.c (div): Remove obsolete code.
3685 * stdlib/ldiv.c (ldiv): Likewise.
3686 * stdlib/lldiv.c (lldiv): Likewise.
3688 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3691 * nss/nss_files/files-XXX.c (get_contents_ret): New
3693 (get_contents): New function.
3694 (internal_getent): Use it. Expand size of LINEBUFLEN.
3696 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3698 * configure.in: Moved to ...
3699 * configure.ac: ... here. Change reference to configure.in
3701 * sysdeps/arm/preconfigure.ac: ... here.
3702 configure.in to configure.ac.
3703 * sysdeps/gnu/configure.in: Moved to ...
3704 * sysdeps/gnu/configure.ac: ... here.
3705 * sysdeps/i386/configure.in: Moved to ...
3706 * sysdeps/i386/configure.ac: ... here.
3707 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3708 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3709 * sysdeps/mach/configure.in: Moved to ...
3710 * sysdeps/mach/configure.ac: ... here.
3711 * sysdeps/mach/hurd/configure.in: Moved to ...
3712 * sysdeps/mach/hurd/configure.ac: ... here.
3713 * sysdeps/powerpc/configure.in: Moved to ...
3714 * sysdeps/powerpc/configure.ac: ... here.
3715 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3716 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3717 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3718 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3719 * sysdeps/s390/s390-32/configure.in: Moved to ...
3720 * sysdeps/s390/s390-32/configure.ac: ... here.
3721 * sysdeps/s390/s390-64/configure.in: Moved to ...
3722 * sysdeps/s390/s390-64/configure.ac: ... here.
3723 * sysdeps/sh/configure.in: Moved to ...
3724 * sysdeps/sh/configure.ac: ... here.
3725 * sysdeps/sparc/configure.in: Moved to ...
3726 * sysdeps/sparc/configure.ac: ... here.
3727 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3728 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3729 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3730 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3731 * sysdeps/x86_64/configure.in: Moved to ...
3732 * sysdeps/x86_64/configure.ac: ... here.
3733 * sysdeps/x86_64/preconfigure.in: Moved to ...
3734 * sysdeps/x86_64/preconfigure.ac: ... here.
3735 * aclocal.m4: Change reference to configure.in to configure.ac.
3736 * config.h.in: Likewise.
3737 * manual/install.texi: Likewise.
3738 * manual/maint.texi: Likewise.
3739 * Makefile: Likewise.
3740 * malloc/Makefile: Likewise.
3741 * nscd/Makefile: Likewise.
3742 * Makeconfig: Change reference to configure.in and
3743 preconfigure.in to configure.ac and preconfigure.ac
3745 * INSTALL: Regenerated.
3746 * configure: Likewise.
3747 * sysdeps/gnu/configure: Likewise.
3748 * sysdeps/i386/configure: Likewise.
3749 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3750 * sysdeps/mach/configure: Likewise.
3751 * sysdeps/mach/hurd/configure: Likewise.
3752 * sysdeps/powerpc/configure: Likewise.
3753 * sysdeps/powerpc/powerpc32/configure: Likewise.
3754 * sysdeps/powerpc/powerpc64/configure: Likewise.
3755 * sysdeps/s390/s390-32/configure: Likewise.
3756 * sysdeps/s390/s390-64/configure: Likewise.
3757 * sysdeps/sh/configure: Likewise.
3758 * sysdeps/sparc/configure: Likewise.
3759 * sysdeps/unix/sysv/linux/configure: Likewise.
3760 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3761 * sysdeps/x86_64/configure: Likewise.
3762 * sysdeps/x86_64/preconfigure: Likewise.
3764 2013-10-29 Andreas Schwab <schwab@suse.de>
3766 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3768 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3770 * benchtests/pow-inputs: Add new inputs.
3772 * benchtests/exp-inputs: Add new inputs.
3774 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3775 conditional check for return value.
3776 (__cos32): Likewise.
3778 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3780 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3781 to provide a boost for large inputs with word alignment.
3782 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3783 implementation based on optimized PPC64 strcpy.
3784 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3785 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3786 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3787 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3789 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3792 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3794 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3797 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3798 * time/tst-strptime.c (day_tests): Add testcase.
3800 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3803 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3805 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3808 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3809 MAP_FAILED on error.
3811 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3814 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3815 heap for large requests.
3817 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3820 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3821 result if the result has no associated interface.
3822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3823 interface for all 127.X.Y.Z addresses.
3825 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3827 * locale/iso-639.def: Add Ligurian (lij)
3829 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3832 * sunrpc/rpc_main.c: Document rpcgen -5.
3834 2013-10-19 Michael Stahl <mstahl@redhat.com>
3836 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3838 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3841 * posix/glob.c: Match only directories when trailing slash is present.
3842 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3843 (main): Add testcase.
3845 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3848 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3850 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3852 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3853 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3854 AUTH_DES and cindex for FIPS 140-2.
3855 (DES Encryption): Add cindex FIPS 46-3.
3857 * locale/locarchive.h (struct locarhandle): Add fname.
3858 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3859 if an optional argument was specified to --list-archive,
3861 * locale/programs/locarchive.c (show_archive_content): Take new
3862 argument fname and pass it via ah.fname to open_archive.
3863 * locale/programs/localedef.h: Update decl.
3864 (open_archive): If AH->fname is non-null, open that file
3865 rather than the default file name, and don't ignore ENOENT.
3866 (create_archive): Set AH.fname to NULL.
3867 (delete_locales_from_archive): Likewise.
3868 (add_locales_to_archive): Likewise.
3869 * locale/programs/locfile.c (write_all_categories): Likewise.
3871 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3872 Aldy Hernandez <aldyh@redhat.com>
3874 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3875 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3876 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3877 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3878 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3879 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3880 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3881 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3882 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3883 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3884 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3885 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3886 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3887 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3888 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3890 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3892 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3894 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3896 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3897 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3899 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3900 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3901 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3902 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3904 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3906 * sysdeps/powerpc/preconfigure: Likewise.
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3909 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3910 Replace contents of file by #include of <fenv_libc.h>.
3911 * sysdeps/powerpc/soft-fp/sfp-machine.h
3912 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3914 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3915 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3916 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3922 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3925 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3927 Allow copysignl PLT reference to be missing.
3929 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3930 Joseph Myers <joseph@codesourcery.com
3933 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3935 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3937 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3939 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3940 * elf/tst-tls1.c: Likewise.
3941 * elf/tst-tls10.h: Likewise.
3942 * elf/tst-tls14.c: Likewise.
3943 * elf/tst-tls2.c: Likewise.
3944 * elf/tst-tls3.c: Likewise.
3945 * elf/tst-tls4.c: Likewise.
3946 * elf/tst-tls5.c: Likewise.
3947 * elf/tst-tls6.c: Likewise.
3948 * elf/tst-tls7.c: Likewise.
3949 * elf/tst-tls8.c: Likewise.
3950 * elf/tst-tls9.c: Likewise.
3951 * elf/tst-tlsmod1.c: Likewise.
3952 * elf/tst-tlsmod13.c: Likewise.
3953 * elf/tst-tlsmod13a.c: Likewise.
3954 * elf/tst-tlsmod14a.c: Likewise.
3955 * elf/tst-tlsmod16a.c: Likewise.
3956 * elf/tst-tlsmod16b.c: Likewise.
3957 * elf/tst-tlsmod2.c: Likewise.
3958 * elf/tst-tlsmod3.c: Likewise.
3959 * elf/tst-tlsmod4.c: Likewise.
3960 * elf/tst-tlsmod5.c: Likewise.
3961 * elf/tst-tlsmod6.c: Likewise.
3963 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3966 * malloc/malloc.c: remove checks for statistics.
3968 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3971 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3972 * inet/tst-network.c: Add testcase.
3974 2013-10-17 Andreas Schwab <schwab@suse.de>
3977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3978 to determine canonical name.
3980 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3982 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3983 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4006 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4012 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4041 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4044 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4045 make result into a quiet NaN.
4047 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4049 * soft-fp/adddf3.c: Fix horizontal whitespace.
4050 * soft-fp/addsf3.c: Likewise.
4051 * soft-fp/addtf3.c: Likewise.
4052 * soft-fp/divdf3.c: Likewise.
4053 * soft-fp/divsf3.c: Likewise.
4054 * soft-fp/divtf3.c: Likewise.
4055 * soft-fp/double.h: Likewise.
4056 * soft-fp/eqdf2.c: Likewise.
4057 * soft-fp/eqsf2.c: Likewise.
4058 * soft-fp/eqtf2.c: Likewise.
4059 * soft-fp/extenddftf2.c: Likewise.
4060 * soft-fp/extended.h: Likewise.
4061 * soft-fp/extendsfdf2.c: Likewise.
4062 * soft-fp/extendsftf2.c: Likewise.
4063 * soft-fp/extendxftf2.c: Likewise.
4064 * soft-fp/fixdfdi.c: Likewise.
4065 * soft-fp/fixdfsi.c: Likewise.
4066 * soft-fp/fixdfti.c: Likewise.
4067 * soft-fp/fixsfdi.c: Likewise.
4068 * soft-fp/fixsfsi.c: Likewise.
4069 * soft-fp/fixsfti.c: Likewise.
4070 * soft-fp/fixtfdi.c: Likewise.
4071 * soft-fp/fixtfsi.c: Likewise.
4072 * soft-fp/fixtfti.c: Likewise.
4073 * soft-fp/fixunsdfdi.c: Likewise.
4074 * soft-fp/fixunsdfsi.c: Likewise.
4075 * soft-fp/fixunsdfti.c: Likewise.
4076 * soft-fp/fixunssfdi.c: Likewise.
4077 * soft-fp/fixunssfsi.c: Likewise.
4078 * soft-fp/fixunssfti.c: Likewise.
4079 * soft-fp/fixunstfdi.c: Likewise.
4080 * soft-fp/fixunstfsi.c: Likewise.
4081 * soft-fp/fixunstfti.c: Likewise.
4082 * soft-fp/floatdidf.c: Likewise.
4083 * soft-fp/floatdisf.c: Likewise.
4084 * soft-fp/floatditf.c: Likewise.
4085 * soft-fp/floatsidf.c: Likewise.
4086 * soft-fp/floatsisf.c: Likewise.
4087 * soft-fp/floatsitf.c: Likewise.
4088 * soft-fp/floattidf.c: Likewise.
4089 * soft-fp/floattisf.c: Likewise.
4090 * soft-fp/floattitf.c: Likewise.
4091 * soft-fp/floatundidf.c: Likewise.
4092 * soft-fp/floatundisf.c: Likewise.
4093 * soft-fp/floatunditf.c: Likewise.
4094 * soft-fp/floatunsidf.c: Likewise.
4095 * soft-fp/floatunsisf.c: Likewise.
4096 * soft-fp/floatunsitf.c: Likewise.
4097 * soft-fp/floatuntidf.c: Likewise.
4098 * soft-fp/floatuntisf.c: Likewise.
4099 * soft-fp/floatuntitf.c: Likewise.
4100 * soft-fp/fmadf4.c: Likewise.
4101 * soft-fp/fmasf4.c: Likewise.
4102 * soft-fp/fmatf4.c: Likewise.
4103 * soft-fp/gedf2.c: Likewise.
4104 * soft-fp/gesf2.c: Likewise.
4105 * soft-fp/getf2.c: Likewise.
4106 * soft-fp/ledf2.c: Likewise.
4107 * soft-fp/lesf2.c: Likewise.
4108 * soft-fp/letf2.c: Likewise.
4109 * soft-fp/muldf3.c: Likewise.
4110 * soft-fp/mulsf3.c: Likewise.
4111 * soft-fp/multf3.c: Likewise.
4112 * soft-fp/negdf2.c: Likewise.
4113 * soft-fp/negsf2.c: Likewise.
4114 * soft-fp/negtf2.c: Likewise.
4115 * soft-fp/op-1.h: Likewise.
4116 * soft-fp/op-2.h: Likewise.
4117 * soft-fp/op-4.h: Likewise.
4118 * soft-fp/op-8.h: Likewise.
4119 * soft-fp/op-common.h: Likewise.
4120 * soft-fp/quad.h: Likewise.
4121 * soft-fp/single.h: Likewise.
4122 * soft-fp/soft-fp.h: Likewise.
4123 * soft-fp/sqrtdf2.c: Likewise.
4124 * soft-fp/sqrtsf2.c: Likewise.
4125 * soft-fp/sqrttf2.c: Likewise.
4126 * soft-fp/subdf3.c: Likewise.
4127 * soft-fp/subsf3.c: Likewise.
4128 * soft-fp/subtf3.c: Likewise.
4129 * soft-fp/truncdfsf2.c: Likewise.
4130 * soft-fp/trunctfdf2.c: Likewise.
4131 * soft-fp/trunctfsf2.c: Likewise.
4132 * soft-fp/trunctfxf2.c: Likewise.
4133 * soft-fp/unorddf2.c: Likewise.
4134 * soft-fp/unordsf2.c: Likewise.
4135 * soft-fp/unordtf2.c: Likewise.
4137 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4139 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4140 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4142 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4144 * elf/dl-libc.c: Clear initfini list after freeing.
4146 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4148 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4149 * soft-fp/addsf3.c: Likewise.
4150 * soft-fp/addtf3.c: Likewise.
4151 * soft-fp/divdf3.c: Likewise.
4152 * soft-fp/divsf3.c: Likewise.
4153 * soft-fp/divtf3.c: Likewise.
4154 * soft-fp/double.h: Likewise.
4155 * soft-fp/eqdf2.c: Likewise.
4156 * soft-fp/eqsf2.c: Likewise.
4157 * soft-fp/eqtf2.c: Likewise.
4158 * soft-fp/extenddftf2.c: Likewise.
4159 * soft-fp/extended.h: Likewise.
4160 * soft-fp/extendsfdf2.c: Likewise.
4161 * soft-fp/extendsftf2.c: Likewise.
4162 * soft-fp/extendxftf2.c: Likewise.
4163 * soft-fp/fixdfdi.c: Likewise.
4164 * soft-fp/fixdfsi.c: Likewise.
4165 * soft-fp/fixdfti.c: Likewise.
4166 * soft-fp/fixsfdi.c: Likewise.
4167 * soft-fp/fixsfsi.c: Likewise.
4168 * soft-fp/fixsfti.c: Likewise.
4169 * soft-fp/fixtfdi.c: Likewise.
4170 * soft-fp/fixtfsi.c: Likewise.
4171 * soft-fp/fixtfti.c: Likewise.
4172 * soft-fp/fixunsdfdi.c: Likewise.
4173 * soft-fp/fixunsdfsi.c: Likewise.
4174 * soft-fp/fixunsdfti.c: Likewise.
4175 * soft-fp/fixunssfdi.c: Likewise.
4176 * soft-fp/fixunssfsi.c: Likewise.
4177 * soft-fp/fixunssfti.c: Likewise.
4178 * soft-fp/fixunstfdi.c: Likewise.
4179 * soft-fp/fixunstfsi.c: Likewise.
4180 * soft-fp/fixunstfti.c: Likewise.
4181 * soft-fp/floatdidf.c: Likewise.
4182 * soft-fp/floatdisf.c: Likewise.
4183 * soft-fp/floatditf.c: Likewise.
4184 * soft-fp/floatsidf.c: Likewise.
4185 * soft-fp/floatsisf.c: Likewise.
4186 * soft-fp/floatsitf.c: Likewise.
4187 * soft-fp/floattidf.c: Likewise.
4188 * soft-fp/floattisf.c: Likewise.
4189 * soft-fp/floattitf.c: Likewise.
4190 * soft-fp/floatundidf.c: Likewise.
4191 * soft-fp/floatundisf.c: Likewise.
4192 * soft-fp/floatunsidf.c: Likewise.
4193 * soft-fp/floatunsisf.c: Likewise.
4194 * soft-fp/floatuntidf.c: Likewise.
4195 * soft-fp/floatuntisf.c: Likewise.
4196 * soft-fp/floatuntitf.c: Likewise.
4197 * soft-fp/fmadf4.c: Likewise.
4198 * soft-fp/fmasf4.c: Likewise.
4199 * soft-fp/fmatf4.c: Likewise.
4200 * soft-fp/gedf2.c: Likewise.
4201 * soft-fp/gesf2.c: Likewise.
4202 * soft-fp/getf2.c: Likewise.
4203 * soft-fp/ledf2.c: Likewise.
4204 * soft-fp/lesf2.c: Likewise.
4205 * soft-fp/letf2.c: Likewise.
4206 * soft-fp/muldf3.c: Likewise.
4207 * soft-fp/mulsf3.c: Likewise.
4208 * soft-fp/multf3.c: Likewise.
4209 * soft-fp/negdf2.c: Likewise.
4210 * soft-fp/negsf2.c: Likewise.
4211 * soft-fp/negtf2.c: Likewise.
4212 * soft-fp/op-1.h: Likewise.
4213 * soft-fp/op-2.h: Likewise.
4214 * soft-fp/op-4.h: Likewise.
4215 * soft-fp/op-8.h: Likewise.
4216 * soft-fp/op-common.h: Likewise.
4217 * soft-fp/quad.h: Likewise.
4218 * soft-fp/single.h: Likewise.
4219 * soft-fp/soft-fp.h: Likewise.
4220 * soft-fp/sqrtdf2.c: Likewise.
4221 * soft-fp/sqrtsf2.c: Likewise.
4222 * soft-fp/sqrttf2.c: Likewise.
4223 * soft-fp/subdf3.c: Likewise.
4224 * soft-fp/subsf3.c: Likewise.
4225 * soft-fp/subtf3.c: Likewise.
4226 * soft-fp/truncdfsf2.c: Likewise.
4227 * soft-fp/trunctfdf2.c: Likewise.
4228 * soft-fp/trunctfsf2.c: Likewise.
4229 * soft-fp/trunctfxf2.c: Likewise.
4230 * soft-fp/unorddf2.c: Likewise.
4231 * soft-fp/unordsf2.c: Likewise.
4232 * soft-fp/unordtf2.c: Likewise.
4234 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4237 * misc/error.c (error_tail): Fix possible buffer overflow.
4239 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4242 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4245 2013-10-14 P. J. McDermott <pj@pehjota.net>
4248 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4249 testing pipefail option.
4251 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4253 * soft-fp/double.h: Indent preprocessor directives inside #if.
4254 * soft-fp/extended.h: Likewise.
4255 * soft-fp/op-2.h: Likewise.
4256 * soft-fp/op-4.h: Likewise.
4257 * soft-fp/op-common.h: Likewise.
4258 * soft-fp/quad.h: Likewise.
4259 * soft-fp/single.h: Likewise.
4260 * soft-fp/soft-fp.h: Likewise.
4262 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4264 * iconv/iconv_prog.c: Fix typos.
4265 * stdio-common/psiginfo-data.h: Likewise.
4267 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4270 * locale/setlocale.c: Fix typo.
4272 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4275 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4276 signaling NaN arguments.
4277 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4278 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4281 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4283 * soft-fp/gesf2.c (__gesf2): Likewise.
4284 * soft-fp/getf2.c (__getf2): Likewise.
4285 * soft-fp/ledf2.c (__ledf2): Likewise.
4286 * soft-fp/lesf2.c (__lesf2): Likewise.
4287 * soft-fp/letf2.c (__letf2): Likewise.
4289 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4290 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4291 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4292 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4293 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4294 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4295 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4296 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4297 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4298 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4299 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4300 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4301 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4302 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4303 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4304 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4305 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4306 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4307 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4308 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4309 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4310 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4311 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4312 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4313 * soft-fp/floattidf.c (__floattidf): Likewise.
4314 * soft-fp/floattisf.c (__floattisf): Likewise.
4315 * soft-fp/floattitf.c (__floattitf): Likewise.
4316 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4317 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4318 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4319 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4320 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4321 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4322 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4323 * soft-fp/gesf2.c (__gesf2): Likewise.
4324 * soft-fp/getf2.c (__getf2): Likewise.
4325 * soft-fp/ledf2.c (__ledf2): Likewise.
4326 * soft-fp/lesf2.c (__lesf2): Likewise.
4327 * soft-fp/letf2.c (__letf2): Likewise.
4329 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4330 Undefine and redefine.
4331 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4332 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4333 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4334 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4335 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4336 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4337 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4338 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4339 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4340 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4341 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4342 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4343 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4344 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4345 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4348 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4349 without decrementing exponent if mantissa >= that for the
4351 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4352 denominator, not >. Decrement exponent in < case instead of
4353 incrementing in >= case.
4354 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4355 without decrementing exponent if mantissa >= that for the
4358 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4359 computing saturated result for unsigned overflow.
4361 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4362 Jeff Law <law@redhat.com>
4364 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4365 (atan2Mp): Add systemtap probe marker.
4366 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4367 (__ieee754_log): Add systemtap probe marker.
4368 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4369 (atanMp): Add systemtap probe marker.
4370 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4371 (tanMp): Add systemtap probe marker.
4372 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4373 (__slowexp): Add systemtap probe marker.
4374 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4375 (__slowpow): Add systemtap probe marker.
4376 * manual/probes.texi: Document probes.
4378 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4381 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4383 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4385 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4386 written to buffer but not flushed.
4387 * libio/iofwrite_u.c: Likewise.
4388 * libio/iopadn.c: Return bytes returned even if EOF was
4390 * libio/iowpadn.c: Likewise.
4391 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4392 if _IO_padn does not write the whole buffer.
4393 [!COMPILE_WPRINTF] (PAD): Likewise.
4395 2013-10-10 David S. Miller <davem@davemloft.net>
4397 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4400 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4402 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4403 instead of FSF address.
4404 * soft-fp/fixdfti.c: Likewise.
4405 * soft-fp/fixsfti.c: Likewise.
4406 * soft-fp/fixtfti.c: Likewise.
4407 * soft-fp/fixunsdfti.c: Likewise.
4408 * soft-fp/fixunssfti.c: Likewise.
4409 * soft-fp/fixunstfti.c: Likewise.
4410 * soft-fp/floattidf.c: Likewise.
4411 * soft-fp/floattisf.c: Likewise.
4412 * soft-fp/floattitf.c: Likewise.
4413 * soft-fp/floatuntidf.c: Likewise.
4414 * soft-fp/floatuntisf.c: Likewise.
4415 * soft-fp/floatuntitf.c: Likewise.
4416 * soft-fp/trunctfxf2.c: Likewise.
4418 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4419 * soft-fp/fixdfti.c: Likewise.
4420 * soft-fp/fixsfti.c: Likewise.
4421 * soft-fp/fixtfti.c: Likewise.
4422 * soft-fp/fixunsdfti.c: Likewise.
4423 * soft-fp/fixunssfti.c: Likewise.
4424 * soft-fp/fixunstfti.c: Likewise.
4425 * soft-fp/floattidf.c: Likewise.
4426 * soft-fp/floattisf.c: Likewise.
4427 * soft-fp/floattitf.c: Likewise.
4428 * soft-fp/floatuntidf.c: Likewise.
4429 * soft-fp/floatuntisf.c: Likewise.
4430 * soft-fp/floatuntitf.c: Likewise.
4431 * soft-fp/trunctfxf2.c: Likewise.
4433 2013-10-10 David S. Miller <davem@davemloft.net>
4435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4437 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4439 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4440 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4441 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4442 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4443 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4444 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4445 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4448 for NaNs before doing comparisons on argument.
4449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4452 2013-10-10 Will Newton <will.newton@linaro.org>
4454 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4455 passed to _int_memalign does not overflow.
4457 2013-10-10 Torvald Riegel <triegel@redhat.com>
4459 * scripts/bench.pl: Add include-sources directive.
4460 * benchtests/README: Update documentation.
4462 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4464 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4465 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4466 instead of FP_INIT_ROUNDMODE.
4467 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4468 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4471 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4472 copy class of input value.
4473 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4474 not handle exceptions.
4475 * soft-fp/negsf2.c (__negsf2): Likewise.
4476 * soft-fp/negtf2.c (__negtf2): Likewise.
4477 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4479 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4481 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4482 semicolon. From Linux kernel.
4484 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4486 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4488 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4491 * manual/socket.texi: Added statement about buffer
4492 for gethostbyname2_r.
4494 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4496 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4497 Use .p2align directive instead, throughout.
4498 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4499 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4500 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4503 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4504 * sysdeps/x86_64/strchr.S: Likewise.
4505 * sysdeps/x86_64/strrchr.S: Likewise.
4507 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4509 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4511 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4513 * sysdeps/generic/math_private.h (__mpsin1): Remove
4515 (__mpcos1): Likewise.
4516 (__mpsin): New argument __range_reduce.
4517 (__mpcos): Likewise.
4518 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4519 (slow): Use __mpsin and __mpcos.
4526 (bsloww1): Likewise.
4527 (bsloww2): Likewise.
4530 (csloww1): Likewise.
4531 (csloww2): Likewise.
4532 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4533 range_reduce. Merge in __mpsin1.
4534 (__mpcos): Likewise.
4536 (__mpcos1): Likewise.
4538 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4540 * locale/loadlocale.c (_nl_intern_locale_data): Use
4542 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4543 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4544 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4545 obstack data is appropriately aligned.
4546 (obstack_int32_grow_fast): Likewise.
4547 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4548 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4549 (add_locale_uint32_array): Likewise.
4551 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4553 * benchtests/Makefile: Remove ARGLIST and RET variables.
4554 ($(objpfx)bench-%.c): Pass only function name to the script.
4555 * benchtests/README: Update documentation.
4556 * benchtests/acos-inputs: Add new directives.
4557 * benchtests/acosh-inputs: Likewise.
4558 * benchtests/asin-inputs: Likewise.
4559 * benchtests/asinh-inputs: Likewise.
4560 * benchtests/atan-inputs: Likewise.
4561 * benchtests/atanh-inputs: Likewise.
4562 * benchtests/cos-inputs: Likewise.
4563 * benchtests/cosh-inputs: Likewise.
4564 * benchtests/exp-inputs: Likewise.
4565 * benchtests/log-inputs: Likewise.
4566 * benchtests/pow-inputs: Likewise.
4567 * benchtests/rint-inputs: Likewise.
4568 * benchtests/sin-inputs: Likewise.
4569 * benchtests/sinh-inputs: Likewise.
4570 * benchtests/tan-inputs: Likewise.
4571 * benchtests/tanh-inputs: Likewise.
4572 * scripts/bench.pl: Add support for new directives.
4574 2013-10-07 Alan Modra <amodra@gmail.com>
4576 * README: Fix careless merge.
4578 2013-10-05 Alan Modra <amodra@gmail.com>
4580 * NEWS: Mention powerpc64le support and bugs fixed.
4581 * README: Both big-endian and little-endian powerpc64 supported.
4583 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4585 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4586 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4587 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4588 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4590 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4592 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4595 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4597 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4598 Move -mhard-float appending from
4599 ports/sysdeps/powerpc/powerpc32/Makefile.
4600 [$(with-fp) = yes] (ASFLAGS): Likewise.
4601 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4602 * sysdeps/powerpc/nofpu: Move directory from
4603 ports/sysdeps/powerpc/nofpu.
4604 * sysdeps/powerpc/soft-fp: Move directory from
4605 ports/sysdeps/powerpc/soft-fp.
4606 * sysdeps/powerpc/powerpc32/405: Move directory from
4607 ports/sysdeps/powerpc/powerpc32/405.
4608 * sysdeps/powerpc/powerpc32/440: Move directory from
4609 ports/sysdeps/powerpc/powerpc32/440.
4610 * sysdeps/powerpc/powerpc32/464: Move directory from
4611 ports/sysdeps/powerpc/powerpc32/464.
4612 * sysdeps/powerpc/powerpc32/476: Move directory from
4613 ports/sysdeps/powerpc/powerpc32/476.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4615 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4617 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4619 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4621 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4623 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4624 * README: Update for powerpc-*-linux-gnu software floating point
4627 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4628 case to powerpc/powerpc32*.
4629 * sysdeps/unix/sysv/linux/configure: Regenerated.
4631 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4632 (_FPU_MASK_OM): Define as 0x04.
4633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4641 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4644 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4647 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4648 and setcontext_e500.
4650 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4652 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4654 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4656 * manual/threads.texi (Default Thread Attributes): Fix typo.
4658 2013-10-04 Will Newton <will.newton@linaro.org>
4660 * malloc/Makefile: Add tst-memalign.
4661 * malloc/tst-memalign.c: New file.
4663 * malloc/tst-posix_memalign.c: Add comments.
4664 (do_test): Add comments and call free on all potentially
4665 allocated pointers. Add space after cast.
4667 * malloc/tst-pvalloc.c: Add comments.
4668 (do_test): Add comments and call free on all potentially
4669 allocated pointers. Remove duplicate check for NULL pointer.
4670 Add space after cast.
4672 * malloc/tst-valloc.c: Add comments.
4673 (do_test): Add comments and call free on all potentially
4674 allocated pointers. Remove duplicate check for NULL pointer.
4675 Add space after cast.
4677 2013-10-04 Alan Modra <amodra@gmail.com>
4679 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4680 Use stdint types in rather than __attribute__((mode())).
4681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4683 2013-10-04 Alan Modra <amodra@gmail.com>
4685 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4686 Correct handling of unaligned relocs for little-endian.
4687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4689 2013-10-04 Alan Modra <amodra@gmail.com>
4691 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4692 * configure: Regenerate.
4693 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4694 * shlib-versions: Likewise.
4696 2013-10-04 Alan Modra <amodra@gmail.com>
4698 * string/tester.c (test_memrchr): Increment reported test cycle.
4700 2013-10-04 Alan Modra <amodra@gmail.com>
4702 * string/test-memcpy.c (do_one_test): When reporting errors, print
4703 string address and don't overrun end of string.
4705 2013-10-04 Alan Modra <amodra@gmail.com>
4707 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4708 insrdi. Make better use of reg selection to speed exit slightly.
4709 Schedule entry path a little better. Remove useless "are we done"
4710 checks on entry to main loop. Handle wrapping around zero address.
4711 Correct main loop count. Handle single left-over word from main
4712 loop inline rather than by using loop_small. Remove extra word
4713 case in loop_small caused by wrong loop count. Add little-endian
4715 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4718 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4719 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4720 support. Avoid rlwimi.
4721 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4723 2013-10-04 Alan Modra <amodra@gmail.com>
4725 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4727 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4728 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4729 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4730 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4731 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4732 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4734 2013-10-04 Alan Modra <amodra@gmail.com>
4736 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4737 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4738 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4739 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4741 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4742 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4744 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4745 use of regs. Use power7 mtocrf. Tidy function tails.
4747 2013-10-04 Alan Modra <amodra@gmail.com>
4749 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4750 Formatting. Consistently use rXXX register defines or rN defines.
4751 Use early exit labels that avoid restoring unused non-volatile regs.
4752 Make cr field use more consistent with rWORDn compares. Rename
4753 regs used as shift registers for unaligned loop, using rN defines
4754 for short lifetime/multiple use regs.
4755 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4756 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4757 addi 1,1,64 to pop stack frame. Simplify return value code.
4758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4760 2013-10-04 Alan Modra <amodra@gmail.com>
4762 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4763 support. Correct typos, formatting. Optimize tail. Use insrdi
4765 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4766 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4767 little-endian support. Correct typos.
4768 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4770 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4771 in loop and entry code to keep "and." results.
4772 (strchr): Add little-endian support. Comment. Move cntlzd
4774 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4776 2013-10-04 Alan Modra <amodra@gmail.com>
4778 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4779 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4780 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4781 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4783 2013-10-04 Alan Modra <amodra@gmail.com>
4785 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4786 (rTMP): Define as r11.
4787 (strcmp): Add little-endian support. Optimise tail.
4788 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4789 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4790 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4791 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4792 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4793 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4796 2013-10-04 Alan Modra <amodra@gmail.com>
4798 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4799 little-endian support. Remove unnecessary "are we done" tests.
4800 Handle "s" wrapping around zero and extremely large "size".
4801 Correct main loop count. Handle single left-over word from main
4802 loop inline rather than by using small_loop. Correct comments.
4803 Delete "zero" tail, use "end_max" instead.
4804 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4806 2013-10-04 Alan Modra <amodra@gmail.com>
4808 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4809 support. Don't branch over align.
4810 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4811 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4812 support. Rearrange tmp reg use to suit. Comment.
4813 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4815 2013-10-04 Alan Modra <amodra@gmail.com>
4817 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4819 2013-10-04 Alan Modra <amodra@gmail.com>
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4822 conditional form of branch and link when obtaining pc.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4825 2013-10-04 Alan Modra <amodra@gmail.com>
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4832 2013-10-04 Alan Modra <amodra@gmail.com>
4834 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4835 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4836 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4837 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4838 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4839 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4841 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4842 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4843 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4845 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4846 Alistair Popple <alistair@ozlabs.au.ibm.com>
4847 Alan Modra <amodra@gmail.com>
4850 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4851 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4852 _dl_hwcap access for little-endian.
4853 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4854 destroy vmx regs when saving unaligned.
4855 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4856 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4857 destroy vmx regs when saving unaligned.
4859 2013-10-04 Alan Modra <amodra@gmail.com>
4861 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4862 Don't use a union to pack hi/low value.
4864 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4866 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4868 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4870 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4871 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4872 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4874 2013-10-04 Alan Modra <amodra@gmail.com>
4876 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4877 constants to usual value for .cst8 section, and remove redundant
4879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4880 constant for 0x1p52. Load little-endian words of double from
4881 correct stack offsets.
4883 2013-10-04 Alan Modra <amodra@gmail.com>
4885 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4886 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4887 words of double from correct stack offsets.
4888 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4889 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4890 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4891 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4892 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4893 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4895 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4896 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4900 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4901 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4902 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4903 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4904 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4906 2013-10-04 Alan Modra <amodra@gmail.com>
4908 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4909 64-bit int/double union.
4910 (_FPU_SETCW): Likewise.
4911 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4912 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4914 2013-10-04 Alan Modra <amodra@gmail.com>
4916 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4917 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4919 2013-10-04 Alan Modra <amodra@gmail.com>
4921 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4922 use vector int constants.
4923 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4925 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4927 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4928 array with long long.
4929 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4930 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4931 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4932 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4933 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4934 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4935 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4936 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4937 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4938 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4939 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4940 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4941 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4943 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4945 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4946 (__signbit): Likewise. Correct for little-endian.
4947 (__signbitl): Call __signbit.
4948 (lrint): Correct for little-endian.
4949 (lrintf): Call lrint.
4951 2013-10-04 Alan Modra <amodra@gmail.com>
4953 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4954 union 32-bit int array member with 64-bit int array.
4955 (t515, tm256): Double rather than long double.
4956 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4958 2013-10-04 Alan Modra <amodra@gmail.com>
4960 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4962 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4964 version of math_ldbl.h.
4966 2013-10-04 Alan Modra <amodra@gmail.com>
4968 [BZ #15734], [BZ #15735]
4969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4970 all uses of ieee875 long double macros and unions. Simplify test
4971 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4972 ldbl_extract_mantissa value for ix,iy exponents. Properly
4973 normalize after ldbl_extract_mantissa, and don't add hidden bit
4974 already handled. Don't treat low word of ieee854 mantissa like
4975 low word of IBM long double and mask off bit when testing for
4977 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4978 all uses of ieee875 long double macros and unions. Simplify tests
4979 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4980 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4981 two1022, instead use their values. Recognise that tests for large
4982 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4983 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4984 Rewrite all uses of ieee875 long double macros and unions. Simplify
4985 test for 0.0L and nan. Correct negation.
4986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4987 ieee875 long double macros and unions. Correct output for large
4988 magnitude x. Correct absolute value calculation.
4989 (__erfcl): Likewise.
4990 * math/libm-test.inc: Add tests for errors discovered in IBM long
4991 double versions of fmodl, remainderl, erfl and erfcl.
4993 2013-10-04 Alan Modra <amodra@gmail.com>
4995 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4996 all uses of ieee854 long double macros and unions. Simplify tests
4997 for long doubles that are fully specified by the high double.
4998 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5000 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5001 Remove dead code too.
5002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5003 (__ieee754_ynl): Likewise.
5004 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5007 Remove dead code too.
5008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5011 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5013 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5015 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5016 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5017 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5018 Comment on variable precision.
5019 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5020 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5022 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5023 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5024 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5025 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5026 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5028 2013-10-04 Alan Modra <amodra@gmail.com>
5030 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5031 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5032 all uses of ieee854 long double macros and unions.
5033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5035 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5036 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5038 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5041 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5042 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5043 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5044 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5045 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5046 Simplify sign and nan test too.
5047 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5048 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5049 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5050 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5052 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5053 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5056 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5057 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5059 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5062 2013-10-04 Alan Modra <amodra@gmail.com>
5064 * stdio-common/printf_size.c (__printf_size): Don't use
5065 union ieee854_long_double in fpnum union.
5066 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5067 signbit macro to retrieve sign from long double.
5068 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5069 retrieve sign from long double.
5070 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5071 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5072 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5073 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5074 * math/test-misc.c (main): Don't use union ieee854_long_double.
5076 2013-10-04 Alan Modra <amodra@gmail.com>
5079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5080 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5081 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5082 calculation. Remove unnecessary test for denormal exponent.
5083 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5084 Correct handling of denormals. Avoid undefined shift behaviour.
5085 Correct normalisation of low mantissa when low double is denormal.
5086 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5087 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5088 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5089 Correct normalisation of low mantissa. Test for overflow of high
5090 mantissa and normalise.
5091 (ldbl_nearbyint): Use more readable constant for two52.
5092 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5093 (__mpn_construct_long_double): Fix test for overflow of high
5094 mantissa and correct normalisation. Avoid undefined shift.
5096 2013-10-04 Alan Modra <amodra@gmail.com>
5098 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5099 (union ibm_extended_long_double): Define as an array of ieee754_double.
5100 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5101 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5102 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5103 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5112 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5114 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5115 page size instead of calling getpagesize.
5117 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5118 (LOCFILE_ALIGN_MASK): Likewise.
5119 (LOCFILE_ALIGN_UP): Likewise.
5120 (LOCFILE_ALIGNED_P): Likewise.
5121 * locale/programs/ld-collate.c (collate_output): Use the new
5122 macros instead of __alignof__ (int32_t).
5123 * locale/weight.h (findidx): Likewise.
5125 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5128 * manual/string.texi: Fix strncat and wcsncat.
5130 2013-10-03 Brooks Moses <bmoses@google.com>
5133 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5134 * Makerules: ...here, and adjust associated comments.
5136 2013-10-02 Will Newton <will.newton@linaro.org>
5138 * malloc/Makefile: Add tst-pvalloc.
5139 * malloc/tst-pvalloc.c: New file.
5141 2013-10-02 Will Newton <will.newton@linaro.org>
5143 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5144 improve test coverage.
5146 2013-10-02 Will Newton <will.newton@linaro.org>
5148 * malloc/Makefile: Add tst-posix_memalign.
5149 * malloc/tst-posix_memalign.c: New file.
5151 2013-10-01 Eric Blake <eblake@redhat.com>
5153 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5154 Use __THROWNL rather than __THROW on static functions.
5156 2013-09-30 Petr Machata <pmachata@redhat.com>
5158 * elf/elf.h (R_AARCH64_ABS16): New macro.
5159 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5160 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5161 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5162 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5163 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5164 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5165 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5166 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5167 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5168 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5169 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5170 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5171 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5172 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5173 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5174 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5175 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5176 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5177 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5178 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5179 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5180 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5181 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5182 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5183 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5184 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5185 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5186 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5187 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5188 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5189 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5190 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5191 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5192 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5193 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5194 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5195 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5196 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5197 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5198 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5199 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5200 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5201 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5202 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5203 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5204 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5205 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5206 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5207 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5208 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5209 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5210 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5211 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5212 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5213 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5214 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5215 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5216 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5217 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5218 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5219 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5220 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5221 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5222 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5223 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5224 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5225 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5226 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5227 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5228 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5229 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5230 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5231 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5232 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5233 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5234 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5235 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5236 (R_AARCH64_TLSDESC_LDR): Likewise.
5237 (R_AARCH64_TLSDESC_ADD): Likewise.
5238 (R_AARCH64_TLSDESC_CALL): Likewise.
5240 2013-09-30 Andreas Schwab <schwab@suse.de>
5243 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5244 the nss database lookup.
5245 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5248 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5250 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5252 2013-09-28 P. J. McDermott <pj@pehjota.net>
5254 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5255 ${Bash-specific parameter/pattern/string} parameter expansion.
5256 * sysdeps/unix/make-syscalls.sh: Likewise.
5258 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5260 * sysdeps/sh/stackguard-macros.h: New file.
5262 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5266 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5268 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5269 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5271 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5274 Fix thread ID register.
5276 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5278 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5279 [POSIX || UNIX98]: Require rather than permitting all symbols from
5281 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5282 element of struct sched_param.
5283 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5284 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5285 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5286 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5289 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5291 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5292 argument calculation.
5294 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5296 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5298 [POSIX] (pthread_attr_t): Do not require type.
5299 [POSIX] (pthread_cond_t): Likewise.
5300 [POSIX] (pthread_condattr_t): Likewise.
5301 [POSIX] (pthread_key_t): Likewise.
5302 [POSIX] (pthread_mutex_t): Likewise.
5303 [POSIX] (pthread_mutexattr_t): Likewise.
5304 [POSIX] (pthread_once_t): Likewise.
5305 [POSIX] (pthread_t): Likewise.
5306 [POSIX-based standards] (pthread_atfork): Expect function.
5308 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5309 Richard Sandiford <richard@codesourcery.com>
5311 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5312 (swap_endianness_p): New extern variable.
5313 (set_big_endian): New inline function.
5314 (maybe_swap_uint32): Likewise.
5315 (maybe_swap_uint32_array): Likewise.
5316 (maybe_swap_uint32_obstack): Likewise.
5317 * locale/programs/locfile.c: Include <stdbool.h>.
5318 (swap_endianness_p): New variable.
5319 (add_locale_uint32): Call maybe_swap_uint32.
5320 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5321 (write_locale_data): Call maybe_swap_uint32_array.
5322 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5324 (obstack_int32_grow_fast): Likewise.
5325 (output_weightwc): Call maybe_swap_uint32_obstack.
5326 (collate_output): Likewise.
5327 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5328 (OPT_LITTLE_ENDIAN): Likewise.
5329 (options): Add --little-endian and --big-endian options.
5330 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5331 * locale/programs/locarchive.c: Include "locfile.h".
5335 (create_archive): Use the new macros to access fields of
5336 structures directly mapped from or written to locale archives.
5337 (oldlocrecentcmp): Likewise.
5338 (enlarge_archive): Likewise.
5339 (insert_name): Likewise.
5340 (add_alias): Likewise.
5341 (add_locale): Likewise.
5342 (delete_locales_from_archive): Likewise.
5343 (show_archive_content): Likewise.
5344 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5347 2013-09-24 Roland McGrath <roland@hack.frob.com>
5349 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5350 http://www.gnu.org/doc/freemanuals.texi.
5351 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5353 2013-09-24 Will Newton <will.newton@linaro.org>
5355 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5358 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5360 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5363 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5365 * manual/threads.texi (POSIX Threads): Fix a typo.
5367 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5370 * string/tst-strcoll-overflow.c: New test case.
5371 * string/Makefile (xtests): Add tst-strcoll-overflow.
5372 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5373 cache if string sizes may cause integer overflow.
5376 * string/strcoll_l.c (coll_seq): New members rule, idx,
5377 save_idx and back_us.
5378 (get_next_seq_nocache): New function.
5379 (do_compare_nocache): New function.
5380 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5383 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5386 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5387 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5388 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5391 * elf/Makefile (tests): Add tst-ptrguard1.
5392 (tests-static): Add tst-ptrguard1-static.
5393 (tst-ptrguard1-ARGS): Define.
5394 (tst-ptrguard1-static-ARGS): Define.
5395 * elf/tst-ptrguard1.c: New file.
5396 * elf/tst-ptrguard1-static.c: New file.
5397 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5398 * sysdeps/i386/stackguard-macros.h: Likewise.
5399 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5400 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5401 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5402 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5403 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5404 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5406 2013-09-23 Hector Marco <hecmargi@upv.es>
5407 Ismael Ripoll <iripoll@disca.upv.es>
5408 Carlos O'Donell <carlos@redhat.com>
5411 * sysdeps/generic/stackguard-macros.h: Define
5412 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5413 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5414 Define __pointer_chk_guard_local.
5415 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5416 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5418 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5421 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5423 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5425 * include/string.h (__ffs): Declare as hidden.
5426 * string/ffs.c (__ffs): Define as hidden.
5427 * sysdeps/i386/ffs.c (__ffs): Likewise.
5428 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5429 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5430 * sysdeps/s390/ffs.c (__ffs): Likewise.
5431 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5433 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5435 * NEWS: Mention malloc probes.
5437 * malloc/arena.c (new_heap): New memory_heap_new probe.
5438 (grow_heap): New memory_heap_more probe.
5439 (shrink_heap): New memory_heap_less probe.
5440 (heap_trim): New memory_heap_free probe.
5441 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5442 (systrim): New memory_sbrk_less probe.
5443 * manual/probes.texi: Document them.
5445 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5446 * manual/probes.texi: Document it.
5448 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5449 (__libc_realloc): Add memory_realloc_retry probe.
5450 (__libc_memalign): Add memory_memalign_retry probe.
5451 (__libc_valloc): Add memory_valloc_retry probe.
5452 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5453 (__libc_calloc): Add memory_calloc_retry probe.
5454 * manual/probes.texi: Document them.
5456 * malloc/arena.c (get_free_list): Add probe
5457 memory_arena_reuse_free_list.
5458 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5459 and memory_arena_reuse.
5460 (arena_get2) [!PER_THREAD]: Likewise.
5461 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5462 memory_arena_reuse_realloc.
5463 * manual/probes.texi: Document them.
5465 * malloc/malloc.c (__libc_free): Add
5466 memory_mallopt_free_dyn_thresholds probe.
5467 (__libc_mallopt): Add multiple memory_mallopt probes.
5468 * manual/probes.texi: Document them.
5470 * malloc/malloc.c: Include stap-probe.h.
5471 (__libc_mallopt): Add memory_mallopt probe.
5472 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5473 * manual/probes.texi: New.
5474 * manual/Makefile (chapters): Add probes.
5475 * manual/threads.texi: Set next node.
5477 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5480 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5481 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5482 Add `Chinese' to `nan' entry name.
5484 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5486 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5487 (POLYNOMIAL): Likewise.
5488 (TAYLOR_SINCOS): Likewise.
5489 (TAYLOR_SLOW): Likewise.
5490 (__sin): Use TAYLOR_SINCOS.
5492 (slow): Use TAYLOR_SLOW.
5497 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5499 * stdlib/strtod_l.c: Fix buffer overrun.
5501 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5503 * benchtests/Makefile (bench): Add sincos.
5504 * benchtests/bench-sincos.c: New file.
5506 * math/libm-test.inc (cos_test_data): New test inputs.
5507 (sin_test_data): Likewise.
5509 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5517 (bsloww1): Likewise.
5518 (bsloww2): Likewise.
5520 (csloww1): Likewise.
5521 (csloww2): Likewise.
5523 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5528 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5532 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5534 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5535 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5536 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5537 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5538 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5539 * elf/cache.c (print_entry): Handle the new cache flags.
5541 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5542 Aldy Hernandez <aldyh@redhat.com>
5544 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5545 Change condition to [_SOFT_FLOAT].
5546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5558 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5561 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5564 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5566 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5567 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5568 (__longjmp): Use LOAD_GP to load saved GPRs.
5569 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5570 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5571 (__sigsetjmp): Use SAVE_GP to save GPRs.
5573 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5574 Do not append -msoft-float.
5575 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5577 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5579 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5581 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5584 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5585 (_FPU_GETCW): Use initial "__" on variable and field names but not
5586 on macro parameter name.
5587 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5588 parentheses around reference to macro parameter.
5590 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5592 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5594 (ctype_startup): Use uint32_t in cast and sizeof for
5597 2013-09-11 Jia Liu <proljc@gmail.com>
5599 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5601 [__FreeBSD__]: Likewise.
5603 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5606 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5607 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5608 (strchr): Remove __strchr_sse42 ifunc selection.
5609 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5610 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5612 2013-09-11 Will Newton <will.newton@linaro.org>
5614 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5615 parameter to RES. Remove hardcoded 1000 value.
5616 * benchtests/bench-skeleton.c (main): Pass RES parameter
5617 to TIMING_INIT and multiply result by 1000.
5619 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5623 2013-09-11 Andreas Schwab <schwab@suse.de>
5625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5627 (O_TMPFILE) [__USE_GNU]: Define.
5628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5631 2013-09-11 Will Newton <will.newton@linaro.org>
5634 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5637 2013-09-11 Will Newton <will.newton@linaro.org>
5640 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5643 2013-09-11 Will Newton <will.newton@linaro.org>
5646 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5649 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5651 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5652 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5653 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5654 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5655 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5657 2013-09-10 Allan McRae <allan@archlinux.org>
5660 * manual/arith.texi (Parsing of Floats): Clarify
5664 * manual/install.texi (Running make install): Mention
5666 * INSTALL: Regenerated.
5668 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5670 * csu/init-first.c (_init): Remove the !SHARED condition around
5671 FPU control word initialization.
5672 * elf/dl-support.c (_dl_fpu_control): New variable.
5673 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5674 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5675 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5676 * math/test-fpucw-static.c: New file.
5677 * math/test-fpucw-ieee.c: New file.
5678 * math/test-fpucw-ieee-static.c: New file.
5679 * math/Makefile (tests): Add `test-fpucw-ieee' and
5681 (tests-static): New variable.
5682 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5684 [($(build-shared),yes)]
5685 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5687 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5690 2013-09-09 Allan McRae <allan@archlinux.org>
5693 * manual/string.texi (Collation Functions): Fix typo in
5695 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5698 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5701 * libio/memstream.c (open_memstream): Fix memory leak.
5702 * libio/wmemstream.c (open_wmemstream): Likewise.
5705 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5707 2013-09-09 Will Newton <will.newton@linaro.org>
5709 * malloc/Makefile: Add tst-realloc to tests.
5710 * malloc/tst-realloc.c: New file.
5712 2013-09-09 Allan McRae <allan@archlinux.org>
5715 * COPYING: Update from GNU website to fix FSF address.
5716 * COPYING.LIB: Likewise.
5718 2013-09-06 David S. Miller <davem@davemloft.net>
5720 * po/zh_TW.po: Update Chinese (traditional) translation from
5721 translation project.
5723 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5724 Joseph Myers <joseph@codesourcery.com>
5726 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5728 (obstack_chunk_alloc): New macro.
5729 (obstack_chunk_free): Likewise.
5730 (record_offset): New function.
5731 (init_locale_data): Likewise.
5732 (align_locale_data): Likewise.
5733 (add_locale_empty): Likewise.
5734 (add_locale_raw_data): Likewise.
5735 (add_locale_raw_obstack): Likewise.
5736 (add_locale_string): Likewise.
5737 (add_locale_wstring): Likewise.
5738 (add_locale_uint32): Likewise.
5739 (add_locale_uint32_array): Likewise.
5740 (add_locale_char): Likewise.
5741 (start_locale_structure): Likewise.
5742 (end_locale_structure): Likewise.
5743 (start_locale_prelude): Likewise.
5744 (end_locale_prelude): Likewise.
5745 (write_locale_data): Take locale_file structure rather than an
5747 * locale/programs/locfile.h: Include "obstack.h".
5748 (struct locale_file): Change to store locale file contents instead
5750 (init_locale_data): New prototype.
5751 (align_locale_data): Likewise.
5752 (add_locale_empty): Likewise.
5753 (add_locale_raw_data): Likewise.
5754 (add_locale_raw_obstack): Likewise.
5755 (add_locale_string): Likewise.
5756 (add_locale_wstring): Likewise.
5757 (add_locale_uint32): Likewise.
5758 (add_locale_uint32_array): Likewise.
5759 (add_locale_char): Likewise.
5760 (start_locale_structure): Likewise.
5761 (end_locale_structure): Likewise.
5762 (start_locale_prelude): Likewise.
5763 (end_locale_prelude): Likewise.
5764 (write_locale_data): Update prototype.
5765 * locale/programs/3level.h (struct TABLE): Remove result field.
5766 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5767 Use new locale_file interface.
5768 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5769 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5770 * locale/programs/ld-address.c (address_output): Use new
5771 locale_file interface.
5772 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5774 (collate_finish): Don't call collseq_table_finalize.
5775 (collate_output): Use new locale_file interface.
5776 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5778 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5779 (TABLE): Move defines earlier in file.
5780 (ELEMENT): Likewise.
5781 (DEFAULT): Likewise.
5782 (wctrans_table_add): Move macro and inline function earlier in
5784 (struct wctype_table): Move type earlier in file.
5785 (add_locale_wctype_table): New static prototype.
5786 (struct locale_ctype_t): Use logical types instead of struct iovec
5787 pointers for members.
5788 (ctype_output): Use new locale_file interface.
5789 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5790 new locale_file interface.
5791 (allocate_arrays): Update for use of new locale_file interface.
5792 * locale/programs/ld-identification.c (identification_output): Use
5793 new locale_file interface.
5794 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5795 * locale/programs/ld-messages.c (messages_output): Likewise.
5796 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5797 * locale/programs/ld-name.c (name_output): Likewise.
5798 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5799 * locale/programs/ld-paper.c (paper_output): Likewise.
5800 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5801 * locale/programs/ld-time.c (time_output): Likewise.
5803 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805 * benchtests/Makefile: Add memrchr benchmark.
5806 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5807 benchmark as memrchr.
5808 * benchtests/bench-memrchr-ifunc.c: New file.
5809 * benchtests/bench-memrchr.c: New file.
5811 2013-09-06 Will Newton <will.newton@linaro.org>
5813 * benchtests/Makefile (string-bench): Add memcpy.
5815 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5816 Cong Wang <amwang@redhat.com>
5819 * sysdeps/unix/sysv/linux/bits/in.h
5820 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5821 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5822 before __USE_KERNEL_IPV6_DEFS uses.
5823 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5825 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5826 sockaddr_in6, or ipv6_mreq.
5828 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5831 memory access for final bytes in some large inputs.
5832 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5834 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5836 * string/test-memrchr.c: New file.
5837 * string/test-memrchr-ifunc.c: New file.
5838 * string/Makefile: Add new memrchr testcase.
5840 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5842 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5843 fanotify_init returns EPERM.
5845 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5847 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5849 (top level): Treat second token from macro or constant entries for
5850 allowed headers as allowed.
5851 * include/complex.h: Condition internal declarations on
5853 * include/fenv.h: Condition include of <stdbool.h> and internal
5854 declarations on [!_ISOMAC].
5856 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5859 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5861 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5863 * configure.in (--enable-versioning): Remove configure option.
5864 (libc_cv_asm_symver_directive): Remove configure test.
5865 (libc_cv_ld_version_script_option): Likewise.
5866 (VERSIONING): Remove variable and AC_SUBST.
5867 (DO_VERSIONING): Remove AC_DEFINE.
5868 * configure: Regenerated.
5869 * config.h.in (DO_VERSIONING): Remove macro.
5870 * Makerules [$(versioning) = yes]: Change conditionals to
5871 [$(build-shared) = yes].
5872 * config.make.in (versioning): Remove variable.
5873 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5874 [$(build-shared) = yes].
5875 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5876 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5877 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5878 [$(build-shared) = yes].
5879 * extra-lib.mk [$(versioning) = yes]: Likewise.
5880 * hurd/Makefile [$(versioning) = yes]: Likewise.
5881 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5883 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5885 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5886 [SHARED && !NO_HIDDEN].
5887 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5889 [SHARED && DO_VERSIONING]: Likewise..
5890 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5891 [$(build-shared) = yes].
5892 * manual/install.texi (--disable-versioning): Remove
5894 * INSTALL: Regenerated.
5895 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5897 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5898 [$(build-shared) = yes].
5899 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5900 * sysdeps/i386/i686/multiarch/strstr-c.c
5901 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5902 [SHARED && !NO_HIDDEN].
5903 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5904 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5905 * sysdeps/powerpc/powerpc32/dl-machine.c
5906 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5907 * sysdeps/powerpc/powerpc32/sysdep.h
5908 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5909 to [SHARED && PIC && !NO_HIDDEN].
5910 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5911 conditional to [SHARED].
5913 2013-09-04 Will Newton <will.newton@linaro.org>
5915 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5916 * benchtests/bench-string.h: Include bench-timing.h instead
5917 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5918 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5919 call to HP_TIMING_DIFF_INIT.
5920 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5921 instead of hp-timing.h macros.
5922 * benchtests/bench-memchr.c: Likewise.
5923 * benchtests/bench-memcmp.c: Likewise.
5924 * benchtests/bench-memcpy.c: Likewise.
5925 * benchtests/bench-memmem.c: Likewise.
5926 * benchtests/bench-memmove.c: Likewise.
5927 * benchtests/bench-memset.c: Likewise.
5928 * benchtests/bench-rawmemchr.c: Likewise.
5929 * benchtests/bench-strcasecmp.c: Likewise.
5930 * benchtests/bench-strcasestr.c: Likewise.
5931 * benchtests/bench-strcat.c: Likewise.
5932 * benchtests/bench-strchr.c: Likewise.
5933 * benchtests/bench-strcmp.c: Likewise.
5934 * benchtests/bench-strcpy.c: Likewise.
5935 * benchtests/bench-strcpy_chk.c: Likewise.
5936 * benchtests/bench-strlen.c: Likewise.
5937 * benchtests/bench-strncasecmp.c: Likewise.
5938 * benchtests/bench-strncat.c: Likewise.
5939 * benchtests/bench-strncmp.c: Likewise.
5940 * benchtests/bench-strncpy.c: Likewise.
5941 * benchtests/bench-strnlen.c: Likewise.
5942 * benchtests/bench-strpbrk.c: Likewise.
5943 * benchtests/bench-strrchr.c: Likewise.
5944 * benchtests/bench-strspn.c: Likewise.
5945 * benchtests/bench-strstr.c: Likewise.
5947 2013-09-04 Will Newton <will.newton@linaro.org>
5949 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5951 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5954 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5955 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5956 * math/libm-test.inc (lgamma_test_data): Add more tests.
5957 * sysdeps/i386/fpu/libm-test-ulps: Update.
5958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5960 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5962 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5966 Add strcmp-sse2-unaligned
5967 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5969 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5971 * Versions.def (libc): Add GLIBC_2.19.
5973 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5975 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5976 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5978 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5981 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5982 intermediate calculations in recurrence.
5983 (__ieee754_ynf): Likewise.
5984 * math/libm-test.inc (jn_test_data): Do not allow spurious
5985 underflow exception. Add more tests.
5986 (yn_test_data): Add more tests.
5987 * sysdeps/i386/fpu/libm-test-ulps: Update.
5988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5990 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5992 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5994 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5996 * csu/init-first.c: Fix then/than typos.
5997 * locale/programs/ld-collate.c: Likewise.
5998 * locale/programs/linereader.h: Likewise.
5999 * manual/charset.texi: Likewise.
6000 * manual/filesys.texi: Likewise.
6001 * manual/stdio.texi: Likewise.
6002 * manual/string.texi: Likewise.
6003 * stdlib/fmtmsg.c: Likewise.
6004 * sysdeps/i386/stpncpy.S: Likewise.
6005 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6006 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6007 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6008 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6010 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6012 * elf/dl-open.c: Fix typos.
6013 * iconvdata/gbbig5.c: Likewise.
6014 * iconvdata/iso-2022-jp.c: Likewise.
6015 * iconv/gconv_int.h: Likewise.
6016 * iconv/loop.c: Likewise.
6017 * nis/rpcsvc/nis.h: Likewise.
6018 * resolv/ns_name.c: Likewise.
6019 * stdio-common/vfscanf.c: Likewise.
6020 * streams/stropts.h: Likewise.
6021 * sunrpc/rpc_thread.c: Likewise.
6022 * sysdeps/i386/strpbrk.S: Likewise.
6023 * sysdeps/ieee754/k_standard.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6026 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6027 * sysdeps/mach/hurd/profil.c: Likewise.
6028 * sysdeps/s390/dl-procinfo.h: Likewise.
6029 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6030 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6031 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6032 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6035 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6037 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6038 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6040 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6042 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6044 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6045 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6047 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6048 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6049 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6050 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6051 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6053 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6054 Roland McGrath <roland@hack.frob.com>
6056 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6057 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6059 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6061 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6062 __executable_start symbol instead of _start.
6064 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6066 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6067 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6069 * sysdeps/gnu/ldsodefs.h: ... this new file.
6071 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6072 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6073 instead of ELFOSABI_LINUX.
6075 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6076 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6077 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6078 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6080 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6081 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6082 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6084 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6085 (ibm_extended_long_double): Add ieee_nan member.
6086 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6087 (do_test): New function.
6089 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6091 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6092 functions, renamed from truncdfsf_test, trunctfsf_test,
6094 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6096 (do_test): Run all these.
6098 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6100 * argp/argp-help.c: Fix typos.
6101 * argp/argp-parse.c: Likewise.
6102 * debug/backtracesyms.c: Likewise.
6103 * elf/elf.h: Likewise.
6104 * malloc/malloc.c: Likewise.
6105 * nis/nis_print.c: Likewise.
6106 * resolv/res_comp.c: Likewise.
6107 * stdlib/stdlib.h: Likewise.
6108 * sunrpc/clnt_tcp.c: Likewise.
6109 * sunrpc/clnt_udp.c: Likewise.
6110 * sunrpc/clnt_unix.c: Likewise.
6111 * sysdeps/unix/bsd/ptsname.c: Likewise.
6112 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6113 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6120 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6122 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6124 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6127 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6130 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6131 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6132 ($(objpfx)bug-dl-leaf): New rule.
6133 ($(objpfx)bug-dl-leaf.so): Likewise.
6134 ($(objpfx)bug-dl-leaf.out): Likewise.
6135 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6136 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6137 * dlfcn/bug-dl-leaf.c: New test.
6138 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6139 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6140 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6141 (dlclose): Likewise.
6142 (dlmopen): Likewise.
6144 2013-08-27 Roland McGrath <roland@hack.frob.com>
6146 * include/netdb.h [!_ISOMAC]:
6147 Don't include <tls.h>.
6148 (h_errno, __libc_h_errno): Move declaration and macros out of
6151 * include/resolv.h [_RESOLV_H_]:
6152 Don't include <tls.h>.
6153 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6154 * resolv/res_libc.c: Don't include <tls.h>.
6155 (_res): Use __attribute__ ((nocommon)) in place of
6156 __attribute__ ((section (".bss"))).
6158 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6159 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6161 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6163 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6164 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6166 * resolv/res_mkquery.c: Include <sys/time.h>.
6168 * inet/ifreq.c: Moved to ...
6169 * sysdeps/unix/ifreq.c: ... here.
6170 * inet/ifreq.c: New file, true stub version.
6172 * socket/sa_len.c: New file.
6173 * socket/Makefile (aux): Add it.
6174 * sysdeps/unix/sysv/linux/Makefile
6175 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6176 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6177 and #include <socket/sa_len.c>.
6178 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6179 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6181 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6182 * bits/socket.h: ... here.
6184 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6185 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6186 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6188 2013-08-27 Andreas Schwab <schwab@suse.de>
6191 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6192 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6193 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6194 * string/test-strcasecmp.c (test_main): Run tests in several
6196 * string/test-strncasecmp.c (test_main): Likewise.
6198 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6199 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6200 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6201 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6202 (__strncasecmp_ssse3) [PIC]: Likewise.
6204 2013-08-26 Roland McGrath <roland@hack.frob.com>
6206 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6208 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6209 instead of explicitly declaring xdecrypt.
6210 * nis/nss_nis/nis-publickey.c: Likewise.
6212 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6215 * nscd/aicache.c: Include res_hconf.h.
6216 (addhstaiX): Initialize res_hconf.
6218 2013-08-26 Andreas Schwab <schwab@suse.de>
6220 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6221 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6223 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6225 * nscd/aicache.c (addhstaiX): Fix indentation.
6227 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6229 * configure.ac: Quote $build_pt_chown test.
6230 * configure: Regenerated.
6232 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6235 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6236 * math/s_cexpf.c (__cexpf): Likewise.
6237 * math/s_cexpl.c (__cexpl): Likewise.
6238 * math/libm-test.inc (cexp_test_data): Correct expected return
6239 value for NaN + i0. Add another test.
6241 2013-08-22 David S. Miller <davem@davemloft.net>
6243 * po/ca.po: Update Catalan translation from translation project.
6244 * po/uk.po: Add Ukrainian translations from translation project.
6246 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6249 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6250 is infinite, not alongside NaN test.
6251 * math/s_fdimf.c (__fdimf): Likewise.
6252 * math/s_fdiml.c (__fdiml): Likewise.
6253 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6256 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6258 * argp/argp-help.c: Fix typos.
6259 * crypt/speeds.c: Likewise.
6260 * csu/check_fds.c: Likewise.
6261 * elf/dl-load.c: Likewise.
6262 * elf/dl-open.c: Likewise.
6263 * elf/reldep3.c: Likewise.
6264 * elf/reldep.c: Likewise.
6265 * elf/sprof.c: Likewise.
6266 * iconv/iconv_charmap.c: Likewise.
6267 * iconv/skeleton.c: Likewise.
6268 * iconv/strtab.c: Likewise.
6269 * io/lockf64.c: Likewise.
6270 * libio/libioP.h: Likewise.
6271 * resolv/gai_notify.c: Likewise.
6272 * resolv/ns_name.c: Likewise.
6273 * resolv/ns_samedomain.c: Likewise.
6274 * resolv/res_send.c: Likewise.
6275 * stdlib/random.c: Likewise.
6276 * sunrpc/rpc/xdr.h: Likewise.
6277 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6278 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6279 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6280 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6281 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6282 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6284 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6285 * sysdeps/mach/hurd/check_fds.c: Likewise.
6286 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6287 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6289 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6290 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6291 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6292 * sysdeps/pthread/aio_notify.c: Likewise.
6293 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6294 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6295 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6296 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6297 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6299 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6301 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6302 version if bit_Slow_SSE4_2 is set.
6303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6306 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6309 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6310 trampoline stack frame information.
6311 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6312 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6313 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6314 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6315 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6316 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6317 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6318 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6320 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6321 interrupting a syscall and set with option SA_SIGINFO.
6323 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6326 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6327 argument is infinite.
6328 * math/s_cprojf.c (__cprojf): Likewise.
6329 * math/s_cprojl.c (__cprojl): Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6331 * math/libm-test.inc (cproj_test_data): Add more tests.
6333 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6335 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6336 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6337 size. Use __ffs to determine corresponding shift.
6339 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6340 Roland McGrath <roland@hack.frob.com>
6342 * Makefile (INSTALL): Remove trailing blank lines from output of
6345 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6347 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6348 Align 32 bit compat elf_greg to 8 bytes.
6350 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6352 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6354 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6356 * string/strcoll_l.c (coll_seq): New structure.
6357 (get_next_seq_cached): New function.
6358 (get_next_seq): New function.
6359 (do_compare): New function.
6360 (STRCOLL): Use GNU style definition. Simplify implementation
6361 by using get_next_seq, get_next_seq_cached and do_compare.
6363 2013-08-16 Florian Weimer <fweimer@redhat.com>
6367 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6369 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6371 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6372 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6373 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6375 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6376 GETDENTS_64BIT_ALIGNED.
6377 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6378 * manual/filesys.texi (Reading/Closing Directory): Document
6379 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6381 * manual/conf.texi (Limits for Files): Add portability note to
6383 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6385 2013-08-13 Andreas Schwab <schwab@suse.de>
6388 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6390 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6391 LDBL_MAX_EXP >= 16384]: Add tests for it.
6393 2013-08-12 David S. Miller <davem@davemloft.net>
6395 * version.h (RELEASE): Set to "development".
6396 (VERSION): Set to "2.18.90".
6397 * NEWS: Add 2.19 section.
6399 2013-08-03 David S. Miller <davem@davemloft.net>
6401 * po/ko.po: Update Korean translation from translation project.
6403 2013-08-01 David S. Miller <davem@davemloft.net>
6405 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6406 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6409 2013-07-30 David S. Miller <davem@davemloft.net>
6411 * po/fr.po: Update French translation from translation project.
6413 2013-07-28 David S. Miller <davem@davemloft.net>
6415 * po/cs.po: Update Czech translation from translation project.
6417 * po/sv.po: Update Swedish translation from translation project.
6419 2013-07-27 David S. Miller <davem@davemloft.net>
6421 * po/eo.po: Update Esperanto translation from translation project.
6423 * po/vi.po: Update Vietnamese translation from translation project.
6425 * po/de.po: Update German translation from translation project.
6427 2013-07-26 David S. Miller <davem@davemloft.net>
6429 * po/bg.po: Update Bulgarian translation from translation project.
6431 * po/nl.po: Update Dutch translation from translation project.
6432 * po/pl.po: Update Polish translation from translation project.
6433 * po/ru.po: Update Russian translation from translation project.
6435 2013-07-24 David S. Miller <davem@davemloft.net>
6437 * po/libc.pot: Update.
6439 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6443 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6444 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6445 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6447 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6449 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6451 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6452 Andreas Schwab <schwab@suse.de>
6453 Roland McGrath <roland@hack.frob.com>
6454 Joseph Myers <joseph@codesourcery.com>
6455 Carlos O'Donell <carlos@redhat.com>
6458 * config.h.in: Define HAVE_PT_CHOWN.
6459 * config.make.in (build-pt-chown): New variable.
6460 * configure.in (--enable-pt_chown): New configure option.
6461 * configure: Regenerate.
6462 * login/Makefile: Include Makeconfig. Build pt_chown only if
6463 build-pt-chown is enabled.
6464 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6465 pt_chown to fix pty ownership.
6466 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6468 * manual/install.texi (Configuring and compiling): Mention
6469 --enable-pt_chown. Add @findex for grantpt.
6470 * INSTALL: Regenerate.
6472 2013-07-20 David S. Miller <davem@davemloft.net>
6474 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6475 difference between 32-bit and 64-bit.
6477 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6480 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6481 Avoid system header dependency with -ffreestanding.
6482 ($(objpfx)bits/syscall%d): Likewise.
6484 2013-07-13 David S. Miller <davem@davemloft.net>
6486 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6487 underflows from atanl/atan2l due to bug 15319.
6488 (casinh_test_data): Likewise.
6490 2013-07-07 David S. Miller <davem@davemloft.net>
6492 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6494 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6496 * sysdeps/i386/fpu/libm-test-ulps: Update.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6501 * configure.in (--enable-lock-elision): Fix message text.
6502 * INSTALL: Regenerate.
6503 * configure: Regenerate.
6505 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6509 2013-07-03 Andreas Jaeger <aj@suse.de>
6511 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6513 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6514 (ptrace_peeksiginfo_args): Add.
6515 (__ptrace_peeksiginfo_flags): Add.
6516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6517 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6520 2013-07-03 Allan McRae <allan@archlinux.org>
6522 * sysdeps/i386/fpu/libm-test-ulps: Update.
6524 2013-07-02 David S. Miller <davem@davemloft.net>
6526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6528 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6532 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6534 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6537 2013-07-02 Andi Kleen <ak@linux.intel.com>
6539 * config.h.in (ENABLE_LOCK_ELISION): Add.
6540 * configure.in (--enable-lock-elision): Add option.
6541 * manual/install.texi: Document --enable lock elision.
6542 * configure: Regenerate
6543 * INSTALL: Regenerate.
6545 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6547 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6548 SSE4.2 strcasecmp for libc.a.
6549 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6551 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6554 * soft-fp/op-common.h (_FP_FMA): New macro.
6555 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6556 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6557 (_FP_MUL_MEAT_1_imm): ... here.
6558 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6559 (_FP_MUL_MEAT_1_wide): ... here.
6560 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6561 (_FP_MUL_MEAT_1_hard): ... here.
6562 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6563 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6564 (_FP_MUL_MEAT_2_wide): ... here.
6565 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6566 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6567 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6568 (_FP_MUL_MEAT_2_gmp): ... here.
6569 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6570 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6571 (_FP_MUL_MEAT_4_wide): ... here.
6572 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6573 (_FP_MUL_MEAT_4_gmp): ... here.
6574 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6575 (_FP_WFRACBITS_DW_S): Likewise.
6576 (_FP_WFRACXBITS_DW_S): Likewise.
6577 (_FP_HIGHBIT_DW_S): Likewise.
6578 (FP_FMA_S): Likewise.
6579 (_FP_FRAC_HIGH_DW_S): Likewise.
6580 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6581 (_FP_WFRACBITS_DW_D): Likewise.
6582 (_FP_WFRACXBITS_DW_D): Likewise.
6583 (_FP_HIGHBIT_DW_D): Likewise.
6584 (FP_FMA_D): Likewise.
6585 (_FP_FRAC_HIGH_DW_D): Likewise.
6586 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6587 (_FP_WFRACBITS_DW_E): Likewise.
6588 (_FP_WFRACXBITS_DW_E): Likewise.
6589 (_FP_HIGHBIT_DW_E): Likewise.
6590 (FP_FMA_E): Likewise.
6591 (_FP_FRAC_HIGH_DW_E): Likewise.
6592 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6593 (_FP_WFRACBITS_DW_Q): Likewise.
6594 (_FP_WFRACXBITS_DW_Q): Likewise.
6595 (_FP_HIGHBIT_DW_Q): Likewise.
6596 (FP_FMA_Q): Likewise.
6597 (_FP_FRAC_HIGH_DW_Q): Likewise.
6598 * soft-fp/fmasf4.c: New file.
6599 * soft-fp/fmadf4.c: Likewise.
6600 * soft-fp/fmatf4.c: Likewise.
6602 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6605 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6607 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6609 (index_Slow_SSE4_2): Likewise.
6610 (index_Prefer_PMINUB_for_stringop): Likewise.
6611 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6612 bit_Slow_SSE4_2 is set.
6613 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6614 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6616 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6618 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6619 rtld_global._dl_hwcap2.
6620 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6622 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6623 POWER8 feature descriptions defined in _dl_hwcap2.
6624 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6625 string handling for POWER8 feature bits.
6626 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6627 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6628 _dl_powerpc_cap_flags.
6629 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6630 * sysdeps/powerpc/rtld-global-offsets.sym
6631 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6632 _dl_hwcap2 in the rtld_global_ro structure.
6634 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6636 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6637 hardware capabilities in support of AT_HWCAP2.
6638 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6639 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6641 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6642 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6643 explicitly the unknown a_type display mechanism is used.
6644 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6645 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6647 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6648 to macro prototype for AT_HWCAP2 support.
6649 * sysdeps/i386/dl-procinfo.h: Likewise.
6650 * sysdeps/s390/dl-procinfo.h: Likewise.
6651 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6652 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6653 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6654 return -1 for unknown a_type display fallback.
6655 * sysdeps/sparc/dl-procinfo.h: Likewise.
6656 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6657 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6659 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6661 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6662 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6664 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6667 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6668 mprotect making __stack_prot writable.
6670 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6671 Joseph Myers <joseph@codesourcery.com>
6673 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6674 as being properly aligned.
6676 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6678 * dlfcn/modstatic5.c: New file.
6679 * dlfcn/tststatic5.c: New file.
6680 * dlfcn/Makefile (tests): Add tststatic5.
6681 (tests-static): Likewise.
6682 (modules-names): Add modstatic5.
6683 (tststatic5-ENV): New variable.
6684 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6687 * elf/dl-support.c (_dl_main_map): New variable.
6688 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6689 (_dl_nns, _dl_load_adds): Set to 1.
6690 (_dl_initial_searchlist): Refer to _dl_main_map.
6691 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6692 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6693 call to _dl_get_origin.
6694 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6696 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6697 * dlfcn/modstatic3.c: New file.
6698 * dlfcn/tststatic3.c: New file.
6699 * dlfcn/tststatic4.c: New file.
6700 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6701 (tests-static): Likewise.
6702 (modules-names): Add modstatic3.
6703 (tststatic3-ENV, tststatic4-ENV): New variables.
6704 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6705 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6707 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6709 * configure.in (CC): Require GCC version 4.4 or later.
6710 * configure: Regenerated.
6711 * manual/install.texi (Tools for Compilation): Update GCC version
6713 * INSTALL: Regenerated.
6715 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6718 * string/test-memcmp.c (check2): New.
6719 (main): Call check2.
6721 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6723 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6726 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6728 (dl_open_worker) [!SHARED]: ... here.
6730 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6732 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6734 2013-06-25 Richard Henderson <rth@redhat.com>
6736 * locale/programs/locarchive.c: Include <libc-internal.h>
6738 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6740 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6741 trailing whitespace removed.
6743 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6746 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6747 * locale/programs/locarchive.c: Include libc-mmap.h.
6748 (prepare_address_space): Take two new outputs (the mmap base and len).
6749 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6751 (create_archive): Declare new mmap base and len values for
6752 prepare_address_space, and store the result in ah.
6753 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6754 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6755 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6756 Declare new mmap base and len values for
6757 prepare_address_space, and store the result in new_ah.
6758 (open_archive): Declare new mmap base and len values for
6759 prepare_address_space, and store the result in ah.
6760 (close_archive): If ah->mmap_base is not NULL, use that and
6761 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6762 * sysdeps/generic/libc-mmap.h: New file.
6764 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6766 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6767 (ALIGN_UP): Likewise.
6768 (PTR_ALIGN_DOWN): Likewise.
6769 (PTR_ALIGN_UP): Likewise.
6771 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6773 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6774 entry mapped to PPC_PLATFORM_POWER8.
6775 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6777 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6778 (_dl_string_platform): Add case for exporting platform position for
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6781 search path to sysdeps/powerpc/powerpc32/power8 directory.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6783 search path to sysdeps/powerpc/powerpc64/power8 directory.
6784 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6786 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6789 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6791 * INSTALL: Regenerate.
6793 * nscd/connections.c (nscd_init): Fix comment.
6795 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6797 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6800 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6801 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6803 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6805 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6807 (DL_DST_REQ_STATIC): Remove macro.
6809 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6812 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6813 with a shift of 0 bits.
6815 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6817 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6820 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6823 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6825 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6827 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6828 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6829 accepts -fno-tree-loop-distribute-patterns.
6830 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6831 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6833 * string/memset.c (memset): Likewise.
6834 * string/test-memmove.c (simple_memmove): Disable loop transformation
6836 * string/test-memset.c (simple_memset): Likewise.
6837 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6838 * benchtests/bench-memset.c (simple_memset): Likewise.
6839 * configure: Regenerated.
6841 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6843 * math/test-misc.c (main): Ignore fesetround failure when failures
6844 of subsequent rounding tests would be ignored.
6847 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6848 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6849 * math/fegetenv.c (__fegetenv): Return 0.
6850 * math/fegetexcept.c (fegetexcept): Return 0.
6851 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6853 * math/feholdexcpt.c (feholdexcept): Return 0.
6854 * math/fesetenv.c (__fesetenv): Return 0.
6855 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6856 argument FE_TONEAREST.
6857 * math/feupdateenv.c (__feupdateenv): Return 0.
6858 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6860 2013-06-18 Roland McGrath <roland@hack.frob.com>
6862 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6863 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6864 ($(objpfx)rtld-%.os rules): Use them.
6866 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6868 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6871 2013-06-17 Roland McGrath <roland@hack.frob.com>
6873 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6874 length of target pattern, then descending length of dependency pattern.
6875 * configure.in (AWK): Require gawk 3.1.2 or newer.
6876 * manual/install.texi (Tools for Compilation): Say that we do.
6877 * configure: Regenerated.
6879 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6880 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6881 * scripts/sysd-rules.awk: ... this new script.
6882 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6883 than a glob-style pattern.
6885 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6887 * math/test-misc.c (main): Do not treat incorrectly rounded
6888 conversions as failure unless ROUNDING_TESTS passes.
6890 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6893 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6894 restore exception state around main square root computation, then
6895 check for inexactness explicitly.
6897 * math/libm-test.inc (fma_test_data): Add another test.
6899 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6901 * manual/threads.texi (Non-POSIX Extensions): New document
6902 node. Document pthread_getattr_default_np and
6903 pthread_setattr_default_np.
6905 * Versions.def (libpthread): Add GLIBC_2.18.
6906 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6915 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6926 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6929 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6931 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6932 H.J. Lu <hjl.tools@gmail.com>
6935 * sysdeps/x86_64/rtld-memset.c: Remove file.
6936 * sysdeps/x86_64/rtld-memset.S: New file.
6938 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6940 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6941 (test_in_one_mode): Take arguments for whether the rounding mode
6942 is supported for each floating-point type.
6943 (do_test): Pass new arguments to test_in_one_mode using
6946 2013-06-13 Roland McGrath <roland@hack.frob.com>
6948 * posix/tst-waitid.c (do_test): Distinguish different instances of
6949 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6950 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6951 before entering the kernel for waitpid.
6953 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6955 * NEWS: Fix note on clock function precision. Text by Roland
6958 2013-06-13 Roland McGrath <roland@hack.frob.com>
6960 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6961 it into place only when and if the sanity check passes.
6963 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6965 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6966 output for whether conversion result is exact. Take argument
6967 indicating whether type is IBM long double.
6968 (round_for_all): Change need_exact field to ibm_ld.
6969 * stdlib/tst-strtod-round.c (struct exactness): New type.
6970 (struct test): Change bool ld_ok field to struct exactness exact.
6971 (TEST): Update all definitions for change to field.
6972 (tests): Regenerate array contents.
6973 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6974 field value. Check for IBM long double here.
6975 (do_test): Update calls to test_in_one_mode.
6977 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6980 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6981 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6983 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6987 generated by the compiler on loop optimizations.
6988 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6989 general definitions.
6991 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6993 * math/bug-nextafter.c: Include <math-tests.h>.
6994 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6996 * math/bug-nexttoward.c: Include <math-tests.h>.
6997 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6999 * math/test-misc.c: Include <math-tests.h>.
7000 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7003 2013-06-12 Andreas Jaeger <aj@suse.de>
7005 * po/ia.po: Update Interlingua translation from translation
7008 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7010 * include/fenv.h: Include stdbool.h.
7011 (struct rm_ctx): New structure.
7012 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7014 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7015 (SET_RESTORE_ROUNDF): Likewise.
7016 (SET_RESTORE_ROUNDL): Likewise.
7017 (SET_RESTORE_ROUND_NOEX): Likewise.
7018 (SET_RESTORE_ROUND_NOEXF): Likewise.
7019 (SET_RESTORE_ROUND_NOEXL): Likewise.
7020 (SET_RESTORE_ROUND_53BIT): Likewise.
7021 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7022 (libc_feresetround_noexf_ctx): Likewise.
7023 (libc_feresetround_noexl_ctx): Likewise.
7024 (libc_feholdsetround_53bit_ctx): Likewise.
7025 (libc_feresetround_53bit_ctx): Likewise.
7026 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7027 (libc_feholdexcept_setround_sse_ctx): New function.
7028 (libc_fesetenv_sse_ctx): Likewise.
7029 (libc_feupdateenv_sse_ctx): Likewise.
7030 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7031 (libc_feholdexcept_setround_387_ctx): Likewise.
7032 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7033 (libc_feholdsetround_387_prec_ctx): Likewise.
7034 (libc_feholdsetround_387_ctx): Likewise.
7035 (libc_feholdsetround_387_53bit_ctx): Likewise.
7036 (libc_feholdsetround_sse_ctx): Likewise.
7037 (libc_feresetround_sse_ctx): Likewise.
7038 (libc_feresetround_387_ctx): Likewise.
7039 (libc_feupdateenv_387_ctx): Likewise.
7040 (libc_feholdexcept_setroundf_ctx): Define macro.
7041 (libc_fesetenvf_ctx): Likewise.
7042 (libc_feupdateenvf_ctx): Likewise.
7043 (libc_feholdsetroundf_ctx): Likewise.
7044 (libc_feresetroundf_ctx): Likewise.
7045 (libc_feholdexcept_setround_ctx): Likewise.
7046 (libc_fesetenv_ctx): Likewise.
7047 (libc_feupdateenv_ctx): Likewise.
7048 (libc_feholdsetround_ctx): Likewise.
7049 (libc_feresetround_ctx): Likewise.
7050 (libc_feholdexcept_setroundl_ctx): Likewise.
7051 (libc_feupdateenvl_ctx): Likewise.
7052 (libc_feholdsetroundl_ctx): Likewise.
7053 (libc_feresetroundl_ctx): Likewise.
7054 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7055 (libc_feresetround_53bit_ctx): Likewise.
7057 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7059 * locale/iso-639.def: Convert to UTF-8.
7061 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7063 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7064 (EXCEPTION_TESTS_double): Likewise.
7065 (EXCEPTION_TESTS_long_double): Likewise.
7066 (EXCEPTION_TESTS): Likewise.
7067 * math/libm-test.inc (test_exceptions): Only test exceptions if
7068 EXCEPTION_TESTS (FLOAT).
7070 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7072 * benchtests/Makefile (string-bench): Add strcpy_chk and
7074 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7075 * benchtests/bench-stpcpy_chk.c: New file.
7076 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7077 * benchtests/bench-strcpy_chk.c: New file.
7078 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7080 (do_test): Likewise.
7082 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7084 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7085 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7086 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7087 with tabs where appropriate.
7088 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7090 [PPC_PLATFORM_PPC440]: Likewise.
7091 [PPC_PLATFORM_PPC464]: Likewise.
7092 [PPC_PLATFORM_PPC476]: Likewise.
7093 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7094 ppc464, and ppc476 platform strings merging from ports/
7097 2013-06-11 Andreas Schwab <schwab@suse.de>
7100 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7101 (from_ucs4_idx): Regenerate.
7102 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7103 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7104 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7105 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7106 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7107 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7108 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7109 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7110 from FROM_LOOP and TO_LOOP specific macros.
7111 (BODY): Handle combining characters.
7112 * iconvdata/BIG5HKSCS.irreversible: Update.
7113 * iconvdata/BIG5HKSCS.precomposed: New file.
7114 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7116 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7118 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7120 * include/sys/time.h: Fix indentation and add copyright header.
7122 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7123 (do_test): Likewise.
7124 * string/test-memchr.c (do_one_test): Likewise.
7125 (do_test): Likewise.
7126 * string/test-memcmp.c (do_one_test): Likewise.
7127 (do_test): Likewise.
7128 * string/test-memcpy.c (do_one_test): Likewise.
7129 (do_test): Likewise.
7130 * string/test-memmem.c (do_one_test): Likewise.
7131 (do_test): Likewise.
7132 (do_random_tests): Likewise.
7133 * string/test-memmove.c (do_one_test): Likewise.
7134 (do_test): Likewise.
7135 * string/test-memset.c (do_one_test): Likewise.
7136 (do_test): Likewise.
7137 * string/test-rawmemchr.c (do_one_test): Likewise.
7138 (do_test): Likewise.
7139 * string/test-strcasecmp.c (do_one_test): Likewise.
7140 (do_test): Likewise.
7141 * string/test-strcasestr.c (do_one_test): Likewise.
7142 (do_test): Likewise.
7143 * string/test-strcat.c (do_one_test): Likewise.
7144 (do_test): Likewise.
7145 * string/test-strchr.c (do_one_test): Likewise.
7146 (do_test): Likewise.
7147 * string/test-strcmp.c (do_one_test): Likewise.
7148 (do_test): Likewise.
7149 * string/test-strcpy.c (do_one_test): Likewise.
7150 (do_test): Likewise.
7151 * string/test-string.h: Likewise.
7152 (test_init): Likewise.
7153 * string/test-strlen.c (do_one_test): Likewise.
7154 (do_test): Likewise.
7155 * string/test-strncasecmp.c (do_one_test): Likewise.
7156 (do_test): Likewise.
7157 * string/test-strncat.c (do_one_test): Likewise.
7158 (do_test): Likewise.
7159 * string/test-strncmp.c (do_one_test): Likewise.
7160 (do_test_limit): Likewise.
7161 (do_test): Likewise.
7162 * string/test-strncpy.c (do_one_test): Likewise.
7163 (do_test): Likewise.
7164 * string/test-strnlen.c (do_one_test): Likewise.
7165 (do_test): Likewise.
7166 * string/test-strpbrk.c (do_one_test): Likewise.
7167 (do_test): Likewise.
7168 * string/test-strrchr.c (do_one_test): Likewise.
7169 (do_test): Likewise.
7170 * string/test-strspn.c (do_one_test): Likewise.
7171 (do_test): Likewise.
7172 * string/test-strstr.c (do_one_test): Likewise.
7173 (do_test): Likewise.
7175 * benchtests/Makefile (string-bench): Add string benchmarks.
7176 * benchtests/bench-bcopy-ifunc.c: New file.
7177 * benchtests/bench-bcopy.c: New file.
7178 * benchtests/bench-bzero-ifunc.c: New file.
7179 * benchtests/bench-bzero.c: New file.
7180 * benchtests/bench-memccpy-ifunc.c: New file.
7181 * benchtests/bench-memccpy.c: New file.
7182 * benchtests/bench-memchr-ifunc.c: New file.
7183 * benchtests/bench-memchr.c: New file.
7184 * benchtests/bench-memcmp-ifunc.c: New file.
7185 * benchtests/bench-memcmp.c: New file.
7186 * benchtests/bench-memmem-ifunc.c: New file.
7187 * benchtests/bench-memmem.c: New file.
7188 * benchtests/bench-memmove-ifunc.c: New file.
7189 * benchtests/bench-memmove.c: New file.
7190 * benchtests/bench-mempcpy-ifunc.c: New file.
7191 * benchtests/bench-mempcpy.c: New file.
7192 * benchtests/bench-memset-ifunc.c: New file.
7193 * benchtests/bench-memset.c: New file.
7194 * benchtests/bench-rawmemchr-ifunc.c: New file.
7195 * benchtests/bench-rawmemchr.c: New file.
7196 * benchtests/bench-stpcpy-ifunc.c: New file.
7197 * benchtests/bench-stpcpy.c: New file.
7198 * benchtests/bench-stpncpy-ifunc.c: New file.
7199 * benchtests/bench-stpncpy.c: New file.
7200 * benchtests/bench-strcasecmp-ifunc.c: New file.
7201 * benchtests/bench-strcasecmp.c: New file.
7202 * benchtests/bench-strcasestr-ifunc.c: New file.
7203 * benchtests/bench-strcasestr.c: New file.
7204 * benchtests/bench-strcat-ifunc.c: New file.
7205 * benchtests/bench-strcat.c: New file.
7206 * benchtests/bench-strchr-ifunc.c: New file.
7207 * benchtests/bench-strchr.c: New file.
7208 * benchtests/bench-strchrnul-ifunc.c: New file.
7209 * benchtests/bench-strchrnul.c: New file.
7210 * benchtests/bench-strcmp-ifunc.c: New file.
7211 * benchtests/bench-strcmp.c: New file.
7212 * benchtests/bench-strcpy-ifunc.c: New file.
7213 * benchtests/bench-strcpy.c: New file.
7214 * benchtests/bench-strcspn-ifunc.c: New file.
7215 * benchtests/bench-strcspn.c: New file.
7216 * benchtests/bench-strlen-ifunc.c: New file.
7217 * benchtests/bench-strlen.c: New file.
7218 * benchtests/bench-strncasecmp-ifunc.c: New file.
7219 * benchtests/bench-strncasecmp.c: New file.
7220 * benchtests/bench-strncat-ifunc.c: New file.
7221 * benchtests/bench-strncat.c: New file.
7222 * benchtests/bench-strncmp-ifunc.c: New file.
7223 * benchtests/bench-strncmp.c: New file.
7224 * benchtests/bench-strncpy-ifunc.c: New file.
7225 * benchtests/bench-strncpy.c: New file.
7226 * benchtests/bench-strnlen-ifunc.c: New file.
7227 * benchtests/bench-strnlen.c: New file.
7228 * benchtests/bench-strpbrk-ifunc.c: New file.
7229 * benchtests/bench-strpbrk.c: New file.
7230 * benchtests/bench-strrchr-ifunc.c: New file.
7231 * benchtests/bench-strrchr.c: New file.
7232 * benchtests/bench-strspn-ifunc.c: New file.
7233 * benchtests/bench-strspn.c: New file.
7234 * benchtests/bench-strstr-ifunc.c: New file.
7235 * benchtests/bench-strstr.c: New file.
7237 * benchtests/Makefile: Disable parallel execution of targets.
7238 (string-bench): Add memcpy.
7239 (benchset): New variable to store a list of benchmark sets.
7240 (bench-func): Renamed from bench.
7241 (bench-set): New target.
7242 (bench): Depend on bench-func and bench-set.
7243 * benchtests/README: Add section on benchmark sets.
7244 * benchtests/bench-memcpy-ifunc.c: New file.
7245 * benchtests/bench-memcpy.c: New file.
7246 * benchtests/bench-string.h: New file.
7248 2013-06-11 Andreas Schwab <schwab@suse.de>
7251 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7252 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7253 values in the triple.
7254 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7255 terminator in the group key.
7257 2013-06-11 Andreas Jaeger <aj@suse.de>
7259 * po/zh_TW.po: Update Chinese (traditional) translation from
7260 translation project.
7262 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7264 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7265 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7266 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7267 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7268 (clock_getcpuclockid): Likewise.
7269 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7270 Add weak_alias and libc_hidden_def.
7271 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7272 * rt/clock_gettime.c (clock_gettime): Rename to
7273 __clock_gettime. Add weak_alias and libc_hidden_def.
7274 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7275 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7276 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7277 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7278 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7280 * rt/clock_settime.c (clock_settime): Rename to
7281 __clock_settime. Add weak_alias and libc_hidden_def.
7282 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7284 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7286 * mach/err_boot.sub: Remove trailing whitespace.
7287 * mach/err_ipc.sub: Likewise.
7288 * mach/err_mach.sub: Likewise.
7290 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7291 (ROUNDING_TESTS_double): Likewise.
7292 (ROUNDING_TESTS_long_double): Likewise.
7293 (ROUNDING_TESTS): Likewise.
7294 * math/libm-test.inc: Include <math-tests.h>.
7295 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7296 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7297 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7298 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7300 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7302 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7305 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7307 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7308 otherwise empty TRANS lines.
7309 * sysdeps/gnu/errlist.c: Regenerated.
7311 * catgets/gencat.c (error_print): Use (void) in function
7313 * crypt/crypt_util.c (__init_des): Likewise.
7314 * crypt/speeds.c (Stop): Likewise.
7316 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7317 * inet/ruserpass.c (token): Likewise.
7318 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7319 * intl/localealias.c (extend_alias_table): Likewise.
7320 * intl/plural-exp.c (init_germanic_plural): Likewise.
7321 * libio/fcloseall.c (__fcloseall): Likewise.
7322 * libio/genops.c (_IO_flush_all): Likewise.
7323 (_IO_flush_all_linebuffered): Likewise.
7324 (_IO_cleanup): Likewise.
7325 (_IO_iter_begin): Likewise.
7326 (_IO_iter_end): Likewise.
7327 (_IO_list_lock): Likewise.
7328 (_IO_list_unlock): Likewise.
7329 (_IO_list_resetlock): Likewise.
7330 * libio/getchar.c (getchar): Likewise.
7331 * libio/getchar_u.c (getchar_unlocked): Likewise.
7332 * libio/getwchar.c (getwchar): Likewise.
7333 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7334 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7335 * login/getpt.c (__getpt): Likewise.
7336 * login/tst-utmp.c (main): Likewise.
7337 * malloc/hooks.c (__malloc_check_init): Likewise.
7338 * malloc/malloc.c (__malloc_stats): Likewise.
7339 * malloc/mtrace.c (tr_break): Likewise.
7341 (muntrace): Likewise.
7342 * misc/fstab.c (endfsent): Likewise.
7343 * misc/getclktck.c (__getclktck): Likewise.
7344 * misc/getdtsz.c (__getdtablesize): Likewise.
7345 * misc/gethostid.c (gethostid): Likewise.
7346 * misc/getpagesize.c (__getpagesize): Likewise.
7347 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7348 (__get_nprocs): Likewise.
7349 (__get_phys_pages): Likewise.
7350 (__get_avphys_pages): Likewise.
7351 * misc/getttyent.c (getttyent): Likewise.
7352 (setttyent): Likewise.
7353 (endttyent): Likewise.
7354 * misc/getusershell.c (getusershell): Likewise.
7355 (endusershell): Likewise.
7356 (setusershell): Likewise.
7357 (initshells): Likewise.
7358 * misc/hsearch.c (__hdestroy): Likewise.
7359 * misc/sync.c (sync): Likewise.
7360 * misc/syslog.c (closelog_internal): Likewise.
7361 (closelog): Likewise.
7362 * misc/ttyslot.c (ttyslot): Likewise.
7363 * misc/vhangup.c (vhangup): Likewise.
7364 * posix/fork.c (__fork): Likewise.
7365 * posix/getegid.c (__getegid): Likewise.
7366 * posix/geteuid.c (__geteuid): Likewise.
7367 * posix/getgid.c (__getgid): Likewise.
7368 * posix/getpid.c (__getpid): Likewise.
7369 * posix/getppid.c (__getppid): Likewise.
7370 * posix/getuid.c (__getuid): Likewise.
7371 * posix/pause.c (pause): Likewise.
7372 * posix/setpgrp.c (setpgrp): Likewise.
7373 * posix/setsid.c (__setsid): Likewise.
7374 * posix/test-vfork.c (noop): Likewise.
7375 * resolv/gethnamaddr.c (_endhtent): Likewise.
7376 (_gethtent): Likewise.
7377 (ht_endhostent): Likewise.
7378 (gethostent): Likewise.
7379 (dns_service): Likewise.
7380 * stdlib/drand48.c (drand48): Likewise.
7381 * stdlib/lrand48.c (lrand48): Likewise.
7382 * stdlib/mrand48.c (mrand48): Likewise.
7383 * stdlib/rand.c (rand): Likewise.
7384 * stdlib/random.c (__random): Likewise.
7385 * stdlib/setenv.c (clearenv): Likewise.
7386 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7387 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7388 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7389 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7390 (__get_nprocs): Likewise.
7391 (__get_phys_pages): Likewise.
7392 (__get_avphys_pages): Likewise.
7393 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7394 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7395 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7396 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7397 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7398 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7399 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7400 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7401 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7402 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7403 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7404 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7405 * sysdeps/posix/clock.c (clock): Likewise.
7406 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7407 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7408 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7409 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7410 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7412 (__get_nprocs_conf): Likewise.
7413 (__get_phys_pages): Likewise.
7414 (__get_avphys_pages): Likewise.
7415 * time/clock.c (clock): Likewise.
7416 * time/tzset.c (__tzname_max): Likewise.
7418 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7420 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7421 (__bswap_32): Do not use "register".
7422 * crypt/crypt.c (_ufc_doit_r): Likewise.
7423 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7424 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7425 * gmon/gmon.c (__monstartup): Likewise.
7426 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7427 * hurd/hurdmalloc.c (more_memory): Likewise.
7430 (realloc): Likewise.
7431 (malloc_fork_prepare): Likewise.
7432 (malloc_fork_parent): Likewise.
7433 (malloc_fork_child): Likewise.
7434 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7435 (_svcauth_des): Likewise.
7436 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7437 * inet/inet_net.c (inet_network): Likewise.
7438 * inet/inet_netof.c (inet_netof): Likewise.
7439 * inet/rcmd.c (__validuser2_sa): Likewise.
7440 * io/fts.c (fts_open): Likewise.
7441 (fts_load): Likewise.
7442 (fts_close): Likewise.
7443 (fts_read): Likewise.
7444 (fts_children): Likewise.
7445 (fts_build): Likewise.
7446 (fts_stat): Likewise.
7447 (fts_sort): Likewise.
7448 (fts_alloc): Likewise.
7449 (fts_lfree): Likewise.
7450 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7451 (_IO_file_xsgetn): Likewise.
7452 (_IO_file_xsgetn_mmap): Likewise.
7453 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7454 (_IO_cookie_write): Likewise.
7455 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7456 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7457 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7458 * malloc/obstack.c (_obstack_begin): Likewise.
7459 (_obstack_begin_1): Likewise.
7460 (_obstack_newchunk): Likewise.
7461 (_obstack_allocated_p): Likewise.
7462 (obstack_free): Likewise.
7463 (_obstack_memory_used): Likewise.
7464 * misc/getttyent.c (getttynam): Likewise.
7465 (getttyent): Likewise.
7468 * misc/getusershell.c (initshells): Likewise.
7469 * misc/syslog.c (__vsyslog_chk): Likewise.
7470 * misc/ttyslot.c (ttyslot): Likewise.
7471 * nis/nis_hash.c (__nis_hash): Likewise.
7472 * posix/fnmatch_loop.c (FCT): Likewise.
7473 * posix/getconf.c (print_all): Likewise.
7475 * posix/getopt.c (exchange): Likewise.
7476 * posix/glob.c (globfree): Likewise.
7477 (prefix_array): Likewise.
7478 (__glob_pattern_type): Likewise.
7479 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7480 (NS_GET32): Likewise.
7481 (NS_PUT16): Likewise.
7482 (NS_PUT32): Likewise.
7483 * resolv/gethnamaddr.c (getanswer): Likewise.
7484 (gethostbyname2): Likewise.
7485 (gethostbyaddr): Likewise.
7486 (_gethtent): Likewise.
7487 (_gethtbyname2): Likewise.
7488 (_gethtbyaddr): Likewise.
7489 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7490 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7491 * resolv/res_init.c (__res_vinit): Likewise.
7492 (net_mask): Likewise.
7493 * resolv/res_mkquery.c (outchar): Likewise.
7495 * stdio-common/printf_fp.c (outchar): Likewise.
7497 * stdio-common/printf_fphex.c (outchar): Likewise.
7499 * stdio-common/printf_size.c (outchar): Likewise.
7501 * stdio-common/test_rdwr.c (main): Likewise.
7502 * stdio-common/tfformat.c (matches): Likewise.
7503 * stdio-common/vfprintf.c (outchar): Likewise.
7504 (printf_unknown): Likewise.
7505 (buffered_vfprintf): Likewise.
7506 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7507 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7508 (ReadFile): Likewise.
7509 * stdlib/qsort.c (SWAP): Likewise.
7510 (_quicksort): Likewise.
7511 * stdlib/setenv.c (__add_to_environ): Likewise.
7512 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7513 * stdlib/strtol_l.c (__strtol_l): Likewise.
7514 * stdlib/tst-strtod.c (main): Likewise.
7515 * stdlib/tst-strtol.c (main): Likewise.
7516 * stdlib/tst-strtoll.c (main): Likewise.
7517 * string/bits/string2.h (__strcmp_cc): Likewise.
7518 (__strcmp_cg): Likewise.
7519 (__strcspn_c1): Likewise.
7520 (__strcspn_c2): Likewise.
7521 (__strcspn_c3): Likewise.
7522 (__strspn_c1): Likewise.
7523 (__strspn_c2): Likewise.
7524 (__strspn_c3): Likewise.
7525 (__strsep_1c): Likewise.
7526 (__strsep_2c): Likewise.
7527 (__strsep_3c): Likewise.
7528 * string/memccpy.c (__memccpy): Likewise.
7529 * string/stpcpy.c (__stpcpy): Likewise.
7530 * string/strcmp.c (strcmp): Likewise.
7531 * string/strrchr.c (strrchr): Likewise.
7532 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7534 * sysdeps/mach/hurd/getcwd.c
7535 (_hurd_canonicalize_directory_name_internal): Likewise.
7536 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7537 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7538 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7539 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7540 Likewise, in both definitions.
7541 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7543 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7544 64] (__bswap_64): Likewise.
7545 * time/test_time.c (main): Likewise.
7546 * time/tzfile.c (__tzfile_read): Likewise.
7547 (__tzfile_compute): Likewise.
7548 * time/tzset.c (__tzset_parse_tz): Likewise.
7549 (tzset_internal): Likewise.
7550 (compute_change): Likewise.
7551 * wcsmbs/wcscat.c (__wcscat): Likewise.
7552 * wcsmbs/wcschr.c (wcschr): Likewise.
7553 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7554 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7555 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7556 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7557 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7558 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7559 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7560 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7561 * wcsmbs/wmemset.c (wmemset): Likewise.
7563 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7565 * scripts/config.guess: Update to version 2013-05-16.
7566 * scripts/config.sub: Update to version 2013-04-24.
7567 * scripts/install-sh: Update to version 2011-11-20.07.
7568 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7569 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7571 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7573 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7574 * elf/sln.c: Likewise.
7575 * hurd/hurd/ioctl.h: Likewise.
7576 * hurd/hurdmalloc.c: Likewise.
7577 * hurd/xattr.c: Likewise.
7578 * include/shlib-compat.h: Likewise.
7579 * inet/ruserpass.c: Likewise.
7580 * libio/iofgets_u.c: Likewise.
7581 * libio/iofgetws_u.c: Likewise.
7582 * locale/programs/ld-identification.c: Likewise.
7583 * locale/programs/ld-time.c: Likewise.
7584 * mach/msg-destroy.c: Likewise.
7585 * nss/nss_files/files-netgrp.c: Likewise.
7586 * resolv/res_data.c: Likewise.
7587 * soft-fp/op-1.h: Likewise.
7588 * soft-fp/op-2.h: Likewise.
7589 * soft-fp/op-4.h: Likewise.
7590 * soft-fp/op-common.h: Likewise.
7591 * stdio-common/printf_fphex.c: Likewise.
7592 * stdlib/strtod_l.c: Likewise.
7593 * sunrpc/rpc/clnt.h: Likewise.
7594 * sysdeps/generic/framestate.c: Likewise.
7595 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7596 * sysdeps/i386/bsd-setjmp.S: Likewise.
7597 * sysdeps/i386/__longjmp.S: Likewise.
7598 * sysdeps/i386/setjmp.S: Likewise.
7599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7600 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7601 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7617 * sysdeps/ieee754/support.c: Likewise.
7618 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7619 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7620 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7621 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7622 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7623 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7624 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7625 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7626 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7627 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7628 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7629 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7630 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7631 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7632 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7633 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7634 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7637 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7639 * posix/transbug.c: Remove executable mode.
7641 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7643 * crypt/speeds.c: Remove trailing whitespace.
7644 * dlfcn/default.c: Likewise.
7645 * elf/ifuncdep2.c: Likewise.
7646 * elf/ifuncmain1.c: Likewise.
7647 * elf/ifuncmain1vis.c: Likewise.
7648 * elf/testobj.h: Likewise.
7649 * elf/tst-stackguard1.c: Likewise.
7650 * gmon/sys/gmon.h: Likewise.
7651 * hurd/hurdmsg.c: Likewise.
7652 * hurd/new-fd.c: Likewise.
7653 * hurd/ports-get.c: Likewise.
7654 * iconvdata/ibm1008_420.c: Likewise.
7655 * inet/tst-getni1.c: Likewise.
7656 * inet/tst-getni2.c: Likewise.
7657 * libio/ioungetc.c: Likewise.
7658 * libio/wfiledoalloc.c: Likewise.
7659 * manual/libm-err-tab.pl: Likewise.
7660 * math/w_dremf.c: Likewise.
7661 * misc/ftruncate.c: Likewise.
7662 * posix/bug-glob2.c: Likewise.
7663 * posix/tst-pcre.c: Likewise.
7664 * posix/wait4.c: Likewise.
7665 * resolv/README: Likewise.
7666 * resolv/res_debug.h: Likewise.
7667 * resolv/tst-inet_ntop.c: Likewise.
7668 * setjmp/bug269-setjmp.c: Likewise.
7669 * soft-fp/extended.h: Likewise.
7670 * soft-fp/op-1.h: Likewise.
7671 * soft-fp/op-2.h: Likewise.
7672 * soft-fp/op-4.h: Likewise.
7673 * soft-fp/op-8.h: Likewise.
7674 * soft-fp/testit.c: Likewise.
7675 * stdio-common/bug16.c: Likewise.
7676 * stdlib/random.c: Likewise.
7677 * sunrpc/rpcsvc/rquota.x: Likewise.
7678 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7679 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7680 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7681 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7682 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7683 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7684 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7685 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7686 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7687 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7688 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7705 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7707 * sysdeps/ieee754/s_lib_version.c: Likewise.
7708 * sysdeps/mach/hurd/check_fds.c: Likewise.
7709 * sysdeps/mach/hurd/getsockname.c: Likewise.
7710 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7711 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7712 * sysdeps/powerpc/bits/link.h: Likewise.
7713 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7714 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7715 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7716 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7717 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7718 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7719 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7720 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7721 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7722 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7723 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7724 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7725 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7726 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7727 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7728 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7729 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7730 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7731 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7732 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7733 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7734 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7735 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7736 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7737 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7738 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7739 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7740 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7741 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7742 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7743 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7744 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7745 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7746 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7747 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7748 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7749 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7750 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7751 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7752 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7753 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7754 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7755 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7756 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7757 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7758 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7759 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7760 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7761 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7762 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7763 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7765 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7766 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7767 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7768 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7769 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7770 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7771 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7772 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7773 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7774 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7775 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7776 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7777 * sysdeps/powerpc/sysdep.h: Likewise.
7778 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7779 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7780 * sysdeps/sh/dl-trampoline.S: Likewise.
7781 * sysdeps/sh/memset.S: Likewise.
7782 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7783 * sysdeps/sh/strlen.S: Likewise.
7784 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7785 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7786 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7787 * sysdeps/sparc/sparc32/rem.S: Likewise.
7788 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7789 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7790 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7791 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7792 * sysdeps/sparc/sparc32/urem.S: Likewise.
7793 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7794 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7795 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7796 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7797 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7798 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7799 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7800 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7801 * sysdeps/unix/bsd/times.c: Likewise.
7802 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7803 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7809 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7811 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7812 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7813 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7814 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7815 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7816 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7817 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7818 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7819 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7820 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7821 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7822 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7823 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7824 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7826 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7827 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7829 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7830 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7831 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7832 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7833 * sysdeps/x86_64/strcspn.S: Likewise.
7835 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7837 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7838 generated file. Regenerate properly from gen-translit.pl.
7839 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7840 locale/C-translit.h.
7842 2013-06-05 Andreas Schwab <schwab@suse.de>
7845 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7846 week as 6 instead of -1.
7847 * time/tst-strptime.c (day_tests): Add test case.
7849 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7851 * sysdeps/generic/math_private.h
7852 (libc_feholdexcept_setround_53bit): Replace with
7853 libc_feholdsetround_53bit.
7854 (libc_feupdateenv_53bit): Replace with
7855 libc_feresetround_53bit.
7856 (SET_RESTORE_ROUND_53BIT): Adjust.
7858 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7860 * string/test-strchrnul.c: Add copyright header.
7862 * posix/tst-getaddrinfo4.c: Increase test timeout.
7864 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7867 * math/libm-test.inc (MAX_EXP): Remove
7869 (ulp): Use MIN_EXP - MANT_DIG.
7870 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7872 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7874 * po/be.po: Revert last change.
7875 * po/zh_CN.po: Likewise.
7876 * po/header.pot: Likewise.
7878 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7880 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7881 link-libc-deps to empty as target-specific variable.
7882 * Makerules (link-libc-args): New variable.
7883 (libc-for-link): Likewise.
7884 (link-libc-deps): Likewise.
7885 (lib%.so): Depend on $(link-libc-deps). Link with
7887 (build-module): Link with $(link-libc-args).
7888 (build-module-asneeded): Likewise.
7889 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7891 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7892 target-specific variable.
7893 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7894 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7895 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7897 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7899 ($(objpfx)libpcprofile.so): Likewise.
7900 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7902 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7903 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7904 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7906 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7907 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7908 * login/Makefile ($(objpfx)libutil.so): Likewise.
7909 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7910 * math/Makefile ($(objpfx)libm.so): Likewise.
7911 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7912 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7913 variable instead of depending directly on libc.
7914 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7915 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7917 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7919 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7920 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7921 ($(objpfx)libanl.so): Likewise.
7922 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7924 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7926 * sysdeps/i386/fpu/Makefile: Remove file.
7927 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7928 ($(objpfx)libm.so): Remove dependency on ld.so.
7930 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7933 * nis/yp_xdr.c (XDRMAXNAME): Define.
7934 (XDRMAXRECORD): Define.
7935 (xdr_domainname): Use XDRMAXNAME.
7936 (xdr_mapname): Likewise.
7937 (xdr_peername): Likewise.
7938 (xdr_keydat): Use XDRMAXRECORD.
7939 (xdr_valdat): Likewise.
7941 2013-05-30 Jeff Law <law@redhat.com>
7944 * manual/errno.texi (ESTALE): Update to account for more than
7945 just NFS file systems.
7946 * sysdeps/gnu/errlist.c: Regenerated.
7948 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7951 * elf/Makefile (tests): Add tst-null-argv.
7952 (modules-names): Add tst-null-argv-lib.
7953 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7954 (tst-null-argv-ENV): Set environment for tst-null-argv.
7955 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7956 (RTLD_PROGNAME): New macro.
7957 * elf/tst-null-argv.c: New test case.
7958 * elf/tst-null-argv-lib.c: Library for test case.
7959 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7960 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7961 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7962 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7963 * elf/dl-init.c (call_init): Likewise.
7964 (_dl_init): Likewise.
7965 * elf/dl-load.c (print_search_path): Likewise.
7966 (_dl_map_object): Likewise.
7967 * elf/dl-lookup.c (do_lookup_x): Likewise.
7968 (add_dependency): Likewise.
7969 (_dl_lookup_symbol_x): Likewise.
7970 (_dl_debug_bindings): Likewise.
7971 * elf/dl-open.c (_dl_show_scope): Likewise.
7972 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7973 * elf/dl-version.c (match_symbol): Likewise.
7974 (_dl_check_map_versions): Likewise.
7975 * elf/rtld.c (dl_main): Likewise.
7976 (print_unresolved): Use RTLD_PROGNAME.
7977 (print_missing_version): Likewise.
7978 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7979 (elf_machine_rela): Likewise.
7980 * sysdeps/powerpc/powerpc32/dl-machine.c
7981 (__process_machine_rela): Likewise.
7982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7984 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7986 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7988 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7989 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7991 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7995 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7997 * po/be.po: Add descriptive title.
7998 * po/zh_CN.po: Likewise.
7999 * po/header.pot: Likewise.
8001 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8003 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8005 (enlarge_archive): Likewise.
8007 2013-05-28 Ben North <ben@redfrontdoor.org>
8009 * manual/arith.texi (frexp): It is the magnitude of the return
8010 value which lies in [0.5, 1), not the return value itself.
8012 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8016 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8018 * stdio-common/bug26.c (main): Correct fscanf template.
8020 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8021 declare _dl_skip_args.
8023 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8026 * manual/platform.texi: Add missing @end deftypefun.
8028 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8031 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8032 bit of mantissa of 2^16382.
8033 * math/libm-test.inc (hypot_test_data): Add more tests.
8035 * math/libm-test.inc: Add drem and pow10 to list of tested
8037 (pow10_test): New function.
8038 (drem_test): Likewise.
8039 (drem_test_tonearest): Likewise.
8040 (drem_test_towardzero): Likewise.
8041 (drem_test_downward): Likewise.
8042 (drem_test_upward): Likewise.
8043 (main): Call the new functions.
8045 * math/libm-test.inc (finite_test_data): Remove.
8046 (finite_test): Run tests from isfinite_test_data.
8047 (gamma_test_data): Remove.
8048 (gamma_test): Run tests from lgamma_test_data.
8049 * sysdeps/i386/fpu/libm-test-ulps: Update.
8050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8054 * manual/platform.texi: Add PowerPC PPR function set documentation.
8055 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8058 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8060 * math/libm-test.inc (MAX_EXP): Define.
8062 (ulp): New function.
8063 (check_float_internal): Use ULPDIFF.
8064 (cpow_test): Disable failing test.
8065 (check_ulp): Test ulp() implemetnation.
8066 (main): Call check_ulp before starting tests.
8068 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8070 * math/gen-libm-test.pl (generate_testfile): Do not handle
8071 START_DATA and END_DATA.
8072 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8074 (acos_tonearest_test_data): Likewise.
8075 (acos_towardzero_test_data): Likewise.
8076 (acos_downward_test_data): Likewise.
8077 (acos_upward_test_data): Likewise.
8078 (acosh_test_data): Likewise.
8079 (asin_test_data): Likewise.
8080 (asin_tonearest_test_data): Likewise.
8081 (asin_towardzero_test_data): Likewise.
8082 (asin_downward_test_data): Likewise.
8083 (asin_upward_test_data): Likewise.
8084 (asinh_test_data): Likewise.
8085 (atan_test_data): Likewise.
8086 (atanh_test_data): Likewise.
8087 (atan2_test_data): Likewise.
8088 (cabs_test_data): Likewise.
8089 (cacos_test_data): Likewise.
8090 (cacosh_test_data): Likewise.
8091 (carg_test_data): Likewise.
8092 (casin_test_data): Likewise.
8093 (casinh_test_data): Likewise.
8094 (catan_test_data): Likewise.
8095 (catanh_test_data): Likewise.
8096 (cbrt_test_data): Likewise.
8097 (ccos_test_data): Likewise.
8098 (ccosh_test_data): Likewise.
8099 (ceil_test_data): Likewise.
8100 (cexp_test_data): Likewise.
8101 (cimag_test_data): Likewise.
8102 (clog_test_data): Likewise.
8103 (clog10_test_data): Likewise.
8104 (conj_test_data): Likewise.
8105 (copysign_test_data): Likewise.
8106 (cos_test_data): Likewise.
8107 (cos_tonearest_test_data): Likewise.
8108 (cos_towardzero_test_data): Likewise.
8109 (cos_downward_test_data): Likewise.
8110 (cos_upward_test_data): Likewise.
8111 (cosh_test_data): Likewise.
8112 (cosh_tonearest_test_data): Likewise.
8113 (cosh_towardzero_test_data): Likewise.
8114 (cosh_downward_test_data): Likewise.
8115 (cosh_upward_test_data): Likewise.
8116 (cpow_test_data): Likewise.
8117 (cproj_test_data): Likewise.
8118 (creal_test_data): Likewise.
8119 (csin_test_data): Likewise.
8120 (csinh_test_data): Likewise.
8121 (csqrt_test_data): Likewise.
8122 (ctan_test_data): Likewise.
8123 (ctan_tonearest_test_data): Likewise.
8124 (ctan_towardzero_test_data): Likewise.
8125 (ctan_downward_test_data): Likewise.
8126 (ctan_upward_test_data): Likewise.
8127 (ctanh_test_data): Likewise.
8128 (ctanh_tonearest_test_data): Likewise.
8129 (ctanh_towardzero_test_data): Likewise.
8130 (ctanh_downward_test_data): Likewise.
8131 (ctanh_upward_test_data): Likewise.
8132 (erf_test_data): Likewise.
8133 (erfc_test_data): Likewise.
8134 (exp_test_data): Likewise.
8135 (exp_tonearest_test_data): Likewise.
8136 (exp_towardzero_test_data): Likewise.
8137 (exp_downward_test_data): Likewise.
8138 (exp_upward_test_data): Likewise.
8139 (exp10_test_data): Likewise.
8140 (exp2_test_data): Likewise.
8141 (expm1_test_data): Likewise.
8142 (fabs_test_data): Likewise.
8143 (fdim_test_data): Likewise.
8144 (finite_test_data): Likewise.
8145 (floor_test_data): Likewise.
8146 (fma_test_data): Likewise.
8147 (fma_towardzero_test_data): Likewise.
8148 (fma_downward_test_data): Likewise.
8149 (fma_upward_test_data): Likewise.
8150 (fmax_test_data): Likewise.
8151 (fmin_test_data): Likewise.
8152 (fmod_test_data): Likewise.
8153 (fpclassify_test_data): Likewise.
8154 (frexp_test_data): Likewise.
8155 (gamma_test_data): Likewise.
8156 (hypot_test_data): Likewise.
8157 (ilogb_test_data): Likewise.
8158 (isfinite_test_data): Likewise.
8159 (isgreater_test_data): Likewise.
8160 (isgreaterequal_test_data): Likewise.
8161 (isinf_test_data): Likewise.
8162 (isless_test_data): Likewise.
8163 (islessequal_test_data): Likewise.
8164 (islessgreater_test_data): Likewise.
8165 (isnan_test_data): Likewise.
8166 (isnormal_test_data): Likewise.
8167 (issignaling_test_data): Likewise.
8168 (isunordered_test_data): Likewise.
8169 (j0_test_data): Likewise.
8170 (j1_test_data): Likewise.
8171 (jn_test_data): Likewise.
8172 (ldexp_test_data): Likewise.
8173 (lgamma_test_data): Likewise.
8174 (lrint_test_data): Likewise.
8175 (lrint_tonearest_test_data): Likewise.
8176 (lrint_towardzero_test_data): Likewise.
8177 (lrint_downward_test_data): Likewise.
8178 (lrint_upward_test_data): Likewise.
8179 (llrint_test_data): Likewise.
8180 (llrint_tonearest_test_data): Likewise.
8181 (llrint_towardzero_test_data): Likewise.
8182 (llrint_downward_test_data): Likewise.
8183 (llrint_upward_test_data): Likewise.
8184 (log_test_data): Likewise.
8185 (log10_test_data): Likewise.
8186 (log1p_test_data): Likewise.
8187 (log2_test_data): Likewise.
8188 (logb_test_data): Likewise.
8189 (logb_downward_test_data): Likewise.
8190 (lround_test_data): Likewise.
8191 (llround_test_data): Likewise.
8192 (modf_test_data): Likewise.
8193 (nearbyint_test_data): Likewise.
8194 (nextafter_test_data): Likewise.
8195 (nexttoward_test_data): Likewise.
8196 (pow_test_data): Likewise.
8197 (pow_tonearest_test_data): Likewise.
8198 (pow_towardzero_test_data): Likewise.
8199 (pow_downward_test_data): Likewise.
8200 (pow_upward_test_data): Likewise.
8201 (remainder_test_data): Likewise.
8202 (remainder_tonearest_test_data): Likewise.
8203 (remainder_towardzero_test_data): Likewise.
8204 (remainder_downward_test_data): Likewise.
8205 (remainder_upward_test_data): Likewise.
8206 (remquo_test_data): Likewise.
8207 (rint_test_data): Likewise.
8208 (rint_tonearest_test_data): Likewise.
8209 (rint_towardzero_test_data): Likewise.
8210 (rint_downward_test_data): Likewise.
8211 (rint_upward_test_data): Likewise.
8212 (round_test_data): Likewise.
8213 (scalb_test_data): Likewise.
8214 (scalbn_test_data): Likewise.
8215 (scalbln_test_data): Likewise.
8216 (signbit_test_data): Likewise.
8217 (sin_test_data): Likewise.
8218 (sin_tonearest_test_data): Likewise.
8219 (sin_towardzero_test_data): Likewise.
8220 (sin_downward_test_data): Likewise.
8221 (sin_upward_test_data): Likewise.
8222 (sincos_test_data): Likewise.
8223 (sinh_test_data): Likewise.
8224 (sinh_tonearest_test_data): Likewise.
8225 (sinh_towardzero_test_data): Likewise.
8226 (sinh_downward_test_data): Likewise.
8227 (sinh_upward_test_data): Likewise.
8228 (sqrt_test_data): Likewise.
8229 (tan_test_data): Likewise.
8230 (tan_tonearest_test_data): Likewise.
8231 (tan_towardzero_test_data): Likewise.
8232 (tan_downward_test_data): Likewise.
8233 (tan_upward_test_data): Likewise.
8234 (tanh_test_data): Likewise.
8235 (tgamma_test_data): Likewise.
8236 (trunc_test_data): Likewise.
8237 (y0_test_data): Likewise.
8238 (y1_test_data): Likewise.
8239 (yn_test_data): Likewise.
8240 (significand_test_data): Likewise.
8242 * math/gen-libm-test.pl (@functions): Remove variable.
8243 (generate_testfile): Don't handle START and END lines.
8244 * math/libm-test.inc (START): New macro.
8246 (END_COMPLEX): Likewise.
8247 (acos_test): Use END macro without arguments.
8248 (acos_test_tonearest): Likewise.
8249 (acos_test_towardzero): Likewise.
8250 (acos_test_downward): Likewise.
8251 (acos_test_upward): Likewise.
8252 (acosh_test): Likewise.
8253 (asin_test): Likewise.
8254 (asin_test_tonearest): Likewise.
8255 (asin_test_towardzero): Likewise.
8256 (asin_test_downward): Likewise.
8257 (asin_test_upward): Likewise.
8258 (asinh_test): Likewise.
8259 (atan_test): Likewise.
8260 (atanh_test): Likewise.
8261 (atan2_test): Likewise.
8262 (cabs_test): Likewise.
8263 (cacos_test): Use END_COMPLEX macro without arguments.
8264 (cacosh_test): Likewise.
8265 (carg_test): Use END macro without arguments.
8266 (casin_test): Use END_COMPLEX macro without arguments.
8267 (casinh_test): Likewise.
8268 (catan_test): Likewise.
8269 (catanh_test): Likewise.
8270 (cbrt_test): Use END macro without arguments.
8271 (ccos_test): Use END_COMPLEX macro without arguments.
8272 (ccosh_test): Likewise.
8273 (ceil_test): Use END macro without arguments.
8274 (cexp_test): Use END_COMPLEX macro without arguments.
8275 (cimag_test): Use END macro without arguments.
8276 (clog_test): Use END_COMPLEX macro without arguments.
8277 (clog10_test): Likewise.
8278 (conj_test): Likewise.
8279 (copysign_test): Use END macro without arguments.
8280 (cos_test): Likewise.
8281 (cos_test_tonearest): Likewise.
8282 (cos_test_towardzero): Likewise.
8283 (cos_test_downward): Likewise.
8284 (cos_test_upward): Likewise.
8285 (cosh_test): Likewise.
8286 (cosh_test_tonearest): Likewise.
8287 (cosh_test_towardzero): Likewise.
8288 (cosh_test_downward): Likewise.
8289 (cosh_test_upward): Likewise.
8290 (cpow_test): Use END_COMPLEX macro without arguments.
8291 (cproj_test): Likewise.
8292 (creal_test): Use END macro without arguments.
8293 (csin_test): Use END_COMPLEX macro without arguments.
8294 (csinh_test): Likewise.
8295 (csqrt_test): Likewise.
8296 (ctan_test): Likewise.
8297 (ctan_test_tonearest): Likewise.
8298 (ctan_test_towardzero): Likewise.
8299 (ctan_test_downward): Likewise.
8300 (ctan_test_upward): Likewise.
8301 (ctanh_test): Likewise.
8302 (ctanh_test_tonearest): Likewise.
8303 (ctanh_test_towardzero): Likewise.
8304 (ctanh_test_downward): Likewise.
8305 (ctanh_test_upward): Likewise.
8306 (erf_test): Use END macro without arguments.
8307 (erfc_test): Likewise.
8308 (exp_test): Likewise.
8309 (exp_test_tonearest): Likewise.
8310 (exp_test_towardzero): Likewise.
8311 (exp_test_downward): Likewise.
8312 (exp_test_upward): Likewise.
8313 (exp10_test): Likewise.
8314 (exp2_test): Likewise.
8315 (expm1_test): Likewise.
8316 (fabs_test): Likewise.
8317 (fdim_test): Likewise.
8318 (finite_test): Likewise.
8319 (floor_test): Likewise.
8320 (fma_test): Likewise.
8321 (fma_test_towardzero): Likewise.
8322 (fma_test_downward): Likewise.
8323 (fma_test_upward): Likewise.
8324 (fmax_test): Likewise.
8325 (fmin_test): Likewise.
8326 (fmod_test): Likewise.
8327 (fpclassify_test): Likewise.
8328 (frexp_test): Likewise.
8329 (gamma_test): Likewise.
8330 (hypot_test): Likewise.
8331 (ilogb_test): Likewise.
8332 (isfinite_test): Likewise.
8333 (isgreater_test): Likewise.
8334 (isgreaterequal_test): Likewise.
8335 (isinf_test): Likewise.
8336 (isless_test): Likewise.
8337 (islessequal_test): Likewise.
8338 (islessgreater_test): Likewise.
8339 (isnan_test): Likewise.
8340 (isnormal_test): Likewise.
8341 (issignaling_test): Likewise.
8342 (isunordered_test): Likewise.
8343 (j0_test): Likewise.
8344 (j1_test): Likewise.
8345 (jn_test): Likewise.
8346 (ldexp_test): Likewise.
8347 (lgamma_test): Likewise.
8348 (lrint_test): Likewise.
8349 (lrint_test_tonearest): Likewise.
8350 (lrint_test_towardzero): Likewise.
8351 (lrint_test_downward): Likewise.
8352 (lrint_test_upward): Likewise.
8353 (llrint_test): Likewise.
8354 (llrint_test_tonearest): Likewise.
8355 (llrint_test_towardzero): Likewise.
8356 (llrint_test_downward): Likewise.
8357 (llrint_test_upward): Likewise.
8358 (log_test): Likewise.
8359 (log10_test): Likewise.
8360 (log1p_test): Likewise.
8361 (log2_test): Likewise.
8362 (logb_test): Likewise.
8363 (logb_test_downward): Likewise.
8364 (lround_test): Likewise.
8365 (llround_test): Likewise.
8366 (modf_test): Likewise.
8367 (nearbyint_test): Likewise.
8368 (nextafter_test): Likewise.
8369 (nexttoward_test): Likewise.
8370 (pow_test): Likewise.
8371 (pow_test_tonearest): Likewise.
8372 (pow_test_towardzero): Likewise.
8373 (pow_test_downward): Likewise.
8374 (pow_test_upward): Likewise.
8375 (remainder_test): Likewise.
8376 (remainder_test_tonearest): Likewise.
8377 (remainder_test_towardzero): Likewise.
8378 (remainder_test_downward): Likewise.
8379 (remainder_test_upward): Likewise.
8380 (remquo_test): Likewise.
8381 (rint_test): Likewise.
8382 (rint_test_tonearest): Likewise.
8383 (rint_test_towardzero): Likewise.
8384 (rint_test_downward): Likewise.
8385 (rint_test_upward): Likewise.
8386 (round_test): Likewise.
8387 (scalb_test): Likewise.
8388 (scalbn_test): Likewise.
8389 (scalbln_test): Likewise.
8390 (signbit_test): Likewise.
8391 (sin_test): Likewise.
8392 (sin_test_tonearest): Likewise.
8393 (sin_test_towardzero): Likewise.
8394 (sin_test_downward): Likewise.
8395 (sin_test_upward): Likewise.
8396 (sincos_test): Likewise.
8397 (sinh_test): Likewise.
8398 (sinh_test_tonearest): Likewise.
8399 (sinh_test_towardzero): Likewise.
8400 (sinh_test_downward): Likewise.
8401 (sinh_test_upward): Likewise.
8402 (sqrt_test): Likewise.
8403 (tan_test): Likewise.
8404 (tan_test_tonearest): Likewise.
8405 (tan_test_towardzero): Likewise.
8406 (tan_test_downward): Likewise.
8407 (tan_test_upward): Likewise.
8408 (tanh_test): Likewise.
8409 (tgamma_test): Likewise.
8410 (trunc_test): Likewise.
8411 (y0_test): Likewise.
8412 (y1_test): Likewise.
8413 (yn_test): Likewise.
8414 (significand_test): Likewise.
8416 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8419 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8421 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8424 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8425 __ppc_mdoio and __ppc_mdoom.
8426 * manual/platform.texi: Document new functions __ppc_yield,
8427 __ppc_mdoio and __ppc_mdoom.
8429 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8431 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8432 (main): Mention "tls" pseudo-hwcap is legacy.
8433 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8435 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8437 * math/gen-libm-test.pl (parse_args): Output only string of
8438 arguments as text for test name, not full call or descriptions of
8439 tests for extra outputs.
8440 (generate_testfile): Do not pass function name to parse_args.
8441 Generate this_func variable from START.
8442 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8444 (struct test_ff_f_data): Likewise.
8445 (test_ff_f_data_nexttoward): Likewise.
8446 (struct test_fi_f_data): Likewise.
8447 (struct test_fl_f_data): Likewise.
8448 (struct test_if_f_data): Likewise.
8449 (struct test_fff_f_data): Likewise.
8450 (struct test_c_f_data): Likewise.
8451 (struct test_f_f1_data): Likewise. Remove field extra_name.
8452 (struct test_fF_f1_data): Likewise.
8453 (struct test_ffI_f1_data): Likewise.
8454 (struct test_c_c_data): Rename test_name field to arg_str.
8455 (struct test_cc_c_data): Likewise.
8456 (struct test_f_i_data): Likewise.
8457 (struct test_ff_i_data): Likewise.
8458 (struct test_f_l_data): Likewise.
8459 (struct test_f_L_data): Likewise.
8460 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8462 (COMMON_TEST_SETUP): New macro.
8463 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8464 (COMMON_TEST_CLEANUP): Likewise.
8465 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8466 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8468 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8469 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8471 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8472 (RUN_TEST_fff_f): Take argument string. Call new setup and
8474 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8475 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8477 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8478 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8480 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8481 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8483 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8484 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8486 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8487 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8489 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8490 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8492 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8493 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8495 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8496 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8498 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8499 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8501 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8502 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8504 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8505 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8507 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8508 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8510 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8511 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8513 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8514 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8516 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8517 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8519 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8521 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8523 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8524 to _sifields.sigfault.
8525 (si_addr_lsb): Define new macro.
8526 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8528 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8530 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8533 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8535 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8537 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8540 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8542 * math/gen-libm-test.pl (parse_args): Do not include expected
8543 result in test name.
8544 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8547 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8548 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8551 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8553 * benchtests/Makefile: Sort function entries.
8555 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8556 tanh, asinh, acosh, atanh.
8557 * benchtests/acos-inputs: New file.
8558 * benchtests/acosh-inputs: New file.
8559 * benchtests/asin-inputs: New file.
8560 * benchtests/asinh-inputs: New file.
8561 * benchtests/atanh-inputs: New file.
8562 * benchtests/cosh-inputs: New file.
8563 * benchtests/log-inputs: New file.
8564 * benchtests/sinh-inputs: New file.
8565 * benchtests/tanh-inputs: New file.
8567 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8570 * posix/tst-getaddrinfo4.c: New test.
8571 * posix/Makefile (tests): Add it.
8573 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8576 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8577 when no services were used.
8578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8579 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8581 2013-05-21 Andreas Schwab <schwab@suse.de>
8584 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8585 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8587 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8588 redundant variable declarations and reallocation of buffer when
8589 parsing as IPv6 address. Always set NSS status when called from
8590 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8591 buffer too small. Correct computation of needed size.
8592 * nss/Makefile (tests): Add test-digits-dots.
8593 * nss/test-digits-dots.c: New test.
8595 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8597 * benchtests/Makefile: Remove instructions for adding
8599 * benchtests/README: New file to explain how to execute and
8600 enhance the benchmark tests.
8602 2013-05-21 Andreas Schwab <schwab@suse.de>
8605 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8606 * setjmp/tst-sigsetjmp.c: New test.
8608 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8610 * sysdeps/x86_64/memset.S (memset): New implementation.
8611 (__bzero): Likewise.
8612 (__memset_tail): New function.
8614 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8616 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8617 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8618 __memcpy_sse2_unaligned ifunc selection.
8619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8620 Add memcpy-sse2-unaligned.S.
8621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8622 Add: __memcpy_sse2_unaligned.
8624 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8627 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8628 math_force_eval before restoring floating-point envrionment.
8629 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8630 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8632 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8634 (__nearbyintl): Use math_force_eval before restoring
8635 floating-point environment.
8636 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8638 * math/gen-libm-test.pl (special_functions): Remove.
8639 (parse_args): Don't handle TEST_extra. Handle functions with no
8641 * math/libm-test.inc (struct test_sincos_data): Replace with
8642 struct test_fFF_11_data.
8643 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8644 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8645 (sincos_test_data): Change element type to struct
8646 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8647 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8648 RUN_TEST_LOOP_sincos.
8649 * math/README.libm-test: Don't mention special handling of
8650 individual functions.
8651 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8652 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8653 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8654 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658 * math/gen-libm-test.pl (get_variable): Remove function.
8659 (parse_args): Don't show pointer parameters to call in test
8660 names. Use "extra output N" in test names for extra outputs
8661 rather than naming variables.
8663 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8666 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8667 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8668 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8670 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8672 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8675 * math/gen-libm-test.pl (@tests): Remove variable.
8677 (new_test): Remove function.
8678 (show_exceptions): New function.
8679 (special_functions): Use show_exceptions instead of new_test.
8680 (parse_args): Likewise.
8681 (generate_testfile): Pass only function name in generated call to
8682 print_max_error or print_complex_max_error.
8683 (get_ulps): Do not handle complex tests specially.
8684 (output_test): Rename to ...
8685 (get_all_ulps_for_test): ... this. Return a string rather than
8686 printing to a file. Require ulps to be present.
8687 (output_ulps): Generate arrays rather than #defines.
8688 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8689 (struct ulp_data): New type.
8690 (BUILD_COMPLEX_ULP): Remove macro.
8691 (compare_ulp_data): New function.
8692 (find_ulps): Likewise.
8693 (find_test_ulps): Likewise.
8694 (find_function_ulps): Likewise.
8695 (find_complex_function_ulps): Likewise.
8696 (print_max_error): Determine allowed ulps using
8698 (print_complex_max_error): Determine allowed ulps using
8699 find_complex_function_ulps.
8700 (check_float_internal): Determine max ulps using find_test_ulps.
8701 (check_float): Do not take max_ulp parameter. Update call to
8702 check_float_internal.
8703 (check_complex): Likewise.
8704 (check_int): Do not take max_ulp parameter.
8705 (check_long): Likewise.
8706 (check_bool): Likewise.
8707 (check_longlong): Likewise.
8708 (struct test_f_f_data): Remove max_ulp field.
8709 (struct test_ff_f_data): Likewise.
8710 (struct test_ff_f_data_nexttoward): Likewise.
8711 (struct test_fi_f_data): Likewise.
8712 (struct test_fl_f_data): Likewise.
8713 (struct test_if_f_data): Likewise.
8714 (struct test_fff_f_data): Likewise.
8715 (struct test_c_f_data): Likewise.
8716 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8717 (struct test_fF_f1_data): Likewise.
8718 (struct test_ffI_f1_data): Likewise.
8719 (struct test_c_c_data): Remove max_ulp field.
8720 (struct test_cc_c_data): Likewise.
8721 (struct test_f_i_data): Likewise.
8722 (struct test_ff_i_data): Likewise.
8723 (struct test_f_l_data): Likewise.
8724 (struct test_f_L_data): Likewise.
8725 (struct test_sincos_data): Likewise.
8726 (RUN_TEST_f_f): Do not handle ulps.
8727 (RUN_TEST_LOOP_f_f): Likewise.
8728 (RUN_TEST_2_f): Likewise.
8729 (RUN_TEST_LOOP_2_f): Likewise.
8730 (RUN_TEST_fff_f): Likewise.
8731 (RUN_TEST_LOOP_fff_f): Likewise.
8732 (RUN_TEST_c_f): Likewise.
8733 (RUN_TEST_LOOP_c_f): Likewise.
8734 (RUN_TEST_f_f1): Likewise.
8735 (RUN_TEST_LOOP_f_f1): Likewise.
8736 (RUN_TEST_fF_f1): Likewise.
8737 (RUN_TEST_LOOP_fF_f1): Likewise.
8738 (RUN_TEST_fI_f1): Likewise.
8739 (RUN_TEST_LOOP_fI_f1): Likewise.
8740 (RUN_TEST_ffI_f1): Likewise.
8741 (RUN_TEST_LOOP_ffI_f1): Likewise.
8742 (RUN_TEST_c_c): Likewise.
8743 (RUN_TEST_LOOP_c_c): Likewise.
8744 (RUN_TEST_cc_c): Likewise.
8745 (RUN_TEST_LOOP_cc_c): Likewise.
8746 (RUN_TEST_f_i): Likewise.
8747 (RUN_TEST_LOOP_f_i): Likewise.
8748 (RUN_TEST_f_i_tg): Likewise.
8749 (RUN_TEST_LOOP_f_i_tg): Likewise.
8750 (RUN_TEST_ff_i_tg): Likewise.
8751 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8752 (RUN_TEST_f_b): Likewise.
8753 (RUN_TEST_LOOP_f_b): Likewise.
8754 (RUN_TEST_f_b_tg): Likewise.
8755 (RUN_TEST_LOOP_f_b_tg): Likewise.
8756 (RUN_TEST_f_l): Likewise.
8757 (RUN_TEST_LOOP_f_l): Likewise.
8758 (RUN_TEST_f_L): Likewise.
8759 (RUN_TEST_LOOP_f_L): Likewise.
8760 (RUN_TEST_sincos): Likewise.
8761 (RUN_TEST_LOOP_sincos): Likewise.
8763 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8767 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8768 main case of finite arguments, set rounding mode to FE_TONEAREST
8769 and discard exceptions.
8770 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8772 (remainder_tonearest_test_data): New variable.
8773 (remainder_test_tonearest): New function.
8774 (remainder_towardzero_test_data): New variable.
8775 (remainder_test_towardzero): New function.
8776 (remainder_downward_test_data): New variable.
8777 (remainder_test_downward): New function.
8778 (remainder_upward_test_data): New variable.
8779 (remainder_test_upward): New function.
8780 (main): Call the new test functions.
8782 * math/libm-test.inc (struct test_f_f1_data): Remove field
8784 (struct test_fF_f1_data): Likewise.
8785 (struct test_ffI_f1_data): Likewise.
8786 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8787 based on value of EXTRA_EXPECTED.
8788 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8789 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8790 EXTRA_VAR based on value of EXTRA_EXPECTED.
8791 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8792 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8793 EXTRA_VAR based on value of EXTRA_EXPECTED.
8794 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8795 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8796 EXTRA_VAR based on value of EXTRA_EXPECTED.
8797 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8798 * math/gen-libm-test.pl (parse_args): Don't output initializers
8799 for extra output values.
8801 * math/libm-test.inc (check_int): Expect result to be exactly
8802 equal to expected value and do not handle ulps.
8803 (check_long): Likewise.
8804 (check_longlong): Likewise.
8806 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8808 (cimag_test_data): Likewise.
8809 (conj_test_data): Likewise.
8810 (copysign_test_data): Likewise.
8811 (cproj_test_data): Likewise.
8812 (creal_test_data): Likewise.
8813 (fabs_test_data): Likewise.
8814 (fdim_test_data): Likewise.
8815 (finite_test_data): Likewise.
8816 (floor_test_data): Likewise.
8817 (fmax_test_data): Likewise.
8818 (fmin_test_data): Likewise.
8819 (fmod_test_data): Likewise.
8820 (fpclassify_test_data): Likewise.
8821 (frexp_test_data): Likewise.
8822 (ilogb_test_data): Likewise.
8823 (isfinite_test_data): Likewise.
8824 (isgreater_test_data): Likewise.
8825 (isgreaterequal_test_data): Likewise.
8826 (isinf_test_data): Likewise.
8827 (isless_test_data): Likewise.
8828 (islessequal_test_data): Likewise.
8829 (islessgreater_test_data): Likewise.
8830 (isnan_test_data): Likewise.
8831 (isnormal_test_data): Likewise.
8832 (issignaling_test_data): Likewise.
8833 (isunordered_test_data): Likewise.
8834 (ldexp_test_data): Likewise.
8835 (lrint_test_data): Likewise.
8836 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8837 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8838 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8839 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8840 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8841 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8843 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8844 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8845 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8846 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8848 (lrint_downward_test_data): Test for "inexact" exceptions.
8849 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8850 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8851 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8853 (lrint_upward_test_data): Test for "inexact" exceptions.
8854 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8856 (llrint_test_data): Test for "inexact" exceptions.
8857 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8858 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8859 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8860 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8861 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8862 (llrint_downward_test_data): Test for "inexact" exceptions.
8863 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8864 (llrint_upward_test_data): Test for "inexact" exceptions.
8865 (logb_test_data): Likewise.
8866 (logb_downward_test_data): Likewise.
8867 (nextafter_test_data): Likewise.
8868 (nexttoward_test_data): Likewise.
8869 (remainder_test_data): Likewise.
8870 (remquo_test_data): Likewise.
8871 (scalbn_test_data): Likewise.
8872 (scalbln_test_data): Likewise.
8873 (signbit_test_data): Likewise.
8874 (sqrt_test_data): Likewise.
8875 (significand_test_data): Likewise.
8877 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8880 * benchtests/bench-modf.c (struct args): Mark arg0 as
8882 * scripts/bench.pl: Mark members of struct args as volatile.
8884 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8887 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8888 negative infinity on POWER6 or lower.
8889 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8891 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8894 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8895 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8896 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8897 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8898 (_FP_SETQNAN): New macro.
8899 (_FP_SETQNAN_SEMIRAW): Likewise.
8900 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8901 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8902 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8903 (FP_EXTEND): Use _FP_FRAC_SNANP.
8904 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8905 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8912 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8914 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8915 with DIVIDE_BY_ZERO_EXCEPTION.
8916 (gamma_test_data): Likewise.
8917 (lgamma_test_data): Likewise.
8918 (log_test_data): Likewise.
8919 (log10_test_data): Likewise.
8920 (log2_test_data): Likewise.
8921 (tgamma_test_data): Likewise.
8923 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8924 (acos_test_tonearest): Likewise.
8925 (acos_test_towardzero): Likewise.
8926 (acos_test_downward): Likewise.
8927 (acos_test_upward): Likewise.
8928 (acosh_test): Likewise.
8929 (asin_test): Likewise.
8930 (asin_test_tonearest): Likewise.
8931 (asin_test_towardzero): Likewise.
8932 (asin_test_downward): Likewise.
8933 (asin_test_upward): Likewise.
8934 (asinh_test): Likewise.
8935 (atan_test): Likewise.
8936 (atanh_test): Likewise.
8937 (atan2_test): Likewise.
8938 (cabs_test): Likewise.
8939 (cacos_test): Likewise.
8940 (cacosh_test): Likewise.
8941 (casin_test): Likewise.
8942 (casinh_test): Likewise.
8943 (catan_test): Likewise.
8944 (catanh_test): Likewise.
8945 (cbrt_test): Likewise.
8946 (ccos_test): Likewise.
8947 (ccosh_test): Likewise.
8948 (cexp_test): Likewise.
8949 (clog_test): Likewise.
8950 (clog10_test): Likewise.
8951 (cos_test): Likewise.
8952 (cos_test_tonearest): Likewise.
8953 (cos_test_towardzero): Likewise.
8954 (cos_test_downward): Likewise.
8955 (cos_test_upward): Likewise.
8956 (cosh_test): Likewise.
8957 (cosh_test_tonearest): Likewise.
8958 (cosh_test_towardzero): Likewise.
8959 (cosh_test_downward): Likewise.
8960 (cosh_test_upward): Likewise.
8961 (cpow_test): Likewise.
8962 (csin_test): Likewise.
8963 (csinh_test): Likewise.
8964 (csqrt_test): Likewise.
8965 (ctan_test): Likewise.
8966 (ctan_test_tonearest): Likewise.
8967 (ctan_test_towardzero): Likewise.
8968 (ctan_test_downward): Likewise.
8969 (ctan_test_upward): Likewise.
8970 (ctanh_test): Likewise.
8971 (ctanh_test_tonearest): Likewise.
8972 (ctanh_test_towardzero): Likewise.
8973 (ctanh_test_downward): Likewise.
8974 (ctanh_test_upward): Likewise.
8975 (erf_test): Likewise.
8976 (erfc_test): Likewise.
8977 (exp_test): Likewise.
8978 (exp_test_tonearest): Likewise.
8979 (exp_test_towardzero): Likewise.
8980 (exp_test_downward): Likewise.
8981 (exp_test_upward): Likewise.
8982 (exp10_test): Likewise.
8983 (exp2_test): Likewise.
8984 (expm1_test): Likewise.
8985 (fmod_test): Likewise.
8986 (gamma_test): Likewise.
8987 (hypot_test): Likewise.
8988 (j0_test): Likewise.
8989 (j1_test): Likewise.
8990 (jn_test): Likewise.
8991 (lgamma_test): Likewise.
8992 (log_test): Likewise.
8993 (log10_test): Likewise.
8994 (log1p_test): Likewise.
8995 (log2_test): Likewise.
8996 (logb_test_downward): Likewise.
8997 (pow_test): Likewise.
8998 (pow_test_tonearest): Likewise.
8999 (pow_test_towardzero): Likewise.
9000 (pow_test_downward): Likewise.
9001 (pow_test_upward): Likewise.
9002 (remainder_test): Likewise.
9003 (remquo_test): Likewise.
9004 (sin_test): Likewise.
9005 (sin_test_tonearest): Likewise.
9006 (sin_test_towardzero): Likewise.
9007 (sin_test_downward): Likewise.
9008 (sin_test_upward): Likewise.
9009 (sincos_test): Likewise.
9010 (sinh_test): Likewise.
9011 (sinh_test_tonearest): Likewise.
9012 (sinh_test_towardzero): Likewise.
9013 (sinh_test_downward): Likewise.
9014 (sinh_test_upward): Likewise.
9015 (sqrt_test): Likewise.
9016 (tan_test): Likewise.
9017 (tan_test_tonearest): Likewise.
9018 (tan_test_towardzero): Likewise.
9019 (tan_test_downward): Likewise.
9020 (tan_test_upward): Likewise.
9021 (tanh_test): Likewise.
9022 (tgamma_test): Likewise.
9023 (y0_test): Likewise.
9024 (y1_test): Likewise.
9025 (yn_test): Likewise.
9027 * math/gen-libm-test.pl (adjust_arg): Remove function.
9028 (special_function): Remove argument $in_func. Only handle
9029 generating output for tables of tests, not inside functions.
9030 (parse_args): Likewise.
9031 (generate_testfile): Remove variable $in_func. Update call to
9033 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9034 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9035 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9036 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9037 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9038 (MAX_VALUE_INIT): Rename macro to max_value.
9039 (MIN_VALUE_INIT): Rename macro to min_value.
9040 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9041 (plus_zero): Remove variable.
9042 (minus_zero): Likewise.
9043 (plus_infty): Likewise.
9044 (minus_infty): Likewise.
9045 (qnan_value): Likewise.
9046 (max_value): Likewise.
9047 (min_value): Likewise.
9048 (min_subnorm_value): Likewise.
9050 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9052 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9053 uint64_t or uint32_t usage.
9054 * crypt/sha256-block.c: Likewise.
9055 * crypt/sha256-crypt.c: Likewise.
9056 * crypt/sha256.c: Likewise.
9057 * crypt/sha512-block.c: Likewise.
9058 * crypt/sha512-crypt.c: Likewise.
9059 * crypt/sha512.c: Likewise.
9060 * debug/backtrace-tst.c: Likewise.
9061 * debug/pcprofiledump.c: Likewise.
9062 * elf/cache.c: Likewise.
9063 * elf/dl-cache.c: Likewise.
9064 * elf/dl-misc.c: Likewise.
9065 * elf/dl-profile.c: Likewise.
9066 * elf/dl-support.c: Likewise.
9067 * elf/ldconfig.c: Likewise.
9068 * elf/sprof.c: Likewise.
9069 * iconv/dummy-repertoire.c: Likewise.
9070 * iconv/iconv_charmap.c: Likewise.
9071 * iconv/skeleton.c: Likewise.
9072 * iconvdata/8bit-generic.c: Likewise.
9073 * iconvdata/cp737.h: Likewise.
9074 * iconvdata/cp775.h: Likewise.
9075 * iconvdata/ibm1008.h: Likewise.
9076 * iconvdata/ibm1025.h: Likewise.
9077 * iconvdata/ibm1046.h: Likewise.
9078 * iconvdata/ibm1097.h: Likewise.
9079 * iconvdata/ibm1112.h: Likewise.
9080 * iconvdata/ibm1122.h: Likewise.
9081 * iconvdata/ibm1123.h: Likewise.
9082 * iconvdata/ibm1124.h: Likewise.
9083 * iconvdata/ibm1129.h: Likewise.
9084 * iconvdata/ibm1130.h: Likewise.
9085 * iconvdata/ibm1132.h: Likewise.
9086 * iconvdata/ibm1133.h: Likewise.
9087 * iconvdata/ibm1137.h: Likewise.
9088 * iconvdata/ibm1140.h: Likewise.
9089 * iconvdata/ibm1141.h: Likewise.
9090 * iconvdata/ibm1142.h: Likewise.
9091 * iconvdata/ibm1143.h: Likewise.
9092 * iconvdata/ibm1144.h: Likewise.
9093 * iconvdata/ibm1145.h: Likewise.
9094 * iconvdata/ibm1146.h: Likewise.
9095 * iconvdata/ibm1147.h: Likewise.
9096 * iconvdata/ibm1148.h: Likewise.
9097 * iconvdata/ibm1149.h: Likewise.
9098 * iconvdata/ibm1153.h: Likewise.
9099 * iconvdata/ibm1154.h: Likewise.
9100 * iconvdata/ibm1155.h: Likewise.
9101 * iconvdata/ibm1156.h: Likewise.
9102 * iconvdata/ibm1157.h: Likewise.
9103 * iconvdata/ibm1158.h: Likewise.
9104 * iconvdata/ibm1160.h: Likewise.
9105 * iconvdata/ibm1161.h: Likewise.
9106 * iconvdata/ibm1162.h: Likewise.
9107 * iconvdata/ibm1163.h: Likewise.
9108 * iconvdata/ibm1164.h: Likewise.
9109 * iconvdata/ibm1166.h: Likewise.
9110 * iconvdata/ibm1167.h: Likewise.
9111 * iconvdata/ibm12712.h: Likewise.
9112 * iconvdata/ibm1390.h: Likewise.
9113 * iconvdata/ibm1399.h: Likewise.
9114 * iconvdata/ibm16804.h: Likewise.
9115 * iconvdata/ibm4517.h: Likewise.
9116 * iconvdata/ibm4899.h: Likewise.
9117 * iconvdata/ibm4909.h: Likewise.
9118 * iconvdata/ibm4971.h: Likewise.
9119 * iconvdata/ibm5347.h: Likewise.
9120 * iconvdata/ibm803.h: Likewise.
9121 * iconvdata/ibm856.h: Likewise.
9122 * iconvdata/ibm901.h: Likewise.
9123 * iconvdata/ibm902.h: Likewise.
9124 * iconvdata/ibm9030.h: Likewise.
9125 * iconvdata/ibm9066.h: Likewise.
9126 * iconvdata/ibm921.h: Likewise.
9127 * iconvdata/ibm922.h: Likewise.
9128 * iconvdata/ibm9448.h: Likewise.
9129 * iconvdata/isiri-3342.h: Likewise.
9130 * iconvdata/jis0201.h: Likewise.
9131 * include/link.h: Likewise.
9132 * include/netdb.h: Likewise.
9133 * inet/check_native.c: Likewise.
9134 * inet/check_pf.c: Likewise.
9135 * inet/getipv4sourcefilter.c: Likewise.
9136 * inet/getnameinfo.c: Likewise.
9137 * inet/getsourcefilter.c: Likewise.
9138 * inet/htonl.c: Likewise.
9139 * inet/setipv4sourcefilter.c: Likewise.
9140 * inet/setsourcefilter.c: Likewise.
9141 * inet/test-inet6_opt.c: Likewise.
9142 * inet/tst-network.c: Likewise.
9143 * locale/C-collate.c: Likewise.
9144 * locale/C-ctype.c: Likewise.
9145 * locale/C-time.c: Likewise.
9146 * locale/C-translit.h: Likewise.
9147 * locale/loadarchive.c: Likewise.
9148 * locale/programs/3level.h: Likewise.
9149 * locale/programs/charmap.c: Likewise.
9150 * locale/programs/charmap.h: Likewise.
9151 * locale/programs/ld-address.c: Likewise.
9152 * locale/programs/ld-collate.c: Likewise.
9153 * locale/programs/ld-ctype.c: Likewise.
9154 * locale/programs/ld-identification.c: Likewise.
9155 * locale/programs/ld-measurement.c: Likewise.
9156 * locale/programs/ld-messages.c: Likewise.
9157 * locale/programs/ld-monetary.c: Likewise.
9158 * locale/programs/ld-name.c: Likewise.
9159 * locale/programs/ld-numeric.c: Likewise.
9160 * locale/programs/ld-paper.c: Likewise.
9161 * locale/programs/ld-telephone.c: Likewise.
9162 * locale/programs/ld-time.c: Likewise.
9163 * locale/programs/linereader.c: Likewise.
9164 * locale/programs/locale.c: Likewise.
9165 * locale/programs/locarchive.c: Likewise.
9166 * locale/programs/locfile.h: Likewise.
9167 * locale/programs/repertoire.c: Likewise.
9168 * locale/programs/simple-hash.c: Likewise.
9169 * locale/programs/simple-hash.h: Likewise.
9170 * malloc/memusage.c: Likewise.
9171 * malloc/memusagestat.c: Likewise.
9172 * nis/nis_defaults.c: Likewise.
9173 * nis/nis_hash.c: Likewise.
9174 * nis/nis_print.c: Likewise.
9175 * nis/nis_xdr.c: Likewise.
9176 * nscd/connections.c: Likewise.
9177 * nscd/hstcache.c: Likewise.
9178 * nscd/nscd_gethst_r.c: Likewise.
9179 * nscd/nscd_getserv_r.c: Likewise.
9180 * nscd/nscd_helper.c: Likewise.
9181 * nscd/servicescache.c: Likewise.
9182 * nss/makedb.c: Likewise.
9183 * nss/nss_db/db-XXX.c: Likewise.
9184 * nss/nss_db/db-initgroups.c: Likewise.
9185 * nss/nss_db/db-netgrp.c: Likewise.
9186 * nss/nss_files/files-network.c: Likewise.
9187 * nss/nss_files/files-parse.c: Likewise.
9188 * posix/bug-regex5.c: Likewise.
9189 * posix/fnmatch_loop.c: Likewise.
9190 * posix/regcomp.c: Likewise.
9191 * posix/regexec.c: Likewise.
9192 * posix/tst-rfc3484-2.c: Likewise.
9193 * posix/tst-rfc3484-3.c: Likewise.
9194 * posix/tst-rfc3484.c: Likewise.
9195 * resolv/nss_dns/dns-canon.c: Likewise.
9196 * resolv/nss_dns/dns-network.c: Likewise.
9197 * resolv/res_init.c: Likewise.
9198 * resolv/res_mkquery.c: Likewise.
9199 * resolv/tst-aton.c: Likewise.
9200 * stdlib/cxa_atexit.c: Likewise.
9201 * stdlib/cxa_finalize.c: Likewise.
9202 * stdlib/gen-fpioconst.c: Likewise.
9203 * stdlib/strtol_l.c: Likewise.
9204 * string/tst-endian.c: Likewise.
9205 * sunrpc/auth_des.c: Likewise.
9206 * sunrpc/clnt_udp.c: Likewise.
9207 * sunrpc/rtime.c: Likewise.
9208 * sunrpc/svcauth_des.c: Likewise.
9209 * sunrpc/xdr.c: Likewise.
9210 * sunrpc/xdr_intXX_t.c: Likewise.
9211 * sunrpc/xdr_rec.c: Likewise.
9212 * sysdeps/generic/ldconfig.h: Likewise.
9213 * sysdeps/generic/ldsodefs.h: Likewise.
9214 * sysdeps/generic/memusage.h: Likewise.
9215 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9216 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9217 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9218 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9225 * sysdeps/posix/getaddrinfo.c: Likewise.
9226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9228 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9230 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9231 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9232 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9233 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9234 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9235 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9236 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9237 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9238 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9239 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9240 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9241 * sysdeps/x86_64/dl-tls.h: Likewise.
9242 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9243 * time/alt_digit.c: Likewise.
9244 * time/era.c: Likewise.
9245 * wcsmbs/tst-c16c32-1.c: Likewise.
9247 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9249 * math/libm-test.inc (struct test_sincos_data): New type.
9250 (RUN_TEST_LOOP_sincos): New macro.
9251 (sincos_test_data): New variable.
9252 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9254 2013-05-16 Richard Henderson <rth@redhat.com>
9256 * math/atest-exp2.c (LIMB64): New macro.
9257 (CONSTSZ): New macro.
9258 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9260 (print_mpn_fp): ... to function scope.
9261 (read_mpn_hex): Remove.
9263 (exp2_mpn): Use mp_log2.
9264 (main): Use mp_exp1.
9266 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9268 * math/libm-test.inc: Remove comment about not testing "inexact"
9270 (INEXACT_EXCEPTION): New macro.
9271 (NO_INEXACT_EXCEPTION): Likewise.
9272 (INVALID_EXCEPTION_OK): Update value.
9273 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9274 (OVERFLOW_EXCEPTION_OK): Likewise.
9275 (UNDERFLOW_EXCEPTION_OK): Likewise.
9276 (IGNORE_ZERO_INF_SIGN): Likewise.
9277 (ERRNO_UNCHANGED): Likewise.
9278 (ERRNO_EDOM): Likewise.
9279 (ERRNO_ERANGE): Likewise.
9280 (test_exceptions): Handle testing "inexact" exceptions.
9281 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9282 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9283 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9284 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9286 (rint_towardzero_test_data): Likewise.
9287 (rint_downward_test_data): Likewise.
9288 (rint_upward_test_data): Likewise.
9290 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9291 with OVERFLOW_EXCEPTION.
9292 (exp10_test_data): Likewise.
9293 (exp2_test_data): Likewise.
9294 (expm1_test_data): Likewise.
9295 (lgamma_test_data): Likewise.
9296 (pow_test_data): Likewise.
9297 (tgamma_test_data): Likewise.
9298 (yn_test_data): Remove duplicate test of overflow.
9300 * math/libm-test.inc (struct test_cc_c_data): New type.
9301 (RUN_TEST_LOOP_cc_c): New macro.
9302 (cpow_test_data): New variable.
9303 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9305 * math/libm-test.inc (struct test_f_L_data): New type.
9306 (RUN_TEST_LOOP_f_L): New macro.
9307 (llrint_test_data): New variable.
9308 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9309 (llrint_tonearest_test_data): New variable.
9310 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9311 (llrint_towardzero_test_data): New variable.
9312 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9313 (llrint_downward_test_data): New variable.
9314 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9315 (llrint_upward_test_data): New variable.
9316 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9317 (llround_test_data): New variable.
9318 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9320 2013-05-13 Peter Collingbourne <pcc@google.com>
9322 * math/atest-exp2.c (get_log2): Remove const attribute.
9324 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9326 * math/libm-test.inc (struct test_f_l_data): New type.
9327 (RUN_TEST_LOOP_f_l): New macro.
9328 (lrint_test_data): New variable.
9329 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9330 (lrint_tonearest_test_data): New variable.
9331 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9332 (lrint_towardzero_test_data): New variable.
9333 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9334 (lrint_downward_test_data): New variable.
9335 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9336 (lrint_upward_test_data): New variable.
9337 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9338 (lround_test_data): New variable.
9339 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9341 2013-05-15 Peter Collingbourne <pcc@google.com>
9343 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9344 (EXTRACT_WORDS64) Use where appropriate.
9345 (INSERT_WORDS64) Likewise.
9347 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9348 constraints with x constraints.
9349 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9351 * malloc/obstack.c (_obstack_compat): Add initializer.
9353 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9355 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9356 si_trapno and add si_addr_lsb to _sifields.sigfault.
9357 (si_trapno): Remove macro.
9358 (si_addr_lsb): Define new macro.
9359 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9361 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9363 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9364 instead of TEST_f_l.
9365 (llrint_test_tonearest): Likewise.
9366 (llrint_test_towardzero): Likewise.
9367 (llrint_test_downward): Likewise.
9368 (llrint_test_upward): Likewise.
9369 (llround_test): Likewise.
9371 * math/libm-test.inc (struct test_f_i_data): Add comment.
9372 (RUN_TEST_LOOP_f_b): New macro.
9373 (RUN_TEST_LOOP_f_b_tg): Likewise.
9374 (finite_test_data): New variable.
9375 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9376 (isfinite_test_data): New variable.
9377 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9378 (isinf_test_data): New variable.
9379 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9380 (isnan_test_data): New variable.
9381 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9382 (isnormal_test_data): New variable.
9383 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9384 (issignaling_test_data): New variable.
9385 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9386 (signbit_test_data): New variable.
9387 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9389 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9390 with INVALID_EXCEPTION.
9391 (acosh_test_data): Likewise.
9392 (asin_test_data): Likewise.
9393 (atanh_test_data): Likewise.
9394 (fmod_test_data): Likewise.
9395 (log_test_data): Likewise.
9396 (log10_test_data): Likewise.
9397 (log2_test_data): Likewise.
9398 (pow_test_data): Likewise.
9399 (sqrt_test_data): Likewise.
9400 (y0_test_data): Likewise.
9401 (y1_test_data): Likewise.
9402 (yn_test_data): Likewise.
9404 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9407 * math/libm-test.inc (struct test_ff_i_data): New type.
9408 (RUN_TEST_LOOP_ff_i_tg): New macro.
9409 (isgreater_test_data): New variable.
9410 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9411 (isgreaterequal_test_data): New variable.
9412 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9413 (isless_test_data): New variable.
9414 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9415 (islessequal_test_data): New variable.
9416 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9417 (islessgreater_test_data): New variable.
9418 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9419 (isunordered_test_data): New variable.
9420 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9422 2013-05-14 David S. Miller <davem@davemloft.net>
9424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9426 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9428 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9430 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9432 (struct test_f_i_data): Change type of max_ulp to int.
9434 * math/libm-test.inc (test_ffI_f1_data): New type.
9435 (RUN_TEST_LOOP_ffI_f1): New macro.
9436 (remquo_test_data): New variable.
9437 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9439 * setjmp/tst-setjmp-fp.c: New file.
9440 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9441 (link-libm): New variable.
9442 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9444 * math/libm-test.inc (struct test_f_i_data): New type.
9445 (RUN_TEST_LOOP_f_i): New macro.
9446 (RUN_TEST_LOOP_f_i_tg): Likewise.
9447 (fpclassify_test_data): New variable.
9448 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9449 (ilogb_test_data): New variable.
9450 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9452 * math/libm-test.inc (scalbln_test): Correct function name in END
9455 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9456 (RUN_TEST_LOOP_fI_f1): New macro.
9457 (frexp_test_data): New variable.
9458 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9460 * math/libm-test.inc (struct test_fF_f1_data): New type.
9461 (RUN_TEST_LOOP_fF_f1): New macro.
9462 (modf_test_data): New variable.
9463 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9465 * math/libm-test.inc (struct test_f_f1_data): New type.
9466 (RUN_TEST_LOOP_f_f1): New macro.
9467 (gamma_test_data): New variable.
9468 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9469 (lgamma_test_data): New variable.
9470 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9472 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9474 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9475 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9476 (main): Comment "tls" pseudo-hwcap.
9478 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9480 * math/libm-test.inc (struct test_fl_f_data): New type.
9481 (RUN_TEST_LOOP_fl_f): New variable.
9482 (scalbln_test_data): New variable.
9483 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9485 * math/libm-test.inc (struct test_fi_f_data): New type.
9486 (RUN_TEST_LOOP_fi_f): New macro.
9487 (ldexp_test_data): New variable.
9488 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9489 (scalbn_test_data): New variable.
9490 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9492 * math/libm-test.inc (struct test_c_f_data): New type.
9493 (RUN_TEST_LOOP_c_f): New macro.
9494 (cabs_test_data): New variable.
9495 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9496 (carg_test_data): New variable.
9497 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9498 (cimag_test_data): New variable.
9499 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9500 (creal_test_data): New variable.
9501 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9503 * math/libm-test.inc (struct test_if_f_data): New type.
9504 (RUN_TEST_LOOP_if_f): New macro.
9505 (jn_test_data): New variable.
9506 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9507 (yn_test_data): New variable.
9508 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9510 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9512 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9514 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9515 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9517 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9519 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9520 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9521 (bench-deps): Add bench-timing.h.
9522 * benchtests-bench-skeleton.c: Include bench-timing.h.
9523 (main): Use TIMING_* macros instead of clock_gettime.
9524 * benchtests/bench-timing.h: New file.
9527 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9528 Renamed from _LIB_VERSION.
9529 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9531 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9533 * math/libm-test.inc (struct test_fff_f_data): New type.
9534 (RUN_TEST_LOOP_fff_f): New macro.
9535 (fma_test_data): New variable.
9536 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9537 (fma_towardzero_test_data): New variable.
9538 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9539 (fma_downward_test_data): New variable.
9540 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9541 (fma_upward_test_data): New variable.
9542 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9544 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9545 (struct test_c_c_data): New type.
9546 (RUN_TEST_LOOP_c_c): New macro.
9547 (cacos_test_data): New variable.
9548 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9549 (cacosh_test_data): New variable.
9550 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9551 (casin_test_data): New variable.
9552 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9553 (casinh_test_data): New variable.
9554 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9555 (catan_test_data): New variable.
9556 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9557 (catanh_test_data): New variable.
9558 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9559 (ccos_test_data): New variable.
9560 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9561 (ccosh_test_data): New variable.
9562 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9563 (cexp_test_data): New variable.
9564 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9565 (clog_test_data): New variable.
9566 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9567 (clog10_test_data): New variable.
9568 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9569 (conj_test_data): New variable.
9570 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9571 (cproj_test_data): New variable.
9572 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9573 (csin_test_data): New variable.
9574 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9575 (csinh_test_data): New variable.
9576 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9577 (csqrt_test_data): New variable.
9578 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9579 (ctan_test_data): New variable.
9580 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9581 (ctan_tonearest_test_data): New variable.
9582 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9583 (ctan_towardzero_test_data): New variable.
9584 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9585 (ctan_downward_test_data): New variable.
9586 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9587 (ctan_upward_test_data): New variable.
9588 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9589 (ctanh_test_data): New variable.
9590 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9591 (ctanh_tonearest_test_data): New variable.
9592 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9593 (ctanh_towardzero_test_data): New variable.
9594 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9595 (ctanh_downward_test_data): New variable.
9596 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9597 (ctanh_upward_test_data): New variable.
9598 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9599 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9602 * math/libm-test.inc (struct test_ff_f_data): New type.
9603 (struct test_ff_f_data_nexttoward): Likewise.
9604 (RUN_TEST_LOOP_2_f): New macro.
9605 (RUN_TEST_LOOP_ff_f): Likewise.
9606 (atan2_test_data): New variable.
9607 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9608 (copysign_test_data): New variable.
9609 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9610 (fdim_test_data): New variable.
9611 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9612 (fmax_test_data): New variable.
9613 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9614 (fmin_test_data): New variable.
9615 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9616 (fmod_test_data): New variable.
9617 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9618 (hypot_test_data): New variable.
9619 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9620 (nextafter_test_data): New variable.
9621 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9622 (nexttoward_test_data): New variable.
9623 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9624 (pow_test_data): New variable.
9625 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9626 (pow_tonearest_test_data): New variable.
9627 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9628 (pow_towardzero_test_data): New variable.
9629 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9630 (pow_downward_test_data): New variable.
9631 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9632 (pow_upward_test_data): New variable.
9633 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9634 (remainder_test_data): New variable.
9635 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9636 (scalb_test_data): New variable.
9637 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9638 * sysdeps/i386/fpu/libm-test-ulps: Update.
9640 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9642 * math/libm-test.inc (fma_test): Use max_value instead of local
9644 (nextafter_test): Likewise.
9646 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9647 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9648 (acos_downward_test_data): New variable.
9649 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9650 (acos_upward_test_data): New variable.
9651 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9652 (acosh_test_data): New variable.
9653 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9654 (asin_test_data): New variable.
9655 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9656 (asin_tonearest_test_data): New variable.
9657 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9658 (asin_towardzero_test_data): New variable.
9659 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9660 (asin_downward_test_data): New variable.
9661 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9662 (asin_upward_test_data): New variable.
9663 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9664 (asinh_test_data): New variable.
9665 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9666 (atan_test_data): New variable.
9667 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9668 (atanh_test_data): New variable.
9669 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9670 (cbrt_test_data): New variable.
9671 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9672 (ceil_test_data): New variable.
9673 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9674 (cos_test_data): New variable.
9675 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9676 (cos_tonearest_test_data): New variable.
9677 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9678 (cos_towardzero_test_data): New variable.
9679 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9680 (cos_downward_test_data): New variable.
9681 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9682 (cos_upward_test_data): New variable.
9683 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9684 (cosh_test_data): New variable.
9685 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9686 (cosh_tonearest_test_data): New variable.
9687 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9688 (cosh_towardzero_test_data): New variable.
9689 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9690 (cosh_downward_test_data): New variable.
9691 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9692 (cosh_upward_test_data): New variable.
9693 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9694 (erf_test_data): New variable.
9695 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9696 (erfc_test_data): New variable.
9697 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9698 (exp_test_data): New variable.
9699 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9700 (exp_tonearest_test_data): New variable.
9701 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9702 (exp_towardzero_test_data): New variable.
9703 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9704 (exp_downward_test_data): New variable.
9705 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9706 (exp_upward_test_data): New variable.
9707 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9708 (exp10_test_data): New variable.
9709 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9710 (exp2_test_data): New variable.
9711 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9712 (expm1_test_data): New variable.
9713 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9714 (fabs_test_data): New variable.
9715 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9716 (floor_test_data): New variable.
9717 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9718 (j0_test_data): New variable.
9719 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9720 (j1_test_data): New variable.
9721 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9722 (log_test_data): New variable.
9723 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9724 (log10_test_data): New variable.
9725 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9726 (log1p_test_data): New variable.
9727 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9728 (log2_test_data): New variable.
9729 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9730 (logb_test_data): New variable.
9731 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9732 (logb_downward_test_data): New variable.
9733 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9734 (nearbyint_test_data): New variable.
9735 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9736 (rint_test_data): New variable.
9737 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9738 (rint_tonearest_test_data): New variable.
9739 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9740 (rint_towardzero_test_data): New variable.
9741 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9742 (rint_downward_test_data): New variable.
9743 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9744 (rint_upward_test_data): New variable.
9745 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9746 (round_test_data): New variable.
9747 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9748 (sin_test_data): New variable.
9749 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9750 (sin_tonearest_test_data): New variable.
9751 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9752 (sin_towardzero_test_data): New variable.
9753 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9754 (sin_downward_test_data): New variable.
9755 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9756 (sin_upward_test_data): New variable.
9757 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9758 (sinh_test_data): New variable.
9759 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9760 (sinh_tonearest_test_data): New variable.
9761 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9762 (sinh_towardzero_test_data): New variable.
9763 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9764 (sinh_downward_test_data): New variable.
9765 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9766 (sinh_upward_test_data): New variable.
9767 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9768 (sqrt_test_data): New variable.
9769 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9770 (tan_test_data): New variable.
9771 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9772 (tan_tonearest_test_data): New variable.
9773 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9774 (tan_towardzero_test_data): New variable.
9775 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9776 (tan_downward_test_data): New variable.
9777 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9778 (tan_upward_test_data): New variable.
9779 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9780 (tanh_test_data): New variable.
9781 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9782 (tgamma_test_data): New variable.
9783 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9784 (trunc_test_data): New variable.
9785 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9786 (y0_test_data): New variable.
9787 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9788 (y1_test_data): New variable.
9789 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9790 (significand_test_data): New variable.
9791 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9793 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9796 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9798 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9800 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9802 2013-05-10 Andreas Jaeger <aj@suse.de>
9805 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9806 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9808 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9810 * math/gen-libm-test.pl (adjust_arg): New function.
9811 (special_functions): Handle generating output in both functions
9813 (parse_args): Likewise.
9814 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9815 $in_func argument to parse_args.
9816 * math/libm-test.inc (struct test_f_f_data): New type.
9817 (IF_ROUND_INIT_): New macro.
9818 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9819 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9820 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9821 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9822 (ROUND_RESTORE_): Likewise.
9823 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9824 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9825 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9826 (ROUND_RESTORE_FE_UPWARD): Likewise.
9827 (RUN_TEST_LOOP_f_f): New macro.
9828 (acos_test_data): New variable.
9829 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9830 (acos_tonearest_test_data): New variable.
9831 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9833 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9835 * benchtests/bench-skeleton.c (startup): Fix coding style.
9837 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9840 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9841 negative infinity argument.
9842 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9843 negative infinity argument.
9844 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9845 negative infinity argument.
9846 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9849 2013-05-10 Florian Weimer <fweimer@redhat.com>
9851 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9852 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9853 * iconv/iconv_prog.c (main): Likewise.
9854 * locale/programs/charmap-dir.c (charmap_readdir)
9855 (fopen_uncompressed): Likewise.
9856 * locale/programs/locfile.c (siblings_uncached)
9857 (write_locale_data): Use lstat64 instead of lstat.
9858 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9861 2013-05-10 Andreas Jaeger <aj@suse.de>
9864 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9868 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9870 * elf/dl-close.c (_dl_close_worker): Add comments.
9872 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9875 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9877 (__ieee754_rem_pio2l): Update comments.
9880 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9882 (__ieee754_rem_pio2l): Update comments.
9884 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9885 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9887 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9890 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9891 (M_PI_34_LOG10El): Likewise.
9892 (M_PI2_LOG10El): Likewise.
9893 (M_PI4_LOG10El): Likewise.
9894 (M_PI_LOG10El): Likewise.
9896 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9900 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9902 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9903 (MINUS_ZERO_INIT): Likewise.
9904 (PLUS_INFTY_INIT): Likewise.
9905 (MINUS_INFTY_INIT): Likewise.
9906 (QNAN_VALUE_INIT): Likewise.
9907 (MAX_VALUE_INIT): Likewise.
9908 (MIN_VALUE_INIT): Likewise.
9909 (MIN_SUBNORM_VALUE_INIT): Likewise.
9910 (plus_zero): Initialize with PLUS_ZERO_INIT.
9911 (minus_zero): Initialize with MINUS_ZERO_INIT.
9912 (plus_infty): Initialize with PLUS_INFTY_INIT.
9913 (minus_infty): Initialize with MINUS_INFTY_INIT.
9914 (qnan_value): Initialize with QNAN_VALUE_INIT.
9915 (max_value): Initialize with MAX_VALUE_INIT.
9916 (min_value): Initialize with MIN_VALUE_INIT.
9917 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9919 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9920 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9921 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9922 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9924 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9925 (RUN_TEST_2_f): Likewise.
9926 (RUN_TEST_ff_f): Likewise.
9927 (RUN_TEST_fi_f): Likewise.
9928 (RUN_TEST_fl_f): Likewise.
9929 (RUN_TEST_fff_f): Likewise.
9930 (RUN_TEST_c_f): Likewise.
9931 (RUN_TEST_f_f1): Likewise.
9932 (RUN_TEST_fF_f1): Likewise.
9933 (RUN_TEST_fI_f1): Likewise.
9934 (RUN_TEST_ffI_f1): Likewise.
9935 (RUN_TEST_c_c): Likewise.
9936 (RUN_TEST_cc_c): Likewise.
9937 (RUN_TEST_f_i): Likewise.
9938 (RUN_TEST_f_i_tg): Likewise.
9939 (RUN_TEST_ff_i_tg): Likewise.
9940 (RUN_TEST_f_b): Likewise.
9941 (RUN_TEST_f_b_tg): Likewise.
9942 (RUN_TEST_f_l): Likewise.
9943 (RUN_TEST_f_L): Likewise.
9944 (RUN_TEST_sincos): Likewise.
9945 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9946 whether to show exceptions. Do not include ");\n" in return
9948 (special_functions): Output call to RUN_TEST_sincos instead of
9949 check_float calls. Update calls to new_test.
9950 (parse_args): Output call to single RUN_TEST_* macro instead of
9951 check_* calls and other assignments. Update calls to new_test.
9957 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9958 input to result for tgamma overflow.
9959 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9960 (gamma_coeff): New variable.
9961 (NCOEFF): New macro.
9962 (gamma_positive): New function.
9963 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9964 underflow here. Use gamma_positive instead of exp (lgamma) for
9966 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9967 (gamma_coeff): New variable.
9968 (NCOEFF): New macro.
9969 (gammaf_positive): New function.
9970 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9971 underflow here. Use gamma_positive instead of exp (lgamma) for
9973 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9974 (gamma_coeff): New variable.
9975 (NCOEFF): New macro.
9976 (gammal_positive): New function.
9977 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9978 underflow here. Use gamma_positive instead of exp (lgamma) for
9980 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9981 (gamma_coeff): New variable.
9982 (NCOEFF): New macro.
9983 (gammal_positive): New function.
9984 (__ieee754_gammal_r): Handle positive infinity, overflow and
9985 underflow here. Handle NaN the same as positive infinity. Remove
9986 check x < 0xffffffff for negative integers. Use gamma_positive
9987 instead of exp (lgamma) for other arguments.
9988 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9989 (gamma_coeff): New variable.
9990 (NCOEFF): New macro.
9991 (gammal_positive): New function.
9992 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9993 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9994 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9998 * sysdeps/generic/math_private.h (__gamma_productf): New
10000 (__gamma_product): Likewise.
10001 (__gamma_productl): Likewise.
10002 * math/Makefile (libm-calls): Add gamma_product.
10003 * math/libm-test.inc (tgamma_test): Add more tests.
10004 * sysdeps/i386/fpu/libm-test-ulps: Update.
10005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10009 * benchtests/bench-skeleton.c (main): Preheat CPU.
10011 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10013 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10015 2013-05-07 Roland McGrath <roland@hack.frob.com>
10017 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10018 and _dl_skip_args_internal.
10020 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10022 * manual/message.texi (Message Translation): Talk about users.
10023 Message to key mapping impacts design.
10025 2013-05-06 Roland McGrath <roland@hack.frob.com>
10027 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10029 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10031 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10032 * sysdeps/wordsize-64/glob64.c: ... here.
10034 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10035 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10038 * debug/getlogin_r_chk.c: Moved to ...
10039 * login/getlogin_r_chk.c: ... here.
10040 * debug/Makefile (routines): Move getlogin_r_chk to ...
10041 * login/Makefile (routines): ... here.
10042 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10043 * login/Versions (libc: GLIBC_2.4): ... here.
10045 * io/poll.c (__poll): Renamed from poll.
10046 Add libc_hidden_def.
10047 (poll): Define as weak alias.
10049 * debug/ptsname_r_chk.c: Moved to ...
10050 * login/ptsname_r_chk.c: ... here.
10051 * debug/Makefile (routines): Move ptsname_r_chk to ...
10052 * login/Makefile (routines): ... here.
10053 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10054 * login/Versions (libc: GLIBC_2.4): ... here.
10056 * posix/getlogin.c: Moved to ...
10057 * login/getlogin.c: ... here.
10058 * posix/getlogin_r.c: Moved to ...
10059 * login/getlogin_r.c: ... here.
10060 * posix/getlogin_r.c: Moved to ...
10061 * login/getlogin_r.c: ... here.
10062 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10063 * login/Makefile (routines): ... here.
10064 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10065 * login/Versions (libc: GLIBC_2.0): ... here.
10067 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10068 (setrlimit): Define as weak alias.
10070 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10071 Call __ names for open, ftruncate, and close.
10072 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10073 (truncate): Define as weak alias.
10075 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10077 * math/gen-libm-test.pl (parse_args): Initialize x before each
10078 test of frexp, modf and remquo.
10080 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10081 test signgam value.
10083 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10087 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10089 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10091 2013-05-06 Roland McGrath <roland@hack.frob.com>
10093 * elf/dl-writev.h: New file.
10094 * elf/dl-misc.c: Include it.
10095 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10096 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10098 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10100 * math/libm-test.inc (noXFails): Remove variable.
10101 (noXPasses): Likewise.
10102 (BUILD_COMPLEX_INT): Remove macro.
10103 (print_screen): Remove xfail argument.
10104 (print_screen_max_error): Likewise.
10105 (update_stats): Likewise.
10106 (print_max_error): Likewise. Update calls to other affected
10108 (print_complex_max_error): Likewise.
10109 (test_single_exception): Update calls to print_screen.
10110 (test_single_errno): Likewise.
10111 (check_float_internal): Remove xfail argument. Update calls to
10112 other affected functions.
10113 (check_float): Likewise.
10114 (check_complex): Likewise.
10115 (check_int): Likewise.
10116 (check_long): Likewise.
10117 (check_bool): Likewise.
10118 (check_longlong): Likewise.
10119 (main): Don't print noXFails and noXPasses.
10120 * math/gen-libm-test.pl (top level): Don't mention expected
10121 failure handling in comment.
10122 (new_test): Don't handle expected failures.
10123 (parse_args): Don't mention expected failure handling in comment.
10124 (generate_testfile): Don't handle expected failures.
10125 (parse_ulps): Likewise.
10126 (print_ulps_file): Likewise.
10127 (get_failure): Remove function.
10128 (output_test): Don't handle expected failures.
10129 * make/README.libm-test: Don't mention expected failure handling.
10131 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10132 (minus_zero): Likewise.
10133 (plus_infty): Likewise.
10134 (minus_infty): Likewise.
10135 (qnan_value): Likewise.
10136 (max_value): Likewise.
10137 (min_value): Likewise.
10138 (min_subnorm_value): Likewise.
10139 (initialize): Do not initialize those variables dynamically.
10141 2013-05-03 Roland McGrath <roland@hack.frob.com>
10143 * io/open.c (__open_2): Moved to ...
10144 * io/open_2.c: ... this new file.
10145 * io/open64.c (__open64_2): Moved to ...
10146 * io/open64_2.c: ... this new file.
10147 * io/openat.c (__openat_2): Moved to ...
10148 * io/openat_2.c: ... this new file.
10149 * io/openat64.c (__openat64_2): Moved to ...
10150 * io/openat64_2.c: ... this new file.
10151 * io/Makefile (routines): Add them.
10152 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10153 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10154 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10155 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10156 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10157 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10158 (__openat64): Add hidden_ver.
10159 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10160 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10162 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10163 Separately conditionalize setting of GLRO(dl_sysinfo) so
10164 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10165 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10167 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10169 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10172 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10173 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10174 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10175 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10176 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10178 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10180 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10181 test signgam value.
10183 * math/libm-test.inc (hypot_test): Do not use
10184 IGNORE_ZERO_INF_SIGN.
10186 2013-05-03 Andreas Jaeger <aj@suse.de>
10188 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10190 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10191 (PF_MAX): Adjust for VSOCK change.
10193 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10197 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10200 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10201 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10202 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10204 2013-05-02 David S. Miller <davem@davemloft.net>
10206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10208 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10210 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10212 2013-05-01 Roland McGrath <roland@hack.frob.com>
10214 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10216 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10219 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10220 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10221 Use __attribute__ ((__gnu_inline__)).
10222 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10223 Don't use __attribute__ ((__gnu_inline__)).
10225 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10228 * math/s_catan.c (__catan): Handle small real or imaginary part of
10229 input specially to avoid spurious underflow.
10230 * math/s_catanf.c (__catanf): Likewise.
10231 * math/s_catanh.c (__catanh): Likewise.
10232 * math/s_catanhf.c (__catanhf): Likewise.
10233 * math/s_catanhl.c (__catanhl): Likewise.
10234 * math/s_catanl.c (__catanl): Likewise.
10235 * math/libm-test.inc (catan_test): Add more tests.
10236 (catanh_test): Likewise.
10237 * sysdeps/i386/fpu/libm-test-ulps: Update.
10238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10240 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10244 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10247 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10248 accurately for denominator in atan2.
10249 * math/s_catanf.c (__catanf): Likewise.
10250 * math/s_catanh.c (__catanh): Likewise.
10251 * math/s_catanhf.c (__catanhf): Likewise.
10252 * math/s_catanhl.c (__catanhl): Likewise.
10253 * math/s_catanl.c (__catanl): Likewise.
10254 * math/libm-test.inc (catan_test): Add more tests.
10255 (catanh_test): Likewise.
10256 * sysdeps/i386/fpu/libm-test-ulps: Update.
10257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10259 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10261 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10263 * benchtests/Makefile (bench): Remove slow benchmarks.
10264 * benchtests/atan-inputs: Add slow benchmark inputs.
10265 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10266 (BENCH_FUNC): Accept variant offset.
10268 * benchtests/bench-skeleton.c (main): Run benchmark for each
10270 * benchtests/cos-inputs: Add slow benchmark inputs.
10271 * benchtests/exp-inputs: Likewise.
10272 * benchtests/pow-inputs: Likewise.
10273 * benchtests/sin-inputs: Likewise.
10274 * benchtests/slowatan-inputs: Remove.
10275 * benchtests/slowatan.c: Remove.
10276 * benchtests/slowcos-inputs: Remove.
10277 * benchtests/slowcos.c: Remove.
10278 * benchtests/slowexp-inputs: Remove.
10279 * benchtests/slowexp.c: Remove.
10280 * benchtests/slowpow-inputs: Remove.
10281 * benchtests/slowpow.c: Remove.
10282 * benchtests/slowsin-inputs: Remove.
10283 * benchtests/slowsin.c: Remove.
10284 * benchtests/slowtan-inputs: Remove.
10285 * benchtests/slowtan.c: Remove.
10286 * benchtests/tan-inputs: Add slow benchmark inputs.
10287 * scripts/bench.pl: Parse comments and directives.
10289 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10291 ($(objpfx)bench-%.c): Remove *-ITER.
10292 * benchtests/bench-modf.c: Remove definition of ITER.
10293 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10294 (main): Loop for DURATION seconds instead of fixed number of
10296 * scripts/bench.pl: Don't expect iterations in parameters.
10298 2013-04-29 Roland McGrath <roland@hack.frob.com>
10300 * io/fchdir.c (__fchdir): Renamed from fchdir.
10301 (fchdir): Define as weak alias.
10303 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10305 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10306 (ERRNO_EDOM): Likewise.
10307 (ERRNO_ERANGE): Likewise.
10308 (noErrnoTests): New variable.
10309 (init_max_error): Set errno to 0.
10310 (test_single_errno): New function.
10311 (test_errno): Likewise.
10312 (check_float_internal): Call test_errno. Set errno to 0.
10313 (check_complex): Refer to errno tests in comment.
10314 (check_int): Call test_errno. Set errno to 0.
10315 (check_long): Likewise.
10316 (check_bool): Likewise.
10317 (check_longlong): Likewise.
10318 (cos_test): Use ERRNO_* flags for errno tests instead of
10320 (expm1_test): Likewise.
10321 (fmod_test): Likewise.
10322 (ilogb_test): Likewise.
10323 (lgamma_test): Likewise.
10324 (pow_test): Likewise.
10325 (remainder_test): Likewise.
10326 (sin_test): Likewise.
10327 (tan_test): Likewise.
10328 (yn_test): Likewise.
10329 (initialize): Set errno to 0.
10330 (main): Print number of errno tests.
10331 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10333 2013-04-29 Andreas Jaeger <aj@suse.de>
10336 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10340 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10341 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10345 * stdlib/random.c (__initstate): Return NULL if
10349 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10350 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10353 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10357 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10359 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10360 of individual tests.
10361 (casin_test): Likewise.
10362 (casinh_test): Likewise.
10364 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10367 * math/s_catan.c (__catan): Handle arguments with large real or
10368 imaginary part separately without squaring.
10369 * math/s_catanf.c (__catanf): Likewise.
10370 * math/s_catanh.c (__catanh): Likewise.
10371 * math/s_catanhf.c (__catanhf): Likewise.
10372 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10374 (__catanhl): Handle arguments with large real or imaginary part
10375 separately without squaring.
10376 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10378 (__catanl): Handle arguments with large real or imaginary part
10379 separately without squaring.
10380 * math/libm-test.inc (catan_test): Add more tests.
10381 (catanh_test): Likewise.
10382 * sysdeps/i386/fpu/libm-test-ulps: Update.
10383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10385 2013-04-27 Andreas Jaeger <aj@suse.de>
10388 * stdlib/stdlib.h: Update guards for qecvt.
10389 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10392 2013-04-27 Allan McRae <allan@archlinux.org>
10394 * sysdeps/i386/fpu/libm-test-ulps: Update.
10396 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10399 * math/s_catan.c: Include <float.h>.
10400 (__catan): Ensure underflow exception occurs for underflowed
10402 * math/s_catanf.c: Include <float.h>.
10403 (__catanf): Ensure underflow exception occurs for underflowed
10405 * math/s_catanh.c: Include <float.h>.
10406 (__catanh): Ensure underflow exception occurs for underflowed
10408 * math/s_catanhf.c: Include <float.h>.
10409 (__catanhf): Ensure underflow exception occurs for underflowed
10411 * math/s_catanhl.c: Include <float.h>.
10412 (__catanhl): Ensure underflow exception occurs for underflowed
10414 * math/s_catanl.c: Include <float.h>.
10415 (__catanl): Ensure underflow exception occurs for underflowed
10417 * math/libm-test.inc (catan_test): Add more tests.
10418 (catanh_test): Likewise.
10421 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10422 underflowed result.
10423 * math/s_ccoshf.c (__ccoshf): Likewise.
10424 * math/s_ccoshl.c (__ccoshl): Likewise.
10425 * math/s_csin.c (__csin): Likewise.
10426 * math/s_csinf.c (__csinf): Likewise.
10427 * math/s_csinh.c (__csinh): Likewise.
10428 * math/s_csinhf.c (__csinhf): Likewise.
10429 * math/s_csinhl.c (__csinhl): Likewise.
10430 * math/s_csinl.c (__csinl): Likewise.
10431 * math/libm-test.inc (ccos_test): Add more tests.
10432 (ccosh_test): Likewise.
10433 (csin_test): Likewise.
10434 (csinh_test): Likewise.
10436 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10438 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10439 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10440 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10441 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10442 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10443 powerpc/power5+/fpu folders.
10444 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10447 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10451 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10453 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10454 additions to variable.
10455 [$(config-machine) = x86_64] (modules-names): Likewise.
10456 ($(objpfx)tst-audit3): Remove dependency.
10457 ($(objpfx)tst-audit3.out): Likewise.
10458 ($(objpfx)tst-audit4): Likewise.
10459 ($(objpfx)tst-audit4.out): Likewise.
10460 ($(objpfx)tst-audit5): Likewise.
10461 ($(objpfx)tst-audit5.out): Likewise.
10462 ($(objpfx)tst-audit6): Likewise.
10463 ($(objpfx)tst-audit6.out): Likewise.
10464 ($(objpfx)tst-audit7): Likewise.
10465 ($(objpfx)tst-audit7.out): Likewise.
10466 (tst-audit3-ENV): Remove variable.
10467 (tst-audit4-ENV): Likewise.
10468 (tst-audit5-ENV): Likewise.
10469 (tst-audit6-ENV): Likewise.
10470 (tst-audit7-ENV): Likewise.
10471 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10472 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10473 addition to variable.
10474 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10475 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10476 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10477 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10478 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10479 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10480 tst-audit3, tst-audit4 and tst-audit5.
10481 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10482 tst-audit6 and tst-audit7.
10483 [$(subdir) = elf] (modules-names): Add audit modules for those
10485 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10486 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10487 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10488 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10489 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10490 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10491 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10492 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10493 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10494 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10495 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10496 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10497 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10498 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10499 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10500 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10502 [$(subdir) = elf && $(config-cflags-avx) = yes]
10503 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10504 [$(subdir) = elf && $(config-cflags-avx) = yes]
10505 (CFLAGS-tst-auditmod4a.c): Likewise.
10506 [$(subdir) = elf && $(config-cflags-avx) = yes]
10507 (CFLAGS-tst-auditmod4b.c): Likewise.
10508 [$(subdir) = elf && $(config-cflags-avx) = yes]
10509 (CFLAGS-tst-auditmod6b.c): Likewise.
10510 [$(subdir) = elf && $(config-cflags-avx) = yes]
10511 (CFLAGS-tst-auditmod6c.c): Likewise.
10512 [$(subdir) = elf && $(config-cflags-avx) = yes]
10513 (CFLAGS-tst-auditmod7b.c): Likewise.
10514 * elf/tst-audit3.c: Move to ...
10515 * sysdeps/x86_64/tst-audit3.c: ... here.
10516 * elf/tst-audit4.c: Move to ...
10517 * sysdeps/x86_64/tst-audit4.c: ... here.
10518 * elf/tst-audit5.c: Move to ...
10519 * sysdeps/x86_64/tst-audit5.c: ... here.
10520 * elf/tst-audit6.c: Move to ...
10521 * sysdeps/x86_64/tst-audit6.c: ... here.
10522 * elf/tst-audit7.c: Move to ...
10523 * sysdeps/x86_64/tst-audit7.c: ... here.
10524 * elf/tst-auditmod3a.c: Move to ...
10525 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10526 * elf/tst-auditmod3b.c: Move to ...
10527 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10528 * elf/tst-auditmod4a.c: Move to ...
10529 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10530 * elf/tst-auditmod4b.c: Move to ...
10531 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10532 * elf/tst-auditmod5a.c: Move to ...
10533 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10534 * elf/tst-auditmod5b.c: Move to ...
10535 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10536 * elf/tst-auditmod6a.c: Move to ...
10537 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10538 * elf/tst-auditmod6b.c: Move to ...
10539 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10540 * elf/tst-auditmod6c.c: Move to ...
10541 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10542 * elf/tst-auditmod7a.c: Move to ...
10543 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10544 * elf/tst-auditmod7b.c: Move to ...
10545 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10547 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10550 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10551 define unconditionally.
10552 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10553 define unconditionally.
10554 (INT8_C, INT16_C, etc.): Likewise.
10556 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10558 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10559 __ehdr_start with hidden visibility.
10561 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10563 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10565 * math/libm-test.inc (cos_test): Use accurate hex constants.
10566 (sincost_test): Likewise.
10568 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10570 * math/libm-test.inc (catan_test): Add more tests.
10571 (catanh_test): Likewise.
10573 * math/s_catanf.c (__catanf): Use suffixed floating-point
10575 * math/s_catanhf.c (__catanhf): Likewise.
10576 * math/s_catanhl.c (__catanhl): Likewise.
10577 * math/s_catanl.c (__catanl): Likewise.
10580 * math/s_catan.c (__catan): Calculate imaginary part of result
10581 with log1p not log unless computing log of number close to 0.
10582 * math/s_catanf.c (__catanf): Likewise.
10583 * math/s_catanl.c (__catanl): Likewise.
10584 * math/s_catanh.c (__catanh): Calculate real part of result with
10585 log1p not log unless computing log of number close to 0.
10586 * math/s_catanhf.c (__catanhf): Likewise.
10587 * math/s_catanhl.c (__catanhl): Likewise.
10588 * math/libm-test.inc (catan_test): Add more tests.
10589 (catanh_test): Likewise.
10590 * sysdeps/i386/fpu/libm-test-ulps: Update.
10591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10593 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10595 * benchtests/Makefile: Mention files in which fast and slow
10596 paths of math functions are implemented.
10598 2013-04-23 Roland McGrath <roland@hack.frob.com>
10600 * sysdeps/posix/timespec_get.c: New file.
10602 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10604 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10606 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10608 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10609 powerpc/power5/fpu folders.
10610 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10611 * benchtests/Makefile: Add modf testcase.
10612 * benchtests/bench-modf.c: New file: Benchmark test for mo
10614 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10617 * time/Makefile (tests): Add tst-strptime-whitespace.
10618 * time/strptime_l.c (get_number): Use ISSPACE.
10619 (__strptime_internal): Likewise.
10620 * time/tst-strptime-whitespace.c: New test case.
10622 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10624 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10626 (_nss_files_init): Set it here.
10628 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10630 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10631 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10634 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10636 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10638 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10643 2013-04-21 David S. Miller <davem@davemloft.net>
10645 * po/ru.po: Update Russion translation from translation project.
10647 2013-04-17 Adam Conrad <adconrad@0c3.net>
10649 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10652 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10654 * configure.in: Remove i386 configure warning. Remove i386 case.
10655 * configure: Regenerate.
10656 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10657 Add example to error message.
10658 * sysdeps/i386/configure: Regenerate.
10660 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10662 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10664 * benchtests/cos-inputs: New file.
10665 * benchtests/slowcos-inputs: New file.
10666 * benchtests/slowcos.c: New file.
10667 * benchtests/slowtan-inputs: New file.
10668 * benchtests/slowtan.c: New file.
10669 * benchtests/tan-inputs: New file.
10671 2013-04-16 Roland McGrath <roland@hack.frob.com>
10673 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10676 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10678 * benchtests/Makefile: Include cppflags-iterator.mk to add
10679 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10681 * Makefile.in (bench-clean): New target.
10682 * benchtests/Makefile (bench-clean): Likewise.
10684 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10686 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10688 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10690 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10692 2013-04-15 Andreas Schwab <schwab@suse.de>
10694 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10696 * nscd/pwdcache.c (cache_addpw): Likewise.
10697 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10700 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10702 * benchtests/Makefile (bench): Write all output to
10703 bench-out.tmp together.
10705 2013-04-15 Andreas Schwab <schwab@suse.de>
10707 * nscd/nscd.c (main): Don't fork again after closing files.
10709 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10711 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10713 * benchtests/Rules (bench-deps): Collect dependencies into a
10714 single variable. Add Makefile to dependencies.
10715 ($(objpfx)bench-%.c): Depend on bench-deps.
10717 2013-04-12 Roland McGrath <roland@hack.frob.com>
10718 Xavier Roche <roche+kml2@exalead.com>
10721 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10722 just that it's a file descriptor.
10723 * manual/llio.texi (Synchronizing AIO Operations): Update description
10724 for EBADF error from aio_fsync.
10726 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10728 * Rules (bench): Move target definition...
10729 * benchtests/Makefile: ... here.
10731 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10733 * math/libm-test.inc (cos_test): Fix PI/2 test.
10734 (sincos_test): Likewise.
10735 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10736 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10738 2013-04-11 Andreas Schwab <schwab@suse.de>
10741 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10742 accept exponent character only when digits were seen.
10743 * stdio-common/Makefile (tests): Add bug26.
10744 * stdio-common/bug26.c: New file.
10747 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10750 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10752 * Makeconfig (rtld-prefix): Define built linker prefix.
10753 * Rules (run-bench): Use it.
10754 * math/Makefile (run-regen-ulps): Likewise.
10756 * Rules (bench): Remove eval.
10758 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10759 Roland McGrath <roland@hack.frob.com>
10760 Ondrej Bilka <neleai@seznam.cz>
10763 * time/getdate.c: Include ctype.h and alloca.h.
10764 (__getdate_r): Trim leading and trailing spaces of input.
10765 * time/tst-getdate.c (tests): Add tests with leading and
10768 2013-04-08 Roland McGrath <roland@hack.frob.com>
10771 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10772 when computing value.
10774 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10776 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10777 Use testrun.sh to run libm tests.
10780 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10782 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10785 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10787 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10789 * Makefile.in (regen-ulps): New target.
10790 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10791 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10792 [ifneq (no,$(PERL)] (regen-ulps): New target.
10793 [ifeq (no,$(PERL)] (regen-ulps): New target.
10794 * math/libm-test.inc (ulps_file_name): Define.
10795 (output_dir): New variable.
10796 (options): Add "output-dir" option.
10797 (parse_opt): Handle 'o' case.
10798 (main): If output_dir is non-NULL use it as a prefix
10800 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10802 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10804 [BZ #10060, #10062]
10805 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10806 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10807 fail configure if __sync_val_compare_and_swap is not inlined.
10808 * sysdeps/i386/configure: Regenerate.
10809 * configure.in: Build for i686 when configured for i386.
10810 * configure: Regenerate.
10811 * README: Remove i386 reference.
10813 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10815 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10818 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10820 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10821 (lmsnanval): New variables.
10822 (F): Add conversion tests.
10823 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10824 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10826 * stdio-common/tstdiomisc.c (F): Properly collect individual
10829 [BZ #14686, #15336]
10830 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10831 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10832 Instead, use input NaN values or generate a qNaN by arithmetic
10833 operation. Also fix bugs to comply with the standard.
10834 * math/libm-test.inc (remainder_test): Add more tests.
10836 [BZ #15335, #15342]
10837 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10839 input NaN values or generate a qNaN by arithmetic operation.
10841 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10844 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10847 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10850 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10851 underflowed result.
10852 * math/s_cexpf.c (__cexpf): Likewise.
10853 * math/s_cexpl.c (__cexpl): Likewise.
10854 * math/libm-test.inc (cexp_test): Add more tests.
10856 2013-04-03 Andreas Schwab <schwab@suse.de>
10859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10860 order arrays from heap if bigger than alloca cutoff.
10862 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10864 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10865 (SNAN_TESTS_double): Refer to GCC PR56831.
10866 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10869 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10871 * Rules (bench): Move bench.out after the run is complete.
10873 * Rules (bench): Echo currently running benchmark.
10875 * benchtests/Makefile (bench): Add atan and slowatan.
10876 * benchtests/atan-inputs: New file.
10877 * benchtests/slowatan-inputs: New file.
10878 * benchtests/slowatan.c: New file.
10880 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10881 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10885 * sysdeps/unix/sysv/linux/kernel-features.h
10886 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10887 __ASSUME_XFS_RESTRICTED_CHOWN.
10888 * sysdeps/unix/sysv/linux/pathconf.c
10889 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10890 Save and restore errno.
10892 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10895 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10896 arguments using __kernel_casinh.
10897 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10898 arguments using __kernel_casinhf.
10899 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10900 arguments using __kernel_casinhl.
10901 * math/libm-test.inc (cacosh_test): Add more tests.
10902 * sysdeps/i386/fpu/libm-test-ulps: Update.
10903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10905 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10907 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10910 * bench/Makefile (bench): Add sin and slowsin.
10911 * benchtests/sin-inputs: New file.
10912 * benchtests/slowsin-inputs: New file.
10913 * benchtests/slowsin.c: New file.
10915 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10916 (bench): Add slowexp and slowpow.
10917 (exp-ITER): Increase iterations.
10918 (pow-ITER): Likewise.
10919 * benchtests/exp-inputs: Change input.
10920 * benchtests/pow-inputs: Likewise.
10921 * benchtests/slowexp-inputs: New file.
10922 * benchtests/slowexp.c: New file.
10923 * benchtests/slowpow-inputs: New file.
10924 * benchtests/slowpow.c: New file.
10926 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10928 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10930 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10931 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10933 * benchtests/Makefile: Add rint benchtest.
10934 * benchtests/rint-inputs: Input for rint benchtest.
10936 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10938 * Versions.def (libm): Add GLIBC_2.18.
10939 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10940 hidden libm prototypes.
10941 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10942 * math/Makefile (libm-calls): Add s_issignaling.
10943 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10944 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10945 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10947 * math/math.h [__USE_GNU] (issignaling): New macro.
10948 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10949 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10951 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10954 * manual/arith.texi (issignaling): New section.
10955 * manual/libm-err-tab.pl (@all_functions): Update comment.
10956 * math/gen-libm-test.pl (parse_args): Apply special handling for
10958 * math/libm-test.inc (print_float, issignaling_test): New
10960 (check_float_internal): Add issignaling checks.
10961 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10962 default definition.
10963 * sysdeps/powerpc/math-tests.h: New file.
10964 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10966 * math/test-snan.c (TEST_FUNC): Likewise.
10968 2013-03-30 David S. Miller <davem@davemloft.net>
10970 * po/de.po: Update from translation team.
10972 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10975 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10976 imaginary part less than 1.0 and real part less than 0.5
10978 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10979 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10980 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10981 (cacos_test): Add more tests.
10982 (casin_test): Likewise.
10983 (casinh_test): Likewise.
10984 * sysdeps/i386/fpu/libm-test-ulps: Update.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10987 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10989 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10990 ONE with its value.
10992 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10993 (__pow_mp): Replace ONE and MONE with their values.
10994 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10996 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10997 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10998 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10999 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11001 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11003 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11004 (__pow_mp): Replace ZERO and MZERO with their values.
11005 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11007 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11009 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11010 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11013 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11015 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11017 2013-03-28 Roland McGrath <roland@hack.frob.com>
11019 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11020 Declare with __attribute__ ((weak)).
11021 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11022 Call __call_tls_dtors only if it's not NULL.
11024 2013-03-28 Roland McGrath <roland@hack.frob.com>
11026 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11027 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11028 magic __ehdr_start linker symbol if it's defined.
11029 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11030 them up here if it was already done.
11032 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11033 (_dl_aux_init): Use const in cast when setting it.
11034 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11035 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11036 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11038 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11040 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11041 * csu/libc-tls.c: Nor here.
11042 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11044 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11045 (__libc_message): Never call vsyslog.
11047 2013-03-28 Alan Modra <amodra@gmail.com>
11049 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11051 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11054 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11057 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11061 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11064 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11065 Don't add gid passed as argument.
11067 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11069 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11072 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11073 imaginary part between 1.0 and 1.5 and real part less than 0.5
11075 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11076 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11077 * math/libm-test.inc (cacos_test): Add more tests.
11078 (casin_test): Likewise.
11079 (casinh_test): Likewise.
11080 * sysdeps/i386/fpu/libm-test-ulps: Update.
11081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11083 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11085 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11088 (denorm): Likewise.
11089 (__dbl_mp): Likewise.
11090 (add_magnitudes): Likewise.
11091 (sub_magnitudes): Likewise.
11099 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11101 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11102 (__dubcos): Likewise.
11103 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11104 (__ieee754_acos): Likewise.
11105 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11106 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11107 (__exp1): Likewise.
11108 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11111 (my_log2): Likewise.
11112 (checkint): Likewise.
11113 * sysdeps/ieee754/dbl-64/e_remainder.c
11114 (__ieee754_remainder): Likewise.
11115 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11117 (bsloww): Likewise.
11118 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11120 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11121 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11122 MANTISSA_STORE_T to store computations on mantissa. Use
11123 macros for rounding and division.
11124 (denorm): Likewise.
11125 (__dbl_mp): Likewise.
11126 (add_magnitudes): Likewise.
11127 (sub_magnitudes): Likewise.
11130 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11131 powers of two in terms of TWOPOW macro.
11132 (mp_no): Make type of mantissa as MANTISSA_T.
11133 [!RADIXI]: Define RADIXI.
11134 [!TWO52]: Define TWO52.
11135 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11137 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11139 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11140 llroundl symbol when building for PPC32.
11142 2013-03-24 Mark H Weaver <mhw@netris.org>
11144 * manual/arith.texi (Normalization Functions): Fix prototypes for
11145 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11147 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11151 high value to check if expl overflow.
11152 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11153 to check for underflow and overflow.
11154 * math/libm-test.inc: Add exp test.
11156 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11159 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11162 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11164 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11167 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11169 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11170 wrap blocks consisting of several statements.
11172 * sysdeps/generic/math-tests.h: New file.
11173 * sysdeps/i386/fpu/math-tests.h: Likewise.
11174 * math/test-snan.c: Include it.
11175 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11177 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11180 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11181 (__ieee754_j0l): Do not improve calculations using cos of twice
11182 input for inputs above LDBL_MAX / 2.0L.
11183 (__ieee754_y0l): Likewise.
11184 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11185 (__ieee754_j1l): Do not improve calculations using cos of twice
11186 input for inputs above LDBL_MAX / 2.0L.
11187 (__ieee754_y1l): Likewise.
11188 * math/libm-test.inc (j0_test): Add another test.
11189 (j1_test): Likewise.
11190 (y0_test): Likewise.
11191 (y1_test): Likewise.
11192 * sysdeps/i386/fpu/libm-test-ulps: Update.
11194 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11196 * Rules ($(objpfx)bench-%.c): Include code from a C source
11199 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11202 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11203 imaginary part 1.0 and real part less than 0.5 specially.
11204 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11205 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11206 * math/libm-test.inc (cacos_test): Add more tests.
11207 (casin_test): Likewise.
11208 (casinh_test): Likewise.
11209 * sysdeps/i386/fpu/libm-test-ulps: Update.
11210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11212 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11214 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11215 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11217 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11219 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11220 * config.make.in (config-cflags-sse4): Remove variable.
11221 (config-cflags-avx): Likewise.
11222 (config-cflags-sse2avx): Likewise.
11223 (config-cflags-novzeroupper): Likewise.
11224 (config-asflags-i686): Likewise.
11225 (have-mfma4): Likewise.
11226 (have-as-vis3): Likewise.
11228 * configure.in (MIG): Do not AC_SUBST.
11229 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11230 (libc_cv_cc_sse4): Do not AC_SUBST.
11231 (libc_cv_cc_avx): Likewise.
11232 (libc_cv_cc_sse2avx): Likewise.
11233 (libc_cv_cc_novzeroupper): Likewise.
11234 (libc_cv_cc_fma4): Likewise.
11235 (libc_cv_as_i686): Likewise.
11236 (libc_cv_sparc_as_vis3): Likewise.
11237 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11239 (config-asflags-i686): Likewise.
11240 (config-cflags-avx): Likewise.
11241 (config-cflags-sse2avx): Likewise.
11242 (have-mfma4): Likewise.
11243 (config-cflags-novzeroupper): Likewise.
11244 * sysdeps/mach/configure.in (MIG): Likewise.
11245 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11246 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11248 (config-cflags-avx): Likewise.
11249 (config-cflags-sse2avx): Likewise.
11250 (have-mfma4): Likewise.
11251 (config-cflags-novzeroupper): Likewise.
11252 * configure: Regenerated.
11253 * sysdeps/i386/configure: Likewise.
11254 * sysdeps/mach/configure: Likewise.
11255 * sysdeps/sparc/configure: Likewise.
11256 * sysdeps/x86_64/configure: Likewise.
11258 2013-03-20 Roland McGrath <roland@hack.frob.com>
11261 * locale/programs/localedef.c (options): Put N_ translation marker
11262 on argument names, not just descriptions.
11264 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11266 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11268 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11271 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11273 2013-03-19 Roland McGrath <roland@hack.frob.com>
11275 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11276 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11277 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11278 [!BEFORE_ABORT] (before_abort): New function.
11279 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11280 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11281 (writev_for_fatal): New function.
11282 (WRITEV_FOR_FATAL): New macro; call that.
11283 (backtrace_and_maps): New function.
11284 (BEFORE_ABORT): New macro; call that.
11285 (struct str_list): Type removed.
11286 (__libc_message, __libc_fatal): Functions removed.
11287 Include <sysdeps/posix/libc_fatal.c> instead.
11289 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11291 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11293 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11296 2013-03-19 Andreas Schwab <schwab@suse.de>
11298 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11299 * sysdeps/gnu/configure: Regenerate.
11301 * configure.in: Substitute libc_cv_rtlddir.
11302 * configure: Regenerate.
11303 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11304 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11305 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11306 * elf/Makefile (install-others, CFLAGS-interp.c)
11307 (ldso_install, common-ldd-rewrite): Likewise.
11308 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11309 $(inst_slibdir)/$(rtld-installed-name).
11310 * scripts/rellns-sh: Add -p option.
11311 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11314 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11316 * manual/nptl.texi: Renamed to ...
11317 * manual/threads.texi: ... this.
11318 * manual/Makefile (chapters): Update.
11320 2013-03-18 Roland McGrath <roland@hack.frob.com>
11323 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11324 on argument names, not just descriptions.
11325 * malloc/memusagestat.c (options): Likewise.
11326 * nss/getent.c (options): Likewise.
11328 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11331 * iconv/iconv_prog.c (options): Put N_ translation marker
11332 on argument names, not just descriptions.
11333 * iconv/iconvconfig.c (options): Likewise.
11335 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11337 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11338 implementation which is faster on all x86_64 architectures.
11339 Tested on AMD, Intel Nehalem, SNB, IVB.
11340 * sysdeps/x86_64/strnlen.S: Likewise.
11342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11343 Remove all multiarch strlen and strnlen versions.
11344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11345 Remove strlen and strnlen related parts.
11347 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11348 Inline strlen part.
11349 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11351 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11352 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11353 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11354 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11355 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11356 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11358 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11360 * manual/memory.texi (Malloc Tunable Parameters):
11361 Sort parameters alphabetically. Add comments for missing entries.
11363 2013-03-17 David S. Miller <davem@davemloft.net>
11365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11367 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11370 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11371 for arguments at most half maximum finite value.
11372 * math/libm-test.inc (j0_test): Add more tests.
11373 (j1_test): Likewise.
11374 (y0_test): Likewise.
11375 (y1_test): Likewise.
11376 * sysdeps/i386/fpu/libm-test-ulps: Update.
11377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11380 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11381 1 / x and functions P and Q for arguments above 0x1p256L.
11382 (__ieee754_y0l): Likewise.
11383 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11384 (__ieee754_y1l): Likewise.
11385 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11386 (j1_test): Likewise.
11387 (y0_test): Likewise.
11388 (y1_test): Likewise.
11390 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11392 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11395 2013-03-15 Roland McGrath <roland@hack.frob.com>
11397 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11398 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11399 zero since it's initialized to EXEC_PAGESIZE.
11401 * sysdeps/unix/sysv/linux/ldsodefs.h
11402 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11403 * sysdeps/generic/ldsodefs.h: ... here.
11405 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11407 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11409 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11411 * math/test-snan.c: Renamed from
11412 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11413 * math/Makefile (tests): Add test-snan.
11414 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11417 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11418 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11420 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11421 __builtin_nan family of functions.
11422 * math/libm-test.inc (initialize): Initialize qnan_value with
11423 __builtin_nan family of functions.
11424 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11426 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11428 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11429 storage class. Initialize qNaN_var and sNaN_var with
11430 __builtin_nan and __builtin_nans families of functions,
11433 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11434 (sqrt_test): Remove duplicate test with qNaN input.
11435 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11436 (round_test, signbit_test, significand_test): Note missing +/-Inf
11437 as well as qNaN tests.
11439 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11440 qNaN_var. Fix a few strings, too.
11441 * math/libm-test.inc (nan_value): Rename to qnan_value.
11442 * math/gen-libm-test.pl (%beautify): Adjust to that.
11443 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11444 * math/test-misc.c (main): Likewise.
11445 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11446 to __qnan_bytes, and __qnan_union, respectively.
11447 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11449 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11450 and lqnanval, respectively.
11451 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11452 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11453 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11454 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11456 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11457 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11460 * math/test-misc.c (main): Fix copy'n'pastos.
11461 * misc/tst-efgcvt.c (special): Likewise.
11463 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11464 Remove declarations.
11466 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11468 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11469 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11470 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11471 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11473 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11475 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11476 macro to return vdso values correctly in IFUNC implementations.
11477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11478 Optimization by using IFUNC.
11480 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11481 Richard Henderson <rth@redhat.com>
11482 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11484 * Makefile.in (bench): New target.
11485 * NEWS: Mention the benchmark framework.
11486 * Rules (bench): Likewise.
11487 (binaries-bench): Generate binaries for functions to
11489 * benchtests/Makefile: New makefile for benchmark tests.
11490 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11492 * benchtests/exp-inputs: New input file for EXP function.
11493 * benchtests/pow-inputs: New input file for POW function.
11494 * scripts/bench.pl: New script to generate source files for
11495 benchmark programs.
11497 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11499 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11500 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11501 computations on mantissa. Use macros for rounding and
11503 (denorm): Likewise.
11504 (__dbl_mp): Likewise.
11505 (add_magnitudes): Likewise.
11506 (sub_magnitudes): Likewise.
11509 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11510 powers of two in terms of TWOPOW macro.
11511 (mp_no): Make type of mantissa as MANTISSA_T.
11512 [!RADIXI]: Define RADIXI.
11513 [!TWO52]: Define TWO52.
11514 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11516 * manual/nptl.texi (cindex): Modify threads to pthreads.
11518 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11520 * sysdeps/x86_64/preconfigure: Regenerated.
11522 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11525 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11527 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11528 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11530 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11531 * math/libm-test.inc (j0_test): Do not allow one spurious
11532 underflow exception.
11533 (y1_test): Likewise.
11535 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11537 * manual/Makefile (chapters): Add nptl.
11538 * manual/debug.texi (Debugging Support): Add link to Threads
11540 * manual/nptl.texi: New file.
11542 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11544 2013-03-14 Petr Baudis <pasky@ucw.cz>
11546 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11547 for non-NULL pointer before the memory validity test. Pointed
11548 out by Holger Brunck <holger.brunck@keymile.com>.
11550 2013-03-13 Andreas Schwab <schwab@suse.de>
11552 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11555 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11557 * timezone/zic.c: Update from tzcode 2013b.
11559 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11561 * manual/install.texi (Configuring and compiling):
11562 Mention i686 and i586.
11563 * INSTALL: Regenerate.
11565 2013-03-12 Roland McGrath <roland@hack.frob.com>
11567 * sysdeps/init_array/elf-init.c: New file.
11569 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11570 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11572 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11573 __gmon_start__ as global, but as static with a .preinit_array pointer.
11574 * sysdeps/init_array/gmon-start.c: New file. Use that.
11575 * sysdeps/init_array/crti.S: New file, empty except for comments.
11576 * sysdeps/init_array/crtn.S: Likewise.
11578 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11580 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11583 Remove Prefer_SSE_for_memop.
11584 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11585 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11586 HAS_PREFER_SSE_FOR_MEMOP.
11587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11590 Remove bzero, memset ifunc support.
11591 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11592 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11593 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11594 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11596 2013-03-11 Andreas Schwab <schwab@suse.de>
11599 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11602 (GLIBC_2.16): Remove pthread_atfork.
11604 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11606 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11607 (ptestcases.h): Likewise.
11609 2013-03-08 Roland McGrath <roland@hack.frob.com>
11611 * Makeconfig ($(common-objpfx)config.status): Depend on
11612 sysdeps/*/preconfigure{,.in} too.
11614 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11616 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11617 (__free_hook): Use void * instead of __malloc_ptr_t.
11618 (__malloc_hook): Likewise.
11619 (__realloc_hook): Likewise.
11620 (__memalign_hook): Likewise.
11621 (__after_morecore_hook): Likewise.
11622 * malloc/arena.c (save_malloc_hook): Likewise.
11623 (save_free_hook): Likewise.
11624 * malloc/hooks.c (malloc_hook_ini): Likewise.
11625 (realloc_hook_ini): Likewise.
11626 (memalign_hook_ini): Likewise.
11627 * malloc/malloc.c (malloc_hook_ini): Likewise.
11628 (realloc_hook_ini): Likewise.
11629 (memalign_hook_ini): Likewise.
11630 (__free_hook): Likewise.
11631 (__malloc_hook): Likewise.
11632 (__realloc_hook): Likewise.
11633 (__memalign_hook): Likewise.
11634 (__libc_malloc): Likewise.
11635 (__libc_free): Likewise.
11636 (__libc_realloc): Likewise.
11637 (__libc_memalign): Likewise.
11638 (__libc_valloc): Likewise.
11639 (__libc_pvalloc): Likewise.
11640 (__libc_calloc): Likewise.
11641 (__posix_memalign): Likewise.
11642 * malloc/morecore.c (__sbrk): Likewise.
11643 (__default_morecore): Likewise.
11645 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11647 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11648 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11649 __malloc_ptrdiff_t.
11651 * malloc/malloc.h (__malloc_size_t): Remove macro.
11652 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11654 (old_memalign_hook): Likewise.
11655 (old_realloc_hook): Likewise.
11656 (struct hdr): Likewise.
11658 (mallochook): Likewise.
11659 (memalignhook): Likewise.
11660 (reallochook): Likewise.
11661 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11662 (tr_old_realloc_hook): Likewise.
11663 (tr_old_memalign_hook): Likewise.
11664 (tr_mallochook): Likewise.
11665 (tr_reallochook): Likewise.
11666 (tr_memalignhook): Likewise.
11668 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11671 default_ldbl_pack and using as default implementation.
11672 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11674 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11675 redundant definition.
11676 (ldbl_insert_mantissa): Likewise.
11677 (ldbl_canonicalize): Likewise.
11678 (ldbl_nearbyint): Likewise.
11679 (ldbl_pack): Rename to ldbl_pack_ppc.
11680 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11681 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11682 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11684 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11687 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11688 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11689 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11691 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11692 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11693 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11695 2013-03-07 Andreas Jaeger <aj@suse.de>
11697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11700 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11702 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11703 Include mpa.h and declare __MPEXP.
11704 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11705 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11706 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11707 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11708 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11709 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11710 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11712 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11713 (__slowpow): Use long double EXPL and LOGL functions to
11715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11716 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11717 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11718 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11719 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11720 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11723 intermediate variable to calculate exponent.
11725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11729 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11730 [!NO__SQR]: Define __sqr.
11731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11732 and NO__SQR. Remove all code except __mul and __sqr. Include
11733 sysdeps/ieee754/dbl-64/mpa.c.
11734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11737 * posix/Makefile (tests): Add tst-pathconf.
11738 * posix/tst-pathconf.c: New test case.
11739 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11741 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11743 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11745 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11747 2013-03-06 Andreas Jaeger <aj@suse.de>
11749 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11750 definition via __MAP_ANONYMOUS.
11752 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11753 it's not part of Linux headers.
11755 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11756 (MAP_HUGE_MASK): Define.
11758 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11760 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11763 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11764 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11766 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11767 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11769 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11771 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11772 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11773 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11774 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11775 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11776 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11778 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11781 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11782 Handle f2fs and efivarfs.
11784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11787 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11788 (EFIVARFS_MAGIC): Add.
11789 (F2FS_LINK_MAX): Add.
11791 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11793 * stdio-common/vfprintf.c: Replace __builtin_expect with
11796 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11799 * sysdeps/generic/bp-sym.h: Remove file.
11800 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11801 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11802 <bp-sym.h> and <bp-asm.h>.
11803 (__longjmp): Don't use BP_SYM.
11804 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11806 (memcpy): Don't use BP_SYM.
11807 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11808 <bp-sym.h> and <bp-asm.h>.
11809 (memcpy): Don't use BP_SYM.
11810 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11812 (memcpy): Don't use BP_SYM.
11813 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11815 (memset): Don't use BP_SYM.
11816 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11817 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11818 (__bzero): Don't use BP_SYM.
11819 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11820 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11821 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11822 <bp-sym.h> and <bp-asm.h>.
11823 (memcmp): Don't use BP_SYM. Remove comment about bounded
11825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11826 <bp-sym.h> and <bp-asm.h>.
11827 (memcpy): Don't use BP_SYM.
11828 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11829 <bp-sym.h> and <bp-asm.h>.
11830 (memset): Don't use BP_SYM.
11831 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11832 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11833 (__bzero): Don't use BP_SYM.
11834 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11835 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11836 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11837 <bp-sym.h> and <bp-asm.h>.
11838 (strncmp): Don't use BP_SYM. Remove comment about bounded
11840 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11841 <bp-sym.h> and <bp-asm.h>.
11842 (memcpy): Don't use BP_SYM.
11843 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11844 <bp-sym.h> and <bp-asm.h>.
11845 (memset): Don't use BP_SYM.
11846 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11847 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11848 (__bzero): Don't use BP_SYM.
11849 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11850 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11851 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11852 <bp-sym.h> and <bp-asm.h>.
11853 (__memchr): Don't use BP_SYM.
11854 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11855 <bp-sym.h> and <bp-asm.h>.
11856 (memcmp): Don't use BP_SYM. Remove comment about bounded
11858 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11859 <bp-sym.h> and <bp-asm.h>.
11860 (memcpy): Don't use BP_SYM.
11861 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11862 <bp-sym.h> and <bp-asm.h>.
11863 (__mempcpy): Don't use BP_SYM.
11864 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11865 <bp-sym.h> and <bp-asm.h>.
11866 (__memrchr): Don't use BP_SYM.
11867 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11868 <bp-sym.h> and <bp-asm.h>.
11869 (memset): Don't use BP_SYM.
11870 (__bzero): Likewise.
11871 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11872 <bp-sym.h> and <bp-asm.h>.
11873 (__rawmemchr): Don't use BP_SYM.
11874 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11875 <bp-sym.h> and <bp-asm.h>.
11876 (__STRCMP): Don't use BP_SYM.
11877 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11878 <bp-sym.h> and <bp-asm.h>.
11879 (strchr): Don't use BP_SYM.
11880 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11881 <bp-sym.h> and <bp-asm.h>.
11882 (__strchrnul): Don't use BP_SYM.
11883 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11884 <bp-sym.h> and <bp-asm.h>.
11885 (strlen): Don't use BP_SYM.
11886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11887 <bp-sym.h> and <bp-asm.h>.
11888 (strncmp): Don't use BP_SYM. Remove comment about bounded
11890 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (__strnlen): Don't use BP_SYM.
11893 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (__GI__setjmp): Don't use BP_SYM.
11896 (_setjmp): Likewise.
11897 (__sigsetjmp): Likewise.
11898 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11899 (L(start_addresses)): Don't use BP_SYM.
11900 (_start): Likewise.
11901 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11903 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11904 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11905 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11906 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11907 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11909 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11910 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11911 about bounded pointers.
11912 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11913 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11914 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11916 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11917 about bounded pointers. Remove GKM FIXME comments.
11918 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11919 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11921 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11922 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11923 Remove GKM FIXME comments.
11924 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11925 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11926 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11928 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11929 about bounded pointers. Remove GKM FIXME comment.
11930 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11932 (strncmp): Don't use BP_SYM. Remove comment about bounded
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11935 <bp-sym.h> and <bp-asm.h>.
11936 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11938 <bp-sym.h> and <bp-asm.h>.
11939 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11942 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11944 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11947 2013-03-05 David S. Miller <davem@davemloft.net>
11949 * po/es.po: Update from translation team.
11951 2013-03-05 Andreas Jaeger <aj@suse.de>
11953 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11954 <bits/mman-linux.h>.
11955 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11957 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11958 <bits/mman-linux.h> to end of file.
11959 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11961 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11962 <bits/mman-linux.h> to end of file.
11963 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11966 <bits/mman-linux.h> to end of file.
11968 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11969 (MCL_CURRENT, MCL_FUTURE): Define here.
11971 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11974 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11976 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11978 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11980 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11981 fourth parameter needed for rt_sigprocmask syscall.
11982 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11983 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11984 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11985 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11987 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11989 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11992 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11993 comment about bounded pointers.
11994 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11995 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11997 2013-03-04 Andreas Jaeger <aj@suse.de>
11999 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12000 common definitions.
12002 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12003 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12004 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12005 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12007 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12009 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12013 __ieee754_sqrl instead of __sqrl.
12015 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12017 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12018 * sysdeps/powerpc/fpu_control.h: ... here.
12019 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12020 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12021 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12022 * sysdeps/powerpc/bits/mathinline.h: ... here.
12024 2013-03-01 Roland McGrath <roland@hack.frob.com>
12026 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12027 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12028 to just [NEED_DL_SYSINFO_DSO].
12029 * elf/dl-support.c: Likewise.
12030 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12031 * elf/rtld.c (dl_main): Likewise.
12032 * elf/setup-vdso.h (setup_vdso): Likewise.
12033 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12034 * sysdeps/unix/sysv/linux/dl-sysdep.c
12035 (_dl_discover_osversion): Likewise.
12037 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12039 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12040 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12042 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12044 * NEWS: Mention libm performance improvements and non-x86 PI
12047 * csu/libc-start.c (__pthread_initialize_minimal): Change
12048 function arguments.
12049 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12051 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12054 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12055 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12056 <bp-sym.h> and <bp-asm.h>.
12057 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12058 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12060 (memcpy): Don't use BP_SYM.
12061 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12063 (__mpn_add_n): Don't use BP_SYM.
12064 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12065 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12067 (__mpn_addmul_1): Don't use BP_SYM.
12068 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12069 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12071 (_setjmp): Don't use BP_SYM.
12072 (__novmx_setjmp): Likewise.
12073 (__GI__setjmp): Likewise.
12074 (__vmx_setjmp): Likewise.
12075 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12077 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12078 (__bzero): Don't use BP_SYM.
12079 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12080 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12081 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12082 <bp-sym.h> and <bp-asm.h>.
12083 (memcpy): Don't use BP_SYM.
12084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12085 <bp-sym.h> and <bp-asm.h>.
12086 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12087 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12088 <bp-sym.h> and <bp-asm.h>.
12089 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12090 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12092 (__mpn_lshift): Don't use BP_SYM.
12093 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12094 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12096 (memset): Don't use BP_SYM.
12097 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12098 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12099 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12101 (__mpn_mul_1): Don't use BP_SYM.
12102 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12103 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12104 <bp-sym.h> and <bp-asm.h>.
12105 (memcmp): Don't use BP_SYM.
12106 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12107 <bp-sym.h> and <bp-asm.h>.
12108 (memcpy): Don't use BP_SYM.
12109 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12110 <bp-sym.h> and <bp-asm.h>.
12111 (memset): Don't use BP_SYM.
12112 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12113 <bp-sym.h> and <bp-asm.h>.
12114 (strncmp): Don't use BP_SYM.
12115 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12116 <bp-sym.h> and <bp-asm.h>.
12117 (memcpy): Don't use BP_SYM.
12118 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12119 <bp-sym.h> and <bp-asm.h>.
12120 (memset): Don't use BP_SYM.
12121 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12122 <bp-sym.h> and <bp-asm.h>.
12123 (__memchr): Don't use BP_SYM.
12124 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12125 <bp-sym.h> and <bp-asm.h>.
12126 (memcmp): Don't use BP_SYM.
12127 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12128 <bp-sym.h> and <bp-asm.h>.
12129 (memcpy): Don't use BP_SYM.
12130 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12131 <bp-sym.h> and <bp-asm.h>.
12132 (__mempcpy): Don't use BP_SYM.
12133 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12134 <bp-sym.h> and <bp-asm.h>.
12135 (__memrchr): Don't use BP_SYM.
12136 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12137 <bp-sym.h> and <bp-asm.h>.
12138 (memset): Don't use BP_SYM.
12139 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12140 <bp-sym.h> and <bp-asm.h>.
12141 (__rawmemchr): Don't use BP_SYM.
12142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12143 <bp-sym.h> and <bp-asm.h>.
12144 (__STRCMP): Don't use BP_SYM.
12145 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12146 <bp-sym.h> and <bp-asm.h>.
12147 (strchr): Don't use BP_SYM.
12148 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12149 <bp-sym.h> and <bp-asm.h>.
12150 (__strchrnul): Don't use BP_SYM.
12151 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12152 <bp-sym.h> and <bp-asm.h>.
12153 (strlen): Don't use BP_SYM.
12154 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12155 <bp-sym.h> and <bp-asm.h>.
12156 (strncmp): Don't use BP_SYM.
12157 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12158 <bp-sym.h> and <bp-asm.h>.
12159 (__strnlen): Don't use BP_SYM.
12160 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12162 (__mpn_rshift): Don't use BP_SYM.
12163 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12164 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12165 <bp-sym.h> and <bp-asm.h>.
12166 (__sigsetjmp): Don't use BP_SYM.
12167 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12168 (L(start_addresses)): Don't use BP_SYM.
12169 (_start): Likewise.
12170 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12172 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12173 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12174 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12175 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12177 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12178 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12179 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12180 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12182 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12184 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12185 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12187 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12189 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12190 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12191 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12193 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12195 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12197 (strncmp): Don't use BP_SYM,
12198 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12200 (__mpn_sub_n): Don't use BP_SYM.
12201 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12202 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12204 (__mpn_submul_1): Don't use BP_SYM.
12205 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12207 <bp-sym.h> and <bp-asm.h>.
12208 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12210 <bp-sym.h> and <bp-asm.h>.
12211 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12214 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12217 Use ZK to minimize writes to Z.
12218 (sub_magnitudes): Simplify code a bit.
12219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12220 Use ZK to minimize writes to Z.
12221 (sub_magnitudes): Simplify code a bit.
12223 2013-02-27 Roland McGrath <roland@hack.frob.com>
12225 * csu/gmon-start.c: Add special exception to license text.
12227 2013-02-27 Richard Henderson <rth@redhat.com>
12229 * scripts/config.guess: Update from config.git.
12230 * scripts/config.sub: Likewise.
12232 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12234 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12236 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12238 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12240 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12242 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12244 2013-02-26 Roland McGrath <roland@hack.frob.com>
12246 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12247 [$(build-shared = yes].
12249 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12251 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12252 (__mul): Reduce iterations for calculating mantissa.
12254 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12256 (__mpranred): Likewise.
12259 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12260 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12262 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12264 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12265 Define __attribute__.
12267 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12269 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12271 * posix/regex_internal.h (__attribute): Remove.
12272 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12273 (re_string_context_at): Likewise.
12274 (bitset_not): Use __attribute__ and mark function as possibly
12276 (bitset_merge): Likewise.
12277 (bitset_mask): Likewise.
12278 (re_string_char_size_at): Likewise.
12279 (re_string_wchar_at): Likewise.
12280 (re_string_elem_size_at): Likewise.
12282 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12284 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12288 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12292 (denorm): Likewise.
12293 (__dbl_mp): Likewise.
12294 (add_magnitudes): Likewise.
12295 (sub_magnitudes): Likewise.
12299 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12302 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12305 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12309 up changes with default code.
12310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12313 2013-02-24 Allan McRae <allan@archlinux.org>
12315 * manual/socket.texi (The Internet Namespace): Order menu items
12316 to match that in the file.
12318 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12319 node listing of the info page menu.
12321 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12324 * sysdeps/i386/bp-asm.h: Remove file.
12325 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12326 (PARMS): Do not use macros from bp-asm.h.
12330 (__mpn_add_n): Do not use BP_SYM
12331 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12333 (PARMS): Do not use macros from bp-asm.h.
12336 (__mpn_addmul_1): Do not use BP_SYM
12337 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12339 (PARMS): Do not use macros from bp-asm.h.
12340 (SIGMSK): Likewise.
12341 (_setjmp): Likewise. Do not use BP_SYM.
12342 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12344 (PARMS): Do not use macros from bp-asm.h.
12345 (SIGMSK): Likewise.
12346 (setjmp): Likewise. Do not use BP_SYM.
12347 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12349 (PARMS): Do not use macros from bp-asm.h.
12350 (__frexp): Do not use BP_SYM.
12352 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12354 (PARMS): Do not use macros from bp-asm.h.
12355 (__frexpf): Do not use BP_SYM.
12356 (frexpf): Likewise.
12357 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12359 (PARMS): Do not use macros from bp-asm.h.
12360 (__frexpl): Do not use BP_SYM.
12361 (frexpl): Likewise.
12362 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12364 (PARMS): Do not use macros from bp-asm.h.
12365 (__remquo): Do not use BP_SYM.
12366 (remquo): Likewise.
12367 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12369 (PARMS): Do not use macros from bp-asm.h.
12370 (__remquof): Do not use BP_SYM.
12371 (remquof): Likewise.
12372 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12374 (PARMS): Do not use macros from bp-asm.h.
12375 (__remquol): Do not use BP_SYM.
12376 (remquol): Likewise.
12377 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12379 (PARMS): Do not use macros from bp-asm.h.
12382 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12383 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12385 (PARMS): Do not use macros from bp-asm.h.
12386 (strlen): Do not use BP_SYM.
12387 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12389 (PARMS): Do not use macros from bp-asm.h.
12393 (__mpn_add_n): Do not use BP_SYM.
12394 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12396 (PARMS): Do not use macros from bp-asm.h.
12399 (__mpn_addmul_1): Do not use BP_SYM.
12400 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12403 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12405 (PARMS): Do not use macros from bp-asm.h.
12408 (__mpn_lshift): Do not use BP_SYM.
12409 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12411 (PARMS): Do not use macros from bp-asm.h.
12415 (memcpy): Likewise. Do not use BP_SYM.
12416 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12417 libc_hidden_def and weak_alias.
12418 (mempcpy): Do not use BP_SYM in weak_alias.
12419 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12421 (PARMS): Do not use macros from bp-asm.h.
12424 [!BZERO_P] (CHR): Likewise.
12425 (memset): Likewise. Do not use BP_SYM.
12426 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12428 (PARMS): Do not use macros from bp-asm.h.
12431 (__mpn_mul_1): Do not use BP_SYM.
12432 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12434 (PARMS): Do not use macros from bp-asm.h.
12437 (__mpn_rshift): Do not use BP_SYM.
12438 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12440 (PARMS): Do not use macros from bp-asm.h.
12443 (strchr): Likewise. Do not use BP_SYM.
12444 (index): Do not use BP_SYM in weak_alias.
12445 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12447 (PARMS): Do not use macros from bp-asm.h.
12450 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12451 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12453 (PARMS): Do not use macros from bp-asm.h.
12454 (strlen): Do not use BP_SYM.
12455 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12457 (PARMS): Do not use macros from bp-asm.h.
12461 (__mpn_sub_n): Do not use BP_SYM.
12462 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12464 (PARMS): Do not use macros from bp-asm.h.
12467 (__mpn_submul_1): Do not use BP_SYM.
12468 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12470 (PARMS): Do not use macros from bp-asm.h.
12474 (__mpn_add_n): Do not use BP_SYM.
12475 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12478 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12480 (PARMS): Do not use macros from bp-asm.h.
12483 (memcmp): Do not use BP_SYM.
12484 (bcmp): Do not use BP_SYM in weak_alias.
12485 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12487 (PARMS): Do not use macros from bp-asm.h.
12491 (memcpy): Likewise. Do not use BP_SYM.
12492 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12494 (PARMS): Do not use macros from bp-asm.h.
12498 (memmove): Likewise. Do not use BP_SYM.
12499 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12501 (PARMS): Do not use macros from bp-asm.h.
12505 (__mempcpy): Likewise. Do not use BP_SYM.
12506 (mempcpy): Do not use BP_SYM in weak_alias.
12507 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12509 (PARMS): Do not use macros from bp-asm.h.
12512 [!BZERO_P] (CHR): Likewise.
12513 (memset): Likewise. Do not use BP_SYM.
12514 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12516 (PARMS): Do not use macros from bp-asm.h.
12518 (strcmp): Do not use BP_SYM.
12519 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12521 (PARMS): Do not use macros from bp-asm.h.
12524 [USE_AS_STRTOK_R] (SAVE): Likewise.
12525 (FUNCTION): Likewise. Do not use BP_SYM.
12526 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12528 (strtok_r): Likewise.
12529 (__GI___strtok_r): Likewise.
12530 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12531 (PARMS): Do not use macros from bp-asm.h.
12534 (__mpn_lshift): Do not use BP_SYM.
12535 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12536 (PARMS): Do not use macros from bp-asm.h.
12539 (__memchr): Do not use BP_SYM.
12540 (memchr): Do not use BP_SYM in weak_alias.
12541 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12542 (PARMS): Do not use macros from bp-asm.h.
12545 (memcmp): Do not use BP_SYM.
12546 (bcmp): Do not use BP_SYM in weak_alias.
12547 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12548 (PARMS): Do not use macros from bp-asm.h.
12551 (__mpn_mul_1): Do not use BP_SYM.
12552 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12554 (PARMS): Do not use macros from bp-asm.h.
12557 (__rawmemchr): Do not use BP_SYM.
12558 (rawmemchr): Do not use BP_SYM in weak_alias.
12559 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12560 (PARMS): Do not use macros from bp-asm.h.
12563 (__mpn_rshift): Do not use BP_SYM.
12564 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12565 (PARMS): Do not use macros from bp-asm.h.
12566 (SIGMSK): Likewise.
12567 (__sigsetjmp): Likewise. Do not use BP_SYM.
12568 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12569 (_start): Do not use BP_SYM.
12570 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12571 (PARMS): Do not use macros from bp-asm.h.
12574 (__stpcpy): Likewise. Do not use BP_SYM.
12575 (stpcpy): Do not use BP_SYM in weak_alias.
12576 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12578 (PARMS): Do not use macros from bp-asm.h.
12582 (__stpncpy): Likewise. Do not use BP_SYM.
12583 (stpncpy): Do not use BP_SYM in weak_alias.
12584 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12585 (PARMS): Do not use macros from bp-asm.h.
12588 (strchr): Likewise. Do not use BP_SYM.
12589 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12591 (PARMS): Do not use macros from bp-asm.h.
12594 (__strchrnul): Likewise. Do not use BP_SYM.
12595 (strchrnul): Do not use BP_SYM in weak_alias.
12596 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12598 (PARMS): Do not use macros from bp-asm.h.
12600 (strcspn): Do not use BP_SYM.
12601 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12603 (PARMS): Do not use macros from bp-asm.h.
12606 (strpbrk): Likewise. Do not use BP_SYM.
12607 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12609 (PARMS): Do not use macros from bp-asm.h.
12612 (strrchr): Likewise. Do not use BP_SYM.
12613 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12614 (PARMS): Do not use macros from bp-asm.h.
12616 (strspn): Do not use BP_SYM.
12617 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12618 (PARMS): Do not use macros from bp-asm.h.
12622 (FUNCTION): Likewise. Do not use BP_SYM.
12623 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12625 (strtok_r): Likewise.
12626 (__GI___strtok_r): Likewise.
12627 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12628 (PARMS): Do not use macros from bp-asm.h.
12632 (__mpn_sub_n): Do not use BP_SYM.
12633 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12635 (PARMS): Do not use macros from bp-asm.h.
12638 (__mpn_submul_1): Do not use BP_SYM.
12639 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12641 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12643 (PARMS): Do not use macros from bp-asm.h.
12648 (__clone): Do not use BP_SYM.
12649 (clone): Do not use BP_SYM in weak_alias.
12650 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12652 (PARMS): Do not use macros from bp-asm.h.
12654 (__mmap64): Do not use BP_SYM.
12655 (mmap64): Do not use BP_SYM in weak_alias.
12656 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12657 <bp-sym.h> and <bp-asm.h>.
12658 (PARMS): Do not use macros from bp-asm.h.
12659 (__posix_fadvise64_l64): Do not use BP_SYM.
12660 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12661 (PARMS): Do not use macros from bp-asm.h.
12663 (semtimedop): Do not use BP_SYM.
12664 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12667 2013-02-21 Allan McRae <allan@archlinux.org>
12669 * manual/message.texi (Charset conversion in gettext):
12670 Move @end statement to beginning of line.
12672 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12679 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12680 (denorm): Likewise.
12681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12684 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12686 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12687 tail-call to the resolved function if pltexit isn't needed.
12689 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12692 or Y being zero as being unlikely.
12693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12696 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12698 * manual/nss.texi (System Databases and Name Service Switch):
12699 Remove frobnicate @pxref.
12701 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12703 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12704 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12706 2013-02-20 Petr Machata <pmachata@redhat.com>
12708 * elf/elf.h (R_ARM_TARGET1): New macro.
12709 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12710 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12711 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12712 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12713 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12714 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12715 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12716 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12717 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12718 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12719 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12720 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12721 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12722 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12723 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12724 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12725 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12726 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12727 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12728 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12729 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12730 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12731 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12732 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12733 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12734 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12735 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12736 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12737 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12738 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12739 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12740 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12741 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12742 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12743 (R_ARM_THM_GOT_BREL12): Likewise.
12744 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12745 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12746 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12747 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12748 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12749 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12750 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12751 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12752 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12754 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12756 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12757 __attribute_used__ to __attribute__ ((unused)).
12759 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12761 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12764 comment formatting.
12765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12767 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12770 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12772 (ENTER): Remove both macro definitions.
12774 (CHECK_BOUNDS_LOW): Likewise.
12775 (CHECK_BOUNDS_HIGH): Likewise.
12776 (CHECK_BOUNDS_BOTH): Likewise.
12777 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12778 (RETURN_BOUNDED_POINTER): Likewise.
12779 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12780 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12781 (POP_ERRNO_LOCATION_RETURN): Likewise.
12782 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12783 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12784 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12786 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12787 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12788 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12789 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12790 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12791 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12792 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12793 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12794 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12795 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12796 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12797 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12798 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12799 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12801 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12802 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12804 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12805 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12806 * sysdeps/i386/i586/memset.S (memset): Likewise.
12807 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12808 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12809 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12811 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12812 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12813 Change uses of L(2) to L(out).
12814 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12815 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12816 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12817 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12818 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12820 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12821 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12823 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12824 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12825 (RETURN): Do not use macro LEAVE.
12826 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12827 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12828 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12829 * sysdeps/i386/i686/memset.S (memset): Likewise.
12830 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12831 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12832 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12833 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12835 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12836 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12837 L(1_2) and L(1_3) into L(1).
12838 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12839 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12840 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12841 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12842 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12843 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12844 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12845 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12846 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12848 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12849 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12850 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12851 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12852 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12853 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12854 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12855 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12856 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12857 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12858 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12859 * sysdeps/i386/strspn.S (strspn): Likewise.
12860 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12862 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12863 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12864 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12865 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12866 L(1_3) into L(1_1).
12867 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12868 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12869 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12871 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12873 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12875 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12878 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12880 * math/atest-exp.c (exp_mpn): Remove ROUND.
12881 * math/atest-exp2.c (exp_mpn): Likewise.
12882 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12884 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12885 * stdlib/tst-tls-atexit-lib.c: Likewise.
12886 * stdlib/tst-tls-atexit.c: Likewise.
12888 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12890 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12891 and __attribute_alloc_size__.
12893 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12895 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12896 __attribute_alloc_size__.
12897 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12898 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12900 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12902 * include/programs/xmalloc.h: New file.
12903 * catgets/gencat.c: Include it.
12904 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12905 * elf/pldd.c: Likewise.
12906 * iconv/iconv_charmap.c: Likewise.
12907 * iconv/iconvconfig.c: Likewise.
12908 * iconv/strtab.c: Likewise.
12909 * locale/programs/locale.c: Likewise.
12910 * locale/programs/localedef.h: Likewise.
12911 * locale/programs/simple-hash.c: Likewise.
12912 * nscd/nscd.h: Likewise.
12913 * nss/makedb.c: Likewise.
12914 * sysdeps/generic/ldconfig.h: Likewise.
12916 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12918 * Versions.def: Add GLIBC_2.18.
12919 * include/link.h (struct link_map): New member l_tls_dtor_count.
12920 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12921 (__call_tls_dtors): Likewise.
12922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12923 __cxa_thread_atexit_impl.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12932 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12940 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12941 (tests): Add test case tst-tls-atexit.
12942 (modules-names): Add shared library for tst-tls-atexit.
12943 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12944 (GLIBC_PRIVATE): Add __call_tls_dtors.
12945 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12947 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12948 * stdlib/tst-tls-atexit.c: New test case.
12949 * stdlib/tst-tls-atexit-lib.c: New test case.
12951 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12953 * elf/Versions (ld): Add _dl_find_dso_for_object.
12954 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12955 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12956 (dl_open_worker): Use _dl_find_dso_for_object.
12957 * elf/dl-sym.c (do_sym): Likewise.
12958 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12960 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12962 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12963 Syntactic changes only.
12964 (_dl_runtime_profile): Do a tail-call to the resolved function.
12966 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12969 * sysdeps/x86_64/bp-asm.h: Remove file.
12970 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12971 <bp-sym.h> and <bp-asm.h>.
12972 (__clone): Do not use BP_SYM.
12973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12974 <bp-sym.h> and <bp-asm.h>.
12975 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12976 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12978 (_setjmp): Do not use BP_SYM.
12979 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12981 (setjmp): Do not use BP_SYM.
12982 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12984 (mempcpy): Do not use BP_SYM in weak_alias.
12985 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12987 (strchr): Do not use BP_SYM.
12988 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12990 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12991 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12992 (_start): Do not use BP_SYM.
12993 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12995 (strcat): Do not use BP_SYM.
12996 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12998 (STRCMP): Do not use BP_SYM.
12999 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13001 (STRCPY): Do not use BP_SYM.
13002 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13004 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13006 (FUNCTION): Do not use BP_SYM.
13007 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13009 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13011 2013-02-17 Andreas Jaeger <aj@suse.de>
13013 * time/Versions: Sort entries.
13014 * string/Versions: Likewise.
13015 * resolv/Versions: Likewise.
13016 * posix/Versions: Likewise.
13017 * iconv/Versions: Likewise.
13018 * elf/Versions: Likewise.
13019 * wcsmbs/Versions: Likewise.
13021 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13023 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13024 loop termination condition.
13026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13027 variable to calculate EZ.
13030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13031 the lower precision input.
13033 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13036 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13037 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13038 (run-via-rtld-prefix): Do not handle %-bp tests.
13039 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13040 (all-object-suffixes): Remove .ob.
13041 (bppfx): Remove variable.
13042 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13043 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13044 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13045 [$(build-bounded) = yes] (libtype.ob): Likewise.
13046 * Makerules (elide-routines.ob): Remove variable.
13047 (do-tests-clean): Do not handle *-bp.out.
13048 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13049 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13050 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13051 (tests): Do not include $(tests-bp.out).
13052 (xtests): Do not include $(xtests-bp.out).
13053 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13054 [$(build-bounded) = yes] ($(addprefix
13055 $(objpfx),$(binaries-bounded))): Remove rule.
13056 ($(objpfx)%-bp.out): Remove rule.
13057 * config.make.in (build-bounded): Remove variable.
13058 * crypt/Makefile [$(build-bounded) = yes]
13059 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13060 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13061 append to variable.
13062 [$(build-bounded) = yes] (install-lib): Likewise.
13063 [$(build-bounded) = yes] (generated): Likewise.
13064 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13066 * intl/Makefile [$(build-bounded) = yes]
13067 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13068 * math/Makefile [$(build-bounded) = yes]
13069 ($(tests:%=$(objpfx)%-bp): Likewise.
13070 * misc/Makefile [$(build-bounded) = yes]
13071 ($(objpfx)tst-tsearch-bp): Likewise.
13072 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13073 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13075 * string/Makefile (o-objects.ob): Remove variable.
13076 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13077 (CFLAGS-.ob): Remove variable.
13078 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13079 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13080 both definitions of variable.
13081 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13082 (ASFLAGS-.ob): Remove variable.
13084 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13087 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13088 Remove __BOUNDED_POINTERS__ from condition.
13089 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13090 * string/bits/string2.h [!__NO_STRING_INLINES &&
13091 !__BOUNDED_POINTERS__]: Likewise.
13092 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13094 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13095 Remove conditional code.
13096 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13097 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13098 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13102 * csu/libc-start.c: Do not include <bp-sym.h>.
13103 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13104 * elf/dl-open.c: Do not include <bp-sym.h>.
13105 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13106 * math/fegetenv.c: Do not include <bp-sym.h>.
13107 (fegetenv): Do not use BP_SYM in versioned symbols.
13108 * nptl/sysdeps/pthread/bits/libc-lockP.h
13109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13112 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13114 (__pthread_mutex_destroy): Likewise.
13115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13116 (__pthread_mutex_lock): Likewise.
13117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13118 (__pthread_mutex_trylock): Likewise.
13119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13120 (__pthread_mutex_unlock): Likewise.
13121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13122 (__pthread_mutexattr_init): Likewise.
13123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13124 (__pthread_mutexattr_destroy): Likewise.
13125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13126 (__pthread_mutexattr_settype): Likewise.
13127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13128 (__pthread_rwlock_init): Likewise.
13129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13130 (__pthread_rwlock_destroy): Likewise.
13131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13132 (__pthread_rwlock_rdlock): Likewise.
13133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13134 (__pthread_rwlock_tryrdlock): Likewise.
13135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13136 (__pthread_rwlock_wrlock): Likewise.
13137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13138 (__pthread_rwlock_trywrlock): Likewise.
13139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13140 (__pthread_rwlock_unlock): Likewise.
13141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13142 (__pthread_key_create): Likewise.
13143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13144 (__pthread_setspecific): Likewise.
13145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13146 (__pthread_getspecific): Likewise.
13147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13150 (_pthread_cleanup_push_defer): Likewise.
13151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13152 (_pthread_cleanup_pop_restore): Likewise.
13153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13154 (pthread_setcancelstate): Likewise.
13155 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13157 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13158 (memchr): Do not use BP_SYM in weak_alias.
13159 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13160 (fegetenv): Do not use BP_SYM in versioned symbols.
13161 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13162 (fesetenv): Do not use BP_SYM in versioned symbols.
13163 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13164 (feupdateenv): Do not use BP_SYM in versioned symbols.
13165 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13166 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13167 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13168 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13169 (open64): Do not use BP_SYM in weak_alias.
13170 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13171 (fegetenv): Do not use BP_SYM in versioned symbols.
13172 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13173 (fesetenv): Do not use BP_SYM in versioned symbols.
13174 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13175 (feupdateenv): Do not use BP_SYM in versioned symbols.
13176 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13177 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13178 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13179 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13180 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13181 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13182 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13184 (__libc_start_main): Do not use BP_SYM.
13186 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13189 redundant return line.
13191 (denorm): Likewise.
13192 (dbl_mp): Likewise.
13193 (sub_magnitudes): Likewise.
13199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13201 (denorm): Likewise.
13202 (dbl_mp): Likewise.
13203 (sub_magnitudes): Likewise.
13210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13212 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13213 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13216 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13217 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13219 of __mul for squares.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13224 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13225 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13227 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13230 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13232 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13233 prototype or function definition. Rename ubp_* variables and
13234 parameters. Remove argv definitions conditional on
13235 [__BOUNDED_POINTERS__].
13236 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13237 * elf/dl-runtime.c (_dl_fixup): Likewise.
13238 * include/set-hooks.h (RUN_HOOK): Likewise.
13239 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13241 * string/strcpy.c (strcpy): Do not use __unbounded.
13242 * sysdeps/generic/frame.h (struct layout): Likewise.
13243 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13244 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13245 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13246 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13247 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13248 (__backtrace): Likewise.
13249 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13251 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13252 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13253 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13255 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13256 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13257 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13258 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13259 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13260 Do not use __unbounded.
13261 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13262 Rename __unboundedrlimits parameter to rlimits in prototype.
13263 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13264 Do not use __unbounded.
13265 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13266 not use __ptrvalue.
13267 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13268 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13269 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13270 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13271 __ptrvalue or __unbounded.
13272 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13273 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13275 (__new_msgctl): Do not use __ptrvalue.
13276 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13278 (__libc_msgrcv): Do not use __ptrvalue.
13279 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13280 startup_info): Do not use __unbounded.
13281 (__libc_start_main): Likewise. Rename ubp_* variables and
13282 parameters. Remove argv definitions conditional on
13283 [__BOUNDED_POINTERS__].
13284 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13286 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13288 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13290 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13292 (__new_shmctl): Do not use __ptrvalue.
13293 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13294 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13296 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13298 (__libc_sigaction): Likewise.
13299 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13302 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13304 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13306 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13308 * string/mempcpy.c: Implement by calling memcpy.
13310 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13317 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13318 values in the mantissa.
13320 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13321 minimize writes to Z.
13322 (sub_magnitudes): Simplify code a bit.
13324 2013-02-12 Roland McGrath <roland@hack.frob.com>
13326 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13327 from the message. The linker prefixes all warnings with that already.
13329 2013-02-12 Andreas Schwab <schwab@suse.de>
13332 * posix/regexec.c (extend_buffers): Add parameter min_len.
13333 (check_matching): Pass minimum needed length.
13334 (clean_state_log_if_needed): Likewise.
13335 (get_subexp): Likewise.
13336 * posix/Makefile (tests): Add bug-regex34.
13337 (bug-regex34-ENV): Define.
13338 * posix/bug-regex34.c: New file.
13341 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13342 elements compare against the byte sequence of it, not its name.
13343 * posix/Makefile (tests): Add bug-regex35.
13344 (bug-regex35-ENV): Define.
13345 * posix/bug-regex35.c: New file.
13347 2013-02-11 Tom de Vries <tom@codesourcery.com>
13349 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13351 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13352 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13353 (CHECK_EOL): Add undef.
13355 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13357 * bits/stdlib-bsearch.h: New file.
13358 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13359 * stdlib/stdlib.h: Likewise.
13361 2013-02-11 Roland McGrath <roland@hack.frob.com>
13363 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13364 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13366 * manual/search.texi (Array Search Function): Add missing const in
13368 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13369 declaration to use rlim_t.
13370 (Basic Scheduling Functions): Remove erroneous const from
13371 sched_getparam prototype. Remove erroneous * from
13372 sched_get_priority_max and sched_get_priority_min prototypes.
13373 (Resource Usage): Fix summary @comment on vtimes to refer to
13374 sys/vtimes.h rather than vtimes.h.
13375 Add missing *s in vtimes prototype.
13376 (Limits on Resources): Fix ulimit prototype to return long int.
13377 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13378 prototypes to use long int rather than double.
13379 (BSD Random): Fix initstate and setstate to use char *, not void *.
13380 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13381 prototype to make second argument 'struct aiocb64 *const[]'.
13382 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13383 (Status of AIO Operations): Remove erroneous const in aio_return and
13384 aio_return64 prototypes.
13385 (Synchronizing I/O): Fix sync prototype to return void.
13386 * manual/startup.texi (Suboptions): Remove an erroneous const in
13387 getsubopt prototype.
13388 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13389 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13390 use size_t rather than int.
13391 (Scanning All Users): Likewise for getpwent_r.
13392 (Setting Groups): Add missing const to setgroups prototype.
13393 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13394 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13395 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13396 'const void *' rather than 'const char *'.
13397 (Host Address Functions): Likewise for inet_ntop.
13398 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13399 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13400 ssize_t for return value.
13401 (Sending Data): Likewise for send, sendto, sendmsg.
13402 (Socket Option Functions): Add a missing const in setsockopt prototype.
13403 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13404 use wchar_t for the argument.
13405 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13406 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13408 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13409 double/float/long double for second argument.
13410 Fix return types of significand, significandf, significandl.
13411 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13412 argument in fchmod prototype.
13413 (File Owner): Use uid_t and gid_t in fchown prototype.
13414 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13415 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13416 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13417 use 'const struct dirent **' as argument types to CMP function pointer
13419 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13420 (File Times): Fix summary magic @comment for struct utimbuf and utime
13421 to refer to utime.h, not time.h.
13422 * manual/string.texi (Argz Functions): Add missing const in
13423 argz_extract and argz_next prototypes.
13424 (Finding Tokens in a String): Likewise for basename.
13425 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13426 (Copying and Concatenation): Fix typo in wmemmove prototype.
13427 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13428 (Signal Stack): Remove erroneous const in sigstack prototype.
13429 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13431 (Simple Calendar Time): Likewise for stime.
13432 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13434 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13435 say sys/sysctl.h instead.
13436 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13437 and vsyslog prototypes.
13439 2013-02-11 Tom de Vries <tom@codesourcery.com>
13441 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13444 2013-02-11 Roland McGrath <roland@hack.frob.com>
13446 * misc/sys/mman.h: Fix typo in mremap comment.
13448 2013-02-08 Roland McGrath <roland@hack.frob.com>
13450 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13451 the '\0' terminator.
13453 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13456 * debug/segfault.c: Don't include <bp-checks.h>.
13457 * sysdeps/generic/bp-checks.h: Remove file.
13458 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13459 (__GETDENTS): Don't use CHECK_N.
13460 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13461 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13462 (__getgroups): Don't use CHECK_N.
13463 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13464 (setgroups): Don't use CHECK_N.
13465 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13466 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13467 (__libc_msgrcv): Don't use CHECK_N.
13468 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13469 (__libc_msgsnd): Don't use CHECK_N.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13472 (__libc_pread): Don't use CHECK_N.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13474 include <bp-checks.h>.
13475 (__libc_pread64): Don't use CHECK_N.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13477 include <bp-checks.h>.
13478 (__libc_pwrite): Don't use CHECK_N.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13480 include <bp-checks.h>.
13481 (__libc_pwrite64): Don't use CHECK_N.
13482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13484 (__libc_pread): Don't use CHECK_N.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13486 include <bp-checks.h>.
13487 (__libc_pread64): Don't use CHECK_N.
13488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13489 include <bp-checks.h>.
13490 (__libc_pwrite): Don't use CHECK_N.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13492 include <bp-checks.h>.
13493 (__libc_pwrite64): Don't use CHECK_N.
13494 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13495 (do_pread): Don't use CHECK_N.
13496 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13497 (do_pread64): Don't use CHECK_N.
13498 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13499 (do_pwrite): Don't use CHECK_N.
13500 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13501 (do_pwrite64): Don't use CHECK_N.
13502 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13503 (__libc_readv): Don't use CHECK_N.
13504 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13505 (semop): Don't use CHECK_N.
13506 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13508 (semtimedop): Don't use CHECK_N.
13509 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13510 (__libc_pread): Don't use CHECK_N.
13511 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13513 (__libc_pread64): Don't use CHECK_N.
13514 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13516 (__libc_pwrite): Don't use CHECK_N.
13517 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13519 (__libc_pwrite64): Don't use CHECK_N.
13520 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13522 (__libc_msgrcv): Don't use CHECK_N.
13523 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13524 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13525 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13526 (__libc_writev): Don't use CHECK_N.
13528 2013-02-08 Roland McGrath <roland@hack.frob.com>
13530 * string/strcpy.c: Removed unused variable.
13532 * Makeconfig (+sysdep-includes): Define with := rather than =.
13533 Use an existing include/ subdir of each sysdeps dir before it.
13535 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13537 * nscd/connection.c (register_traced_file): Comment function.
13538 [HAVE_INOTIFY] (union __inev): Define.
13539 [HAVE_INOTIFY] (inotify_check_files): New function.
13540 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13541 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13543 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13545 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13547 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13548 loaded if not already and that a failure is permanent.
13550 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13553 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13554 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13556 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13559 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13560 (CHECK_1_NULL_OK): Likewise.
13561 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13562 (__fxstat): Do not use CHECK_1.
13563 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13565 (___fxstat64): Do not use CHECK_1.
13566 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13568 (__fxstatat): Do not use CHECK_1.
13569 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13571 (__fxstatat64): Do not use CHECK_1.
13572 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13574 (__fxstat): Do not use CHECK_1.
13575 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13577 (__fxstatat): Do not use CHECK_1.
13578 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13580 (__getresgid): Do not use CHECK_1.
13581 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13583 (__getresuid): Do not use CHECK_1.
13584 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13586 (__lxstat): Do not use CHECK_1.
13587 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13589 (__old_msgctl): Do not use CHECK_1.
13590 (__new_msgctl): Likewise.
13591 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13593 (__new_setrlimit): Do not use CHECK_1.
13594 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13596 (__old_shmctl): Do not use CHECK_1.
13597 (__new_shmctl): Likewise.
13598 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13600 (__xstat): Do not use CHECK_1.
13601 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13602 (__lxstat): Do not use CHECK_1.
13603 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13605 (___lxstat64): Do not use CHECK_1.
13606 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13607 (__old_msgctl): Do not use CHECK_1.
13608 (__new_msgctl): Likewise.
13609 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13611 (__gettimeofday): Do not use CHECK_1.
13612 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13613 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13614 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13616 (__gettimeofday): Do not use CHECK_1.
13617 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13618 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13619 (__new_shmctl): Do not use CHECK_1.
13620 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13622 (do_sigtimedwait): Do not use CHECK_1.
13623 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13625 (do_sigwaitinfo): Do not use CHECK_1.
13626 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13628 (msgctl): Do not use CHECK_1.
13629 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13631 (shmctl): Do not use CHECK_1.
13632 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13633 (ustat): Do not use CHECK_1.
13634 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13636 (__fxstat): Do not use CHECK_1.
13637 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13639 (__fxstatat): Do not use CHECK_1.
13640 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13642 (__lxstat): Do not use CHECK_1.
13643 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13645 (__xstat): Do not use CHECK_1.
13646 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13647 (__xstat): Do not use CHECK_1.
13648 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13649 (___xstat64): Do not use CHECK_1.
13652 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13654 (CHECK_BOUNDS_HIGH): Likewise.
13655 * string/strcpy.c: Do not include <bp-checks.h>.
13656 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13658 2013-02-07 Roland McGrath <roland@hack.frob.com>
13660 * nscd/nscd-client.h (__nscd_drop_map_ref):
13661 Add __attribute__ ((unused)).
13662 * nis/nss-nisplus.h (niserr2nss): Likewise.
13664 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13665 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13667 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13668 Remove inline keyword.
13669 * include/rounding-mode.h (round_away): Likewise.
13670 * libio/wfileops.c (adjust_wide_data): Likewise.
13671 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13672 (__m128i_strloadu_tolower): Likewise.
13673 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13674 (__m128i_strloadu_tolower): Likewise.
13675 * time/mktime.c (ydhms_diff): Likewise.
13676 * locale/elem-hash.h (elem_hash): Likewise.
13677 * locale/setlocale.c (setdata): Likewise.
13678 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13679 (re_string_wchar_at): Likewise.
13680 (bitset_not, bitset_merge, bitset_mask): Likewise.
13681 [!(__GNUC__ > 3)] (inline): Remove macro.
13682 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13683 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13684 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13685 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13686 * string/memcmp.c (memcmp_bytes): Likewise.
13687 * locale/programs/locarchive.c (compute_hashval): Likewise.
13688 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13689 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13690 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13691 * nss/getent.c (print_rpc, print_protocols): Likewise.
13692 (print_passwd, print_group, print_aliases): Likewise.
13693 * nis/nss-nisplus.h (niserr2nss): Likewise.
13694 * nscd/connections.c (restart_p): Likewise.
13695 Change return type to bool.
13697 2013-02-05 Roland McGrath <roland@hack.frob.com>
13699 * Makeconfig (all-Depend-files): Add existing
13700 $(sorted-subdirs:=/Depend) files.
13701 (all-subdirs): Remove nss.
13702 * sysdeps/unix/inet/Subdirs: Add it here instead.
13703 * hesiod/Depend: New file.
13705 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13706 instead of calling alloca.
13708 * io/lseek.c (__lseek): Rename to __libc_lseek.
13709 Define __lseek as an alias.
13711 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13713 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13715 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13716 else clause and remove check for non-standard endianness.
13718 2013-02-04 David S. Miller <davem@davemloft.net>
13720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13722 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13725 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13726 (__ubp_memchr): Remove prototype.
13727 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13728 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13729 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13730 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13731 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13733 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13734 (__ubp_memchr): Likewise.
13735 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13736 (__ubp_memchr): Likewise.
13737 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13738 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13739 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13740 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13742 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13743 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13744 (__getcwd): Do not use CHECK_STRING.
13745 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13747 (__real_chown): Do not use CHECK_STRING.
13748 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13750 (fchownat): Do not use CHECK_STRING.
13751 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13753 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13755 (__lchown): Do not use CHECK_STRING.
13756 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13757 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13758 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13759 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13761 include <bp-checks.h>.
13762 (truncate64): Do not use CHECK_STRING.
13763 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13765 (__real_chown): Do not use CHECK_STRING.
13766 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13768 (__lchown): Do not use CHECK_STRING.
13769 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13771 (__chown): Do not use CHECK_STRING.
13772 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13774 (truncate64): Do not use CHECK_STRING.
13775 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13777 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13778 (__xmknod): Do not use CHECK_STRING.
13779 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13781 (__xmknodat): Do not use CHECK_STRING.
13782 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13783 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13785 2013-02-04 Andreas Schwab <schwab@suse.de>
13788 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13789 * include/netdb.h: Likewise for h_errno.
13790 * elf/tst-stackguard1.c: Include <tls.h>.
13792 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13794 * elf/link.h (struct link_map): Extend the l_addr comment.
13795 * include/link.h (struct link_map): Likewise.
13797 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13800 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13801 (BOUNDED_1): Remove macro.
13802 * debug/backtrace.c: Don't include <bp-checks.h>.
13803 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13804 (__backtrace): Likewise.
13805 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13807 (__backtrace): Don't use BOUNDED_1.
13808 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13810 (__backtrace): Don't use BOUNDED_1.
13811 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13812 (__backtrace): Don't use BOUNDED_1.
13813 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13814 (shmat): Don't use BOUNDED_N.
13816 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13819 * sysdeps/generic/bp-start.h: Remove file.
13820 * csu/libc-start.c: Don't include <bp-start.h>.
13821 (LIBC_START_MAIN): Set up __environ directly instead of using
13822 INIT_ARGV_and_ENVIRON.
13823 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13827 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13829 (CHECK_FCNTL): Likewise.
13830 (CHECK_N_PAGES): Likewise.
13833 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13835 (CHECK_SIGSET_NULL_OK): Likewise.
13836 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13838 (sigpending): Don't use CHECK_SIGSET.
13839 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13841 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13842 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13844 (do_sigsuspend): Don't use CHECK_SIGSET.
13845 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13847 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13848 (do_sigwait): Don't use CHECK_SIGSET.
13849 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13851 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13852 include <bp-checks.h>.
13853 (sigpending): Don't use CHECK_SIGSET.
13854 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13855 include <bp-checks.h>.
13856 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13857 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13859 (sigpending): Don't use CHECK_SIGSET.
13860 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13862 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13865 * sysdeps/generic/bp-semctl.h: Remove file.
13866 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13867 <bp-checks.h> and <bp-semctl.h>.
13868 (__old_semctl): Don't use CHECK_SEMCTL.
13869 (__new_semctl): Likewise.
13870 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13872 (__old_semctl): Don't use CHECK_SEMCTL.
13873 (__new_semctl): Likewise.
13874 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13875 <bp-checks.h> and <bp-semctl.h>.
13876 (__old_semctl): Don't use CHECK_SEMCTL.
13877 (__new_semctl): Likewise.
13878 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13879 <bp-checks.h> and <bp-semctl.h>.
13880 (semctl): Don't use CHECK_SEMCTL.
13883 * Makerules (elide-bp-thunks): Remove variable.
13884 (elide-routines.oS): Don't use $(elide-bp-thunks).
13885 (elide-routines.os): Likewise.
13886 (elide-routines.o): Likewise.
13887 (elide-routines.op): Likewise.
13888 (elide-routines.og): Likewise.
13889 (objects): Don't use $(bp-thunks).
13890 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13892 (common-generated): Do not add s-proto-bp.d.
13893 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13896 Do not generate makefile rules for bounded-pointer thunks.
13897 * sysdeps/generic/bp-thunks.h: Remove file.
13898 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13899 * sysdeps/unix/s-proto-bp.S: Likewise.
13902 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13903 parts of result separately when argument is not close to line from
13904 -i to i and one part of argument is small.
13905 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13906 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13907 * math/libm-test.inc (cacos_test): Add more tests.
13908 (casin_test): Likewise.
13909 (casinh_test): Likewise.
13910 * sysdeps/i386/fpu/libm-test-ulps: Update.
13911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13913 2013-01-31 David S. Miller <davem@davemloft.net>
13915 * po/de.po: Update from translation team.
13917 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13919 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13921 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13923 * configure.in (_AC_PROG_CC_C89): New definition.
13924 * configure: Regenerate.
13926 * configure.in (AC_PROG_CPP): New definition.
13927 * configure: Regenerate.
13929 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13931 * debug/tst-backtrace.h: New file.
13932 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13933 (ret): Remove variable.
13935 (FAIL): Remove macro.
13936 (NO_INLINE): Likewise.
13937 (fn1): Use match function instead of strstr.
13938 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13939 (ret): Remove variable.
13941 (FAIL): Remove macro.
13942 (NO_INLINE): Likewise.
13943 (fn): Use match function instead of strstr.
13944 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13945 (ret): Remove variable.
13947 (FAIL): Remove macro.
13948 (NO_INLINE): Likewise.
13949 (handle_signal): Use match function instead of strstr.
13950 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13951 (ret): Remove variable.
13953 (FAIL): Remove macro.
13954 (NO_INLINE): Likewise.
13955 (handle_signal): Use match function instead of strstr.
13957 2013-01-23 Roland McGrath <roland@hack.frob.com>
13959 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13961 2013-01-23 David S. Miller <davem@davemloft.net>
13963 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13964 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13965 argument of CAS if possible.
13966 * sysdeps/sparc/sparc64/bits/atomic.h
13967 (__arch_compare_and_exchange_val_32_acq): Likewise.
13968 (__arch_compare_and_exchange_val_64_acq): Likewise.
13970 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13972 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13973 * sysdeps/posix/ulimit.c: ... this.
13974 Include <limits.h>.
13975 * sysdeps/unix/bsd/ulimit.c: Remove file.
13977 2013-01-23 Adam Conrad <adconrad@0c3.net>
13979 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13980 (LDFLAGS-tst-array5): Likewise.
13982 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13985 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13986 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13987 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13988 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13990 2013-01-21 David S. Miller <davem@davemloft.net>
13992 * sysdeps/sparc/backtrace.c: New file.
13993 * sysdeps/sparc/sparc32/backtrace.h: New file.
13994 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13995 * sysdeps/sparc/sparc64/backtrace.h: New file.
13996 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13997 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14000 2013-01-21 Andreas Schwab <schwab@suse.de>
14003 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14006 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14012 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14013 Mark Mitchell <mark@codesourcery.com>
14014 Tom de Vries <tom@codesourcery.com>
14015 Paul Pluzhnikov <ppluzhnikov@google.com>
14017 * debug/tst-backtrace2.c: New file.
14018 * debug/tst-backtrace3.c: Likewise.
14019 * debug/tst-backtrace4.c: Likewise.
14020 * debug/tst-backtrace5.c: Likewise.
14021 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14022 (CFLAGS-tst-backtrace3.c): Likewise.
14023 (CFLAGS-tst-backtrace4.c): Likewise.
14024 (CFLAGS-tst-backtrace5.c): Likewise.
14025 (LDFLAGS-tst-backtrace2): Likewise.
14026 (LDFLAGS-tst-backtrace3): Likewise.
14027 (LDFLAGS-tst-backtrace4): Likewise.
14028 (LDFLAGS-tst-backtrace5): Likewise.
14029 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14030 tst-backtrace4 and tst-backtrace5.
14032 2013-01-18 Anton Blanchard <anton@samba.org>
14033 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14035 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14036 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14037 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14038 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14040 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14041 "+r" and remove output regs list as redundant. Add explicit inline
14042 asm to specify register of return val to work around compiler codegen
14043 bug. Remove (int) cast on return value. Add return type parameter to
14044 use in macro so that this macro does not truncate return value for
14046 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14047 pass to INTERNAL_VSYSCALL_NCS.
14048 (INLINE_VSYSCALL): Add 'long int' as return type to
14049 INTERNAL_VSYSCALL_NCS macro invocation.
14050 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14051 INTERNAL_VSYSCALL_NCS macro invocation.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14054 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14057 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14058 Fix application of SIMD FP exception mask.
14060 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14061 mp_no from a power of two.
14062 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14063 __mpexp_twomm1. Use __pow_mp.
14065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14068 2013-01-17 David S. Miller <davem@davemloft.net>
14070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14072 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14075 * include/complex.h: Condition contents on [!_COMPLEX_H].
14076 (__kernel_casinhf): New prototype.
14077 (__kernel_casinh): Likewise.
14078 (__kernel_casinhl): Likewise.
14079 * math/Makefile (libm_calls): Add k_casinh.
14080 * math/k_casinh.c: New file.
14081 * math/k_casinhf.c: Likewise.
14082 * math/k_casinhl.c: Likewise.
14083 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14084 finite nonzero arguments.
14085 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14086 finite nonzero arguments.
14087 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14088 finite nonzero arguments.
14089 * math/s_casinh.c: Do not include <float.h>.
14090 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14091 * math/s_casinhf.c: Do not include <float.h>.
14092 (__casinhf): Move code for finite nonzero arguments to
14094 * math/s_casinhl.c: Do not include <float.h>.
14095 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14097 (__casinhl): Move code for finite nonzero arguments to
14099 * math/libm-test.inc (cacos_test): Add more tests.
14100 * sysdeps/i386/fpu/libm-test-ulps: Update.
14101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14103 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14105 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14106 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14107 [!HAVE_MREMAP]: Remove [defined linux] case.
14108 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14110 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14112 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14114 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14116 * elf/elf.h (R_386_SIZE32): New relocation.
14117 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14119 (elf_machine_rela): Likewise.
14120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14121 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14123 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14125 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14126 (FP_FAST_FMA): Do not define.
14127 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14128 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14129 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14130 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14131 !_SOFT_FLOAT]: Likewise.
14132 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14135 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14136 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14137 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14138 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14139 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14140 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14143 2013-01-16 Andreas Schwab <schwab@suse.de>
14146 * include/stdlib.h (__mktemp): Add declaration.
14147 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14148 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14150 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14152 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14154 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14155 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14156 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14158 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14159 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14163 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14164 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14167 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14168 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14170 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14172 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14174 2013-01-15 David S. Miller <davem@davemloft.net>
14176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14177 trunc{,f} to libm-sysdep_routes.
14178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14188 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14189 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14190 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14191 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14192 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14193 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14196 nearbyint{,f} to libm-sysdep_routes.
14197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14210 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14211 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14214 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14215 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14217 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14218 libc_feholdexcept and libc_fesetenv.
14220 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14222 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14224 2013-01-14 David S. Miller <davem@davemloft.net>
14226 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14227 (SPARC_ASM_VIS2_IFUNC): Likewise.
14228 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14230 use of 'siam' instruction.
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14264 routines to libm-sysdep_routines.
14265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14268 fdim/fdimf to libm-sysdep_routines.
14269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14277 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14278 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14279 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14280 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14282 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14285 to optimize copies.
14287 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14292 local variable MPTWO.
14293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14296 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14298 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14301 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14303 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14305 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14307 * manual/pattern.texi (glob_t): Document gl_flags.
14308 (glob64_t): Likewise.
14310 2013-01-11 David S. Miller <davem@davemloft.net>
14312 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14313 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14314 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14315 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14316 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14317 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14318 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14319 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14320 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14321 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14322 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14323 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14324 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14326 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14327 sparc V9 rather than using V8 code.
14328 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14329 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14331 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14333 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14336 2013-01-11 Roland McGrath <roland@hack.frob.com>
14338 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14339 not in the main loop.
14340 * configure: Regenerated.
14342 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14344 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14345 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14347 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14348 [!__GLIBC_HAVE_LONG_LONG] case.
14349 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14350 condition to just #else.
14351 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14352 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14353 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14354 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14356 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14357 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14358 #elif condition to just #else.
14359 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14360 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14361 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14362 #elif condition to just #else.
14364 2013-01-11 Steve Ellcey <sellcey@mips.com>
14366 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14367 (EF_MIPS_ARCH_64): Fix value.
14368 (EF_MIPS_ARCH_32R2): New.
14369 (EF_MIPS_ARCH_64R2): New.
14371 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14373 * Makeconfig (+link-pie-before-libc): New.
14374 (+link-pie-after-libc): Likewise.
14375 (+link-pie-tests): Likewise.
14376 (+link-pie): Rewritten.
14377 (link-before-libc): Remove $(config-LDFLAGS).
14378 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14379 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14380 (config-LDFLAGS): Renamed to ...
14381 (rtld-LDFLAGS): This.
14382 (rtld-tests-LDFLAGS): New macro.
14383 (link-libc-rpath-link): Likewise.
14384 (link-libc-tests-rpath-link): Likewise.
14385 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14386 (link-libc): Prepand $(link-libc-rpath-link).
14387 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14388 (test-program-prefix): New macro.
14389 (test-via-rtld-prefix): Likewise.
14390 (test-program-cmd): Likewise.
14391 (host-test-program-cmd): Likewise.
14392 * Makefile ($(common-objpfx)testrun.sh): Replace
14393 $(run-program-prefix) with $(test-program-prefix).
14394 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14396 ($(common-objpfx)shlib.lds): Likewise.
14397 (build-module-helper): Likewise.
14398 ($(common-objpfx)format.lds): Likewise.
14399 * Rules (binaries-pie-tests): New.
14400 (binaries-pie-notests): Likewise.
14401 (binaries-pie): Rewritten.
14402 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14403 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14404 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14405 (make-test-out): Replace $(host-built-program-cmd) with
14406 $(host-test-program-cmd).
14407 * config.make.in (build-hardcoded-path-in-tests): New variable.
14408 * configure.in (--enable-hardcoded-path-in-tests): New configure
14410 (hardcoded_path_in_tests): New AC_SUBST.
14411 * configure: Regenerated.
14412 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14413 $(built-program-cmd) with $(test-program-cmd).
14414 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14415 (test_program_cmd): This.
14416 * elf/Makefile ($(objpfx)order.out): Run test with
14417 $(test-program-prefix).
14418 ($(objpfx)order2.out): Likewise.
14419 ($(objpfx)tst-initorder.out): Likewise.
14420 ($(objpfx)tst-initorder2.out): Likewise.
14421 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14422 $(test-program-cmd).
14423 ($(objpfx)tst-array1-static.out): Likewise.
14424 ($(objpfx)tst-array2.out): Likewise.
14425 ($(objpfx)tst-array3.out): Likewise.
14426 ($(objpfx)tst-array4.out): Likewise.
14427 ($(objpfx)tst-array5.out): Likewise.
14428 ($(objpfx)tst-array5-static.out): Likewise.
14429 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14430 $(test-program-cmd).
14431 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14432 $(run-program-prefix) with $(test-program-prefix).
14433 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14434 (test_program_prefix): This.
14435 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14436 $(run-program-prefix) with $(test-program-prefix).
14437 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14438 (test_program_prefix): This.
14439 * iconvdata/tst-tables.sh: Likewise.
14440 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14441 $(run-program-prefix) with $(test-program-prefix).
14442 ($(objpfx)tst-translit.out): Likewise.
14443 ($(objpfx)tst-gettext2.out): Likewise.
14444 ($(objpfx)tst-gettext4.out): Likewise.
14445 ($(objpfx)tst-gettext6.out): Likewise.
14446 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14447 (test_program_prefix): This.
14448 * intl/tst-gettext2.sh: Likewise.
14449 * intl/tst-gettext4.sh Likewise.
14450 * intl/tst-gettext6.sh: Likewise.
14451 * intl/tst-translit.sh: Likewise.
14452 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14453 with $(test-program-cmd).
14454 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14455 $(run-program-prefix) with $(test-program-prefix).
14456 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14457 (test_program_prefix): This.
14458 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14459 $(run-program-prefix) with $(test-program-prefix).
14460 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14461 (test_program_prefix): This.
14462 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14463 * posix/Makefile ($(objpfx)globtest.out): Replace
14464 $(run-via-rtld-prefix) and $(test-wrapper) with
14465 $(test-program-prefix) and $(test-via-rtld-prefix).
14466 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14467 $(test-program-prefix).
14468 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14469 $(host-test-program-cmd).
14470 (tst-spawn-ARGS): Likewise.
14471 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14472 $(test-program-prefix).
14473 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14474 (test_via_rtld_prefix): This.
14475 (test_wrapper): Renamed to ...
14476 (test_program_prefix): This.
14477 (run_program_prefix): Replaced by test_program_prefix.
14478 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14479 (test_program_prefix): This.
14480 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14481 with $(host-test-program-cmd).
14482 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14483 $(run-program-prefix) with $(test-program-prefix).
14484 ($(objpfx)tst-printf.out): Likewise.
14485 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14486 $(test-program-cmd).
14487 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14488 (test_program_prefix): This.
14489 * stdio-common/tst-unbputc.sh: Likewise.
14490 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14491 $(run-program-prefix) with $(test-program-prefix).
14492 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14493 (test_program_prefix): This.
14494 * string/Makefile ($(objpfx)tst-svc.out): Replace
14495 $(built-program-cmd) with $(test-program-cmd).
14497 2013-01-11 Andreas Jaeger <aj@suse.de>
14500 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14501 value. Sync with Linux 3.7.
14503 2013-01-10 David S. Miller <davem@davemloft.net>
14505 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14506 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14507 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14509 2013-01-10 Roland McGrath <roland@hack.frob.com>
14511 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14513 * configure: Regenerated.
14515 2013-01-10 David S. Miller <davem@davemloft.net>
14517 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14518 sparc V9 rather than using V8 code.
14519 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14520 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14522 2013-01-10 Roland McGrath <roland@hack.frob.com>
14524 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14525 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14526 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14527 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14528 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14529 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14530 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14531 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14532 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14533 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14534 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14535 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14536 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14537 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14538 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14539 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14540 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14541 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14542 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14543 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14544 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14545 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14546 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14547 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14548 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14549 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14550 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14552 2013-01-10 David S. Miller <davem@davemloft.net>
14554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14556 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14558 * posix/Makefile (tests-static): New variable.
14559 (tests): Add $(tests-static).
14560 (tst-exec-static-ARGS): New variable.
14561 (tst-spawn-static-ARGS): Likewise.
14562 * posix/tst-exec-static.c: New file.
14563 * posix/tst-spawn-static.c: Likewise.
14564 * posix/tst-exec.c: Support run directly.
14565 * posix/tst-spawn.c: Likewise.
14567 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14569 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14571 * math/bits/mathcalls.h (llrint): Likewise.
14572 (llround): Likewise.
14573 * stdlib/stdlib.h (struct drand48_data): Likewise.
14574 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14575 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14576 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14578 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14580 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14581 (elf_greg_t): Likewise.
14582 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14583 (__jmp_buf): Likewise.
14584 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14586 (llrint): Likewise, for all definitions.
14587 (llrintl): Likewise.
14589 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14590 Remove [__GNUC__] condition.
14591 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14592 condition to just [__USE_ISOC99].
14593 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14595 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14598 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14599 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14601 (_POSIX_V6_ILP32_OFF32): Likewise.
14602 (_XBS5_ILP32_OFF32): Likewise.
14603 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14604 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14606 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14608 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14611 doubles __mpexp_twomm1. Adjust usage.
14612 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14615 2013-01-10 Andreas Schwab <schwab@suse.de>
14618 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14619 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14621 2013-01-09 David S. Miller <davem@davemloft.net>
14624 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14625 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14626 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14627 TCP_FASTOPEN): Define.
14628 (tcp_repair_opt): New structure.
14629 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14631 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14632 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14633 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14634 (tcp_cookie_transactions): New structure.
14636 2013-01-09 Anton Blanchard <anton@samba.org>
14638 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14639 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14641 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14643 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14645 * include/features.h (__USE_ANSI): Remove.
14647 2013-01-09 Roland McGrath <roland@hack.frob.com>
14649 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14651 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14653 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14655 * sysdeps/s390/fpu/libm-test-ulps: Update.
14657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14659 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14663 (denorm): Likewise.
14664 (__mp_dbl): Likewise.
14665 (__dbl_mp): Likewise.
14666 (add_magnitudes): Likewise.
14667 (sub_magnitudes): Likewise.
14673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14677 (denorm): Likewise.
14678 (__mp_dbl): Likewise.
14679 (__dbl_mp): Likewise.
14680 (add_magnitudes): Likewise.
14681 (sub_magnitudes): Likewise.
14687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14691 (denorm): Likewise.
14692 (__mp_dbl): Likewise.
14693 (__dbl_mp): Likewise.
14694 (add_magnitudes): Likewise.
14695 (sub_magnitudes): Likewise.
14702 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14704 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14705 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14706 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14707 2 && __USE_EXTERN_INLINES]: Likewise.
14709 2013-01-08 Andreas Jaeger <aj@suse.de>
14712 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14714 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14715 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14717 2013-01-07 Anton Blanchard <anton@samba.org>
14719 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14720 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14721 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14722 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14723 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14725 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14726 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14728 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14729 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14730 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14731 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14732 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14733 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14734 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14736 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14737 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14738 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14739 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14741 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14742 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14743 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14744 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14745 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14746 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14748 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14749 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14751 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14752 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14753 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14754 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14755 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14757 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14758 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14759 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14760 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14761 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14763 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14765 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14766 (__MALLOC_PMT): Likewise.
14767 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14768 [__GNUC__], only on [_LIBC].
14769 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14770 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14771 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14772 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14773 forward declaration.
14774 (realloc_hook_ini): Likewise.
14775 (memalign_hook_ini): Likewise.
14776 (__libc_memalign): Do not use __MALLOC_PMT in variable
14778 (__libc_valloc): Likewise.
14779 (__libc_pvalloc): Likewise.
14780 (__libc_calloc): Likewise.
14781 (__posix_memalign): Likewise.
14784 * math/s_casinh.c: Include <float.h>.
14785 (__casinh): Do not do computation with squaring and square root
14786 for large arguments.
14787 * math/s_casinhf.c: Include <float.h>.
14788 (__casinhf): Do not do computation with squaring and square root
14789 for large arguments.
14790 * math/s_casinhl.c: Include <float.h>.
14791 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14792 (__casinhl): Do not do computation with squaring and square root
14793 for large arguments.
14794 * math/libm-test.inc (casin_test): Add more tests.
14795 (casinh_test): Likewise.
14796 * sysdeps/i386/fpu/libm-test-ulps: Update.
14797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14799 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14801 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14802 (__x86_64_raw_data_cache_size): Likewise.
14803 (__x86_64_data_cache_size_half): Likewise.
14804 (__x86_64_raw_data_cache_size_half): Likewise.
14805 (__x86_64_shared_cache_size): Likewise.
14806 (__x86_64_raw_shared_cache_size): Likewise.
14807 (__x86_64_shared_cache_size_half): Likewise.
14808 (__x86_64_raw_shared_cache_size_half): Likewise.
14809 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14811 (__x86_data_cache_size): This.
14812 (__x86_64_raw_data_cache_size): Renamed to ...
14813 (__x86_raw_data_cache_size): This.
14814 (__x86_64_data_cache_size_half): Renamed to ...
14815 (__x86_data_cache_size_half): This.
14816 (__x86_64_raw_data_cache_size_half): Renamed to ...
14817 (__x86_raw_data_cache_size_half): This.
14818 (__x86_64_shared_cache_size): Renamed to ...
14819 (__x86_shared_cache_size): This.
14820 (__x86_64_raw_shared_cache_size): Renamed to ...
14821 (__x86_raw_shared_cache_size): This.
14822 (__x86_64_shared_cache_size_half): Renamed to ...
14823 (__x86_shared_cache_size_half): This.
14824 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14825 (__x86_raw_shared_cache_size_half): This.
14826 * sysdeps/x86_64/memcpy.S: Updated.
14827 * sysdeps/x86_64/memset.S: Likewise.
14828 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14829 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14830 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14832 2013-01-04 David S. Miller <davem@davemloft.net>
14834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14836 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14838 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14839 1 to avoid redefinition warning.
14840 (__USE_GNU): Don't define.
14841 (init_signaling_nan): Protoize.
14843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14845 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14847 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14849 (__cpymn): Likewise.
14850 (norm): Remove commented code.
14851 (denorm): Likewise.
14852 (__mp_dbl): Likewise.
14854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14855 (__cpymn): Likewise.
14856 (norm): Remove commented code.
14857 (denorm): Likewise.
14858 (__mp_dbl): Likewise.
14861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14862 mp_no value for 1.0 and 2.0.
14863 (norm): Use RADIXI instead of radixi.d.
14864 (denorm): Likewise.
14865 (__mul): Use 0.0 instead of zero.d.
14866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14867 mp_no value for 1.0 and 2.0.
14868 (norm): Use RADIXI instead of radixi.d.
14869 (denorm): Likewise.
14870 (__mul): Use 0.0 instead of zero.d.
14872 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14875 * math/s_casinh.c (__casinh): Reduce finite argument to first
14876 quadrant then set signs of results at the end.
14877 * math/s_casinhf.c (__casinhf): Likewise.
14878 * math/s_casinhl.c (__casinhl): Likewise.
14879 * math/libm-test.inc (casin_test): Add more tests.
14880 (casinh_test): Likewise.
14881 * sysdeps/i386/fpu/libm-test-ulps: Update.
14882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14884 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14886 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14888 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14890 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14892 (denorm): Likewise.
14893 (__mp_dbl): Likewise.
14896 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14897 and adjust the header comment.
14899 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14900 variable name from declaration.
14902 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14905 Initialize COMMON_CPUID_INDEX_7 element.
14906 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14907 (CPUID_RTM): Likewise.
14908 (HAS_RTM): Likewise.
14909 (COMMON_CPUID_INDEX_7): New enum.
14911 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14914 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14915 size is zero, record memory as freed.
14917 2013-01-03 Andreas Jaeger <aj@suse.de>
14919 * po/ia.po: Add new Interlingua translation.
14921 2012-01-03 Allan McRae <allan@archlinux.org>
14923 * locale/programs/localedef.c: Fix description of '--posix' flag.
14925 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14927 * NEWS: Update dates in second copyright notice.
14928 * README: Update copyright dates in example.
14929 * manual/libc.texinfo: Update copyright dates.
14930 * scripts/test-installation.pl: Update copyright date in --version
14933 * hurd/ctty-input.c: Fix copyright notice formatting.
14934 * hurd/ctty-output.c: Likewise.
14935 * hurd/dtable.c: Likewise.
14936 * hurd/hurd-raise.c: Likewise.
14937 * hurd/hurdprio.c: Likewise.
14938 * hurd/msgportdemux.c: Likewise.
14939 * misc/sys/file.h: Likewise.
14940 * misc/sys/ioctl.h: Likewise.
14941 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14942 * sysdeps/mach/hurd/chdir.c: Likewise.
14943 * sysdeps/mach/hurd/fchdir.c: Likewise.
14944 * sysdeps/mach/hurd/rename.c: Likewise.
14945 * sysdeps/mach/hurd/rmdir.c: Likewise.
14946 * sysdeps/mach/hurd/seekdir.c: Likewise.
14947 * sysdeps/mach/hurd/setsid.c: Likewise.
14948 * sysdeps/posix/wait3.c: Likewise.
14950 * All files with FSF copyright notices: Update copyright dates
14951 using scripts/update-copyrights.
14952 * intl/plural.c: Regenerated.
14953 * locale/programs/charmap-kw.h: Likewise.
14954 * locale/programs/locfile-kw.h: Likewise.
14956 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14958 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14961 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14962 calculation loop and add branch prediction.
14964 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14965 check access beyond bounds of m1np.
14967 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14969 (__inv): Remove local variable MPTWO to use the global
14971 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14974 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14975 MP3HALFS static const.
14977 2013-01-01 David S. Miller <davem@davemloft.net>
14979 * po/ca.po: Update from translation team.
14981 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14983 * scripts/update-copyrights: New file.
14984 * Makeconfig: Reformat copyright notice.
14985 * ctype/ctype.h: Likewise.
14986 * debug/swprintf_chk.c: Likewise.
14987 * elf/dl-cache.c: Likewise.
14988 * elf/dl-debug.c: Likewise.
14989 * elf/dl-object.c: Likewise.
14990 * grp/initgroups.c: Likewise.
14991 * hurd/Makefile: Likewise.
14992 * hurd/hurd/signal.h: Likewise.
14993 * hurd/hurdfault.c: Likewise.
14994 * hurd/hurdioctl.c: Likewise.
14995 * hurd/hurdlookup.c: Likewise.
14996 * hurd/intr-msg.c: Likewise.
14997 * iconv/gconv_open.c: Likewise.
14998 * libio/swprintf.c: Likewise.
14999 * locale/lc-ctype.c: Likewise.
15000 * locale/nl_langinfo.c: Likewise.
15001 * mach/Machrules: Likewise.
15002 * mach/Makefile: Likewise.
15003 * malloc/obstack.h: Likewise.
15004 * manual/Makefile: Likewise.
15005 * manual/tsort.awk: Likewise.
15006 * misc/bits/stab.def: Likewise.
15007 * nis/nis_print_group_entry.c: Likewise.
15008 * nis/nis_table.c: Likewise.
15009 * nis/nss_compat/compat-pwd.c: Likewise.
15010 * nis/nss_compat/compat-spwd.c: Likewise.
15011 * po/Makefile: Likewise.
15012 * posix/fnmatch.c: Likewise.
15013 * posix/regex.h: Likewise.
15014 * resolv/Makefile: Likewise.
15015 * resolv/nss_dns/dns-network.c: Likewise.
15016 * resolv/res_hconf.c: Likewise.
15017 * scripts/gen-sorted.awk: Likewise.
15018 * soft-fp/soft-fp.h: Likewise.
15019 * stdio-common/printf.h: Likewise.
15020 * stdlib/monetary.h: Likewise.
15021 * stdlib/random.c: Likewise.
15022 * stdlib/random_r.c: Likewise.
15023 * sysdeps/generic/Makefile: Likewise.
15024 * sysdeps/gnu/Makefile: Likewise.
15025 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15053 * sysdeps/mach/hurd/errnos.awk: Likewise.
15054 * sysdeps/mach/hurd/fork.c: Likewise.
15055 * sysdeps/mach/hurd/getcwd.c: Likewise.
15056 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15057 * sysdeps/mach/hurd/mmap.c: Likewise.
15058 * sysdeps/mach/hurd/utimes.c: Likewise.
15059 * sysdeps/mach/hurd/xmknod.c: Likewise.
15060 * sysdeps/posix/profil.c: Likewise.
15061 * sysdeps/posix/readdir_r.c: Likewise.
15062 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15063 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15064 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15065 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15067 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15068 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15069 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15071 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15072 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15073 * sysdeps/pthread/lio_listio.c: Likewise.
15074 * sysdeps/sparc/dl-procinfo.h: Likewise.
15075 * sysdeps/unix/i386/sysdep.S: Likewise.
15076 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15077 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15078 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15079 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15081 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15082 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15083 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15084 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15085 * sysdeps/wordsize-32/divdi3.c: Likewise.
15086 * time/sys/time.h: Likewise.
15087 * wcsmbs/Makefile: Likewise.
15089 2013-01-01 David S. Miller <davem@davemloft.net>
15091 * po/fr.po: Update from translation team.
15093 * catgets/gencat.c: Update copyright year.
15094 * csu/version.c: Likewise.
15095 * debug/catchsegv.sh: Likewise.
15096 * debug/pcprofiledump.c: Likewise.
15097 * debug/xtrace.sh: Likewise.
15098 * elf/ldconfig.c: Likewise.
15099 * elf/ldd.bash.in: Likewise.
15100 * elf/pldd.c: Likewise.
15101 * elf/sotruss.ksh: Likewise.
15102 * elf/sprof.c: Likewise.
15103 * iconv/iconv_prog.c: Likewise.
15104 * iconv/iconvconfig.c: Likewise.
15105 * locale/programs/locale.c: Likewise.
15106 * locale/programs/localedef.c: Likewise.
15107 * login/programs/pt_chown.c: Likewise.
15108 * malloc/memusage.sh: Likewise.
15109 * malloc/memusagestat.c: Likewise.
15110 * malloc/mtrace.pl: Likewise.
15111 * nscd/nscd.c: Likewise.
15112 * nss/getent.c: Likewise.
15113 * nss/makedb.c: Likewise.
15114 * posix/getconf.c: Likewise.
15116 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15118 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15121 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15123 * math/bits/mathcalls.h (modf): Use __nonnull.
15125 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15127 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15128 (split): Use macro CN instead of the bare value.
15129 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15132 instead of the bare value.
15133 (power1): Likewise.
15135 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15137 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15139 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15141 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15143 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15145 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15146 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15148 2012-12-28 Andreas Jaeger <aj@suse.de>
15150 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15151 values are from Linux 3.7.
15153 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15154 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15156 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15158 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15161 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15163 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15164 variables with preprocessor constants.
15165 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15166 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15169 2012-12-27 Bruno Haible <bruno@clisp.org>
15172 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15175 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15178 and use variable directly.
15179 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15181 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15183 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15184 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15186 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15188 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15189 include directive. Remove local variable MPONE.
15190 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15191 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15192 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15194 2012-12-25 David S. Miller <davem@davemloft.net>
15196 * version.h (RELEASE): Set to "development".
15197 (VERSION): Set to "2.17.90".
15198 * NEWS: Add 2.18 section.
15200 2012-12-21 David S. Miller <davem@davemloft.net>
15202 * po/hr.po: Update from translation team.
15204 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15206 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15208 2012-12-19 Steve Ellcey <sellcey@mips.com>
15210 * NEWS: Mention new memcpy for MIPS.
15212 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15214 * manual/contrib.texi (Contributors): Spelling correction.
15216 2012-12-15 David S. Miller <davem@davemloft.net>
15218 * po/ru.po: Update from translation team.
15220 2012-12-13 David S. Miller <davem@davemloft.net>
15222 * NEWS: Mention IFUNC testsuite enhancements.
15224 * po/pl.po: Update from translation team.
15225 * po/bg.po: Likewise.
15227 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15228 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15230 2012-12-11 David S. Miller <davem@davemloft.net>
15232 * po/sv.po: Update from translation team.
15234 * po/vi.po: Update from translation team.
15236 * po/cs.po: Update from translation team.
15238 * po/de.po: Update from translation team.
15239 * po/eo.po: Likewise.
15240 * po/nl.po: Likewise.
15242 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15245 * manual/argp.texi (Argp Helper Functions): Move node to follow
15246 Argp Parsing State.
15249 * manual/conf.texi (Limits on File System Capacity): Mention if
15250 terminating null is included in the max size.
15252 2012-12-10 Andreas Jaeger <aj@suse.de>
15254 * po/cs.po: Update from translation team.
15256 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15258 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15259 void pointer and cast to uintptr_t.
15260 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15262 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15263 * sysdeps/s390/s390-64/memset.S: Likewise.
15265 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15268 * menual/message.texi (Message Translation): Fix typos.
15269 (Helper programs for gettext): Likewise.
15271 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15274 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15277 2012-12-07 David S. Miller <davem@davemloft.net>
15279 * po/libc.pot: Update.
15281 2012-12-07 Richard Henderson <rth@redhat.com>
15284 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15285 normal/normal case to before the switch.
15286 (_FP_DIV): Likewise.
15288 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15289 Mike Frysinger <vapier@gentoo.org>
15291 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15292 check for __NR_fadvise64_64.
15294 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15296 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15297 0, not just to plain "0" as a statement.
15298 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15301 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15303 * NEWS: Use sourceware.org in Bugzilla URL.
15305 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15308 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15310 * stdio-common/tst-put-error.c (do_test): Add newline to the
15311 padded test to ensure flush.
15313 2012-12-05 Jeff Law <law@redhat.com>
15315 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15317 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15319 * README: Don't refer to ports add-on as distributed separately.
15320 Mention AArch64 in list of systems supported in the ports add-on.
15322 * LICENSES: Add more non-FSF copyright and license notices.
15324 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15327 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15329 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15330 10000 as width of padded output.
15332 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15334 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15336 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15337 variable LX with __attribute__ ((unused)).
15338 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15340 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15343 with __attribute__ ((unused)).
15345 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15347 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15349 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15351 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15352 (CFLAGS-nldbl-acos.c): New variable.
15353 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15354 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15355 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15356 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15357 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15358 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15359 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15360 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15361 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15362 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15363 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15364 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15365 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15366 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15367 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15368 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15369 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15370 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15371 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15372 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15373 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15374 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15375 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15376 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15377 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15378 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15379 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15380 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15381 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15382 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15383 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15384 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15385 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15386 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15387 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15388 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15389 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15390 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15391 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15392 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15393 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15394 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15395 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15396 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15397 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15398 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15399 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15400 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15401 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15402 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15403 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15404 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15405 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15406 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15407 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15408 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15409 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15410 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15411 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15412 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15413 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15414 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15415 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15416 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15417 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15418 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15419 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15420 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15421 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15422 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15423 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15424 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15425 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15426 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15427 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15428 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15429 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15430 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15431 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15432 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15433 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15434 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15435 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15436 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15437 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15438 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15439 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15440 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15441 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15442 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15443 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15444 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15445 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15446 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15447 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15448 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15449 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15452 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15456 whole low double instead of just low 47 bits when splitting values
15459 2012-12-03 Allan McRae <allan@archlinux.org>
15461 * manual/stdio.texi (Predefined Printf Handlers): Remove
15462 @hsep and @vsep usage.
15464 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15466 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15467 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15469 2012-12-03 Jeff Law <law@redhat.com>
15471 * time/sys/time.h (settimeofday): Do not mark TV argument
15474 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15476 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15477 when currently writing and seek to current position when not.
15478 * libio/Makefile (tests): Remove bug-fclose1.
15479 * libio/bug-fclose1.c: Delete.
15481 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15483 * manual/arith.texi (feenableexcept): Fix typo.
15484 (fedisableexcept): Likewise.
15486 2012-11-30 Roland McGrath <roland@hack.frob.com>
15488 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15489 second, differently-typed declaration, rather than a cast.
15491 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15493 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15494 * include/rpc/svc.h: ... here.
15496 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15499 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15500 depending n and resplen2 to catch cases where answer
15503 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15505 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15506 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15508 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15510 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15512 2012-11-29 Roland McGrath <roland@hack.frob.com>
15514 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15516 2012-11-28 Jeff Law <law@redhat.com>
15519 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15520 dataset_temporary. Track alloca usage into alloca_used.
15521 If dataset is large allocate and release it via malloc/free.
15523 2012-06-04 Florian Weimer <fweimer@redhat.com>
15526 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15528 2012-11-28 David S. Miller <davem@davemloft.net>
15530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15532 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15535 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15536 of pi/2 rounded to nearest to 64 bits.
15537 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15538 nearest to 64 bits.
15539 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15542 2012-11-28 Jeff Law <law@redhat.com>
15543 Martin Osvald <mosvald@redhat.com>
15546 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15547 * sunrpc/svc.c: Include time.h.
15548 (__svc_accept_failed): New function.
15549 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15550 any reason other than EINTR, call __svc_accept_failed.
15551 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15552 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15554 2012-11-28 Andreas Schwab <schwab@suse.de>
15556 * scripts/abilist.awk: Also handle indirect functions in .opd
15559 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15562 * sysdeps/x86/fpu/powl_helper.c: New file.
15563 * sysdeps/x86/fpu/Makefile: Likewise.
15564 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15566 (__ieee754_powl): Use __powl_helper for finite arguments except
15567 integer exponents below 8.
15568 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15570 (__ieee754_powl): Use __powl_helper for finite arguments except
15571 integer exponents below 8.
15572 * math/libm-test.inc (pow_test): Add more tests and enable some
15573 previously disabled tests.
15574 * sysdeps/i386/fpu/libm-test-ulps: Update.
15575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15577 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15578 Carlos O'Donell <carlos_odonell@mentor.com>
15580 * nss/makedb.c (is_prime): Assert that input is odd and greater
15581 than 4. Note that fact in a comment too.
15582 (next_prime): Add 4 to input.
15584 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15587 * libio/Makefile (tests): Add test case tst-fwrite-error.
15588 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15589 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15590 * libio/tst-fwrite-error.c: New test case.
15592 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15594 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15595 before casting to void *.
15596 * include/libc-internal.h (__pointer_type): New macro.
15597 (__integer_if_pointer_type_sub): Likewise.
15598 (__integer_if_pointer_type): Likewise.
15599 (cast_to_integer): Likewise.
15600 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15601 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15602 before casting to atomic64_t.
15603 (atomic_exchange_acq): Likewise.
15604 (__arch_exchange_and_add_body): Likewise.
15605 (__arch_add_body): Likewise.
15606 (atomic_add_negative): Likewise.
15607 (atomic_add_zero): Likewise.
15609 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15612 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15613 (add_fdes): Likewise.
15614 (linear_search_fdes): Likewise.
15615 (binary_search_unencoded_fdes): Likewise.
15617 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15619 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15621 2012-11-24 Adam Conrad <adconrad@0c3.net>
15623 * configure.in: Autodetect C++ header directories.
15624 * configure: Regenerated.
15626 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15628 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15630 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15634 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15636 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15637 LDBL_MANT_DIG == 106]: Disable some tests.
15638 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15640 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15644 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15645 input for small inputs. Return +/- pi/2 for large inputs.
15646 * math/libm-test.inc (atan_test): Add more tests.
15648 * sysdeps/generic/unwind-dw2-fde-glibc.c
15649 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15650 __attribute__ ((unused)).
15653 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15654 x * y if x and y are nonzero and z is zero.
15657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15658 nonzero exponents with absolute value below 0x1p-117 to +/-
15662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15663 up arguments below 2**-450, not just those below 2**-500.
15664 * math/libm-test.inc (hypot_test): Add another test.
15667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15668 Return a+b for ratio over 2**120, not 2**60.
15669 * math/libm-test.inc (hypot_test): Add another test.
15671 * math/libm-test.inc (clog_test): Use
15672 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15673 (clog10_test): Likewise.
15676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15678 2012-11-22 Andreas Schwab <schwab@suse.de>
15680 * sysdeps/i386/fpu/libm-test-ulps: Update.
15682 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15684 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15685 printf output with newline.
15687 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15690 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15691 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15692 -z nodlopen, -z initfirst and -z execstack support.
15693 * configure: Regenerated.
15695 * elf/elf.h (DF_1_NODIRECT): New macro.
15696 (DF_1_IGNMULDEF): Likewise.
15697 (DF_1_NOKSYMS): Likewise.
15698 (DF_1_NOHDR): Likewise.
15699 (DF_1_EDITED): Likewise.
15700 (DF_1_NORELOC): Likewise.
15701 (DF_1_SYMINTPOSE): Likewise.
15702 (DF_1_GLOBAUDIT): Likewise.
15703 (DF_1_SINGLETON): Likewise.
15704 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15705 DT_1_SUPPORTED_MASK bits.
15706 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15708 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15710 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15712 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15714 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15717 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15718 (sendmmsg): Move declarations...
15719 * socket/sys/socket.h: ... here.
15720 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15721 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15723 * socket/recvmmsg.c: ... this new file.
15724 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15725 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15726 definition of __sendmmsg hidden.
15727 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15728 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15729 Move ENOSYS stub into and include it from...
15730 * socket/sendmmsg.c: ... this new file.
15731 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15732 (sysdep_routines): Move recvmmsg and sendmmsg...
15733 * socket/Makefile (routines): ... here.
15734 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15735 (GLIBC_PRIVATE): Add __sendmmsg.
15736 * include/sys/socket.h (__sendmmsg): Add declarations.
15737 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15740 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15742 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15743 variable I1 with __attribute__ ((unused)).
15744 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15746 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15748 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15749 DUMMY variables with __attribute__ ((unused)).
15751 * bits/byteswap.h: Include <bits/types.h>.
15752 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15754 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15756 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15757 string_t. Do not manually set errno.
15758 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15759 length with __strnlen. Make sure to both set errno and return it on
15762 2012-11-19 David S. Miller <davem@davemloft.net>
15764 With help from Joseph Myers.
15765 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15766 very large arguments properly.
15767 * math/libm-test.inc (atan_test): New tests.
15768 (atan2_test): New tests.
15769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15772 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15775 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15778 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15779 [POSIX] (EADDRNOTAVAIL): Likewise.
15780 [POSIX] (EAFNOSUPPORT): Likewise.
15781 [POSIX] (EALREADY): Likewise.
15782 [POSIX] (ECONNABORTED): Likewise.
15783 [POSIX] (ECONNREFUSED): Likewise.
15784 [POSIX] (ECONNRESET): Likewise.
15785 [POSIX] (EDESTADDRREQ): Likewise.
15786 [POSIX] (EDQUOT): Likewise.
15787 [POSIX] (EHOSTUNREACH): Likewise.
15788 [POSIX] (EIDRM): Likewise.
15789 [POSIX] (EISCONN): Likewise.
15790 [POSIX] (ELOOP): Likewise.
15791 [POSIX] (EMULTIHOP): Likewise.
15792 [POSIX] (ENETDOWN): Likewise.
15793 [POSIX] (ENETUNREACH): Likewise.
15794 [POSIX] (ENOBUFS): Likewise.
15795 [POSIX] (ENODATA): Likewise.
15796 [POSIX] (ENOLINK): Likewise.
15797 [POSIX] (ENOMSG): Likewise.
15798 [POSIX] (ENOPROTOOPT): Likewise.
15799 [POSIX] (ENOSR): Likewise.
15800 [POSIX] (ENOSTR): Likewise.
15801 [POSIX] (ENOTCONN): Likewise.
15802 [POSIX] (ENOTSOCK): Likewise.
15803 [POSIX] (EOPNOTSUPP): Likewise.
15804 [POSIX] (EOVERFLOW): Likewise.
15805 [POSIX] (EPROTO): Likewise.
15806 [POSIX] (EPROTONOSUPPORT): Likewise.
15807 [POSIX] (EPROTOTYPE): Likewise.
15808 [POSIX] (ESTALE): Likewise.
15809 [POSIX] (ETIME): Likewise.
15810 [POSIX] (ETXTBSY): Likewise.
15811 [POSIX] (EWOULDBLOCK): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15813 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15814 [POSIX] (SEEK_CUR): Likewise.
15815 [POSIX] (SEEK_END): Likewise.
15816 [POSIX || UNIX98] (mode_t): Do not require.
15817 [POSIX] (off_t): Likewise.
15818 [POSIX] (pid_t): Likewise.
15819 [POSIX] (sys/stat.h): Do not allow header.
15820 [POSIX] (unistd.h): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15822 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15823 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15824 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15826 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15827 sigevent): Specify elements.
15828 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15830 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15831 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15833 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15834 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15835 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15836 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15837 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15838 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15839 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15840 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15842 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15843 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15844 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15845 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15846 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15848 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15850 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15852 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15854 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15855 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15856 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15857 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15859 Specify lower bound on value.
15860 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15864 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15865 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15866 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15867 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15869 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15871 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15872 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15873 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15874 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15882 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15883 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15884 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15885 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15888 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15890 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15891 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15892 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15897 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15899 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15900 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15902 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15903 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15905 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15906 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15907 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15908 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15909 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15910 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15911 specify as optional.
15912 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15913 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15914 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15915 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15916 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15917 [XPG3] (NL_LANGMAX): Likewise.
15918 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15919 [POSIX || XPG3] (NL_NMAX): Likewise.
15920 [POSIX || XPG3] (NL_SETMAX): Likewise.
15921 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15922 [XPG3] (NZERO): Likewise.
15923 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15924 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15925 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15926 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15927 (REG_ERANGE): Expect.
15928 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15930 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15931 Use (void) in prototype.
15932 [POSIX] (*_t): Allow.
15933 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15934 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15935 (WRDE_BADVAL): Expect.
15937 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15939 [XPG3 || XPG4] (O_RSYNC): Likewise.
15940 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15942 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15943 [XPG3 || XPG4] (sigqueue): Likewise.
15944 [XPG3 || XPG4] (sigtimedwait): Likewise.
15945 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15946 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15947 [XPG3 || XPG4] (vsnprintf): Likewise.
15948 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15950 [XPG3 || XPG4] (blksize_t): Likewise.
15951 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15953 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15954 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15955 [XPG3 || XPG4] (struct itimerspec): Likewise.
15956 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15957 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15958 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15959 [XPG3 || XPG4] (clockid_t): Likewise.
15960 [XPG3 || XPG4] (timer_t): Likewise.
15961 [XPG3 || XPG4] (clock_getres): Likewise.
15962 [XPG3 || XPG4] (clock_gettime): Likewise.
15963 [XPG3 || XPG4] (clock_settime): Likewise.
15964 [XPG3 || XPG4] (nanosleep): Likewise.
15965 [XPG3 || XPG4] (timer_create): Likewise.
15966 [XPG3 || XPG4] (timer_delete): Likewise.
15967 [XPG3 || XPG4] (timer_gettime): Likewise.
15968 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15969 [XPG3 || XPG4] (timer_settime): Likewise.
15970 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15971 [XPG3 || XPG4] (getlogin_r): Likewise.
15972 [XPG3 || XPG4] (pread): Likewise.
15973 [XPG3 || XPG4] (pthread_atfork): Likewise.
15974 [XPG3 || XPG4] (pwrite): Likewise.
15977 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15980 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15982 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15983 finalizing MALLSTREAM.
15985 * sysdeps/mach/hurd/syncfs.c: New file.
15987 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15990 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15991 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15992 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15993 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15994 (_nss_dns_gethostbyname4_r): Likewise.
15995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15996 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15998 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16001 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16003 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16005 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16006 * elf/cache.c (print_entry): Print ",AArch64" for
16009 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16010 * elf/cache.c (print_entry): Print ",hard-float" for
16013 2012-11-18 David S. Miller <davem@davemloft.net>
16015 With help from Joseph Myers.
16016 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16018 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16020 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16021 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16023 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16024 * math/libm-test.inc (y0_test): New tests.
16025 (y1_test): New tests.
16026 * sysdeps/i386/fpu/libm-test-ulps: Update.
16027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16030 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16032 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16034 * configure: Regenerated.
16036 2012-11-17 David S. Miller <davem@davemloft.net>
16039 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16040 nonzero exponents with absolute value below 0x1p-128 to +/-
16043 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16045 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16047 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16049 * posix/getconf-speclist.c: New file.
16050 * posix/posix-envs.def: Likewise.
16051 * posix/confstr.c (START_ENV_GROUP): New macro.
16052 (END_ENV_GROUP): Likewise.
16053 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16054 (KNOWN_PRESENT_ENV_STRING): Likewise.
16055 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16056 (UNKNOWN_ENVIRONMENT): Likewise.
16057 (confstr): Include posix-envs.def instead of handling
16058 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16059 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16060 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16061 (END_ENV_GROUP): Likewise.
16062 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16063 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16064 (UNKNOWN_ENVIRONMENT): Likewise.
16065 (__sysconf): Include posix-envs.def instead of handling associated
16066 cases directly here.
16067 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16068 preprocessing getconf-speclist.c rather than running getconf or
16069 generating empty file.
16071 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16073 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16075 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16078 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16080 2012-11-16 David S. Miller <davem@davemloft.net>
16082 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16083 smaller than LDBL_EPSILON/2.0L, just return xm1.
16085 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16087 * elf/tst-array1.c (init): Set constructor priority to 1000.
16088 (fini): Set destructor priority to 1000.
16089 * elf/tst-array2dep.c: Likewise.
16091 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16094 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16095 (_IO_new_file_xsputn): Also return EOF if none of the input
16096 data was written when overflow failed.
16097 * libio/iopadn.c (_IO_padn): Likewise.
16098 * libio/iowpadn.c (_IO_wpadn): Likewise.
16099 * stdio-common/tst-put-error.c: Add copyright notice.
16100 (do_test): Add case for printing padded string.
16101 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16102 _IO_padn returned error.
16103 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16104 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16107 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16109 * libio/libioP.h: Add comment note that the references to C++
16110 bits are now obsolete.
16112 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16114 * math/libm-test.inc (check_complex): Use asprintf.
16116 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16118 * debug/pcprofiledump.c (print_version): Update copyright year.
16119 * malloc/memusagestat.c (print_version): Likewise.
16121 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16124 * elf/Makefile (tests): Add tst-audit8.
16125 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16126 ($(objpfx)tst-audit8.out): New target.
16127 (tst-audit8-ENV): New variable.
16128 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16129 audit if l_reloc_result is NULL.
16130 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16131 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16132 * elf/tst-audit8.c: New file.
16134 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16136 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16137 * misc/Makefile (CFLAGS-select.c): Define.
16138 * posix/Makefile (CFLAGS-pause.c): Define.
16140 2012-11-13 David S. Miller <davem@davemloft.net>
16142 * crypt/Makefile: Move test targets after toplevel Rules
16143 inclusion. Grab any necessary sysdep routines when linking.
16144 * crypt/md5.c (md5_process_block): Remove define, we will always
16145 name it __md5_process_block.
16146 (md5_finish_ctx): Update md5_process_block call.
16147 (md5_stream): Likewise.
16148 (md5_process_bytes): Likewise.
16149 (md5_process_block): Rename to __md5_process_block and move to ...
16150 * crypt/md5-block.c: ... here.
16151 * crypt/sha256.c (sha256_process_block): Move to ...
16152 * crypt/sha256-block.c: ... here.
16153 * crypt/sha512.c (sha512_process_block): Move to ...
16154 * crypt/sha512-block.c: ... here.
16155 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16157 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16158 * sysdeps/sparc/sparc64/multiarch/Makefile
16159 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16161 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16162 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16164 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16165 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16166 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16167 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16168 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16169 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16170 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16171 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16172 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16174 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16175 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16177 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16179 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16181 * timezone/tzselect.ksh: Update from tzcode git revision
16182 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16183 * timezone/zdump.c: Likewise.
16184 * timezone/zic.c: Likewise.
16185 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16186 in TZVERSION setting, not $(PKGVERSION).
16187 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16188 REPORT_BUGS_TO settings.
16191 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16194 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16196 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16197 detection to immediately after _FP_ROUND().
16198 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16201 2012-11-11 David S. Miller <davem@davemloft.net>
16203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16205 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16206 __close rather than their public counterparts.
16208 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16210 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16212 [UNIX98] (sem_timedwait): Do not expect.
16213 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16214 [XPG4 || UNIX98] (sockatmark): Do not expect.
16215 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16216 (clock_getcpuclockid): Do not expect.
16217 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16218 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16220 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16221 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16222 [UNIX98] (vwscanf): Likewise.
16223 [UNIX98] (vswscanf): Likewise.
16225 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16227 * timezone/version.h: Remove file.
16228 * timezone/README: Do not refer to version.h.
16229 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16230 $(objpfx)version.h.
16231 ($(objpfx)zdump.o): Likewise.
16232 ($(objpfx)version.h): New target.
16234 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16236 * timezone/README: Don't mention modification to tzselect.ksh.
16237 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16238 work on unmodified tzselect.ksh. Substitute version numbers in
16241 * Makefile (format-me): Remove.
16242 (INSTALL): Adjust indentation. Use commands directly instead of
16243 using $(format-me).
16245 * aclocal.m4 (ACX_PKGVERSION): New macro.
16246 (ACX_BUGURL): Likewise.
16247 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16248 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16249 (REPORT_BUGS_TO): Likewise.
16250 * configure: Regenerated.
16251 * config.h.in (PKGVERSION): New macro.
16252 (REPORT_BUGS_TO): Likewise.
16253 * config.make.in (PKGVERSION): New variable.
16254 (PKGVERSION_TEXI): Likewise.
16255 (REPORT_BUGS_TO): Likewise.
16256 (REPORT_BUGS_TEXI): Likewise.
16257 * Makefile (format-me): Use -I$(common-objpfx)manual.
16258 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16259 ($(common-objpfx)manual/%): New target.
16260 (manual/%): Remove target.
16261 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16262 (print_version): Use PKGVERSION.
16263 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16264 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16265 and REPORT_BUGS_TO.
16266 ($(objpfx)xtrace): Likewise.
16267 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16268 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16269 (print_version): Use PKGVERSION.
16270 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16271 (do_version): Use PKGVERSION.
16272 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16274 (common-ldd-rewrite): Likewise.
16275 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16276 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16277 (print_version): Use PKGVERSION.
16278 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16279 * elf/pldd.c (argp_program_bug_address): Remove variable.
16280 (more_help): New function.
16281 (argp): Use more_help.
16282 (print_version): Use PKGVERSION.
16283 * elf/sln.c (main): Use PKGVERSION.
16284 (usage): Use REPORT_BUGS_TO.
16285 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16286 (top level): Use PKGVERSION.
16287 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16288 (print_version): Use PKGVERSION.
16289 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16290 (print_version): Use PKGVERSION.
16291 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16292 (print_version): Use PKGVERSION.
16293 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16294 (print_version): Use PKGVERSION.
16295 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16296 (print_version): Use PKGVERSION.
16297 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16298 (print_version): Use PKGVERSION.
16299 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16301 ($(objpfx)memusage): Likewise.
16302 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16303 (do_version): Use PKGVERSION.
16304 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16305 (print_version): Use PKGVERSION.
16306 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16307 ($PKGVERSION): New variable.
16308 ($REPORT_BUGS_TO): Likewise.
16309 (usage): Use $REPORT_BUGS_TO.
16310 (top level): Use $PKGVERSION.
16311 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16312 ($(objpfx)pkgvers.texi): New rule.
16313 ($(objpfx)stamp-pkgvers): Likewise.
16314 * manual/install.texi: Include pkgvers.texi.
16315 (--with-pkgversion): Document new configure option.
16316 (--with-bugurl): Likewise.
16317 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16318 than necessarily for this particular distribution. Use
16319 REPORT_BUGS_TO for where to report bugs.
16320 * INSTALL: Regenerated.
16321 * manual/libc.texinfo: Include pkgvers.texi.
16322 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16323 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16324 (print_version): Use PKGVERSION.
16325 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16326 (print_version): Use PKGVERSION.
16327 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16328 (print_version): Use PKGVERSION.
16329 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16330 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16332 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16333 (print_version): Use PKGVERSION.
16334 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16335 (print_version): Use PKGVERSION.
16336 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16339 * timezone/checktab.awk: Update from tzcode 2012i.
16340 * timezone/ialloc.c: Likewise.
16341 * timezone/private.h: Likewise.
16342 * timezone/scheck.c: Likewise.
16343 * timezone/tzfile.h: Likewise.
16344 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16345 (TZVERSION): Hardcode tzcode version number.
16346 * timezone/zdump.c: Update from tzcode 2012i.
16347 * timezone/zic.c: Likewise.
16348 * timezone/version.h: New file.
16349 * timezone/README: Describe version.h. Update upstream location.
16352 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16353 (mktemp): Enable declaration.
16354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16371 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16372 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16373 for copies of such integer values.
16374 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16375 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16377 2012-11-09 Andreas Jaeger <aj@suse.de>
16379 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16380 definitions and declarations that are provided by
16381 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16383 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16385 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16386 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16387 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16390 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16392 * elf/elf.h: Update comment before AArch64 relocations.
16394 2012-11-07 David S. Miller <davem@davemloft.net>
16396 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16397 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16398 (__start_context): Declare.
16399 (__makecontext_ret): Delete.
16400 (__makecontext): Hook up __start_context instead of
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16403 (sysdep_routines): Add __start_context when in stdlib.
16405 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16407 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16408 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16409 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16411 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16412 (READELF): New variable. Use it instead of hardcoded "readelf".
16414 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16416 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16417 * sysdeps/x86/Makefile: Here.
16418 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16419 * sysdeps/x86/tst-xmmymm.sh: This.
16421 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16423 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16425 [UNIX98] (pthread_barrier_t): Do not expect.
16426 [UNIX98] (pthread_barrierattr_t): Likewise.
16427 [UNIX98] (pthread_spinlock_t): Likewise.
16428 [UNIX98] (pthread_barrier_destroy): Likewise.
16429 [UNIX98] (pthread_barrier_init): Likewise.
16430 [UNIX98] (pthread_barrier_wait): Likewise.
16431 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16432 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16433 [UNIX98] (pthread_barrierattr_init): Likewise.
16434 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16435 [UNIX98] (pthread_getcpuclockid): Likewise.
16436 [UNIX98] (pthread_mutex_timedlock): Likewise.
16437 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16438 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16439 [UNIX98] (pthread_sigmask): Likewise.
16440 [UNIX98] (pthread_spin_destroy): Likewise.
16441 [UNIX98] (pthread_spin_init): Likewise.
16442 [UNIX98] (pthread_spin_lock): Likewise.
16443 [UNIX98] (pthread_spin_trylock): Likewise.
16444 [UNIX98] (pthread_spin_unlock): Likewise.
16445 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16447 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16448 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16449 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16450 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16451 [XPG3 || XPG4] (pthread_key_t): Likewise.
16452 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16453 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16454 [XPG3 || XPG4] (pthread_once_t): Likewise.
16455 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16456 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16458 [XPG3 || XPG4] (pthread_t): Likewise.
16460 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16462 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16464 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16465 Change function return type to int.
16467 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16468 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16469 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16470 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16471 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16472 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16473 [!POSIX] (posix_madvise): Likewise.
16474 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16476 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16477 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16478 (mode_t): Likewise.
16479 (posix_mem_offset): Likewise.
16480 (posix_typed_mem_get_info): Likewise.
16481 (posix_typed_mem_open): Likewise.
16483 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16484 Change condition to [XOPEN2K8].
16486 * conform/conformtest.pl: Preprocess allow-header data with -x c
16487 instead of from stdin.
16488 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16489 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16490 [C99-based standards] (cerfc): Likewise.
16491 [C99-based standards] (cexp2): Likewise.
16492 [C99-based standards] (cexpm1): Likewise.
16493 [C99-based standards] (clog10): Likewise.
16494 [C99-based standards] (clog1p): Likewise.
16495 [C99-based standards] (clog2): Likewise.
16496 [C99-based standards] (clgamma): Likewise.
16497 [C99-based standards] (ctgamma): Likewise.
16498 [C99-based standards] (cerff): Likewise.
16499 [C99-based standards] (cerfcf): Likewise.
16500 [C99-based standards] (cexp2f): Likewise.
16501 [C99-based standards] (cexpm1f): Likewise.
16502 [C99-based standards] (clog10f): Likewise.
16503 [C99-based standards] (clog1pf): Likewise.
16504 [C99-based standards] (clog2f): Likewise.
16505 [C99-based standards] (clgammaf): Likewise.
16506 [C99-based standards] (ctgammaf): Likewise.
16507 [C99-based standards] (cerfl): Likewise.
16508 [C99-based standards] (cerfcl): Likewise.
16509 [C99-based standards] (cexp2l): Likewise.
16510 [C99-based standards] (cexpm1l): Likewise.
16511 [C99-based standards] (clog10l): Likewise.
16512 [C99-based standards] (clog1pl): Likewise.
16513 [C99-based standards] (clog2l): Likewise.
16514 [C99-based standards] (clgammal): Likewise.
16515 [C99-based standards] (ctgammal): Likewise.
16516 * conform/data/inttypes.h-data [C99-based standards]: Include
16517 stdint.h-data. Remove all expectations for stdint.h contents.
16518 [C99-based standards] (PRI*): Do not allow.
16519 [C99-based standards] (SCN*): Likewise.
16520 [C99-based standards] (*_t): Likewise.
16521 [C99-based-standards] (PRId8): Expect macro.
16522 [C99-based-standards] (PRIi8): Likewise.
16523 [C99-based-standards] (PRIo8): Likewise.
16524 [C99-based-standards] (PRIu8): Likewise.
16525 [C99-based-standards] (PRIx8): Likewise.
16526 [C99-based-standards] (PRIX8): Likewise.
16527 [C99-based-standards] (SCNd8): Likewise.
16528 [C99-based-standards] (SCNi8): Likewise.
16529 [C99-based-standards] (SCNo8): Likewise.
16530 [C99-based-standards] (SCNu8): Likewise.
16531 [C99-based-standards] (SCNx8): Likewise.
16532 [C99-based-standards] (PRIdLEAST8): Likewise.
16533 [C99-based-standards] (PRIiLEAST8): Likewise.
16534 [C99-based-standards] (PRIoLEAST8): Likewise.
16535 [C99-based-standards] (PRIuLEAST8): Likewise.
16536 [C99-based-standards] (PRIxLEAST8): Likewise.
16537 [C99-based-standards] (PRIXLEAST8): Likewise.
16538 [C99-based-standards] (SCNdLEAST8): Likewise.
16539 [C99-based-standards] (SCNiLEAST8): Likewise.
16540 [C99-based-standards] (SCNoLEAST8): Likewise.
16541 [C99-based-standards] (SCNuLEAST8): Likewise.
16542 [C99-based-standards] (SCNxLEAST8): Likewise.
16543 [C99-based-standards] (PRIdFAST8): Likewise.
16544 [C99-based-standards] (PRIiFAST8): Likewise.
16545 [C99-based-standards] (PRIoFAST8): Likewise.
16546 [C99-based-standards] (PRIuFAST8): Likewise.
16547 [C99-based-standards] (PRIxFAST8): Likewise.
16548 [C99-based-standards] (PRIXFAST8): Likewise.
16549 [C99-based-standards] (SCNdFAST8): Likewise.
16550 [C99-based-standards] (SCNiFAST8): Likewise.
16551 [C99-based-standards] (SCNoFAST8): Likewise.
16552 [C99-based-standards] (SCNuFAST8): Likewise.
16553 [C99-based-standards] (SCNxFAST8): Likewise.
16554 [C99-based-standards] (PRId16): Likewise.
16555 [C99-based-standards] (PRIi16): Likewise.
16556 [C99-based-standards] (PRIo16): Likewise.
16557 [C99-based-standards] (PRIu16): Likewise.
16558 [C99-based-standards] (PRIx16): Likewise.
16559 [C99-based-standards] (PRIX16): Likewise.
16560 [C99-based-standards] (SCNd16): Likewise.
16561 [C99-based-standards] (SCNi16): Likewise.
16562 [C99-based-standards] (SCNo16): Likewise.
16563 [C99-based-standards] (SCNu16): Likewise.
16564 [C99-based-standards] (SCNx16): Likewise.
16565 [C99-based-standards] (PRIdLEAST16): Likewise.
16566 [C99-based-standards] (PRIiLEAST16): Likewise.
16567 [C99-based-standards] (PRIoLEAST16): Likewise.
16568 [C99-based-standards] (PRIuLEAST16): Likewise.
16569 [C99-based-standards] (PRIxLEAST16): Likewise.
16570 [C99-based-standards] (PRIXLEAST16): Likewise.
16571 [C99-based-standards] (SCNdLEAST16): Likewise.
16572 [C99-based-standards] (SCNiLEAST16): Likewise.
16573 [C99-based-standards] (SCNoLEAST16): Likewise.
16574 [C99-based-standards] (SCNuLEAST16): Likewise.
16575 [C99-based-standards] (SCNxLEAST16): Likewise.
16576 [C99-based-standards] (PRIdFAST16): Likewise.
16577 [C99-based-standards] (PRIiFAST16): Likewise.
16578 [C99-based-standards] (PRIoFAST16): Likewise.
16579 [C99-based-standards] (PRIuFAST16): Likewise.
16580 [C99-based-standards] (PRIxFAST16): Likewise.
16581 [C99-based-standards] (PRIXFAST16): Likewise.
16582 [C99-based-standards] (SCNdFAST16): Likewise.
16583 [C99-based-standards] (SCNiFAST16): Likewise.
16584 [C99-based-standards] (SCNoFAST16): Likewise.
16585 [C99-based-standards] (SCNuFAST16): Likewise.
16586 [C99-based-standards] (SCNxFAST16): Likewise.
16587 [C99-based-standards] (PRId32): Likewise.
16588 [C99-based-standards] (PRIi32): Likewise.
16589 [C99-based-standards] (PRIo32): Likewise.
16590 [C99-based-standards] (PRIu32): Likewise.
16591 [C99-based-standards] (PRIx32): Likewise.
16592 [C99-based-standards] (PRIX32): Likewise.
16593 [C99-based-standards] (SCNd32): Likewise.
16594 [C99-based-standards] (SCNi32): Likewise.
16595 [C99-based-standards] (SCNo32): Likewise.
16596 [C99-based-standards] (SCNu32): Likewise.
16597 [C99-based-standards] (SCNx32): Likewise.
16598 [C99-based-standards] (PRIdLEAST32): Likewise.
16599 [C99-based-standards] (PRIiLEAST32): Likewise.
16600 [C99-based-standards] (PRIoLEAST32): Likewise.
16601 [C99-based-standards] (PRIuLEAST32): Likewise.
16602 [C99-based-standards] (PRIxLEAST32): Likewise.
16603 [C99-based-standards] (PRIXLEAST32): Likewise.
16604 [C99-based-standards] (SCNdLEAST32): Likewise.
16605 [C99-based-standards] (SCNiLEAST32): Likewise.
16606 [C99-based-standards] (SCNoLEAST32): Likewise.
16607 [C99-based-standards] (SCNuLEAST32): Likewise.
16608 [C99-based-standards] (SCNxLEAST32): Likewise.
16609 [C99-based-standards] (PRIdFAST32): Likewise.
16610 [C99-based-standards] (PRIiFAST32): Likewise.
16611 [C99-based-standards] (PRIoFAST32): Likewise.
16612 [C99-based-standards] (PRIuFAST32): Likewise.
16613 [C99-based-standards] (PRIxFAST32): Likewise.
16614 [C99-based-standards] (PRIXFAST32): Likewise.
16615 [C99-based-standards] (SCNdFAST32): Likewise.
16616 [C99-based-standards] (SCNiFAST32): Likewise.
16617 [C99-based-standards] (SCNoFAST32): Likewise.
16618 [C99-based-standards] (SCNuFAST32): Likewise.
16619 [C99-based-standards] (SCNxFAST32): Likewise.
16620 [C99-based-standards] (PRId64): Likewise.
16621 [C99-based-standards] (PRIi64): Likewise.
16622 [C99-based-standards] (PRIo64): Likewise.
16623 [C99-based-standards] (PRIu64): Likewise.
16624 [C99-based-standards] (PRIx64): Likewise.
16625 [C99-based-standards] (PRIX64): Likewise.
16626 [C99-based-standards] (SCNd64): Likewise.
16627 [C99-based-standards] (SCNi64): Likewise.
16628 [C99-based-standards] (SCNo64): Likewise.
16629 [C99-based-standards] (SCNu64): Likewise.
16630 [C99-based-standards] (SCNx64): Likewise.
16631 [C99-based-standards] (PRIdLEAST64): Likewise.
16632 [C99-based-standards] (PRIiLEAST64): Likewise.
16633 [C99-based-standards] (PRIoLEAST64): Likewise.
16634 [C99-based-standards] (PRIuLEAST64): Likewise.
16635 [C99-based-standards] (PRIxLEAST64): Likewise.
16636 [C99-based-standards] (PRIXLEAST64): Likewise.
16637 [C99-based-standards] (SCNdLEAST64): Likewise.
16638 [C99-based-standards] (SCNiLEAST64): Likewise.
16639 [C99-based-standards] (SCNoLEAST64): Likewise.
16640 [C99-based-standards] (SCNuLEAST64): Likewise.
16641 [C99-based-standards] (SCNxLEAST64): Likewise.
16642 [C99-based-standards] (PRIdFAST64): Likewise.
16643 [C99-based-standards] (PRIiFAST64): Likewise.
16644 [C99-based-standards] (PRIoFAST64): Likewise.
16645 [C99-based-standards] (PRIuFAST64): Likewise.
16646 [C99-based-standards] (PRIxFAST64): Likewise.
16647 [C99-based-standards] (PRIXFAST64): Likewise.
16648 [C99-based-standards] (SCNdFAST64): Likewise.
16649 [C99-based-standards] (SCNiFAST64): Likewise.
16650 [C99-based-standards] (SCNoFAST64): Likewise.
16651 [C99-based-standards] (SCNuFAST64): Likewise.
16652 [C99-based-standards] (SCNxFAST64): Likewise.
16653 [C99-based-standards] (PRIdMAX): Likewise.
16654 [C99-based-standards] (PRIiMAX): Likewise.
16655 [C99-based-standards] (PRIoMAX): Likewise.
16656 [C99-based-standards] (PRIuMAX): Likewise.
16657 [C99-based-standards] (PRIxMAX): Likewise.
16658 [C99-based-standards] (PRIXMAX): Likewise.
16659 [C99-based-standards] (SCNdMAX): Likewise.
16660 [C99-based-standards] (SCNiMAX): Likewise.
16661 [C99-based-standards] (SCNoMAX): Likewise.
16662 [C99-based-standards] (SCNuMAX): Likewise.
16663 [C99-based-standards] (SCNxMAX): Likewise.
16664 [C99-based-standards] (PRIdPTR): Likewise.
16665 [C99-based-standards] (PRIiPTR): Likewise.
16666 [C99-based-standards] (PRIoPTR): Likewise.
16667 [C99-based-standards] (PRIuPTR): Likewise.
16668 [C99-based-standards] (PRIxPTR): Likewise.
16669 [C99-based-standards] (PRIXPTR): Likewise.
16670 [C99-based-standards] (SCNdPTR): Likewise.
16671 [C99-based-standards] (SCNiPTR): Likewise.
16672 [C99-based-standards] (SCNoPTR): Likewise.
16673 [C99-based-standards] (SCNuPTR): Likewise.
16674 [C99-based-standards] (SCNxPTR): Likewise.
16675 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16677 * conform/data/stdint.h-data: Update comments to clarify
16679 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16681 [C99-based standards] (INT8_MAX): Likewise.
16682 [C99-based standards] (INT16_MIN): Likewise.
16683 [C99-based standards] (INT16_MAX): Likewise.
16684 [C99-based standards] (INT32_MIN): Likewise.
16685 [C99-based standards] (INT32_MAX): Likewise.
16686 [C99-based standards] (INT64_MIN): Likewise.
16687 [C99-based standards] (INT64_MAX): Likewise.
16688 [C99-based standards] (UINT8_MAX): Likewise.
16689 [C99-based standards] (UINT16_MAX): Likewise.
16690 [C99-based standards] (UINT32_MAX): Likewise.
16691 [C99-based standards] (UINT64_MAX): Likewise.
16692 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16693 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16694 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16695 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16696 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16697 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16698 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16699 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16700 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16701 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16702 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16703 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16704 [C99-based standards] (INT_FAST8_MIN): Likewise.
16705 [C99-based standards] (INT_FAST8_MAX): Likewise.
16706 [C99-based standards] (INT_FAST16_MIN): Likewise.
16707 [C99-based standards] (INT_FAST16_MAX): Likewise.
16708 [C99-based standards] (INT_FAST32_MIN): Likewise.
16709 [C99-based standards] (INT_FAST32_MAX): Likewise.
16710 [C99-based standards] (INT_FAST64_MIN): Likewise.
16711 [C99-based standards] (INT_FAST64_MAX): Likewise.
16712 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16713 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16714 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16715 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16716 [C99-based standards] (INTPTR_MIN): Likewise.
16717 [C99-based standards] (INTPTR_MAX): Likewise.
16718 [C99-based standards] (UINTPTR_MAX): Likewise.
16719 [C99-based standards] (INTMAX_MIN): Likewise.
16720 [C99-based standards] (INTMAX_MAX): Likewise.
16721 [C99-based standards] (UINTMAX_MAX): Likewise.
16722 [C99-based standards] (PTRDIFF_MIN): Likewise.
16723 [C99-based standards] (PTRDIFF_MAX): Likewise.
16724 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16725 [C99-based standards] (SIZE_MAX): Likewise.
16726 [C99-based standards] (WCHAR_MAX): Likewise.
16727 [C99-based standards] (WINT_MAX): Likewise.
16728 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16729 constraint on value.
16730 [C99-based standards] (WCHAR_MIN): Likewise.
16731 [C99-based standards] (WINT_MIN): Likewise.
16732 [C99-based standards] (*_t): Allow.
16733 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16734 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16735 Include math.h-data and complex.h-data. Remove all expectations
16736 of math.h and complex.h contents.
16737 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16739 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16740 (struct tm): Expect tag.
16741 [C99-based-standards] (wcstof): Expect function.
16742 [C99-based-standards] (wcstold): Likewise.
16743 [C99-based-standards] (wcstoll): Likewise.
16744 [C99-based-standards] (wcstoull): Likewise.
16745 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16746 macro-int-constant. Specify type.
16747 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16748 constraint on value.
16749 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16751 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16753 [ISO C standards]: Do not allow headers.
16754 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16755 wcs[abcdefghijklmnopqrstuvwxyz]*.
16756 [ISO C standards] (*_t): Do not allow.
16757 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16759 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16760 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16762 [ISO C standards]: Do not allow headers.
16763 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16764 is[abcdefghijklmnopqrstuvwxyz]*.
16765 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16766 to[abcdefghijklmnopqrstuvwxyz]*.
16767 [ISO C standards] (*_t): Do not allow.
16768 * conform/data/stdalign.h-data: New file.
16769 * conform/data/stdbool.h-data: Likewise.
16770 * conform/data/stdnoreturn.h-data: Likewise.
16772 2012-11-07 Roland McGrath <roland@hack.frob.com>
16775 * manual/filesys.texi (Directory Entries): Typo fix.
16776 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16778 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16780 * elf/elf.h (EM_AARCH64): New macro.
16781 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16782 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16783 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16784 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16785 (R_AARCH64_TLSDESC): Likewise.
16786 (NT_ARM_TLS): Likewise.
16787 (NT_ARM_HW_BREAK): Likewise.
16788 (NT_ARM_HW_WATCH): Likewise.
16790 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16793 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16794 (__ieee754_powl): Saturate nonzero exponents with absolute value
16795 below 0x1p-79 to +/- 0x1p-79.
16796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16797 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16798 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16799 nonzero exponents with absolute value below 0x1p-32 to +/-
16801 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16802 (__ieee754_powl): Saturate nonzero exponents with absolute value
16803 below 0x1p-79 to +/- 0x1p-79.
16804 * math/libm-test.inc (pow_test): Add more tests.
16806 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16808 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16809 _dl_s390_cap_flags with kernel. Increase string length.
16810 (_dl_s390_platforms): Add z196 and zEC12.
16812 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16814 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16815 Change XOPEN21K to XOPEN2K.
16817 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16819 * string/memmove.c: Use memcpy when possible.
16821 2012-11-06 Andreas Jaeger <aj@suse.de>
16823 * po/eo.po: Update from translation team.
16825 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16829 exponent and small x and y exponents, scale x or y up. Increase
16830 by 2 the exponent used in scaling up.
16831 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16832 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16833 * math/libm-test.inc (fma_test): Add more tests.
16834 (fma_test_towardzero): Likewise.
16835 (fma_test_downward): Likewise.
16836 (fma_test_upward): Likewise.
16838 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16841 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16845 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16846 namespace for names of struct fields.
16847 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16849 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16850 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16852 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16855 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16857 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16859 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16863 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16866 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16870 definitely overflow as x * y not x * y + z.
16871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16873 * math/libm-test.inc (fma_test): Add more tests.
16874 (fma_test_towardzero): Likewise.
16875 (fma_test_downward): Likewise.
16876 (fma_test_upward): Likewise.
16878 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16882 * include/stub-tag.h: Remove file.
16883 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16885 * manual/maint.texi (Porting): Don't reference it.
16886 * Makerules ($(objpfx)stubs): Likewise.
16887 * dirent/closedir.c: Don't include <stub-tag.h>.
16888 * dirent/dirfd.c: Likewise.
16889 * dirent/fdopendir.c: Likewise.
16890 * dirent/getdents.c: Likewise.
16891 * dirent/getdents64.c: Likewise.
16892 * dirent/opendir.c: Likewise.
16893 * dirent/readdir.c: Likewise.
16894 * dirent/readdir64.c: Likewise.
16895 * dirent/readdir64_r.c: Likewise.
16896 * dirent/readdir_r.c: Likewise.
16897 * dirent/rewinddir.c: Likewise.
16898 * dirent/seekdir.c: Likewise.
16899 * dirent/telldir.c: Likewise.
16900 * gmon/profil.c: Likewise.
16901 * grp/setgroups.c: Likewise.
16902 * inet/if_index.c: Likewise.
16903 * io/access.c: Likewise.
16904 * io/chdir.c: Likewise.
16905 * io/chmod.c: Likewise.
16906 * io/chown.c: Likewise.
16907 * io/close.c: Likewise.
16908 * io/dup.c: Likewise.
16909 * io/dup2.c: Likewise.
16910 * io/dup3.c: Likewise.
16911 * io/euidaccess.c: Likewise.
16912 * io/faccessat.c: Likewise.
16913 * io/fchdir.c: Likewise.
16914 * io/fchmod.c: Likewise.
16915 * io/fchmodat.c: Likewise.
16916 * io/fchown.c: Likewise.
16917 * io/fchownat.c: Likewise.
16918 * io/fcntl.c: Likewise.
16919 * io/flock.c: Likewise.
16920 * io/fstatfs.c: Likewise.
16921 * io/fstatfs64.c: Likewise.
16922 * io/fstatvfs.c: Likewise.
16923 * io/fstatvfs64.c: Likewise.
16924 * io/futimens.c: Likewise.
16925 * io/fxstat.c: Likewise.
16926 * io/fxstat64.c: Likewise.
16927 * io/fxstatat.c: Likewise.
16928 * io/fxstatat64.c: Likewise.
16929 * io/getcwd.c: Likewise.
16930 * io/isatty.c: Likewise.
16931 * io/lchmod.c: Likewise.
16932 * io/lchown.c: Likewise.
16933 * io/link.c: Likewise.
16934 * io/linkat.c: Likewise.
16935 * io/lseek.c: Likewise.
16936 * io/lseek64.c: Likewise.
16937 * io/lxstat64.c: Likewise.
16938 * io/mkdir.c: Likewise.
16939 * io/mkdirat.c: Likewise.
16940 * io/mkfifo.c: Likewise.
16941 * io/mkfifoat.c: Likewise.
16942 * io/open.c: Likewise.
16943 * io/open64.c: Likewise.
16944 * io/openat.c: Likewise.
16945 * io/openat64.c: Likewise.
16946 * io/pipe.c: Likewise.
16947 * io/pipe2.c: Likewise.
16948 * io/poll.c: Likewise.
16949 * io/posix_fadvise.c: Likewise.
16950 * io/posix_fadvise64.c: Likewise.
16951 * io/posix_fallocate.c: Likewise.
16952 * io/posix_fallocate64.c: Likewise.
16953 * io/read.c: Likewise.
16954 * io/readlink.c: Likewise.
16955 * io/readlinkat.c: Likewise.
16956 * io/rmdir.c: Likewise.
16957 * io/sendfile.c: Likewise.
16958 * io/sendfile64.c: Likewise.
16959 * io/statfs.c: Likewise.
16960 * io/statfs64.c: Likewise.
16961 * io/statvfs.c: Likewise.
16962 * io/statvfs64.c: Likewise.
16963 * io/symlink.c: Likewise.
16964 * io/symlinkat.c: Likewise.
16965 * io/ttyname.c: Likewise.
16966 * io/ttyname_r.c: Likewise.
16967 * io/umask.c: Likewise.
16968 * io/unlink.c: Likewise.
16969 * io/unlinkat.c: Likewise.
16970 * io/utime.c: Likewise.
16971 * io/utimensat.c: Likewise.
16972 * io/write.c: Likewise.
16973 * io/xmknod.c: Likewise.
16974 * io/xmknodat.c: Likewise.
16975 * io/xstat.c: Likewise.
16976 * io/xstat64.c: Likewise.
16977 * login/getpt.c: Likewise.
16978 * login/grantpt.c: Likewise.
16979 * login/unlockpt.c: Likewise.
16980 * math/e_acoshl.c: Likewise.
16981 * math/e_acosl.c: Likewise.
16982 * math/e_asinl.c: Likewise.
16983 * math/e_atan2l.c: Likewise.
16984 * math/e_atanhl.c: Likewise.
16985 * math/e_coshl.c: Likewise.
16986 * math/e_expl.c: Likewise.
16987 * math/e_fmodl.c: Likewise.
16988 * math/e_gammal_r.c: Likewise.
16989 * math/e_hypotl.c: Likewise.
16990 * math/e_j0l.c: Likewise.
16991 * math/e_j1l.c: Likewise.
16992 * math/e_jnl.c: Likewise.
16993 * math/e_lgammal_r.c: Likewise.
16994 * math/e_log10l.c: Likewise.
16995 * math/e_log2l.c: Likewise.
16996 * math/e_logl.c: Likewise.
16997 * math/e_powl.c: Likewise.
16998 * math/e_rem_pio2l.c: Likewise.
16999 * math/e_sinhl.c: Likewise.
17000 * math/e_sqrtl.c: Likewise.
17001 * math/fclrexcpt.c: Likewise.
17002 * math/fedisblxcpt.c: Likewise.
17003 * math/feenablxcpt.c: Likewise.
17004 * math/fegetenv.c: Likewise.
17005 * math/fegetexcept.c: Likewise.
17006 * math/fegetround.c: Likewise.
17007 * math/feholdexcpt.c: Likewise.
17008 * math/fesetenv.c: Likewise.
17009 * math/fesetround.c: Likewise.
17010 * math/feupdateenv.c: Likewise.
17011 * math/fgetexcptflg.c: Likewise.
17012 * math/fraiseexcpt.c: Likewise.
17013 * math/fsetexcptflg.c: Likewise.
17014 * math/ftestexcept.c: Likewise.
17015 * math/k_cosl.c: Likewise.
17016 * math/k_rem_pio2l.c: Likewise.
17017 * math/k_sinl.c: Likewise.
17018 * math/k_tanl.c: Likewise.
17019 * math/s_asinhl.c: Likewise.
17020 * math/s_atanl.c: Likewise.
17021 * math/s_cbrtl.c: Likewise.
17022 * math/s_erfl.c: Likewise.
17023 * math/s_expm1l.c: Likewise.
17024 * math/s_log1pl.c: Likewise.
17025 * math/s_tanhl.c: Likewise.
17026 * misc/acct.c: Likewise.
17027 * misc/brk.c: Likewise.
17028 * misc/chflags.c: Likewise.
17029 * misc/chroot.c: Likewise.
17030 * misc/fchflags.c: Likewise.
17031 * misc/fgetxattr.c: Likewise.
17032 * misc/flistxattr.c: Likewise.
17033 * misc/fremovexattr.c: Likewise.
17034 * misc/fsetxattr.c: Likewise.
17035 * misc/fsync.c: Likewise.
17036 * misc/ftruncate.c: Likewise.
17037 * misc/futimes.c: Likewise.
17038 * misc/futimesat.c: Likewise.
17039 * misc/getdomain.c: Likewise.
17040 * misc/getdtsz.c: Likewise.
17041 * misc/gethostid.c: Likewise.
17042 * misc/gethostname.c: Likewise.
17043 * misc/getloadavg.c: Likewise.
17044 * misc/getpagesize.c: Likewise.
17045 * misc/getsysstats.c: Likewise.
17046 * misc/getxattr.c: Likewise.
17047 * misc/gtty.c: Likewise.
17048 * misc/ioctl.c: Likewise.
17049 * misc/lgetxattr.c: Likewise.
17050 * misc/listxattr.c: Likewise.
17051 * misc/llistxattr.c: Likewise.
17052 * misc/lremovexattr.c: Likewise.
17053 * misc/lsetxattr.c: Likewise.
17054 * misc/lutimes.c: Likewise.
17055 * misc/madvise.c: Likewise.
17056 * misc/mincore.c: Likewise.
17057 * misc/mlock.c: Likewise.
17058 * misc/mlockall.c: Likewise.
17059 * misc/mmap.c: Likewise.
17060 * misc/mprotect.c: Likewise.
17061 * misc/msync.c: Likewise.
17062 * misc/munlock.c: Likewise.
17063 * misc/munlockall.c: Likewise.
17064 * misc/munmap.c: Likewise.
17065 * misc/preadv.c: Likewise.
17066 * misc/preadv64.c: Likewise.
17067 * misc/ptrace.c: Likewise.
17068 * misc/pwritev.c: Likewise.
17069 * misc/pwritev64.c: Likewise.
17070 * misc/readv.c: Likewise.
17071 * misc/reboot.c: Likewise.
17072 * misc/remap_file_pages.c: Likewise.
17073 * misc/removexattr.c: Likewise.
17074 * misc/revoke.c: Likewise.
17075 * misc/select.c: Likewise.
17076 * misc/setdomain.c: Likewise.
17077 * misc/setegid.c: Likewise.
17078 * misc/seteuid.c: Likewise.
17079 * misc/sethostid.c: Likewise.
17080 * misc/sethostname.c: Likewise.
17081 * misc/setregid.c: Likewise.
17082 * misc/setreuid.c: Likewise.
17083 * misc/setxattr.c: Likewise.
17084 * misc/sstk.c: Likewise.
17085 * misc/stty.c: Likewise.
17086 * misc/swapoff.c: Likewise.
17087 * misc/swapon.c: Likewise.
17088 * misc/sync.c: Likewise.
17089 * misc/syncfs.c: Likewise.
17090 * misc/syscall.c: Likewise.
17091 * misc/truncate.c: Likewise.
17092 * misc/ualarm.c: Likewise.
17093 * misc/usleep.c: Likewise.
17094 * misc/ustat.c: Likewise.
17095 * misc/utimes.c: Likewise.
17096 * misc/vhangup.c: Likewise.
17097 * misc/writev.c: Likewise.
17098 * posix/_exit.c: Likewise.
17099 * posix/alarm.c: Likewise.
17100 * posix/execve.c: Likewise.
17101 * posix/fexecve.c: Likewise.
17102 * posix/fork.c: Likewise.
17103 * posix/fpathconf.c: Likewise.
17104 * posix/getaddrinfo.c: Likewise.
17105 * posix/getegid.c: Likewise.
17106 * posix/geteuid.c: Likewise.
17107 * posix/getgid.c: Likewise.
17108 * posix/getgroups.c: Likewise.
17109 * posix/getlogin.c: Likewise.
17110 * posix/getlogin_r.c: Likewise.
17111 * posix/getpgid.c: Likewise.
17112 * posix/getpid.c: Likewise.
17113 * posix/getppid.c: Likewise.
17114 * posix/getresgid.c: Likewise.
17115 * posix/getresuid.c: Likewise.
17116 * posix/getsid.c: Likewise.
17117 * posix/getuid.c: Likewise.
17118 * posix/glob64.c: Likewise.
17119 * posix/nanosleep.c: Likewise.
17120 * posix/pathconf.c: Likewise.
17121 * posix/pause.c: Likewise.
17122 * posix/posix_madvise.c: Likewise.
17123 * posix/pread.c: Likewise.
17124 * posix/pread64.c: Likewise.
17125 * posix/pwrite.c: Likewise.
17126 * posix/pwrite64.c: Likewise.
17127 * posix/sched_getaffinity.c: Likewise.
17128 * posix/sched_getp.c: Likewise.
17129 * posix/sched_gets.c: Likewise.
17130 * posix/sched_primax.c: Likewise.
17131 * posix/sched_primin.c: Likewise.
17132 * posix/sched_rr_gi.c: Likewise.
17133 * posix/sched_setaffinity.c: Likewise.
17134 * posix/sched_setp.c: Likewise.
17135 * posix/sched_sets.c: Likewise.
17136 * posix/sched_yield.c: Likewise.
17137 * posix/setgid.c: Likewise.
17138 * posix/setlogin.c: Likewise.
17139 * posix/setpgid.c: Likewise.
17140 * posix/setresgid.c: Likewise.
17141 * posix/setresuid.c: Likewise.
17142 * posix/setsid.c: Likewise.
17143 * posix/setuid.c: Likewise.
17144 * posix/sleep.c: Likewise.
17145 * posix/spawni.c: Likewise.
17146 * posix/sysconf.c: Likewise.
17147 * posix/times.c: Likewise.
17148 * posix/wait.c: Likewise.
17149 * posix/wait3.c: Likewise.
17150 * posix/wait4.c: Likewise.
17151 * posix/waitpid.c: Likewise.
17152 * resolv/gai_sigqueue.c: Likewise.
17153 * resource/getpriority.c: Likewise.
17154 * resource/getrlimit.c: Likewise.
17155 * resource/getrusage.c: Likewise.
17156 * resource/nice.c: Likewise.
17157 * resource/setpriority.c: Likewise.
17158 * resource/setrlimit.c: Likewise.
17159 * resource/ulimit.c: Likewise.
17160 * rt/aio_cancel.c: Likewise.
17161 * rt/aio_fsync.c: Likewise.
17162 * rt/aio_read.c: Likewise.
17163 * rt/aio_sigqueue.c: Likewise.
17164 * rt/aio_suspend.c: Likewise.
17165 * rt/aio_write.c: Likewise.
17166 * rt/clock_getres.c: Likewise.
17167 * rt/clock_gettime.c: Likewise.
17168 * rt/clock_nanosleep.c: Likewise.
17169 * rt/clock_settime.c: Likewise.
17170 * rt/lio_listio.c: Likewise.
17171 * rt/mq_close.c: Likewise.
17172 * rt/mq_getattr.c: Likewise.
17173 * rt/mq_notify.c: Likewise.
17174 * rt/mq_open.c: Likewise.
17175 * rt/mq_receive.c: Likewise.
17176 * rt/mq_send.c: Likewise.
17177 * rt/mq_setattr.c: Likewise.
17178 * rt/mq_timedreceive.c: Likewise.
17179 * rt/mq_timedsend.c: Likewise.
17180 * rt/mq_unlink.c: Likewise.
17181 * rt/shm_open.c: Likewise.
17182 * rt/shm_unlink.c: Likewise.
17183 * rt/timer_create.c: Likewise.
17184 * rt/timer_delete.c: Likewise.
17185 * rt/timer_getoverr.c: Likewise.
17186 * rt/timer_gettime.c: Likewise.
17187 * rt/timer_settime.c: Likewise.
17188 * setjmp/__longjmp.c: Likewise.
17189 * setjmp/setjmp.c: Likewise.
17190 * signal/kill.c: Likewise.
17191 * signal/killpg.c: Likewise.
17192 * signal/raise.c: Likewise.
17193 * signal/sigaction.c: Likewise.
17194 * signal/sigaltstack.c: Likewise.
17195 * signal/sigblock.c: Likewise.
17196 * signal/sigignore.c: Likewise.
17197 * signal/sigintr.c: Likewise.
17198 * signal/signal.c: Likewise.
17199 * signal/sigpause.c: Likewise.
17200 * signal/sigpending.c: Likewise.
17201 * signal/sigqueue.c: Likewise.
17202 * signal/sigreturn.c: Likewise.
17203 * signal/sigset.c: Likewise.
17204 * signal/sigsetmask.c: Likewise.
17205 * signal/sigstack.c: Likewise.
17206 * signal/sigsuspend.c: Likewise.
17207 * signal/sigtimedwait.c: Likewise.
17208 * signal/sigvec.c: Likewise.
17209 * signal/sigwait.c: Likewise.
17210 * signal/sigwaitinfo.c: Likewise.
17211 * signal/sysv_signal.c: Likewise.
17212 * socket/accept.c: Likewise.
17213 * socket/accept4.c: Likewise.
17214 * socket/bind.c: Likewise.
17215 * socket/connect.c: Likewise.
17216 * socket/getpeername.c: Likewise.
17217 * socket/getsockname.c: Likewise.
17218 * socket/getsockopt.c: Likewise.
17219 * socket/isfdtype.c: Likewise.
17220 * socket/listen.c: Likewise.
17221 * socket/recv.c: Likewise.
17222 * socket/recvfrom.c: Likewise.
17223 * socket/recvmsg.c: Likewise.
17224 * socket/send.c: Likewise.
17225 * socket/sendmsg.c: Likewise.
17226 * socket/sendto.c: Likewise.
17227 * socket/setsockopt.c: Likewise.
17228 * socket/shutdown.c: Likewise.
17229 * socket/sockatmark.c: Likewise.
17230 * socket/socket.c: Likewise.
17231 * socket/socketpair.c: Likewise.
17232 * stdio-common/ctermid.c: Likewise.
17233 * stdio-common/cuserid.c: Likewise.
17234 * stdio-common/remove.c: Likewise.
17235 * stdio-common/rename.c: Likewise.
17236 * stdio-common/renameat.c: Likewise.
17237 * stdio-common/tempname.c: Likewise.
17238 * stdlib/getcontext.c: Likewise.
17239 * stdlib/makecontext.c: Likewise.
17240 * stdlib/setcontext.c: Likewise.
17241 * stdlib/swapcontext.c: Likewise.
17242 * stdlib/system.c: Likewise.
17243 * streams/fattach.c: Likewise.
17244 * streams/fdetach.c: Likewise.
17245 * streams/getmsg.c: Likewise.
17246 * streams/getpmsg.c: Likewise.
17247 * streams/putmsg.c: Likewise.
17248 * streams/putpmsg.c: Likewise.
17249 * sysdeps/unix/bsd/getpt.c: Likewise.
17250 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17251 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17252 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17255 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17256 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17257 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17258 * sysvipc/msgctl.c: Likewise.
17259 * sysvipc/msgget.c: Likewise.
17260 * sysvipc/msgrcv.c: Likewise.
17261 * sysvipc/msgsnd.c: Likewise.
17262 * sysvipc/semctl.c: Likewise.
17263 * sysvipc/semget.c: Likewise.
17264 * sysvipc/semop.c: Likewise.
17265 * sysvipc/semtimedop.c: Likewise.
17266 * sysvipc/shmat.c: Likewise.
17267 * sysvipc/shmctl.c: Likewise.
17268 * sysvipc/shmdt.c: Likewise.
17269 * sysvipc/shmget.c: Likewise.
17270 * termios/tcdrain.c: Likewise.
17271 * termios/tcflow.c: Likewise.
17272 * termios/tcflush.c: Likewise.
17273 * termios/tcgetattr.c: Likewise.
17274 * termios/tcgetpgrp.c: Likewise.
17275 * termios/tcsendbrk.c: Likewise.
17276 * termios/tcsetattr.c: Likewise.
17277 * termios/tcsetpgrp.c: Likewise.
17278 * time/adjtime.c: Likewise.
17279 * time/clock.c: Likewise.
17280 * time/getitimer.c: Likewise.
17281 * time/gettimeofday.c: Likewise.
17282 * time/setitimer.c: Likewise.
17283 * time/settimeofday.c: Likewise.
17284 * time/stime.c: Likewise.
17285 * time/time.c: Likewise.
17287 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17289 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17292 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17294 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17296 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17300 FE_TONEAREST before applying Dekker multiplication and Knuth
17301 addition. Clear inexact exceptions and check for exact zero
17302 results afterwards.
17303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17306 * math/libm-test.inc (fma_test): Add more tests.
17307 (fma_test_towardzero): Likewise.
17308 (fma_test_downward): Likewise.
17309 (fma_test_upward): Likewise.
17310 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17312 (libc_fesetround): New macro.
17313 (libc_fesetroundf): Likewise.
17314 (libc_fesetroundl): Likewise.
17315 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17317 (libc_fesetround_387): Likewise.
17318 (libc_fesetroundf): New macro.
17319 (libc_fesetround): Likewise.
17320 (libc_fesetroundl): Likewise.
17321 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17323 (libc_fesetroundf): New macro.
17324 (libc_fesetround): Likewise.
17325 (libc_fesetroundl): Likewise.
17326 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17327 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17328 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17330 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17331 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17333 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17334 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17336 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17340 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17341 integer constant usable in #if and use that to give value to enum
17343 (FE_DIVBYZERO): Likewise.
17344 (FE_UNDERFLOW): Likewise.
17345 (FE_OVERFLOW): Likewise.
17346 (FE_INVALID): Likewise.
17347 (FE_INVALID_SNAN): Likewise.
17348 (FE_INVALID_ISI): Likewise.
17349 (FE_INVALID_IDI): Likewise.
17350 (FE_INVALID_ZDZ): Likewise.
17351 (FE_INVALID_IMZ): Likewise.
17352 (FE_INVALID_COMPARE): Likewise.
17353 (FE_INVALID_SOFTWARE): Likewise.
17354 (FE_INVALID_SQRT): Likewise.
17355 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17356 (FE_TONEAREST): Likewise.
17357 (FE_TOWARDZERO): Likewise.
17358 (FE_UPWARD): Likewise.
17359 (FE_DOWNWARD): Likewise.
17360 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17361 (FE_DIVBYZERO): Likewise.
17362 (FE_OVERFLOW): Likewise.
17363 (FE_UNDERFLOW): Likewise.
17364 (FE_INEXACT): Likewise.
17365 (FE_TONEAREST): Likewise.
17366 (FE_DOWNWARD): Likewise.
17367 (FE_UPWARD): Likewise.
17368 (FE_TOWARDZERO): Likewise.
17369 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17370 (FE_UNDERFLOW): Likewise.
17371 (FE_OVERFLOW): Likewise.
17372 (FE_DIVBYZERO): Likewise.
17373 (FE_INVALID): Likewise.
17374 (FE_TONEAREST): Likewise.
17375 (FE_TOWARDZERO): Likewise.
17376 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17377 (FE_OVERFLOW): Likewise.
17378 (FE_UNDERFLOW): Likewise.
17379 (FE_DIVBYZERO): Likewise.
17380 (FE_INEXACT): Likewise.
17381 (FE_TONEAREST): Likewise.
17382 (FE_TOWARDZERO): Likewise.
17383 (FE_UPWARD): Likewise.
17384 (FE_DOWNWARD): Likewise.
17385 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17386 (FE_DIVBYZERO): Likewise.
17387 (FE_OVERFLOW): Likewise.
17388 (FE_UNDERFLOW): Likewise.
17389 (FE_INEXACT): Likewise.
17390 (FE_TONEAREST): Likewise.
17391 (FE_DOWNWARD): Likewise.
17392 (FE_UPWARD): Likewise.
17393 (FE_TOWARDZERO): Likewise.
17395 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17397 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17399 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17401 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17402 commands. Quote $PWD.
17403 (blacklist_exports): Don't use remove_newlines. Replace "declare
17405 (remove_newlines): Remove.
17407 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17409 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17410 * stdlib/stdlib.h (atof): Moved to ...
17411 * include/bits/stdlib-float.h: Here. New file.
17412 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17413 * stdlib/bits/stdlib-float.h: New file.
17414 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17419 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17421 * conform/conformtest.pl (@headers): Add fenv.h.
17422 * conform/data/fenv.h-data: New file.
17423 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17424 include of <math/fenv.h>.
17426 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17427 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17428 && !UNIX98]. Enables tests for XOPEN2K8.
17429 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17430 POSIX2008]: Likewise.
17432 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17433 (struct rusage): Do not expect type or its members.
17436 * math/math.h (FP_NAN): Define macro to integer constant usable in
17437 #if and use that to give value to enum constant.
17438 (FP_INFINITE): Likewise.
17439 (FP_ZERO): Likewise.
17440 (FP_SUBNORMAL): Likewise.
17441 (FP_NORMAL): Likewise.
17443 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17445 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17446 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17449 2012-11-02 Roland McGrath <roland@hack.frob.com>
17451 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17452 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17453 autoconf-time if not.
17454 * configure.in: Remove AC_PREREQ.
17456 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17458 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17459 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17460 of the internal implementation.
17462 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17464 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17465 except include of <misc/sys/syslog.h>.
17467 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17470 function returns with a NULL context exit with zero.
17472 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17474 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17476 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17478 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17479 (run_program_cmd): This.
17480 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17481 (tst_langinfo): New variable. Use it.
17483 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17485 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17486 floating point opcodes.
17488 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17490 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17493 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17495 * sysdeps/mach/hurd/powerpc: Remove directory.
17496 * sysdeps/mach/powerpc: Likewise.
17498 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17500 * scripts/check-local-headers.sh: Ignore c++ headers.
17502 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17504 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17505 __libc_cleanup_region_start argument.
17507 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17512 x * y using scaling, not as x * y + z.
17513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17515 * math/libm-test.inc (fma_test): Add more tests.
17516 (fma_test_towardzero): Likewise.
17517 (fma_test_downward): Likewise.
17518 (fma_test_upward): Likewise.
17520 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17522 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17524 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17526 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17529 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17531 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17533 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17540 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17543 Fix the order of the list for glibc 2.17.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17547 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17551 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17554 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17555 for low part of x being zero before using __atanl (y).
17556 * math/libm-test.inc (atan2_test): Add another test.
17558 * manual/install.texi (Configuring and compiling): Document
17559 general use of test-wrapper and test-wrapper-env.
17560 * INSTALL: Regenerated.
17562 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17563 (__fma): Do not extract and scale down low bits on after-rounding
17564 systems when result rounded to normal precision would have normal
17566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17567 (__fmal): Do not extract and scale down low bits on after-rounding
17568 systems when result rounded to normal precision would have normal
17570 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17571 (__fmal): Do not extract and scale down low bits on after-rounding
17572 systems when result rounded to normal precision would have normal
17574 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17576 (fma_test): Add more tests.
17577 (fma_test_towardzero): Likewise.
17578 (fma_test_downward): Likewise.
17579 (fma_test_upward): Likewise.
17581 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17583 * sysdeps/i386/tininess.h: Renamed to ...
17584 * sysdeps/x86/tininess.h: This.
17585 * sysdeps/x86_64/tininess.h: Removed.
17587 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17589 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17590 input. Use $(build-program-cmd).
17591 ($(objpfx)tst-array1-static.out): Likewise.
17592 ($(objpfx)tst-array2.out): Likewise.
17593 ($(objpfx)tst-array3.out): Likewise.
17594 ($(objpfx)tst-array4.out): Likewise.
17595 ($(objpfx)tst-array5.out): Likewise.
17596 ($(objpfx)tst-array5-static.out): Likewise.
17598 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17600 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17603 * nss/nsswitch.h (nss_interface_function): Provide new
17604 macro for use with NSS functions.
17605 * grp/initgroups.c: Use new macro.
17606 * nss/getXXbyYY.c: Likewise.
17607 * nss/getXXbyYY_r.c: Likewise.
17608 * nss/getXXent.c: Likewise.
17609 * nss/getXXent_r.c: Likewise.
17610 * sysdeps/posix/getaddrinfo.c: Likewise.
17612 2012-10-30 Andreas Jaeger <aj@suse.de>
17614 * po/ru.po: Update Russion translation from translation project.
17616 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17621 result and shift together with sticky bit instead of replicating
17622 round-to-nearest rounding.
17623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17625 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17626 missing underflow exceptions.
17627 (fma_test_towardzero): Add more tests.
17628 (fma_test_downward): Likewise.
17629 (fma_test_upward): Likewise.
17632 * sysdeps/generic/tininess.h: New file.
17633 * sysdeps/i386/tininess.h: Likewise.
17634 * sysdeps/sh/tininess.h: Likewise.
17635 * sysdeps/x86_64/tininess.h: Likewise.
17636 * stdlib/tst-strtod-underflow.c: Likewise.
17637 * stdlib/tst-tininess.c: Likewise.
17638 * stdlib/strtod_l.c: Include <tininess.h>.
17639 (round_and_return): Do not set errno for exact underflow cases.
17640 Force an underflow exception when setting errno for underflow.
17641 Determine underflow based on rounding to normal precision if
17642 TININESS_AFTER_ROUNDING.
17643 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17644 ERANGE for exact underflow cases.
17645 * stdlib/Makefile (tests): Add tst-tininess and
17646 tst-strtod-underflow.
17647 ($(objpfx)tst-tininess): Use $(link-libm).
17648 ($(objpfx)tst-strtod-underflow): Likewise.
17650 2012-10-30 Andreas Jaeger <aj@suse.de>
17653 * elf/Makefile (tests): Remove conditional for have-initfini-array
17654 since this is now always required and the variable does not exist
17656 (tests-static): Likewise.
17657 (modules-names): Likewise.
17659 * po/eo.po: Add Esperanto translation from translation project.
17661 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17662 merged with constructor/destructor.
17663 (init_array): Likewise.
17664 * elf/tst-array2dep.c (fini_array): Likewise.
17665 (init_array): Likewise.
17667 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17669 * manual/message.texi: Delete @cartouche tags.
17671 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17673 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17675 * sysdeps/mach/hurd/fsync.c: Likewise.
17677 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17678 [_POSIX_REALTIME_SIGNALS]: Change condition to
17679 [_POSIX_REALTIME_SIGNALS > 0].
17681 2012-10-27 Andreas Jaeger <aj@suse.de>
17683 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17684 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17686 [__WORDSIZE != 64]: Likewise.
17688 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17690 * iconvdata/tst-table.sh: Remove ${SHELL}.
17691 * iconvdata/tst-tables.sh: Likewise.
17693 2012-10-25 David S. Miller <davem@davemloft.net>
17695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17696 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17701 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17702 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17703 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17706 2012-10-25 Roland McGrath <roland@hack.frob.com>
17708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17709 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17712 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17713 Jim Blandy <jimb@codesourcery.com>
17715 * scripts/cross-test-ssh.sh: New file.
17716 * manual/install.texi (Configuring and compiling): Document use of
17718 * INSTALL: Regenerated.
17720 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17722 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17725 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17727 * Makeconfig (run-program-prefix): Fix comment.
17729 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17730 Jim Blandy <jimb@codesourcery.com>
17732 * Makeconfig (test-wrapper): New variable,
17733 (test-wrapper-env): Likewise.
17734 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17735 (run-built-tests): Define to yes.
17736 (run-program-prefix): Use $(test-wrapper).
17737 (built-program-cmd): Likewise.
17738 * Rules (make-test-out): Use $(test-wrapper-env) and
17739 $(host-built-program-cmd).
17740 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17741 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17743 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17744 $(test-wrapper-env) to tst-rtld-load-self.sh.
17745 ($(objpfx)order2.out): Use $(test-wrapper).
17746 ($(objpfx)tst-initorder.out): Likewise.
17747 ($(objpfx)tst-initorder2.out): Likewise.
17748 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17749 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17750 (test_wrapper_env): New variable. Use it to run ld.so.
17751 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17752 Use it to run ld.so.
17753 (test_wrapper_env): Likewise.
17754 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17755 $(test-wrapper) to run-iconv-test.sh.
17756 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17757 (ICONV): Use $test_wrapper.
17758 * posix/Makefile ($(objpfx)globtest.out): Pass
17759 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17760 globtest.sh, not $(run-program-prefix).
17761 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17762 (test_wrapper): Likewise.
17763 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17764 set together with run_via_rtld_prefix.
17765 (run_program_prefix): Define in terms of test_wrapper and
17766 run_via_rtld_prefix.
17768 2012-10-24 Roland McGrath <roland@hack.frob.com>
17770 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17771 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17775 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17776 Declare __clock_getres, __clock_gettime, __clock_settime,
17777 __clock_nanosleep, and __clock_getcpuclockid.
17778 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17779 Remove librt_hidden_def (clock_gettime).
17780 * sysdeps/unix/clock_gettime.c: Likewise.
17781 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17782 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17783 * rt/clock_getres.c: Define __clock_getres as an alias.
17784 * sysdeps/posix/clock_getres.c: Likewise.
17785 * rt/clock_settime.c: Define __clock_settime as an alias.
17786 * sysdeps/unix/clock_settime.c: Likewise.
17787 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17788 * sysdeps/unix/clock_nanosleep.c: Likewise.
17789 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17790 * rt/clock-compat.c: New file.
17791 * rt/Makefile (librt-routines): Add clock-compat and move
17792 $(clock-routines) to ...
17793 (routines): ... here, new variable.
17794 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17795 Don't add get_clockfreq here.
17796 * rt/Versions (libc: GLIBC_2.17): New version set.
17797 Add clock_* symbols here.
17798 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17799 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17800 (GLIBC_2.17): Add clock_* symbols.
17801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17812 * NEWS: Mention the move.
17814 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17815 Use __open, __read, __close rather than their public counterparts.
17816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17817 (__get_clockfreq_via_cpuinfo): Likewise.
17818 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17819 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17821 * config.h.in (HAVE_IFUNC): New #undef.
17822 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17824 * configure: Regenerated.
17826 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17828 * configure.in: Move READELF check to start of file.
17829 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17830 libc_cv_asm_gnu_indirect_function in the process.
17831 * configure: Regenerated.
17833 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17835 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17836 send the output to /dev/null.
17837 (libc_cv_cc_with_libunwind): Likewise.
17838 (libc_cv_as_noexecstack): Likewise.
17839 * configure: Regenerate.
17841 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17843 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17845 * posix/globtest.sh (TMPDIR): Do not set.
17846 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17847 (testout): Likewise.
17849 2012-10-24 Andreas Jaeger <aj@suse.de>
17851 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17852 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17853 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17854 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17855 posix_fadvise64, posix_fallocate64.
17857 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17858 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17859 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17861 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17863 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17866 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17867 <bits/fcntl-linux.h>.
17868 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17871 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17872 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17873 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17874 [__WORDSIZE != 64]: Likewise.
17876 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17878 * Makeconfig (run-built-tests): New variable.
17879 * Rules [$(cross-compiling) = yes]: Change condition to
17880 [$(run-built-tests) = no].
17881 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17882 to [$(run-built-tests) = yes].
17883 * elf/Makefile [$(cross-compiling) = no]: Likewise
17884 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17885 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17886 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17887 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17888 * io/Makefile [$(cross-compiling) = no]: Likewise.
17889 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17890 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17891 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17892 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17893 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17894 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17895 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17896 * string/Makefile [$(cross-compiling) = no]: Likewise.
17898 * posix/Makefile ($(objpfx)globtest.out): Pass
17899 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17900 $(rtld-installed-name).
17901 * posix/globtest.sh (elf_objpfx): Remove variable.
17902 (rtld_installed_name): Likewise.
17903 (library_path): Likewise.
17904 (run_program_prefix): New variable. Use for running globtest
17907 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17908 Joseph Myers <joseph@codesourcery.com>
17910 * Makeconfig (host-built-program-cmd): New variable.
17911 * elf/Makefile (tst-stackguard1-ARGS): Use
17912 $(host-built-program-cmd).
17913 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17914 (tst-spawn-ARGS): Likewise.
17915 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17917 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17918 Jim Blandy <jimb@codesourcery.com>
17920 * Makeconfig (run-via-rtld-prefix): New variable.
17921 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17922 (built-program-cmd): Likewise.
17924 2012-10-22 Andreas Jaeger <aj@suse.de>
17926 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17927 __O_RSYNC if it exists, otherwise to O_SYNC.
17929 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17930 Joseph Myers <joseph@codesourcery.com>
17932 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17934 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17936 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17939 2012-10-22 Andreas Jaeger <aj@suse.de>
17941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17946 bits/fcntl-linux.h.
17948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17949 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17951 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17956 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17957 Joseph Myers <joseph@codesourcery.com>
17959 * config.make.in (NM): New variable.
17961 2012-10-21 Andreas Jaeger <aj@suse.de>
17963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17964 definitions and declarations that are provided by
17965 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17967 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17970 * elf/Makefile (tests-static): Add tst-leaks1-static.
17971 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17972 ($(objpfx)tst-leaks1-static): New rule.
17973 ($(objpfx)tst-leaks1-static-mem): Likewise.
17974 (tst-leaks1-static-ENV): New macro.
17975 * elf/dl-open.c (dl_open_worker): Check the main application
17976 only if SHARED is defined.
17977 * elf/tst-leaks1-static.c: New file.
17979 2012-10-20 Andreas Jaeger <aj@suse.de>
17981 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17982 generic values for Linux.
17983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17984 and declarations that are provided by <bits/fcntl-linux.h> and
17985 include <bits/fcntl-linux.h>.
17986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17989 2012-10-20 Roland McGrath <roland@hack.frob.com>
17991 * io/fcntl.h: Move include of <bits/types.h> to the top and
17992 include it unconditionally.
17994 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17996 * wcsmbs/Makefile (tests-ifunc): New variable.
17997 (tests): Add $(tests-ifunc).
17998 * wcsmbs/test-wcschr-ifunc.c: New file.
17999 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18000 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18001 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18002 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18003 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18005 * string/Makefile (tests-ifunc): New variable.
18006 (tests): Add $(tests-ifunc).
18007 * string/test-memccpy.c (TEST_NAME): New macro.
18008 * string/test-memchr.c (TEST_NAME): Likewise.
18009 * string/test-memcmp.c (TEST_NAME): Likewise.
18010 * string/test-memcpy.c (TEST_NAME): Likewise.
18011 * string/test-memmem.c (TEST_NAME): Likewise.
18012 * string/test-memmove.c (TEST_NAME): Likewise.
18013 * string/test-memset.c (TEST_NAME): Likewise.
18014 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18015 * string/test-stpcpy.c (TEST_NAME): Likewise.
18016 * string/test-stpncpy.c (TEST_NAME): Likewise.
18017 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18018 * string/test-strcasestr.c (TEST_NAME): Likewise.
18019 * string/test-strcat.c (TEST_NAME): Likewise.
18020 * string/test-strchr.c (TEST_NAME): Likewise.
18021 * string/test-strcmp.c(TEST_NAME): Likewise.
18022 * string/test-strcpy.c (TEST_NAME): Likewise.
18023 * string/test-strcspn.c (TEST_NAME): Likewise.
18024 * string/test-strlen.c (TEST_NAME): Likewise.
18025 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18026 * string/test-strncmp.c (TEST_NAME): Likewise.
18027 * string/test-strncpy.c (TEST_NAME): Likewise.
18028 * string/test-strnlen.c (TEST_NAME): Likewise.
18029 * string/test-strpbrk.c (TEST_NAME): Likewise.
18030 * string/test-strrchr.c (TEST_NAME): Likewise.
18031 * string/test-strspn.c (TEST_NAME): Likewise.
18032 * string/test-strstr.c (TEST_NAME): Likewise.
18033 * string/test-bcopy-ifunc.c: New file.
18034 * string/test-bzero-ifunc.c: Likewise.
18035 * string/test-memccpy-ifunc.c: Likewise.
18036 * string/test-memchr-ifunc.c: Likewise.
18037 * string/test-memcmp-ifunc.c: Likewise.
18038 * string/test-memcpy-ifunc.c: Likewise.
18039 * string/test-memmem-ifunc.c: Likewise.
18040 * string/test-memmove-ifunc.c: Likewise.
18041 * string/test-mempcpy-ifunc.c: Likewise.
18042 * string/test-memset-ifunc.c: Likewise.
18043 * string/test-rawmemchr-ifunc.c: Likewise.
18044 * string/test-stpcpy-ifunc.c: Likewise.
18045 * string/test-stpncpy-ifunc.c: Likewise.
18046 * string/test-strcasecmp-ifunc.c: Likewise.
18047 * string/test-strcasestr-ifunc.c: Likewise.
18048 * string/test-strcat-ifunc.c: Likewise.
18049 * string/test-strchr-ifunc.c: Likewise.
18050 * string/test-strchrnul-ifunc.c: Likewise.
18051 * string/test-strcmp-ifunc.c: Likewise.
18052 * string/test-strcpy-ifunc.c: Likewise.
18053 * string/test-strcspn-ifunc.c: Likewise.
18054 * string/test-strlen-ifunc.c: Likewise.
18055 * string/test-strncasecmp-ifunc.c: Likewise.
18056 * string/test-strncat-ifunc.c: Likewise.
18057 * string/test-strncmp-ifunc.c: Likewise.
18058 * string/test-strncpy-ifunc.c: Likewise.
18059 * string/test-strnlen-ifunc.c: Likewise.
18060 * string/test-strpbrk-ifunc.c: Likewise.
18061 * string/test-strrchr-ifunc.c: Likewise.
18062 * string/test-strspn-ifunc.c: Likewise.
18063 * string/test-strstr-ifunc.c: Likewise.
18065 * debug/Makefile (tests-ifunc): New variable.
18066 (tests): Add $(tests-ifunc).
18067 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18068 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18069 * debug/test-stpcpy_chk-ifunc.c: New file.
18070 * debug/test-strcpy_chk-ifunc.c: Likewise.
18072 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18075 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18076 header is not read in.
18078 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18080 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18081 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18082 directly. Pass built executable to script as
18083 $(built-program-cmd).
18084 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18085 $testprogram without using LD_LIBRARY_PATH and $ldso.
18087 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18088 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18089 $(rtld-installed-name).
18090 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18091 (rtld_installed_name): Likewise.
18092 (library_path): Likewise.
18093 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18094 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18095 $(run-program-prefix) to tst-tables.sh.
18096 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18097 it to run tst-table-from and tst-table-to.
18098 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18099 Pass it to tst-table.sh.
18100 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18101 $(run-program-prefix) to tst-gettext.sh.
18102 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18104 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18106 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18107 to run tst-gettext.
18108 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18109 to run tst-gettext2.
18110 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18111 to run tst-translit.
18112 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18113 $(run-program-prefix) to tst-mtrace.sh.
18114 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18116 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18117 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18118 $(rtld-installed-name).
18119 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18120 (rtld_installed_name): Likewise.
18121 (run_program_prefix): New variable. Use it to run wordexp-test.
18123 * Makeconfig (ARCH): Remove all definitions.
18124 (machine): Likewise.
18125 [ARCH]: Remove conditional code.
18126 [!objdir]: Give error.
18127 [!objdir] (objpfx): Remove.
18128 [!objdir] (common-objpfx): Likewise.
18129 [!objdir] (common-objdir): Likewise.
18130 * configure.in (config_makefile): Remove. Hardcode Makefile in
18131 AC_CONFIG_FILES call.
18132 * configure: Regenerated.
18135 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18137 (testout): Likewise.
18139 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18140 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18141 $(rtld-installed-name).
18142 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18143 (rtld_installed_name): Likwise.
18144 (runit): Remove function.
18145 (run_getconf): New variable, Use it for running getconf binary.
18147 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18150 * string/test-memmem.c (check_result): New function.
18151 (do_one_test): Use it.
18152 (check1): New function.
18153 (test_main): Use it.
18155 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18157 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18159 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18161 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18162 (_G_LSEEK64): Likewise.
18163 (_G_MMAP64): Likewise.
18164 (_G_FSTAT64): Likewise.
18165 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18166 (_G_LSEEK64): Likewise.
18167 (_G_MMAP64): Likewise.
18168 (_G_FSTAT64): Likewise.
18169 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18170 unconditional. Call __mmap64 directly.
18171 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18172 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18173 __lseek64 directly.
18174 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18175 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18177 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18178 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18179 __lseek64 directly.
18180 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18181 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18182 __lseek64 directly.
18183 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18184 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18185 __lseek64 directly.
18186 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18187 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18188 __fxstat64 directly.
18189 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18190 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18192 (freopen64) [!_G_OPEN64]: Remove conditional code.
18193 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18195 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18196 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18198 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18199 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18201 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18202 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18204 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18205 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18207 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18208 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18210 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18211 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18213 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18215 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18218 * manual/memory.texi (Malloc Tunable Parameters): Add note
18219 about free list pointers overwriting some perturb bytes.
18220 Wording suggested by Roland McGrath.
18222 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18224 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18225 (lgamma_test): Likewise.
18226 (tgamma_test): Likewise.
18228 2012-10-16 Florian Weimer <fweimer@redhat.com>
18231 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18232 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18234 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18236 * NEWS: Mention BZ #14716.
18237 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18238 when removing AVAILABLE1_USES_J macro.
18240 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18242 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18243 (__bswap_64): __uint64_t for unsigned 64-bit int.
18245 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18247 * include/string.h (memmem): Declare libc hidden alias.
18248 * string/memmem.c (memmem): Define libc hidden alias.
18249 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18250 __read, __close instead of open, read, close.
18252 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18254 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18255 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18257 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18258 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18259 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18261 (__rawmemchr_sse2): Likewise.
18262 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18263 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18264 (__strchr_sse2): Likewise.
18265 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18266 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18267 (__strcasecmp_sse2): Likewise.
18268 (__strncasecmp_sse2): Likewise.
18269 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18270 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18271 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18272 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18273 (__strrchr_sse2): Likewise.
18274 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18276 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18277 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18278 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18279 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18280 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18281 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18282 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18283 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18284 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18285 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18286 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18287 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18288 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18289 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18290 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18291 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18292 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18293 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18294 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18295 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18296 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18297 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18298 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18299 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18300 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18301 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18302 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18303 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18304 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18305 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18307 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18309 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18310 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18311 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18312 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18314 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18316 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18317 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18318 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18319 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18321 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18322 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18323 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18324 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18325 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18326 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18327 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18328 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18329 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18330 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18331 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18332 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18333 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18334 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18335 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18336 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18337 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18338 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18339 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18340 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18341 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18342 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18343 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18344 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18345 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18346 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18347 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18348 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18349 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18350 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18351 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18352 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18353 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18354 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18355 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18356 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18357 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18358 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18359 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18360 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18361 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18363 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18364 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18365 * include/ifunc-impl-list.h: New file.
18366 * misc/ifunc-impl-list.c: Likewise.
18367 * misc/Makefile (routines): Add ifunc-impl-list.
18368 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18369 * string/test-string.h: Include <ifunc-impl-list.h>.
18370 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18371 impl_array): New variables.
18372 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18374 (test_init): Call __libc_ifunc_impl_list to initialize
18375 func_list if TEST_IFUNC and TEST_NAME are defined.
18377 * string/Makefile (strop-tests): Add bcopy and bzero.
18378 * string/test-bcopy.c: New file.
18379 * string/test-bzero.c: Likewise.
18380 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18382 * string/test-memset.c: Support bzero test if TEST_BZERO is
18384 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18386 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18388 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18391 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18393 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18394 * configure: Regenerated.
18396 * Makeconfig (+link-static-before-libc): Don't include
18397 $(link-static-libc).
18399 * libio/libio.h (_IO_pos_t): Remove.
18401 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18403 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18406 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18408 * crypt/crypt-entry.c: Include fips-private.h.
18409 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18410 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18411 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18412 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18414 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18416 * crypt/crypt-private.h: Include stdbool.h.
18417 (_ufc_setup_salt_r): Return bool.
18418 * crypt/crypt-entry.c: Include errno.h.
18419 (__crypt_r): Return NULL with EINVAL for bad salt.
18420 * crypt/crypt_util.c (bad_for_salt): New.
18421 (_ufc_setup_salt_r): Check that salt is long enough and within
18422 the specified alphabet.
18423 * crypt/badsalttest.c: New file.
18424 * crypt/Makefile (tests): Add it.
18425 ($(objpfx)badsalttest): New.
18427 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18429 * NEWS: Add entry for BZ #14602.
18431 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18433 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18435 * math/libm-test.inc: Update comment listing what functions and
18437 (isgreater_test): New function.
18438 (isgreaterequal_test): Likewise.
18439 (isless_test): Likewise.
18440 (islessequal_test): Likewise.
18441 (islessgreater_test): Likewise.
18442 (isunordered_test): Likewise.
18443 (main): Call the new functions.
18445 2012-10-09 Roland McGrath <roland@hack.frob.com>
18447 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18448 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18449 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18450 * sysdeps/i386/configure: Regenerated.
18451 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18452 * sysdeps/mach/configure: Regenerated.
18453 * sysdeps/mach/hurd/configure: Regenerated.
18454 * sysdeps/powerpc/configure: Regenerated.
18455 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18456 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18457 * sysdeps/s390/s390-32/configure: Regenerated.
18458 * sysdeps/s390/s390-64/configure: Regenerated.
18459 * sysdeps/sh/configure: Regenerated.
18460 * sysdeps/sparc/configure: Regenerated.
18461 * sysdeps/unix/sysv/linux/configure: Regenerated.
18462 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18463 * sysdeps/x86_64/configure: Regenerated.
18465 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18466 defined. Don't check if MAP is NULL.
18468 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18470 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18471 (_G_stat64): Likewise.
18472 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18473 (_G_stat64): Likewise.
18474 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18475 instead of struct _G_stat64.
18476 * libio/fileops.c (mmap_remap_check): Likewise.
18477 (decide_maybe_mmap): Likewise.
18478 (_IO_new_file_seekoff): Likewise.
18479 (_IO_file_stat): Likewise.
18480 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18482 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18483 instead of struct _G_stat64.
18484 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18486 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18489 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18491 (CHECK_EOL): New macro.
18492 (two_way_short_needle): Check beginning of haystack for EOL. Use
18494 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18495 Replace with CHECK_EOL.
18496 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18497 Replace with CHECK_EOL.
18499 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18501 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18503 * math/libm-test.inc: Update comment listing what functions and
18505 (finite_test): New function.
18506 (isinf_test): Likewise.
18507 (isnan_test): Likewise.
18508 (fpclassify_test): Test subnormal input.
18509 (isfinite_test): Likewise.
18510 (isnormal_test): Likewise.
18511 (main): Call the new functions.
18513 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18516 * Makerules (%.dynsym): Force C locale when running
18517 $(OBJDUMP) --dynamic-syms.
18519 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18521 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18524 2012-10-06 David S. Miller <davem@davemloft.net>
18526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18527 upper 32-bits of the length value in %o2 since we use branch-on-register
18528 tests which consider the entire 64-bit register.
18530 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18532 * string/test-strstr.c (check2): Add a test for page boundary.
18534 2012-10-05 David S. Miller <davem@davemloft.net>
18536 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18537 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18539 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18541 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18542 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18543 and bzero when HWCAP_SPARC_CRYPTO is present.
18545 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18548 * string/test-strstr.c (check2): New function.
18549 (test_main): Call check2.
18551 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18553 * string/bug-strcasestr1.c (do_test): Moved to ...
18554 * string/test-strcasestr.c (check1): Here. New function.
18555 (do_one_test): Break out result checking code into ...
18556 (check_result): This. New function.
18557 (do_one_test): Call check_result.
18558 (test_main): Call check1.
18559 * string/bug-strchr1.c (do_test): Moved to ...
18560 * string/test-strchr.c (check1): Here. New function.
18561 (do_one_test): Break out result checking code into ...
18562 (check_result): This. New function.
18563 (do_one_test): Call check_result.
18564 (test_main): Call check1.
18565 * string/bug-strstr1.c (main): Moved to ...
18566 * string/test-strstr.c (check1): Here. New function.
18567 (do_one_test): Break out result checking code into ...
18568 (check_result): This. New function.
18569 (do_one_test): Call check_result.
18570 (test_main): Call check1.
18571 * string/bug-strcasestr1.c: Removed.
18572 * string/bug-strchr1.c: Likewise.
18573 * string/bug-strstr1.c: Likewise.
18575 * elf/Makefile (dl-routines): Add hwcaps.
18576 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18577 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18578 (_dl_important_hwcaps): Moved to ...
18579 * elf/dl-hwcaps.c: Here. New file.
18580 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18583 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18584 if IS_IN_rtld isn't defined.
18586 * elf/dl-support.c (_dl_sysinfo_map): New.
18587 Include "get-dynamic-info.h" and "setup-vdso.h".
18588 (_dl_non_dynamic_init): Call setup_vdso.
18589 * elf/dynamic-link.h: Don't include <assert.h>.
18590 (elf_get_dynamic_info): Moved to ...
18591 * elf/get-dynamic-info.h: Here. New file.
18592 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18593 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18594 * elf/setup-vdso.h: Here. New file.
18595 * elf/rtld.c: Include "setup-vdso.h".
18596 (dl_main): Call setup_vdso.
18598 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18600 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18601 creal in comment listing functions tested. List finite, isinf,
18602 isnan, isless, islessequal, isgreater, isgreaterequal,
18603 islessgreater, isunordered, lgamma_r and pow10 as functions and
18604 macros not tested. Mention which functions not tested are aliases
18605 for other functions. Fix typo. Note that signs of NaNs are not
18608 * scripts/config.guess: Update from config.git.
18609 * scripts/config.sub: Likewise.
18611 2012-10-04 Roland McGrath <roland@hack.frob.com>
18613 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18614 * misc/madvise.c (madvise): Renamed to __madvise.
18615 Make madvise a weak alias.
18616 * include/sys/mman.h: Declare __madvise.
18617 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18618 * sysdeps/unix/syscalls.list
18619 (madvise): Make __madvise the strong name, and madvise a weak alias.
18620 * sysdeps/unix/sysv/linux/syscalls.list
18621 (madvise, mmap): Remove redundant entries.
18622 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18623 * malloc/malloc.c (mtrim): Likewise.
18624 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18626 2012-10-03 Roland McGrath <roland@hack.frob.com>
18628 * sysdeps/mach/hurd/dl-cache.c: File removed.
18629 * config.h.in (USE_LDCONFIG): New #undef.
18630 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18631 * configure: Regenerated.
18632 * elf/Makefile (dl-routines): Add dl-cache only under
18633 [$(use-ldconfig) = yes].
18634 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18635 cache on [USE_LDCONFIG].
18636 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18638 * elf/rtld.c (dl_main): Likewise.
18640 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18642 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18643 _SC_LEVEL4_CACHE_LINESIZE.
18645 2012-10-03 Roland McGrath <roland@hack.frob.com>
18647 * sysdeps/unix/bsd/confstr.h: File removed.
18649 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18651 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18654 2012-10-02 Roland McGrath <roland@hack.frob.com>
18656 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18657 Make 'mapoff' field ElfW(Off) rather than off_t.
18659 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18661 * nscd/Makefile: Remove nscd-cflags and all its users.
18662 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18663 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18666 * malloc.c (malloc_printerr): Clarify error message.
18668 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18672 Set bit_FMA_Usable if FMA is supported.
18673 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18675 (bit_FMA4_Usable): Updated.
18676 (index_FMA_Usable): New macro.
18677 (CPUID_FMA): Likewise
18678 (HAS_FMA): Defined with bit_FMA_Usable.
18680 2012-10-01 Roland McGrath <roland@hack.frob.com>
18682 * bits/types.h (__swblk_t): Type removed.
18683 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18684 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18686 (__SWBLK_T_TYPE): Likewise.
18687 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18688 (__SWBLK_T_TYPE): Likewise.
18689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18690 (__SWBLK_T_TYPE): Likewise.
18691 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18692 (__SWBLK_T_TYPE): Likewise.
18694 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18695 Honza Horak <hhorak@redhat.com>
18697 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18698 (xdr_mapname): Use YPMAXMAP as maxsize.
18699 (xdr_peername): Use YPMAXPEER as maxsize.
18700 (xdr_keydat): Use YPAXRECORD as maxsize.
18701 (xdr_valdat): Use YPMAXRECORD as maxsize.
18703 2012-10-01 Roland McGrath <roland@hack.frob.com>
18705 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18707 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18708 * csu/init-first.c: ... here.
18709 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18710 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18711 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18712 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18713 * sysdeps/i386/init-first.c: File removed.
18714 * sysdeps/sh/init-first.c: File removed.
18716 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18720 if x * y might underflow to zero and z is zero.
18721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18723 * math/libm-test.inc (min_subnorm_value): New variable.
18724 (fma_test): Add more tests.
18725 (fma_test_towardzero): Likewise.
18726 (fma_test_downward): Likewise
18727 (fma_test_upward): Likewise.
18728 (initialize): Set min_subnorm_value.
18730 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18735 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18736 mode for addition resulting in exact zero.
18737 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18740 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18741 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18742 * math/libm-test.inc (fma_test): Add more tests.
18743 (fma_test_towardzero): New function.
18744 (fma_test_downward): Likewise.
18745 (fma_test_upward): Likewise.
18746 (main): Call the new functions.
18748 2012-09-28 David S. Miller <davem@davemloft.net>
18750 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18752 2012-09-28 Roland McGrath <roland@hack.frob.com>
18754 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18755 instead of SIGALRM.
18757 * sysdeps/gnu/_G_config.h: Moved to ...
18758 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18759 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18760 * sysdeps/generic/_G_config.h: ... here.
18762 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18764 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18766 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18767 Conditionalize target on [libnss_test1.so-version].
18769 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18771 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18772 (elfobjdir): Move out of conditionals.
18774 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18775 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18776 (__nss_lookup_function): Conditionalize label remove_from_tree on
18777 [!DO_STATIC_NSS || SHARED], matching its only use.
18779 2012-09-28 David S. Miller <davem@davemloft.net>
18781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18782 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18784 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18786 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18788 when HWCAP_SPARC_CRYPTO is present.
18790 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18792 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18794 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18797 * stdio-common/vfprintf.c (process_string_arg): Revert
18800 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18802 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18804 * stdio-common/tst-sprintf.c: Include <locale.h>
18805 (main): Test sprintf's handling of incomplete multibyte
18808 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18810 * elf/dl-runtime.c (VERSYMIDX): Removed.
18811 * elf/dl-version.c (VERSYMIDX): Likewise.
18812 * elf/do-rel.h (VERSYMIDX): Likewise.
18813 (VALIDX): Likewise.
18814 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18815 * elf/rtld.c (VALIDX): Likewise.
18816 (ADDRIDX): Likewise.
18817 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18818 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18819 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18820 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18821 (VALIDX): Likewise.
18822 (ADDRIDX): Likewise.
18824 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18826 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18828 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18831 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18833 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18834 addresses are in the same scope as 192.0.2/24.
18835 * posix/gai.conf: Document new scope table defaults.
18837 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18840 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18841 for ftell. Compute offsets from write pointers instead.
18842 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18844 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18847 * libio/Makefile (tests): New test case tst-fseek.
18848 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18849 combination works in wide mode.
18850 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18851 state when the external buffer state changes.
18853 2012-09-27 David S. Miller <davem@davemloft.net>
18856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18857 pass reloc->r_addend in as the 'high' argument to
18858 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18862 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18864 * rt/tst-aio2.c: Include <pthread.h>.
18865 * rt/tst-aio3.c: Likewise.
18867 2012-09-27 Steve Ellcey <sellcey@mips.com>
18869 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18871 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18873 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18874 contents on [SHARED].
18876 2012-09-26 Marek Polacek <polacek@redhat.com>
18880 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18881 for C++ and GCC <4.3 as well as for non GCC compilers.
18883 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18887 2012-09-25 Roland McGrath <roland@hack.frob.com>
18889 * Makefile.in (all, install): Declare with .PHONY.
18890 Reported by Michael Hope <michael.hope@linaro.org>.
18892 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18894 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18895 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18897 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18899 (sydep_routines): Add the new and the internal functions.
18900 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18901 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18903 (GLIBC_2.17): Add the new function.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18905 (GLIBC_2.17): Likewise.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18907 (GLIBC_2.17): Likewise.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18909 (GLIBC_2.17): Likewise.
18910 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18912 2012-09-25 Alan Modra <amodra@gmail.com>
18914 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18915 Add release barrier before setting once_control to say
18916 initialisation is done. Add hints on lwarx. Use macro in
18918 (clear_once_control): Add release barrier.
18920 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18923 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18925 * math/s_clog10.c (__clog10): Likewise.
18926 * math/s_clog10f.c (__clog10f): Likewise.
18927 * math/s_clog10l.c (__clog10l): Likewise.
18928 * math/s_clogf.c (__clogf): Likewise.
18929 * math/s_clogl.c (__clogl): Likewise.
18930 * math/Makefile (libm-calls): Add x2y2m1.
18931 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18932 (__x2y2m1): Likewise.
18933 (__x2y2m1l): Likewise.
18934 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18935 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18938 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18939 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18940 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18941 * sysdeps/i386/fpu/libm-test-ulps: Update.
18942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18945 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18946 int as type of variable DEPTH.
18947 (glob): Use size_t instead of int as type of variables NEWCOUNT
18950 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18952 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18953 Add s_sincosf-sse2.
18954 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18955 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18956 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18957 macros for using routine as __sincosf_ia32.
18958 Use macro for function declaration and weak_alias.
18959 * sysdeps/i386/fpu/libm-test-ulps: Update.
18961 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18964 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18965 subnormal argument.
18966 * math/s_cexpf.c (__cexpf): Likewise.
18967 * math/s_csinf.c (__csinf): Likewise.
18968 * math/s_csinhf.c (__csinhf): Likewise.
18969 * math/s_ctanf.c (__ctanf): Likewise.
18970 * math/s_ctanhf.c (__ctanhf): Likewise.
18971 * math/s_ccosh.c (__ccoshf): Likewise.
18972 * math/s_cexp.c (__cexpl): Likewise.
18973 * math/s_csin.c (__csin): Likewise.
18974 * math/s_csinh.c (__csinh): Likewise.
18975 * math/s_ctan.c (__ctan): Likewise.
18976 * math/s_ctanh.c (ctanh): Likewise.
18977 * math/s_ccoshl.c (__ccoshl): Likewise.
18978 * math/s_cexpl.c (__cexpl): Likewise.
18979 * math/s_csinl.c (__csinl): Likewise.
18980 * math/s_csinhl.c (__csinhl): Likewise.
18981 * math/s_ctanl.c (__ctanl): Likewise.
18982 * math/s_ctanhl.c (__ctanhl): Likewise.
18984 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18986 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18987 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18988 (_IO_off_t): Define to __off_t, not _G_off_t.
18989 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18990 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18991 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18992 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18993 type of __dummy and __dummy2 fields.
18994 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18995 (_G_ssize_t): Likewise.
18996 (_G_off_t): Likewise.
18997 (_G_pid_t): Likewise.
18998 (_G_uid_t): Likewise.
18999 (_G_wchar_t): Likewise.
19000 (_G_wint_t): Likewise.
19001 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19002 (_G_ssize_t): Likewise.
19003 (_G_off_t): Likewise.
19004 (_G_pid_t): Likewise.
19005 (_G_uid_t): Likewise.
19006 (_G_wchar_t): Likewise.
19007 (_G_wint_t): Likewise.
19008 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19009 (_G_ssize_t): Likewise.
19010 (_G_off_t): Likewise.
19011 (_G_pid_t): Likewise.
19012 (_G_uid_t): Likewise.
19013 (_G_wchar_t): Likewise.
19014 (_G_wint_t): Likewise.
19016 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19018 * malloc/arena.c: Include malloc-sysdep.h.
19019 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19020 is sufficient to shrink the heap or an unmap is needed.
19021 * sysdeps/generic/malloc-sysdep.h: New file. Define
19022 new function check_may_shrink_heap.
19023 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19024 new function check_may_shrink_heap.
19026 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19028 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19031 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19033 * catgets/test-gencat.sh: Add "set -e".
19034 * elf/tst-pathopt.sh: Likewise.
19035 * grp/tst_fgetgrent.sh: Likewise.
19036 * iconvdata/run-iconv-test.sh: Likewise.
19037 * intl/tst-gettext.sh: Likewise.
19038 * intl/tst-gettext2.sh: Likewise.
19039 * intl/tst-gettext4.sh: Likewise.
19040 * intl/tst-gettext6.sh: Likewise.
19041 * intl/tst-translit.sh: Likewise.
19042 * io/ftwtest-sh: Likewise.
19043 * libio/test-freopen.sh: Likewise.
19044 * malloc/tst-mtrace.sh: Likewise.
19045 * posix/globtest.sh: Likewise.
19046 * posix/tst-getconf.sh: Likewise.
19047 * posix/wordexp-tst.sh: Likewise.
19048 * stdio-common/tst-printf.sh: Likewise.
19049 * stdio-common/tst-unbputc.sh: Likewise.
19050 * stdlib/tst-fmtmsg.sh: Likewise.
19051 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19052 * catgets/Makefile: Do not specify -e option when running
19053 testsuite shell scripts.
19054 * elf/Makefile: Likewise.
19055 * grp/Makefile: Likewise.
19056 * iconvdata/Makefile: Likewise.
19057 * intl/Makefile: Likewise.
19058 * io/Makefile: Likewise.
19059 * libio/Makefile: Likewise.
19060 * malloc/Makefile: Likewise.
19061 * posix/Makefile: Likewise.
19062 * stdio-common/Makefile: Likewise.
19063 * stdlib/Makefile: Likewise.
19064 * sysdeps/x86_64/Makefile: Likewise.
19066 * io/ftwtest-sh: Add copyright header.
19067 * posix/globtest.sh: Likewise.
19068 * posix/tst-getconf.sh: Likewise.
19069 * posix/wordexp-tst.sh: Likewise.
19070 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19072 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19075 * Makeconfig (+link): Defined as $(+link-static) if
19076 $(build-shared) isn't yes.
19077 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19079 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19081 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19084 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19085 new chunk size with MALLOC_ALIGN_MASK.
19087 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19090 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19092 (__printf_fphex): Determine rounding using get_rounding_mode and
19094 * stdio-common/tst-printf-round.c (struct hex_test): New
19096 (hex_tests): New variable.
19097 (test_hex_in_one_mode): New function.
19098 (do_test): Also run tests for hex float output.
19100 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19102 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19103 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19104 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19105 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19106 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19107 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19108 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19109 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19111 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19113 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19114 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19115 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19116 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19118 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19121 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19123 * elf/tst-rtld-load-self.sh: New test.
19124 * elf/Makefile: Run it.
19126 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19128 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19129 (tst-writev-ENV): Remove.
19130 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19132 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19134 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19136 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19138 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19140 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19142 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19143 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19144 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19147 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19150 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19151 * config.make.in (have-cpp-asm-debuginfo): Removed.
19152 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19153 * configure: Regenerated.
19155 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19158 * stdio-common/printf_fp.c: Include <stdbool.h> and
19160 (___printf_fp): Determine rounding using get_rounding_mode and
19162 * stdio-common/tst-printf-round.c: New file.
19163 * stdio-common/Makefile (tests): Add tst-printf-round.
19164 (link-libm): New variable.
19165 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19167 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19170 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19171 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19173 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19176 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19178 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19179 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19180 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19181 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19183 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19186 * include/rounding-mode.h: New file.
19187 * sysdeps/generic/get-rounding-mode.h: Likewise.
19188 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19189 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19190 (MAX_VALUE): New macro.
19191 (MIN_VALUE): Likewise.
19192 (overflow_value): New function.
19193 (underflow_value): Likewise.
19194 (round_and_return): Use overflow_value and underflow_value to
19195 determine return values in overflow and underflow cases. Use
19196 round_away to determine rounding depending on rounding mode.
19197 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19198 determine return values in overflow and underflow cases.
19199 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19200 (struct test_results): New structure.
19201 (struct test): Use struct test_results to store expected results
19202 for all rounding modes.
19203 (TEST): Include expected results for all rounding modes.
19204 (test_in_one_mode): New function.
19205 (do_test): Use test_in_one_mode to compute and check results.
19206 Check results for all rounding modes.
19207 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19210 2012-12-09 Allan McRae <allan@archlinux.org>
19212 * sysdeps/i386/fpu/libm-test-ulps: Update
19214 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19216 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19217 (_G_int32_t): Likewise.
19218 (_G_uint16_t): Likewise.
19219 (_G_uint32_t): Likewise.
19220 (_G_HAVE_BOOL): Likewise.
19221 (_G_HAVE_ATEXIT): Likewise.
19222 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19223 (_G_HAVE_IO_FILE_OPEN): Likewise.
19224 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19225 (_G_int32_t): Likewise.
19226 (_G_uint16_t): Likewise.
19227 (_G_uint32_t): Likewise.
19228 (_G_HAVE_BOOL): Likewise.
19229 (_G_HAVE_ATEXIT): Likewise.
19230 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19231 (_G_HAVE_IO_FILE_OPEN): Likewise.
19232 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19233 (_G_int32_t): Likewise.
19234 (_G_uint16_t): Likewise.
19235 (_G_uint32_t): Likewise.
19236 (_G_HAVE_BOOL): Likewise.
19237 (_G_HAVE_ATEXIT): Likewise.
19238 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19239 (_G_HAVE_IO_FILE_OPEN): Likewise.
19241 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19243 * csu/libc-tls.c: Update copyright years.
19245 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19247 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19248 [!_G_USING_THUNKS]: Remove conditional code.
19249 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19250 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19252 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19253 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19254 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19255 (_G_VTABLE_LABEL_PREFIX): Likewise.
19256 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19257 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19258 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19259 (_G_VTABLE_LABEL_PREFIX): Likewise.
19260 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19261 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19262 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19263 (_G_VTABLE_LABEL_PREFIX): Likewise.
19264 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19266 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19268 * libio/Makefile: Include ../Makeconfig before tests.
19269 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19270 only if $(build-shared) is yes.
19272 * iconv/gconv_db.c: Update copyright years.
19274 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19276 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19277 unwind info if defined PIC. Fix special cases description.
19278 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19280 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19282 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19284 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19286 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19288 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19291 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19292 (LDLIBS-tst-chk4): This.
19293 (LDFLAGS-tst-chk5): Renamed to ...
19294 (LDLIBS-tst-chk5): This.
19295 (LDFLAGS-tst-chk6): Renamed to ...
19296 (LDLIBS-tst-chk6): This.
19297 (LDFLAGS-tst-lfschk4): Renamed to ...
19298 (LDLIBS-tst-lfschk4): This.
19299 (LDFLAGS-tst-lfschk5): Renamed to ...
19300 (LDLIBS-tst-lfschk5): This.
19301 (LDFLAGS-tst-lfschk6): Renamed to ...
19302 (LDLIBS-tst-lfschk6): This.
19304 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19305 on $(common-objpfx)soversions.mk.
19307 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19310 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19313 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19315 * malloc/arena.c (arena_get_retry): New function that gets
19316 another arena for the caller to try its request on.
19317 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19318 current arena cannot fulfill the request.
19319 (__libc_memalign): Likewise.
19320 (__libc_memalign): Likewise.
19321 (__libc_pvalloc): Likewise.
19322 (__libc_calloc): Likewise.
19324 2012-09-05 John Tobey <john.tobey@gmail.com>
19327 * manual/arith.texi (Operations on Complex): Fix description
19328 of carg branch cut.
19330 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19333 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19337 * manual/memory.texi (Memory): Make order of menu items match
19340 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19342 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19343 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19344 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19346 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19348 * csu/libc-tls.c (static_dtv): Renamed to ...
19349 (_dl_static_dtv): This. Make it global.
19350 (_dl_initial_dtv): Removed.
19351 (__libc_setup_tls): Updated.
19352 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19353 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19356 2012-09-06 Petr Machata <pmachata@redhat.com>
19358 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19359 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19360 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19361 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19363 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19366 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19367 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19370 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19373 * Makeconfig (link-static-before-libc): Replace $(+prector)
19375 (link-static-after-libc): Replace $(+postctor) with
19377 (link-bounded): Replace $(+prector)/$(+postctor) with
19378 $(+prectorT)/$(+postctorT).
19379 (+prectorT): New macro.
19380 (+postctorT): Likewise.
19382 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19384 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19385 (round_str): Handle values above the maximum for IBM long double
19387 * stdlib/tst-strtod-round.c (tests): Regenerated.
19389 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19391 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19393 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19394 zarch_nohighgprs around the zarch optimized routines.
19395 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19396 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19397 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19400 2012-09-05 David S. Miller <davem@davemloft.net>
19402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19404 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19405 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19406 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19407 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19410 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19412 * malloc/arena.c: Fold copyright years.
19413 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19415 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19417 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19419 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19421 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19423 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19425 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19426 change internal state upon failure.
19428 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19430 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19431 * malloc/memusage.c (mmap): Likewise.
19432 (mmap64, mremap): Likewise. Adjust name in comment.
19434 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19436 * libio/fileops.c: Fix typos in comments.
19437 * libio/oldfileops.c: Likewise.
19438 * libio/wfileops.c: Likewise.
19440 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19443 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19444 (tst-malloc-usable-ENV): Set environment for test case.
19445 * malloc/hooks.c (malloc_check_get_size): New function to get
19447 * malloc/malloc.c (musable): Use malloc_check_get_size.
19448 * malloc/tst-malloc-usable.c: New test case.
19450 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19452 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19454 2012-09-05 Allan McRae <allan@archlinux.org>
19457 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19458 determine header location.
19459 * configure: Regenerated.
19461 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19463 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19465 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19466 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19468 (test): Regenerate.
19470 2012-09-04 David S. Miller <davem@davemloft.net>
19472 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19473 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19474 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19476 2012-09-04 Florian Weimer <fweimer@redhat.com>
19478 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19481 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19483 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19486 * libio/iogetdelim.c: Include <limits.h>.
19487 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19488 + len + 1 would overflow.
19490 2012-09-03 Andreas Jaeger <aj@suse.de>
19492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19493 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19497 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19498 Add s_sinf-sse2, s_conf-sse2.
19500 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19501 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19502 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19503 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19505 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19506 for using routine as __sinf_ia32.
19507 Use macro for function declaration and weak_alias.
19508 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19509 for using routine as __cosf_ia32.
19510 Use macro for function declaration and weak_alias.
19512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19513 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19515 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19516 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19519 * math/libm-test.inc (cos_test): Add more test cases.
19520 (sin_test): Likewise.
19521 (sincos_test): Likewise.
19523 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19525 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19526 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19528 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19530 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19533 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19534 first element of the GOT.
19535 (elf_machine_load_address): Return the difference between
19536 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19538 2012-09-01 Allan McRae <allan@archlinux.org>
19541 * configure.in (AWK): Require gawk version 3.0 or later.
19542 * configure: Regenerated.
19544 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19546 * sysdeps/unix/sysv/linux/kernel-features.h
19547 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19549 [__NR_clock_getres]: Make code unconditional.
19550 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19551 (clock_getcpuclockid): Remove code left unreachable by removal of
19553 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19554 code unconditional.
19555 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19556 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19557 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19558 Make code unconditional.
19559 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19561 * sysdeps/unix/sysv/linux/clock_settime.c
19562 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19564 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19565 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19567 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19570 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19571 scripts/test-installation.pl.
19573 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19574 and $ld_so_version if it is set.
19576 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19579 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19580 failure if reading from procfs failed.
19581 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19583 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19585 * sysdeps/unix/sysv/linux/kernel-features.h
19586 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19587 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19588 Remove conditional code.
19589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19590 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19591 Remove conditional code.
19592 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19593 * sysdeps/unix/sysv/linux/i386/fxstat.c
19594 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19595 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19596 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19597 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19598 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19599 * sysdeps/unix/sysv/linux/i386/lxstat.c
19600 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19601 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19602 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19603 Remove conditional code.
19604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19605 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19606 Remove conditional code.
19607 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19608 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19609 <kernel-features.h>.
19610 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19612 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19613 Remove conditional code.
19614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19615 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19616 Remove conditional.
19618 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19621 * NEWS: Add fixed bug number.
19623 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19626 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19627 underflowing exponent in case of negative sign.
19628 * stdlib/tst-strtod-round-data: Add more tests.
19629 * stdlib/tst-strtod-round.c (tests): Regenerated.
19632 * stdlib/strtod_l.c (NDIG): Remove.
19633 (HEXNDIG): Likewise.
19634 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19635 smallest representable value.
19636 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19637 lie within an exact representation of 1/2 ulp of the result.
19638 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19640 (TENS_P9_IDX): Define unconditionally.
19641 (TENS_P9_SIZE): Likewise.
19642 (TENS_P10_IDX): Likewise.
19643 (TENS_P10_SIZE): Likewise.
19644 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19645 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19646 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19647 entries for 10^2^13 and 10^2^14.
19648 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19649 (TENS_P13_IDX): Define.
19650 (TENS_P13_SIZE): Likewise.
19651 (TENS_P14_IDX): Likewise.
19652 (TENS_P14_SIZE): Likewise.
19653 (_fpioconst_pow10): Change array size to
19654 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19656 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19657 1024]: Add entries for 10^2^13 and 10^2^14.
19658 [LAST_POW10 > _LAST_POW10]: Remove #error.
19659 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19660 (_fpioconst_pow10): Change array size to
19661 FPIOCONST_POW10_ARRAY_SIZE.
19662 * stdlib/gen-fpioconst.c: New file.
19663 * stdlib/gen-tst-strtod-round.c: Likewise.
19664 * stdlib/tst-strtod-round-data: Likewise.
19665 * stdlib/tst-strtod-round.c: Likewise.
19666 * stdlib/Makefile (tests): Add tst-strtod-round.
19669 * stdlib/strtod_l.c: Include <stdint.h>.
19670 (NDEBUG): Do not define.
19671 (round_and_return): Change EXPONENT parameter to type intmax_t.
19672 Rearrange calculations to avoid internal overflow possibilities.
19673 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19674 Rearrange calculations to avoid internal overflow possibilities.
19675 Assert that number fits inside MPNSIZE limbs.
19676 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19677 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19678 calculations and add assertions to avoid internal overflow
19679 possibilities. Add casts to avoid signed/unsigned operations.
19680 * stdlib/tst-strtod-overflow.c: New file.
19681 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19683 2012-08-25 Marek Polacek <polacek@redhat.com>
19685 * time/time.h: Fix some typos in comments.
19687 2012-08-23 Roland McGrath <roland@hack.frob.com>
19689 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19690 * posix/tst-rfc3484-2.c: Likewise.
19691 * posix/tst-rfc3484-3.c: Likewise.
19693 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19695 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19696 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19698 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19700 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19701 #include of fxstatat64.c.
19703 2012-08-22 Roland McGrath <roland@hack.frob.com>
19705 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19706 * shadow/getspent_r.c: Likewise.
19707 * shadow/getspnam.c: Likewise.
19708 * shadow/getspnam_r.c: Likewise.
19709 * gshadow/getsgent.c: Likewise.
19710 * gshadow/getsgent_r.c: Likewise.
19711 * gshadow/getsgnam.c: Likewise.
19712 * gshadow/getsgnam_r.c: Likewise.
19713 * inet/getnetbyad.c: Likewise.
19714 * inet/getnetbyad_r.c: Likewise.
19715 * inet/getnetbynm.c: Likewise.
19716 * inet/getnetbynm_r.c: Likewise.
19717 * inet/getnetent.c: Likewise.
19718 * inet/getnetent_r.c: Likewise.
19719 * inet/getproto.c: Likewise.
19720 * inet/getproto_r.c: Likewise.
19721 * inet/getprtent.c: Likewise.
19722 * inet/getprtent_r.c: Likewise.
19723 * inet/getprtname.c: Likewise.
19724 * inet/getprtname_r.c: Likewise.
19725 * inet/getrpcbyname.c: Likewise.
19726 * inet/getrpcbyname_r.c: Likewise.
19727 * inet/getrpcbynumber.c: Likewise.
19728 * inet/getrpcbynumber_r.c: Likewise.
19729 * inet/getrpcent.c: Likewise.
19730 * inet/getrpcent_r.c: Likewise.
19731 * inet/getaliasent.c: Likewise.
19732 * inet/getaliasent_r.c: Likewise.
19733 * inet/getaliasname.c: Likewise.
19734 * inet/getaliasname_r.c: Likewise.
19735 * nscd/getgrgid_r.c: Likewise.
19736 * nscd/getgrnam_r.c: Likewise.
19737 * nscd/gethstbyad_r.c: Likewise.
19738 * nscd/gethstbynm3_r.c: Likewise.
19739 * nscd/getpwnam_r.c: Likewise.
19740 * nscd/getpwuid_r.c: Likewise.
19741 * nscd/getsrvbynm_r.c: Likewise.
19742 * nscd/getsrvbypt_r.c: Likewise.
19743 * nscd/gai.c: Likewise.
19745 * configure.in (build_nscd): New substituted variable, set
19746 by --disable-build-nscd and defaults to $use_nscd.
19747 * configure: Regenerated.
19748 * config.make.in (build-nscd): New substituted variable.
19749 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19750 Change conditional to require [$(build-nscd) = yes] as well.
19751 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19754 * configure.in (use_nscd): New substituted variable, set by
19755 --disable-nscd. If enabled, define USE_NSCD.
19756 * configure: Regenerated.
19757 * config.h.in: Add USE_NSCD.
19758 * config.make.in (use-nscd): New substituted variable.
19759 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19760 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19761 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19762 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19763 (CFLAGS-getgrnam_r.c): Likewise.
19764 (CFLAGS-initgroups.c): Likewise.
19765 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19766 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19768 * inet/getnetgrent_r.c
19769 (nscd_setnetgrent): New function, broken out of ...
19770 (setnetgrent): ... here. Call it.
19771 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19772 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19773 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19774 * nscd/Makefile (routines, aux): Move definitions after include of
19775 Makeconfig. Conditionalize on [$(use-nscd) != no].
19776 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19777 Conditionalize on [USE_NSCD].
19778 (is_nscd, nscd_init_cb): Likewise.
19779 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19780 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19781 * nss/nss_db/db-init.c: Likewise.
19782 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19784 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19785 (make_request): Use it.
19786 (cache_valid_p): New function.
19787 (__check_pf): Use it.
19788 * NEWS: Add item for --disable-nscd.
19790 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19792 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19793 to support sed >= 4.2.1-20-ga9bf076.
19794 * configure: Regenerated.
19796 2012-08-22 Roland McGrath <roland@hack.frob.com>
19798 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19799 Conditionalize whole body on [IREL].
19801 2012-08-22 Jeff Law <law@redhat.com>
19804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19805 if the family is PF_UNSPEC.
19807 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19809 * Makerules (lib-version): Rename from V.
19810 (install-lib-nosubdir): Change V to lib-version.
19812 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19815 * powerpc32/power6/wcschr.c: New file.
19816 * powerpc32/power6/wcscpy.c: New file.
19817 * powerpc32/power6/wcsrchr.c: New file.
19818 * powerpc64/power6/wcschr.c: New file.
19819 * powerpc64/power6/wcscpy.c: New file.
19820 * powerpc64/power6/wcsrchr.c: New file.
19822 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19824 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19825 (two_way_short_needle): Use it.
19826 * string/strstr.c (AVAILABLE1_USES_J): Define.
19827 * string/strcasestr.c: Likewise.
19829 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19831 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19834 * NEWS: Add an entry.
19835 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19836 define their defaults.
19837 (two_way_short_needle): Detect end-of-string on-the-fly.
19838 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19839 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19840 * string/bug-strcasestr1.c: New test.
19841 * string/Makefile: Run it.
19843 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19846 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19847 the first character.
19849 2012-08-21 Roland McGrath <roland@hack.frob.com>
19851 * csu/elf-init.c (__libc_csu_irel): Function removed.
19852 * csu/libc-start.c (apply_irel): New function.
19853 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19855 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19857 * sysdeps/unix/sysv/linux/kernel-features.h
19858 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19859 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19860 <kernel-features.h>.
19861 [__NR_fadvise64_64]: Make code unconditional.
19862 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19863 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19864 !__NR_fadvise64_64)]: Likewise.
19865 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19866 !__NR_fadvise64_64))]: Likewise.
19867 [__NR_fadvise64]: Make code unconditional.
19868 [!__NR_fadvise64]: Remove conditional code.
19869 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19870 <kernel-features.h>.
19871 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19873 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19876 not include <kernel-features.h>.
19877 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19879 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19881 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19882 include <kernel-features.h>.
19883 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19885 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19888 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19891 slight instruction rearrangements per scrollpipe analysis.
19892 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19894 2012-08-20 Roland McGrath <roland@hack.frob.com>
19896 * manual/syslog.texi (syslog; vsyslog, closelog):
19897 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19898 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19900 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19901 DSOCAPS to match condition on defining it.
19903 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19905 * sysdeps/unix/sysv/linux/kernel-features.h
19906 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19908 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19909 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19911 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19912 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19914 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19915 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19917 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19918 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19920 * sysdeps/unix/sysv/linux/kernel-features.h
19921 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19922 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19924 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19925 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19926 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19927 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19928 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19929 Make code unconditional.
19930 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19931 (__mmap64) [!__NR_mmap2]: Likewise.
19932 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19933 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19934 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19935 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19936 [__NR_mmap2]: Make code unconditional.
19937 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19938 (__mmap64) [!__NR_mmap2]: Likewise.
19940 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19942 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19944 2012-08-18 Andreas Jaeger <aj@suse.de>
19946 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19948 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19950 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19951 * include/unistd.h (__have_sock_cloexec): Likewise.
19952 (__have_pipe2): Likewise.
19953 (__have_dup3): Likewise.
19955 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19958 * include/unistd.h (__have_pipe2): Change define into an extern int.
19959 (__have_dup3): Likewise.
19960 * socket/have_sock_cloexec.c: Include fcntl.h.
19961 (__have_pipe2): New variable.
19962 (__have_dup3): Likewise.
19964 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19966 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19968 2012-08-17 Marek Polacek <polacek@redhat.com>
19970 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19971 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19973 2012-08-17 Roland McGrath <roland@hack.frob.com>
19975 * configure.in: Add AC_SUBST for sysheaders.
19976 * configure: Regenerated.
19977 * config.make.in (sysheaders): New substituted variable.
19979 * sysdeps/unix/mkfifo.c: Moved ...
19980 * sysdeps/posix/mkfifo.c: ... here.
19981 * sysdeps/unix/mkfifoat.c: Moved ...
19982 * sysdeps/posix/mkfifoat.c: ... here.
19984 * sysdeps/unix/utime.c: Moved ...
19985 * sysdeps/posix/utime.c: ... here.
19987 * sysdeps/unix/time.c: Moved ...
19988 * sysdeps/posix/time.c: ... here.
19989 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19990 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19992 * sysdeps/unix/nice.c: Moved ...
19993 * sysdeps/posix/nice.c: ... here.
19995 * sysdeps/unix/alarm.c: Moved ...
19996 * sysdeps/posix/alarm.c: ... here.
19998 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20000 2012-08-17 Jeff Law <law@redhat.com>
20002 * intl/Makefile (codeset_mo): New variable.
20003 ($(codeset_mo)): New target.
20004 (tst-codeset.out): Depend on that. Remove explicit rule.
20005 (tst-gettext3.out, tst-gettext5.out): Likewise.
20006 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20007 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20008 * intl/tst-codeset.sh: Remove.
20009 * intl/tst-gettext3.sh: Likewise.
20010 * intl/tst-gettext5.sh: Likewise.
20012 2012-08-17 Roland McGrath <roland@hack.frob.com>
20014 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20015 * sysdeps/unix/syscalls.list: ... here.
20017 * sysdeps/posix/getaddrinfo.c
20018 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20019 (gaiconf_init, gaiconf_reload): Use them.
20020 [!_STATBUF_ST_NSEC]
20021 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20022 Define using time_t rather than struct timespec.
20024 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20025 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20027 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20029 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20030 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20033 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20034 __libc_cleanup_push argument.
20036 * bits/param.h: New file.
20037 * misc/sys/param.h: New file.
20038 * include/sys/param.h: New file.
20039 * misc/Makefile (headers): Add bits/param.h.
20040 * sysdeps/generic/sys/param.h: File removed.
20041 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20042 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20043 * sysdeps/mach/hurd/bits/param.h: New file.
20044 * sysdeps/mach/hurd/sys/param.h: File removed.
20046 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20049 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20051 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20052 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20055 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20056 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20057 rather than -D_IO_MTSAFE_IO conditionally.
20058 * stdio-common/Makefile (CPPFLAGS): Likewise.
20059 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20060 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20061 Use $(libio-mtsafe).
20062 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20063 of -D_IO_MTSAFE_IO.
20064 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20065 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20066 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20067 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20068 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20069 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20070 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20071 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20072 (CFLAGS-fread_u_chk.c): Likewise.
20073 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20074 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20075 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20076 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20077 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20078 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20079 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20080 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20081 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20083 * libio/Makefile: Test [$(libc-reentrant) = yes]
20084 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20087 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20088 * sysdeps/pthread/configure: File removed.
20089 * sysdeps/pthread/Makeconfig: New file.
20090 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20091 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20093 2012-08-16 Gary Benson <gbenson@redhat.com>
20095 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20096 unmapping the first object in a namespace.
20098 2012-08-16 Roland McGrath <roland@hack.frob.com>
20100 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20101 (__internal_setnetgrent): ... this. Add internal_function to
20102 definition. Add libc_hidden_def.
20103 (setnetgrent): Update caller.
20104 (internal_endnetgrent): Renamed to ...
20105 (__internal_endnetgrent): ... this. Add internal_function to
20106 definition. Add libc_hidden_def.
20107 (endnetgrent): Update caller.
20108 (internal_getnetgrent_r): Renamed to ...
20109 (__internal_getnetgrent_r): ... this. Add internal_function to
20110 definition. Add libc_hidden_def.
20111 (__getnetgrent_r): Update caller.
20112 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20114 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20116 * stdlib/longlong.h: Update from GCC.
20118 2012-08-16 Roland McGrath <roland@hack.frob.com>
20120 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20121 on _QL, which is set by umul_ppmm but never used.
20122 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20123 variables, which are set by GMP macros but never used.
20124 * stdio-common/_itowa.c (_itowa): Likewise.
20125 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20126 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20128 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20130 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20131 struct La_sh_regs is not constant.
20132 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20133 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20134 and struct La_sparc64_regs are not constant.
20136 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20138 * sysdeps/unix/sysv/linux/kernel-features.h
20139 (__ASSUME_POSIX_TIMERS): Remove.
20140 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20141 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20142 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20143 Make code unconditional.
20144 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20145 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20146 Make code unconditional.
20147 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20148 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20149 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20150 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20151 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20152 Make code unconditional.
20153 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20154 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20155 (__libc_missing_posix_timers): Remove.
20157 2012-08-15 Roland McGrath <roland@hack.frob.com>
20159 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20160 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20162 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20164 * elf/dl-sym.c: Include <stdlib.h>.
20166 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20167 constants, which avoids warnings in 32-bit builds.
20169 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20170 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20172 * misc/lseek.c: File moved to ...
20173 * io/lseek.c: ... here.
20175 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20177 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20178 shifting LEN more than 31 bits at once.
20180 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20183 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20184 segmentation fault for a case of two empty input strings.
20185 * string/test-strncasecmp.c (check1): Renamed to...
20186 (bz12205): ...this.
20187 (bz14195): Add new testcase for two empty input strings and N > 0.
20188 (test_main): Call new testcase, adapt for renamed function.
20190 2012-08-15 Andreas Jaeger <aj@suse.de>
20193 * crypt/md5test2.c: New test, based on test supplied by Serge
20194 Belyshev <belyshev@depni.sinp.msu.ru>.
20195 * crypt/Makefile (xtests): Add md5test-giant..
20196 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20198 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20201 * crypt/md5.c (md5_process_block): Don't assume the buffer
20202 length is less than 2**32.
20203 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20204 length is less than 2**64.
20206 2012-08-15 Roland McGrath <roland@hack.frob.com>
20208 * string/str-two-way.h: Include <sys/param.h>.
20209 (MAX): Macro removed.
20211 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20212 Move #define and #undef of memmove to just before and after
20213 including <string.h>.
20215 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20216 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20217 and after including <string.h>. Move declarations of
20218 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20219 to before #include "string/memmove.c".
20221 * include/dirent.h: Declare __getdirentries.
20223 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20224 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20226 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20228 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20229 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20230 * sysdeps/i386/configure: Regenerated.
20231 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20232 STABS_CURRENT_FILE, and STABS_FUN.
20233 (END): Remove call to STABS_FUN_END.
20234 (STABS_CURRENT_FILE1): Delete.
20235 (STABS_CURRENT_FILE): Likewise.
20236 (STABS_FUN): Likewise.
20237 (STABS_FUN_END): Likewise.
20238 (STABS_FUN2): Likewise.
20239 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20240 * sysdeps/x86_64/configure: Regenerated.
20242 2012-08-14 Roland McGrath <roland@hack.frob.com>
20244 * elf/dl-open.c: Include <atomic.h>.
20245 * elf/dl-lookup.c: Likewise.
20247 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20249 * sysdeps/unix/sysv/linux/kernel-features.h
20250 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20251 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20253 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20255 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20256 condition on __ASSUME_CLONE_THREAD_FLAGS.
20258 2012-08-14 Andreas Jaeger <aj@suse.de>
20260 * sysdeps/i386/fpu/libm-test-ulps: Update.
20262 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20264 * include/atomic.h (atomic_exchange_and_add): Split into ...
20265 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20268 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20272 2012-08-13 Jeff Law <law@redhat.com>
20274 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20275 null byte in the output string.
20277 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20279 * sysdeps/unix/sysv/linux/kernel-features.h
20280 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20281 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20282 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20283 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20284 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20285 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20286 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20288 2012-08-09 Jeff Law <law@redhat.com>
20291 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20292 When avoid_arena is set, don't retry in the that arena. Pick the
20293 next one, whatever it might be.
20294 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20295 (arena_lock): Pass in new parameter to arena_get2.
20296 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20298 (__libc_malloc): Unify retrying after main arena failure with
20299 __libc_memalign version.
20300 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20302 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20305 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20306 to __redirect_strstr.
20307 (__strstr_sse42): Use typeof __redirect_strstr.
20308 (__strstr_ia32): Likewise.
20309 (__libc_strstr): New prototype.
20310 (strstr): Renamed to ...
20311 (__libc_strstr): This.
20312 (strstr): New strong alias of __libc_strstr.
20313 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20314 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20317 (__libc_time): New prototype.
20318 (time_ifunc): Replace time with __libc_time.
20319 (time): New strong alias and hidden definition of __libc_time.
20320 (__GI_time): Remove strong alias.
20321 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20322 Include <stddef.h>.
20323 (memmove): Redefined to __redirect_memmove.
20324 (__memmove_sse2): Use typeof __redirect_memmove.
20325 (__memmove_ssse3): Likewise.
20326 (__memmove_ssse3_back): Likewise.
20327 (__libc_memmove): New prototype.
20328 (memmove): Renamed to ...
20329 (__libc_memmove): This.
20330 (memmove): New strong alias of __libc_memmove.
20332 2012-08-08 Mark Salter <msalter@redhat.com>
20335 (R_MN10300_TLS_GD): Define.
20336 (R_MN10300_TLS_LD): Likewise.
20337 (R_MN10300_TLS_LDO): Likewise.
20338 (R_MN10300_TLS_GOTIE): Likewise.
20339 (R_MN10300_TLS_IE): Likewise.
20340 (R_MN10300_TLS_LE): Likewise.
20341 (R_MN10300_TLS_DTPMOD): Likewise.
20342 (R_MN10300_TLS_DTPOFF): Likewise.
20343 (R_MN10300_TLS_TPOFF): Likewise.
20344 (R_MN10300_SYM_DIFF): Likewise.
20345 (R_MN10300_ALIGN): Likewise.
20346 (R_MN10300_NUM): Update.
20348 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20353 2012-08-08 Roland McGrath <roland@hack.frob.com>
20355 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20357 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20358 sysdeps/unix -> sysdeps/posix move.
20359 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20361 2012-08-07 Allan McRae <allan@archlinux.org>
20364 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20365 (SUNOS_CPP): Likewise.
20366 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20368 (open_input): Call CPP using execvp.
20370 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20372 * sysdeps/unix/sysv/linux/kernel-features.h
20373 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20374 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20375 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20376 (__ASSUME_WAITID_SYSCALL): Likewise.
20377 * sysdeps/unix/sysv/linux/dl-execstack.c
20378 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20379 code unconditional.
20380 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20382 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20383 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20384 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20386 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20388 [__ASSUME_WAITID_SYSCALL]: Likewise.
20389 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20391 2012-08-07 Roland McGrath <roland@hack.frob.com>
20393 * sysdeps/unix/closedir.c: Renamed to ...
20394 * sysdeps/posix/closedir.c: ... here.
20395 * sysdeps/unix/dirfd.c: Renamed to ...
20396 * sysdeps/posix/dirfd.c: ... here.
20397 * sysdeps/unix/dirstream.h: Renamed to ...
20398 * sysdeps/posix/dirstream.h: ... here.
20399 * sysdeps/unix/fdopendir.c: Renamed to ...
20400 * sysdeps/posix/fdopendir.c: ... here.
20401 * sysdeps/unix/opendir.c: Renamed to ...
20402 * sysdeps/posix/opendir.c: ... here.
20403 * sysdeps/unix/readdir.c: Renamed to ...
20404 * sysdeps/posix/readdir.c: ... here.
20405 * sysdeps/unix/readdir_r.c: Renamed to ...
20406 * sysdeps/posix/readdir_r.c: ... here.
20407 * sysdeps/unix/rewinddir.c: Renamed to ...
20408 * sysdeps/posix/rewinddir.c: ... here.
20409 * sysdeps/unix/seekdir.c: Renamed to ...
20410 * sysdeps/posix/seekdir.c: ... here.
20411 * sysdeps/unix/telldir.c: Renamed to ...
20412 * sysdeps/posix/telldir.c: ... here.
20413 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20414 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20415 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20416 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20418 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20419 * bits/fcntl.h: ... here.
20421 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20423 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20424 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20425 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20426 (struct flock): Move l_start, l_len to the beginning.
20427 Use __pid_t for l_pid.
20428 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20429 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20430 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20431 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20432 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20433 [__USE_LARGEFILE64] (struct flock64): New type.
20434 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20436 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20437 * bits/dirent.h: ... here.
20439 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20440 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20442 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20445 Change from 2.6.0 to 2.6.16.
20446 * sysdeps/unix/sysv/linux/configure: Regenerated.
20447 * sysdeps/unix/sysv/linux/kernel-features.h
20448 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20449 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20451 (__ASSUME_UTIMES): Likewise.
20452 (__ASSUME_CLONE_STOPPED): Remove.
20453 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20454 architectures, not kernel version.
20455 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20456 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20457 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20458 (__ASSUME_WAITID_SYSCALL): Likewise.
20459 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20460 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20461 * README: State 2.6.16 as minimum Linux kernel version. Do not
20462 refer to older versions.
20464 2012-08-06 Roland McGrath <roland@hack.frob.com>
20466 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20467 Define alphasort64 as an alias.
20468 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20469 Define versionsort64 as an alias.
20470 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20471 Define scandir64 as an alias.
20472 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20473 Define scandirat64 as an alias.
20474 * dirent/alphasort64.c (alphasort64):
20475 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20476 * dirent/versionsort64.c: Likewise.
20477 * dirent/scandir64.c: Likewise.
20478 * dirent/scandirat64.c: Likewise.
20479 * sysdeps/wordsize-64/alphasort.c: File removed.
20480 * sysdeps/wordsize-64/alphasort64.c: File removed.
20481 * sysdeps/wordsize-64/scandir.c: File removed.
20482 * sysdeps/wordsize-64/scandir64.c: File removed.
20483 * sysdeps/wordsize-64/scandirat.c: File removed.
20484 * sysdeps/wordsize-64/scandirat64.c: File removed.
20485 * sysdeps/wordsize-64/versionsort.c: File removed.
20486 * sysdeps/wordsize-64/versionsort64.c: File removed.
20487 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20488 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20489 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20490 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20491 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20492 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20493 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20494 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20496 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20498 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20499 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20500 [defined __arch64__ || defined __sparcv9]
20501 (__INO_T_MATCHES_INO64_T): New macro.
20502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20503 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20504 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20505 * sysdeps/unix/sysv/linux/bits/dirent.h
20506 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20507 (_DIRENT_MATCHES_DIRENT64): New macro.
20509 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20510 Define lockf64 as an alias.
20511 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20512 Define fseeko64 as an alias.
20513 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20514 Define ftello64 as an alias.
20515 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20516 Define _IO_fgetpos64 and fgetpos64 as aliases.
20517 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20518 Define _IO_fsetpos64 and fsetpos64 as aliases.
20519 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20520 Conditionalize body on this.
20521 * libio/fseeko64.c: Likewise.
20522 * libio/ftello64.c: Likewise.
20523 * libio/iofgetpos64.c: Likewise.
20524 * libio/iofsetpos64.c: Likewise.
20525 * sysdeps/wordsize-64/lockf.c: File removed.
20526 * sysdeps/wordsize-64/lockf64.c: File removed.
20527 * sysdeps/wordsize-64/fseeko.c: File removed.
20528 * sysdeps/wordsize-64/fseeko64.c: File removed.
20529 * sysdeps/wordsize-64/ftello.c: File removed.
20530 * sysdeps/wordsize-64/ftello64.c: File removed.
20531 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20532 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20533 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20534 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20535 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20536 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20537 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20538 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20539 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20540 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20543 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20546 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20548 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20550 [defined __arch64__ || defined __sparcv9]
20551 (__OFF_T_MATCHES_OFF64_T): New macro.
20552 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20553 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20555 (__OFF_T_MATCHES_OFF64_T): New macro.
20557 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20559 * stdlib/secure-getenv.c (__secure_getenv): Replace
20560 GLIBC_2_16 with GLIBC_2_17.
20562 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20564 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20567 2012-08-03 David S. Miller <davem@davemloft.net>
20569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20571 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20573 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20575 (__ASSUME_CORRECT_SI_PID): Likewise.
20576 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20577 (__ASSUME_TMPFS_NAME): Likewise.
20578 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20579 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20580 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20581 (HAVE_AUX_SECURE): Make definition unconditional.
20582 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20583 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20585 2012-08-03 Roland McGrath <roland@hack.frob.com>
20587 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20588 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20589 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20590 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20591 __eloop_threshold instead of SYMLOOP_MAX.
20593 * sysdeps/generic/eloop-threshold.h: New file.
20594 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20596 * elf/chroot_canon.c (chroot_canon): Likewise.
20598 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20602 Change to 2.6.0 everywhere.
20603 * sysdeps/unix/sysv/linux/configure: Regenerated.
20604 * sysdeps/unix/sysv/linux/kernel-features.h
20605 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20606 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20608 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20609 (__ASSUME_FUTEX_REQUEUE): Remove.
20610 (__ASSUME_STATFS64): Define unconditionally.
20611 (__ASSUME_AT_SECURE): Likewise.
20612 (__ASSUME_CORRECT_SI_PID): Likewise.
20613 (__ASSUME_TGKILL): Define without depending on kernel version for
20615 (__ASSUME_UTIMES): Likewise.
20616 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20618 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20619 (__ASSUME_TMPFS_NAME): Likewise.
20620 * README: Update reference to Linux kernel versions.
20622 2012-08-02 Marek Polacek <polacek@redhat.com>
20625 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20626 libc_cv_asm_type_prefix with %.
20627 * configure: Regenerated.
20628 * include/libc-symbols.h: Remove comment about
20629 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20630 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20631 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20632 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20633 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20634 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20635 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20636 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20637 * elf/tst-unique2mod1.c: Likewise.
20638 * elf/tst-unique1mod2.c: Likewise.
20639 * elf/tst-unique1mod1.c: Likewise.
20640 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20641 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20642 Replace ASM_TYPE_DIRECTIVE with .type.
20643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20644 * sysdeps/i386/sysdep.h: Likewise.
20645 * sysdeps/x86_64/sysdep.h: Likewise.
20646 * sysdeps/sh/sysdep.h: Likewise.
20647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20648 Do not define ASM_TYPE_DIRECTIVE.
20649 * sysdeps/powerpc/sysdep.h: Likewise.
20650 * sysdeps/powerpc/powerpc32/sysdep.h:
20651 Replace ASM_TYPE_DIRECTIVE with .type.
20652 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20653 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20654 * sysdeps/i386/fpu/e_powf.S: Likewise.
20655 * sysdeps/i386/fpu/e_expl.S: Likewise.
20656 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20657 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20658 * sysdeps/i386/fpu/e_pow.S: Likewise.
20659 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20660 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20661 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20662 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20663 * sysdeps/i386/fpu/e_log2.S: Likewise.
20664 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20665 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20666 * sysdeps/i386/fpu/e_powl.S: Likewise.
20667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20668 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20669 * sysdeps/i386/fpu/e_logl.S: Likewise.
20670 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20671 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20672 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20674 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20675 * sysdeps/i386/fpu/e_log.S: Likewise.
20676 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20677 * sysdeps/i386/fpu/e_logf.S: Likewise.
20678 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20679 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20680 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20681 * sysdeps/i386/fpu/e_log10.S: Likewise.
20682 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20683 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20684 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20685 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20686 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20688 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20689 * sysdeps/i386/i686/strtok.S: Likewise.
20690 * sysdeps/i386/i386-mcount.S: Likewise.
20691 * sysdeps/i386/strtok.S: Likewise.
20692 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20693 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20694 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20696 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20697 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20698 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20699 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20701 * sysdeps/x86_64/_mcount.S: Likewise.
20702 * sysdeps/x86_64/strtok.S: Likewise.
20703 * sysdeps/sh/_mcount.S: Likewise.
20705 2012-08-01 Roland McGrath <roland@hack.frob.com>
20707 * libio/iofopen.c: Include <fcntl.h>.
20708 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20709 (_IO_fopen64, fopen64): Define as aliases.
20710 * libio/iofopen64.c: Include <fcntl.h>.
20711 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20712 Conditionalize body on this.
20713 * sysdeps/wordsize-64/iofopen.c: File removed.
20714 * sysdeps/wordsize-64/iofopen64.c: File removed.
20716 2012-08-01 Marek Polacek <polacek@redhat.com>
20718 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20719 Use dlfcn directly instead of a variable.
20720 (binfmt-subdir): Do not define.
20723 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20726 Remove all definitions.
20727 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20728 <kernel-features.h>.
20729 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20730 (miss_F_GETOWN_EX): Remove all definitions.
20731 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20733 [!__ASSUME_FCNTL64]: Remove conditional code.
20734 [__ASSUME_FCNTL64]: Make code unconditional.
20735 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20736 <kernel-features.h>.
20737 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20738 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20739 (lockf64) [__NR_fcntl64]: Make code unconditional.
20740 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20742 * sysdeps/unix/sysv/linux/kernel-features.h
20743 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20744 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20745 Make code unconditional.
20746 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20747 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20749 [__NR_vfork]: Make code unconditional.
20750 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20751 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20753 [__NR_vfork]: Make code unconditional.
20754 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20755 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20757 2012-08-01 Roland McGrath <roland@hack.frob.com>
20759 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20760 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20762 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20763 Define mkstemp64 as an alias.
20764 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20765 Define mkstemps64 as an alias.
20766 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20767 Define mkostemp64 as an alias.
20768 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20769 Define mkostemps64 as an alias.
20770 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20771 Conditionalize body on this.
20772 * misc/mkostemp64.c: Likewise.
20773 * misc/mkostemps64.c: Likewise.
20774 * misc/mkstemps64.c: Likewise.
20775 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20776 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20777 * sysdeps/wordsize-64/mkostemp.c: File removed.
20778 * sysdeps/wordsize-64/mkstemp.c: File removed.
20779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20780 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20781 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20782 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20785 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20786 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20787 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20788 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20790 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20791 compat_symbol macros from <shlib-compat.h> rather than the underlying
20792 default_symbol_version and symbol_version macros, so that DEFAULT
20793 lines in shlib-versions are respected.
20794 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20796 2012-08-01 Florian Weimer <fweimer@redhat.com>
20798 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20799 Declare with warn_unused_result.
20800 (setgid, setregid, setegid, setresgid): Likewise.
20801 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20803 * WUR-REPORT: Remove set*id functions.
20805 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20807 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20809 2012-07-31 Roland McGrath <roland@hack.frob.com>
20812 * include/sys/socket.h (__libc_accept, __libc_accept4):
20813 Add attribute_hidden.
20814 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20816 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20818 * inet/getnetgrent_r.c (setup): Likewise.
20820 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20822 2012-07-31 David S. Miller <davem@davemloft.net>
20824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20826 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20829 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20830 value between 1.0 and 2.0 and smaller part has absolute value less
20832 * math/s_clog10.c (__clog10): Likewise.
20833 * math/s_clog10f.c (__clog10f): Likewise.
20834 * math/s_clog10l.c (__clog10l): Likewise.
20835 * math/s_clogf.c (__clogf): Likewise.
20836 * math/s_clogl.c (__clogl): Likewise.
20837 * math/libm-test.inc (clog_test): Add more tests.
20838 (clog10_test): Likewise.
20839 * sysdeps/i386/fpu/libm-test-ulps: Update.
20840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20842 2012-07-31 Florian Weimer <fweimer@redhat.com>
20844 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20845 Exit with zero in case no suitable GID is found, and write a
20846 message to standard error.
20848 2012-07-30 Roland McGrath <roland@hack.frob.com>
20850 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20852 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20853 (MAXPATHLEN): Removed.
20854 (NOGROUP, NODEV): New macros.
20855 (setbit, clrbit, isset, isclr): New macros.
20856 (howmany, roundup, powerof2): New macros.
20857 (DEV_BSIZE): New macro.
20859 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20860 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20862 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20863 definition on [!__NO_LONG_DOUBLE_MATH].
20865 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20866 PTR_MANGLE and PTR_DEMANGLE.
20868 * socket/accept4.c (accept4): Rename to __libc_accept4.
20869 Define accept4 as a weak alias.
20871 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20872 on [_DIRENT_HAVE_D_TYPE].
20873 * io/ftw.c (ftw_dir): Likewise.
20875 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20877 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20879 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20880 Use the BSD numbers rather than the arbitrary ones we had.
20881 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20882 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20883 (SIGXCPU, SIGXFSZ): New macros.
20886 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20887 initializer on [_LIBC_REENTRANT].
20889 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20890 definitions inside [_POSIX_MAPPED_FILES].
20892 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20894 * dirent/opendir.c: Include <fcntl.h>.
20896 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20897 (__libc_getspecific): Likewise.
20898 (__libc_key_create): Likewise.
20900 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20901 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20902 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20903 (tmpfile64): Define as alias.
20904 * sysdeps/wordsize-64/tmpfile.c: File removed.
20905 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20906 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20907 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20909 * stdio-common/vfscanf.c: Include <stdbool.h>.
20910 * nss/makedb.c: Likewise.
20911 * stdio-common/_i18n_number.h: Likewise.
20912 * argp/argp-help.c: Likewise.
20913 * posix/wordexp.c: Likewise.
20914 * sysdeps/posix/spawni.c: Likewise.
20915 * nss/nss_files/files-initgroups.c: Likewise.
20916 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20917 * nss/nss_files/files-initgroups.c: Likewise.
20918 * nss/nss_db/db-netgrp.c: Likewise.
20919 * nss/nss_db/db-initgroups.c: Likewise.
20920 * io/fchmodat.c: Include <sys/stat.h>.
20922 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20923 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20925 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20928 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20929 Add multiple inclusion protection.
20931 2012-07-27 David S. Miller <davem@davemloft.net>
20933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20935 2012-07-27 Gary Benson <gbenson@redhat.com>
20938 * elf/rtld.c: Include <stap-probe.h>.
20939 (dl_main): Added static probes "init_start" and "init_complete".
20940 * elf/dl-load.c: Include <stap-probe.h>.
20941 (lose): Take new parameter "nsid".
20942 Added static probe "map_failed".
20943 (_dl_map_object_from_fd): Pass namespace id to lose.
20944 Added static probe "map_start".
20945 (open_verify): Pass namespace id to lose.
20946 * elf/dl-open.c: Include <stap-probe.h>.
20947 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20948 and "reloc_complete".
20949 * elf/dl-close.c: Include <stap-probe.h>.
20950 (_dl_close_worker): Added static probes "unmap_start" and
20952 * elf/rtld-debugger-interface.txt: New file documenting the above.
20954 2012-07-26 Roland McGrath <roland@hack.frob.com>
20956 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20957 rather than a string variable.
20958 * sunrpc/rpc_main.c (h_output): Likewise.
20959 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20961 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20963 * inet/check_native.c: New file.
20965 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20968 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20969 if larger part has absolute value 1.0.
20970 * math/s_clog10.c (__clog10): Likewise.
20971 * math/s_clog10f.c (__clog10f): Likewise.
20972 * math/s_clog10l.c (__clog10l): Likewise.
20973 * math/s_clogf.c (__clogf): Likewise.
20974 * math/s_clogl.c (__clogl): Likewise.
20975 * math/libm-test.inc (clog_test): Add more tests.
20976 (clog10_test): Likewise.
20977 * sysdeps/i386/fpu/libm-test-ulps: Update.
20978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20980 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20981 (pltexit): Likewise.
20982 (La_regs): Likewise.
20983 (La_retval): Likewise.
20984 (int_retval): Likewise.
20985 Update #error for removed macros to refer only to definitions in
20987 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20989 (pltexit): Likewise.
20990 (La_regs): Likewise.
20991 (La_retval): Likewise.
20992 (int_retval): Likewise.
20993 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20995 (pltexit): Likewise.
20996 (La_regs): Likewise.
20997 (La_retval): Likewise.
20998 (int_retval): Likewise.
20999 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21001 (pltexit): Likewise.
21002 (La_regs): Likewise.
21003 (La_retval): Likewise.
21004 (int_retval): Likewise.
21005 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21007 (pltexit): Likewise.
21008 (La_regs): Likewise.
21009 (La_retval): Likewise.
21010 (int_retval): Likewise.
21011 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21013 (pltexit): Likewise.
21014 (La_regs): Likewise.
21015 (La_retval): Likewise.
21016 (int_retval): Likewise.
21017 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21019 (pltexit): Likewise.
21020 (La_regs): Likewise.
21021 (La_retval): Likewise.
21022 (int_retval): Likewise.
21023 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21024 macro definitions in tst-audit.h.
21025 * sysdeps/i386/tst-audit.h: New file.
21026 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21027 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21028 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21029 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21030 * sysdeps/sh/tst-audit.h: Likewise.
21031 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21032 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21033 * sysdeps/x86_64/tst-audit.h: Likewise.
21035 2012-07-26 Andreas Jaeger <aj@suse.de>
21037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21040 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21041 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21042 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21044 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21045 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21046 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21048 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21051 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21053 (si_call_addr, si_syscall, si_arch): Define new macro.
21054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21056 (si_call_addr, si_syscall, si_arch): Define new marcro.
21057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21059 (si_call_addr, si_syscall, si_arch): Define new macro.
21060 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21062 (si_call_addr, si_syscall, si_arch): Define new macro.
21064 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21068 Change to 2.4.21 where previously 2.4.1.
21069 * sysdeps/unix/sysv/linux/configure: Regenerated.
21070 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21071 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21072 Linux kernel version.
21073 (__ASSUME_STD_AUXV): Remove.
21074 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21076 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21077 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21078 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21079 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21080 (__ASSUME_NETLINK_SUPPORT): Likewise.
21081 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21082 (__no_netlink_support): Remove conditional definition.
21083 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21085 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21086 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21087 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21088 (if_nameindex_ioctl): Remove.
21089 (if_nameindex_netlink): Do not handle __no_netlink_support.
21090 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21092 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21093 Remove conditional code.
21094 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21096 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21098 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21099 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21100 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21102 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21103 [!__ASSUME_STD_AUXV]: Remove conditional code.
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21105 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21106 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21109 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21113 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21114 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21116 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21118 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21121 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21124 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21125 code unconditional.
21126 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21128 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21130 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21133 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21135 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21138 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21139 code unconditional.
21140 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21142 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21144 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21147 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21148 code unconditional.
21149 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21151 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21153 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21156 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21158 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21159 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21160 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21161 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21162 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21163 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21164 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21165 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21166 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21167 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21168 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21169 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21170 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21171 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21173 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21174 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21176 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21178 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21179 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21180 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21182 2012-07-25 Florian Weimer <fweimer@redhat.com>
21184 * Versions.def: Add GLIBC_2.17.
21185 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21186 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21187 Introduce __libc_secure_getenv.
21188 * stdlib/Versions (2.17): Add secure_getenv
21189 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21190 * stdlib/secure-getenv.c: Rename __secure_getenv to
21191 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21192 symbol __secure_getenv for GLIBC_2.0.
21193 * stdlib/tst-secure-getenv.c: New.
21194 * stdlib/Makefile (tests): Add testcase.
21195 * manual/startup.texi (Environment Access): Document
21197 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21198 __libc_secure_getenv.
21199 * inet/ruserpass.c (ruserpass): Likewise.
21200 * malloc/mtrace.c (mtrace): Likewise.
21201 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21202 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21203 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21204 * sysdeps/posix/tempname.c: Likewise. Evaluate
21205 HAVE_SECURE_GETENV.
21206 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21207 __secure_getenv to __libc_secure_getenv.
21208 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21221 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21223 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21224 (struct La_i86_retval): Likewise.
21225 (struct La_x86_64_regs): Likewise.
21226 (struct La_x86_64_retval): Likewise.
21227 (struct La_x32_regs): Likewise.
21228 (struct La_x32_retval): Likewise.
21229 (struct La_ppc32_regs): Likewise.
21230 (struct La_ppc32_retval): Likewise.
21231 (struct La_ppc64_regs): Likewise.
21232 (struct La_ppc64_retval): Likewise.
21233 (struct La_sh_regs): Likewise.
21234 (struct La_sh_retval): Likewise.
21235 (struct La_s390_32_regs): Likewise.
21236 (struct La_s390_32_retval): Likewise.
21237 (struct La_s390_64_regs): Likewise.
21238 (struct La_s390_64_retval): Likewise.
21239 (struct La_sparc32_regs): Likewise.
21240 (struct La_sparc32_retval): Likewise.
21241 (struct La_sparc64_regs): Likewise.
21242 (struct La_sparc64_retval): Likewise.
21243 (struct audit_ifaces): Remove architecture-specific pltenter and
21245 * sysdeps/i386/ldsodefs.h: New file.
21246 * sysdeps/powerpc/ldsodefs.h: Likewise.
21247 * sysdeps/s390/ldsodefs.h: Likewise.
21248 * sysdeps/sh/ldsodefs.h: Likewise.
21249 * sysdeps/sparc/ldsodefs.h: Likewise.
21250 * sysdeps/x86_64/ldsodefs.h: Likewise.
21252 2012-07-25 Marek Polacek <polacek@redhat.com>
21255 * math/libm-test.inc (yn_test): Add another test.
21256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21257 to ERANGE when the result is +-Inf.
21258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21259 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21260 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21261 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21263 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21265 * conform/data/time.h-data (NULL): Use macro-constant. Require
21267 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21269 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21271 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21273 * configure.in <sysdeps resolving>: Correct printing
21275 * configure: Regenerate.
21277 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21279 * math/w_ilogb.c: Include <limits.h>.
21280 * math/w_ilogbl.c: Likewise.
21282 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21284 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21285 va_copy. Document allowing for unavailable va_copy only as
21286 pre-C99 compatibility.
21287 * manual/string.texi (Copying and Concatenation): Use va_copy
21288 instead of __va_copy in concat example.
21290 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21292 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21293 (__sendto): Use create_address_port. Initialize APORT and deallocate
21296 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21297 with O_NOLINK passed to __file_name_lookup.
21299 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21300 with O_NOLINK passed to __file_name_lookup.
21302 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21303 negative N or less than NGIDS.
21305 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21306 type to string_t. Set ERANGE as errno and return it if NAME is not big
21307 enough. Use memcpy instead of strncpy.
21309 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21311 * elf/Makefile (check-data): Remove.
21312 (localplt.data): New vpath directive.
21313 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21314 instead of $(check-data).
21315 * scripts/data/localplt-generic.data: Move to ...
21316 * sysdeps/generic/localplt.data: ... here.
21317 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21318 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21319 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21322 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21325 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21328 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21331 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21334 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21338 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21340 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21341 PPC32 and PPC64 files.
21342 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21343 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21345 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21347 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21348 __makecontext_ret to ...
21349 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21350 ... here and call exit if uc_link is NULL. New file.
21351 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21352 __makecontext_ret.S.
21353 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21354 __makecontext_ret to ...
21355 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21356 ... here and call exit if uc_link is NULL. New file.
21357 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21358 __makecontext_ret.S.
21360 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21362 * elf/elf.h (R_390_IRELATIVE): New definition.
21363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21364 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21365 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21367 (elf_machine_lazy_rel): Likewise.
21368 * sysdeps/s390/dl-irel.h: New file.
21369 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21370 * sysdeps/s390/s390-64/memset.S: New asm code.
21371 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21372 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21373 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21374 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21375 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21376 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21378 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21379 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21380 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21381 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21382 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21383 * sysdeps/s390/s390-32/memset.S: New asm code.
21384 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21386 2012-07-17 Marek Polacek <polacek@redhat.com>
21389 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21390 * sysdeps/s390/s390-64/configure.in: Likewise.
21391 * sysdeps/sparc/configure.in: Likewise.
21392 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21393 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21394 * sysdeps/i386/configure.in: Likewise.
21395 * sysdeps/x86_64/configure.in: Likewise.
21396 * sysdeps/sh/configure.in: Likewise.
21397 * sysdeps/s390/s390-32/configure: Regenerated.
21398 * sysdeps/s390/s390-64/configure: Likewise.
21399 * sysdeps/x86_64/configure: Likewise.
21400 * sysdeps/sh/configure: Likewise.
21401 * sysdeps/powerpc/powerpc64/configure: Likewise.
21402 * sysdeps/powerpc/powerpc32/configure: Likewise.
21403 * sysdeps/sparc/configure: Likwise.
21404 * sysdeps/i386/configure: Likewise.
21406 * elf/dl-open.c: Comment fixes.
21408 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21410 * Makefile [CXX] (check-data): Remove.
21411 [CXX] (c++-types.data): New vpath directive.
21412 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21413 vpath. Do not allow for C++ type data being missing.
21414 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21415 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21416 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21417 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21418 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21419 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21420 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21423 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21426 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21429 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21432 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21435 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21438 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21441 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21444 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21445 definitions to architecture-specific files.
21446 (TLS_IE): Likewise.
21447 (TLS_LD): Likewise.
21448 (TLS_GD): Likewise.
21449 * sysdeps/i386/tls-macros.h: New file.
21450 * sysdeps/powerpc/tls-macros.h: Likewise.
21451 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21452 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21453 * sysdeps/sh/tls-macros.h: Likewise.
21454 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21455 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21456 * sysdeps/x86_64/tls-macros.h: Likewise.
21458 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21460 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21461 zero value for regular exit case.
21463 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21464 (__start_context): Preserve zero value for regular exit case.
21466 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21467 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21469 * manual/setjmp.texi (setcontext): Clarify normal process
21470 termination when uc_link is the null pointer.
21471 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21474 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21476 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21477 preprocessor. Test for each exception mask separately.
21479 2012-07-16 Andreas Jaeger <aj@suse.de>
21481 * po/ru.po: Update from translation team.
21483 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21485 * conform/data/string.h-data (NULL): Use macro-constant. Require
21487 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21488 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21489 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21490 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21493 2012-07-13 Andreas Jaeger <aj@suse.de>
21495 * po/fr.po: Update from translation team.
21497 2012-07-12 Marek Polacek <polacek@redhat.com>
21500 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21504 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21508 Change to 2.4.1 where previously 2.4.0.
21509 * sysdeps/unix/sysv/linux/configure: Regenerated.
21510 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21511 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21513 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21514 (__ASSUME_AT_CLKTCK): Remove.
21515 (__ASSUME_AT_PAGESIZE): Likewise.
21516 (__ASSUME_AT_XID): Likewise.
21517 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21518 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21519 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21521 (HAVE_AUX_PAGESIZE): Likewise.
21522 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21523 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21524 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21526 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21530 the temporary buffer used to invoke __gethostbyname2_r,
21531 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21532 host_data / struct gaih_addrtuple.
21533 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21534 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21535 header file nss/nsswitch.h.
21536 * nss/nsswitch.h (global scope): Add definition of implementation
21537 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21538 resolv/nss_dns/dns-host.c).
21540 2012-07-11 Andreas Jaeger <aj@suse.de>
21542 * po/fr.po: Update from translation team.
21544 * po/sv.po: Update from translation team
21545 * po/fr.po: Another update from translation team.
21547 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21550 for subnormals or multiply small sinh result by itself.
21551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21554 2012-07-11 David S. Miller <davem@davemloft.net>
21556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21558 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21561 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21562 (INTERNAL_MARK): Shift it here.
21564 2012-07-10 Marek Polacek <polacek@redhat.com>
21567 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21568 libc_cv_asm_global_directive with .globl.
21569 * configure: Regenerated.
21570 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21572 * sysdeps/i386/configure: Regenerated.
21573 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21575 * sysdeps/x86_64/configure: Regenerated.
21576 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21577 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21578 * elf/tst-unique2mod2.c: Likewise.
21579 * elf/tst-unique2mod1.c: Likewise.
21580 * elf/tst-unique1mod2.c: Likewise.
21581 * elf/tst-unique1mod1.c: Likewise.
21582 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21583 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21585 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21586 * sysdeps/mach/sysdep.h: Likewise.
21587 * sysdeps/i386/sysdep.h: Likewise.
21588 * sysdeps/i386/i386-mcount.S: Likewise.
21589 * sysdeps/x86_64/_mcount.S: Likewise.
21590 * sysdeps/x86_64/sysdep.h: Likewise.
21591 * sysdeps/sh/_mcount.S: Likewise.
21592 * sysdeps/sh/sysdep.h: Likewise.
21593 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21594 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21595 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21596 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21597 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21598 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21599 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21600 * locale/localeinfo.h: Likewise.
21601 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21602 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21604 2012-07-09 Roland McGrath <roland@hack.frob.com>
21607 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21609 * manual/message.texi (The Uniforum approach): Likewise.
21610 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21611 (glibc iconv Implementation): Likewise.
21613 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21616 * math/s_clog.c (__clog): Avoid scaling a value down where that
21617 could result in underflow.
21618 * math/s_clog10.c (__clog10): Likewise.
21619 * math/s_clog10f.c (__clog10f): Likewise.
21620 * math/s_clog10l.c (__clog10l): Likewise.
21621 * math/s_clogf.c (__clogf): Likewise.
21622 * math/s_clogl.c (__clogl): Likewise.
21623 * math/libm-test.inc (clog_test): Add more tests.
21624 (clog10_test): Likewise.
21625 * sysdeps/i386/fpu/libm-test-ulps: Update.
21626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21628 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21631 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21632 by 7 not 8 to examine high bit of fractional part.
21635 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21636 for call to __mcount_internal.
21637 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21638 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21639 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21641 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21644 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21645 approximation for values within 0x1p-13f of an odd multiple of
21647 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21648 exception. Add more tests.
21649 * sysdeps/i386/fpu/libm-test-ulps: Update.
21652 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21653 inputs and return -1 for them. Do not check for +Inf in case not
21654 reachable for +Inf.
21655 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21656 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21658 and return -1 for them. Do not check for +Inf in case not
21659 reachable for +Inf.
21660 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21662 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21663 and return -1 for them. Do not check for +Inf in case not
21664 reachable for +Inf.
21665 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21666 spurious underflow.
21667 * sysdeps/i386/fpu/libm-test-ulps: Update.
21668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21670 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21672 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21674 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21678 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21679 could result in spurious underflow. Scale down values above
21680 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21681 * math/s_csqrtf.c (__csqrtf): Likewise.
21682 * math/s_csqrtl.c (__csqrtl): Likewise.
21683 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21684 spurious underflow.
21685 * sysdeps/i386/fpu/libm-test-ulps: Update.
21686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21688 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21690 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21692 * catgets/xopen-msg.awk: New file.
21693 * catgets/xopen-msg.sed: Removed.
21695 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21697 * intl/po2test.awk: New file.
21698 * intl/po2test.sed: Removed.
21700 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21703 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21704 or multiply small sinh result by itself.
21705 * math/s_ctanf.c (__ctanf): Likewise.
21706 * math/s_ctanh.c (__ctanh): Likewise.
21707 * math/s_ctanhf.c (__ctanhf): Likewise.
21708 * math/s_ctanhl.c (__ctanhl): Likewise.
21709 * math/s_ctanl.c (__ctanl): Likewise.
21710 * math/libm-test.inc (ctan_test_tonearest): New function.
21711 (ctan_test_towardzero): Likewise.
21712 (ctan_test_downward): Likewise.
21713 (ctan_test_upward): Likewise.
21714 (ctanh_test_tonearest): Likewise.
21715 (ctanh_test_towardzero): Likewise.
21716 (ctanh_test_downward): Likewise.
21717 (ctanh_test_upward): Likewise.
21718 (main): Call these new functions.
21719 * sysdeps/i386/fpu/libm-test-ulps: Update.
21720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21722 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21724 * .gitignore: Delete /ports entry.
21726 2012-07-03 Andreas Jaeger <aj@suse.de>
21728 * po/bg.po: Update from translation team.
21729 * po/cs.po: Likewise.
21730 * po/de.po: Likewise.
21731 * po/hr.po: Likewise.
21732 * po/nl.pl: Likewise.
21733 * po/pl.po: Likewise.
21734 * po/vi.po: Likewise.
21736 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21738 * Makeconfig [!+link] (+link-before-libc): New variable.
21739 [!+link] (+link-after-libc): Likewise.
21740 [!+link] (+link-tests): Likewise.
21741 [!+link] (+link): Define in terms of $(+link-before-libc) and
21742 $(+link-after-libc).
21743 [!+link-static] (+link-static-before-libc): New variable.
21744 [!+link-static] (+link-static-after-libc): Likewise.
21745 [!+link-static] (+link-static-tests): Likewise.
21746 [!+link-static] (+link-static): Define in terms of
21747 $(+link-static-before-libc) and $(+link-static-after-libc).
21748 [build-shared] (link-libc-before-gnulib): New variable.
21749 [build-shared] (link-libc-tests): Likewise.
21750 [build-shared] (link-libc): Define in terms of
21751 $(link-libc-before-gnulib).
21752 [!build-shared] (link-libc-tests): New variable.
21753 (link-libc-static-tests): New variable.
21754 [!gnulib] (gnulib-arch): New variable.
21755 [!gnulib] (gnulib-tests): Likewise.
21756 [!gnulib] (static-gnulib-arch): Likewise.
21757 [!gnulib] (static-gnulib-tests): Likewise.
21758 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21759 Define with "=" instead of ":=".
21760 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21761 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21762 * Rules (binaries-all-notests): New variable.
21763 (binaries-all-tests): Likewise.
21764 (binaries-static-notests): Likewise.
21765 (binaries-static-tests): Likewise.
21766 (binaries-all): Define using $(binaries-all-notests) and
21767 $(binaries-all-tests).
21768 (binaries-static): Define using $(binaries-static-notests) and
21769 $(binaries-static-tests).
21770 (binaries-shared-tests): New variable.
21771 (binaries-shared-notests): Likewise.
21772 (binaries-shared): Remove variable.
21773 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21774 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21775 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21776 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21777 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21778 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21779 * elf/Makefile (sln-modules): New variable.
21780 (extra-objs): Add $(sln-modules:=.o).
21781 (ldconfig-modules): Add static-stubs.
21782 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21783 * elf/static-stubs.c: New file.
21786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21787 by 7 not 8 to examine high bit of fractional part. Use volatile
21788 variables when splitting into final array of floats if
21789 __FLT_EVAL_METHOD__ != 0.
21790 * math/libm-test.inc (cos_test): Add another test.
21791 (sin_test): Likewise.
21792 * sysdeps/i386/fpu/libm-test-ulps: Update.
21795 * math/libm-test.inc (cosh_test): Add more tests.
21797 * version.h (RELEASE): Set to "development".
21798 (VERSION): Set to "2.16.90".
21800 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21802 * NEWS: Update copyright. Remove last-updated date.
21803 Mention math library bug fixes and timezone data changes.
21804 * README: Mention GNU/Hurd, x32, and HPPA support status.
21806 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21808 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21810 2012-06-27 Andreas Jaeger <aj@suse.de>
21812 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21814 2012-06-25 Andreas Jaeger <aj@suse.de>
21816 * sysdeps/s390/fpu/libm-test-ulps: Update.
21818 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21819 Thomas Schwinge <thomas@codesourcery.com>
21821 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21822 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21826 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21828 * sysdeps/mach/start.c: Remove file.
21829 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21830 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21831 * sysdeps/sh/init-first.c: Likewise.
21833 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21834 registers for frame unwinding purposes, add CFI directives.
21835 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21837 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21840 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21841 __fortify_fail returning.
21842 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21844 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21845 sysdeps/sh/____longjmp_chk.S.
21846 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21847 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21848 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21849 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21851 * sysdeps/sh/abort-instr.h: New file.
21852 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21853 process in case exit returns.
21855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21856 initialize the GOT register before use.
21858 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21859 calculation of ARGC > 4.
21861 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21862 meaningful names to some local labels.
21864 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21865 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21867 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21868 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21869 (__arch_compare_and_exchange_val_16_acq): Likewise.
21870 (__arch_compare_and_exchange_val_32_acq): Likewise.
21871 (atomic_exchange_and_add): Fix gUSA sequence.
21872 (atomic_add): Likewise.
21873 (atomic_add_negative): Likewise.
21874 (atomic_add_zero): Likewise.
21875 (atomic_bit_test_set): Likewise.
21877 2012-06-22 Andreas Schwab <schwab@redhat.com>
21880 * include/link.h (struct link_map): Add l_free_initfini.
21881 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21883 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21884 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21885 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21888 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21890 * configure.in: Use AC_LANG_SOURCE.
21891 * configure: Regenerate.
21893 2012-06-22 Roland McGrath <roland@hack.frob.com>
21895 * configure.in (libc_cv_localstatedir): New substituted variable.
21896 * configure: Regenerated.
21897 * config.make.in (localstatedir): New variable, substituted from
21898 libc_cv_localstatedir.
21899 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21900 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21901 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21902 * sysdeps/gnu/configure: Regenerated.
21904 2012-06-21 Jeff Law <law@redhat.com>
21907 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21908 free. Simplify list management for _LIBC case.
21910 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21914 Clear sign bit of 64-bit integer value before comparing against
21917 * sysdeps/mach/configure: Regenerated.
21919 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21922 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21924 2012-06-21 Jeff Law <law@redhat.com>
21927 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21928 uint16_t for elements in the "seen" array to avoid char overflows.
21929 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21930 * elf/dl-open.c (dl_open_worker): Likewise.
21932 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21934 * scripts/list-sources.sh: Scan PORTS for translations.
21935 * po/libc.pot: Regenerated.
21937 2012-06-21 Andreas Jaeger <aj@suse.de>
21940 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21942 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21943 * bits/byteswap-16.h (__bswap_16): Likewise.
21944 * bits/byteswap.h (__bswap_constant_16): Likewise.
21946 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21949 * sysdeps/i386/fpu_control.h: Removed.
21950 * sysdeps/x86_64/fpu_control.h: Moved to ...
21951 * sysdeps/x86/fpu_control.h: Here.
21953 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21954 (_FPU_SETCW): Likewise.
21956 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21959 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21960 * sysdeps/x86/fpu/bits/mathinline.h: This.
21961 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21965 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21966 functions if __x86_64__ is defined.
21968 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21970 * string/endian.h: Add !__ASSEMBLER__ condition for including
21971 conversion interfaces.
21973 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21977 of ABS(x) in calculating zero to negative powers other than odd
21979 * math/libm-test.inc (pow_test): Add more tests.
21981 2012-06-15 Andreas Jaeger <aj@suse.de>
21983 * manual/contrib.texi (Contributors): Update entry of Liubov
21984 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21987 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21989 * string/string.h: Add __wur to GNU version of strerror_r.
21991 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21994 * string/Makefile (tests): Add tst-strtok_r.
21995 * string/tst-strtok_r.c: New file.
21996 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21997 RAX_LP/RDX_LP on SAVE_PTR.
21999 2012-06-14 Roland McGrath <roland@hack.frob.com>
22001 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22003 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22005 * libm_test.inc (csqrt_test): Allow more spurious underflow
22007 (j0_test): Likewise.
22008 (j1_test): Likewise.
22009 (y0_test): Likewise.
22010 (y1_test): Likewise.
22012 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22014 * po/Makefile (libc.pot): Use UTF-8 charset.
22016 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22019 Suppress sign-conversion warning from FD_SET.
22020 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22021 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22022 not unsigned long int.
22023 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22025 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22029 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22030 __extern_always_inline instead of __extern_inline.
22031 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22032 (__signbit): Likewise.
22033 (__signbitl): Support C++ namespace.
22034 (lrintf): New inline function.
22036 (llrintf): Likewise.
22037 (llrint): Likewise.
22047 (floorf): Likewise.
22048 (nearbyint): Likewise.
22049 (nearbyintf): Likewise.
22051 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22053 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22054 non-default versions.
22056 2012-06-11 Roland McGrath <roland@hack.frob.com>
22059 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22061 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22063 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22064 (FE_UPWARD, FE_DOWNWARD): Don't define.
22065 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22068 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22070 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22071 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22073 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22075 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22077 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22078 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22080 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22083 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22084 * sysdeps/i386/fpu/Implies: New file.
22085 * sysdeps/x86_64/fpu/Implies: Likewise.
22086 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22087 * sysdeps/x86/fpu/bits/fenv.h: This.
22089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22092 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22095 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22096 character 0xffff that matches the last element of the
22099 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22104 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22107 values higher than 25.6283.
22109 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22112 subnormal exponent extraction and add some __builtin_expect.
22113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22114 Fix for subnormal mantissa calculation.
22116 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22118 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22119 cpu2 is -1 and errno is not ENOSYS.
22121 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22124 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22125 * sysdeps/x86/bits/string.h: This.
22126 * sysdeps/x86_64/bits/string.h: Removed.
22128 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22129 if not compiling for x86-64, but compiling for >= i486.
22131 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22132 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22135 New macro from Linux kernel 3.4.0.
22136 (FP_XSTATE_MAGIC2): Likewise.
22137 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22138 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22139 (struct _fpx_sw_bytes): New struct.
22140 (struct _xsave_hdr): Likewise.
22141 (struct _ymmh_state): Likewise.
22142 (struct _xstate): Likewise.
22144 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22145 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22146 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22147 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22148 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22149 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22151 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22153 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22154 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22155 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22156 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22158 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22161 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22162 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22163 (sysdep_headers): Include sys/platform/ppc.h.
22164 * sysdeps/powerpc/test-gettimebase.c: Test for
22165 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22166 * manual/Makefile (appendices): Include platform.texi.
22167 * manual/contrib.texi (Contributors): Update @node pointers.
22168 * manual/maint.texi (Maintenance): Likewise.
22169 (Platform): New node.
22170 * manual/platform.texi: New file. Document the new features.
22172 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22173 Jakub Jelinek <jakub@redhat.com>
22176 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22177 where __builtin_expect is unavailable.
22179 2012-06-03 David S. Miller <davem@davemloft.net>
22181 * stdlib/longlong.h: Updated from GCC.
22183 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22186 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22187 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22190 (GLIBC_2.16): Likewise.
22192 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22194 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22196 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22199 (default-abi): New variable.
22200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22201 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22203 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22205 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22207 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22210 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22211 definition. Document in comment.
22213 2012-06-01 David S. Miller <davem@davemloft.net>
22215 * stdlib/longlong.h: Updated from GCC.
22217 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22220 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22221 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22222 sys/debugreg.h sys/io.h here.
22223 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22224 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22226 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22227 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22228 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22229 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22230 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22231 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22233 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22234 Define only if __x86_64__ is defined.
22236 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22240 Use int64_t for variable i.
22241 * math/libm-test.inc (fmod_test): Add more tests.
22243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22244 z computation is not scheduled after fetestexcept.
22245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22246 Use math_force_eval instead of asm to ensure calculation scheduled
22247 before exception test.
22248 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22249 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22251 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22254 computation is not scheduled after fetestexcept.
22256 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22260 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22262 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22264 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22267 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22270 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22272 (__WCHAR_MIN): Support __WORDSIZE == 64.
22273 (__WCHAR_MAX): Likewise.
22275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22280 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22283 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22284 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22286 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22287 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22289 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22290 Defined to 1 if __x86_64__ isn't defined.
22291 (_STAT_VER_LINUX_OLD): New.
22292 (st_atime): Remove duplicate.
22293 (st_mtime): Likewise.
22294 (st_ctime): Likewise.
22296 2012-05-31 David S. Miller <davem@davemloft.net>
22298 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22301 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22303 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22307 * elf/dl-reloc.c: Include <_itoa.h>.
22308 (_dl_reloc_bad_type): Remove use of INTUSE.
22309 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22310 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22311 * stdio-common/psiginfo.c (psiginfo): Likewise.
22312 * stdio-common/psignal.c (psignal): Likewise.
22313 * string/strsignal.c (strsignal): Likewise.
22314 * include/signal.h (_sys_siglist): Declare hidden proto.
22315 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22316 INTVARDEF with libc_hidden_data_def.
22317 * stdio-common/itoa-udigits.c: Likewise.
22318 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22319 (_itoa_lower_digits_internal): Remove declaration.
22320 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22321 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22322 (_sys_sigabbrev_internal): Remove aliases.
22323 (_sys_siglist): Define hidden alias.
22325 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22330 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22333 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22334 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22336 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22337 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22338 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22339 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22341 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22343 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22344 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22345 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22355 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22357 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22359 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22360 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22362 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22363 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22364 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22366 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22367 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22369 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22370 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22376 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22377 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22379 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22381 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22382 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22383 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22385 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22387 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22389 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22391 * math/math.h (M_El): Use two more decimal places.
22392 (M_LOG2El): Likewise.
22393 (M_LOG10El): Likewise.
22394 (M_LN2l): Likewise.
22395 (M_LN10l): Likewise.
22397 (M_PI_2l): Likewise.
22398 (M_PI_4l): Likewise.
22399 (M_1_PIl): Likewise.
22400 (M_2_PIl): Likewise.
22401 (M_2_SQRTPIl): Likewise.
22402 (M_SQRT2l): Likewise.
22403 (M_SQRT1_2l): Likewise.
22405 2012-05-31 David S. Miller <davem@davemloft.net>
22407 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22408 values between float registers.
22409 * sysdeps/sparc/sparc64/memset.S: Likewise.
22410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22412 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22414 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22415 -D_FORTIFY_SOURCE=1.
22416 (CPPFLAGS-tst-longjmp_chk.c): Define.
22417 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22418 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22419 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22420 CFLAGS-tst-wchar-h.c.
22422 2012-05-31 Marek Polacek <polacek@redhat.com>
22425 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22426 __endmntent_internal): Remove declaration.
22427 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22428 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22429 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22431 2012-05-30 David S. Miller <davem@davemloft.net>
22433 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22434 (___Q_simulate_exceptions): Use real FP ops rather than writing
22436 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22439 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22442 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22443 * sysdeps/x86/bits/xtitypes.h: This.
22445 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22446 * sysdeps/x86/bits/wordsize.h: This.
22448 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22449 * sysdeps/x86/bits/huge_vall.h: This.
22451 * sysdeps/i386/bits/select.h: Removed.
22452 * sysdeps/x86_64/bits/select.h: Renamed to ...
22453 * sysdeps/x86/bits/select.h: This.
22455 * sysdeps/i386/bits/setjmp.h: Removed.
22456 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22457 * sysdeps/x86/bits/setjmp.h: This.
22459 * sysdeps/i386/bits/mathdef.h: Removed.
22460 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22461 * sysdeps/x86/bits/mathdef.h: This.
22463 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22466 * include/sys/socket.h (__connect_internal)
22467 (__libc_sa_len_internal): Remove declaration.
22468 (__connect, __libc_sa_len): Declare hidden_proto.
22469 (SA_LEN): Remove use of INTUSE.
22470 * socket/connect.c: Add libc_hidden_def.
22471 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22472 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22473 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22475 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22476 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22477 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22478 of adding _internal alias.
22480 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22483 * sysdeps/i386/bits/link.h: Removed.
22484 * sysdeps/i386/bits/linkmap.h: Likewise.
22485 * sysdeps/x86_64/bits/link.h: Renamed to ...
22486 * sysdeps/x86/bits/link.h: This.
22487 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22488 * sysdeps/x86/bits/linkmap.h: This.
22490 * sysdeps/i386/bits/endian.h: Removed.
22491 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22492 * sysdeps/x86/bits/endian.h: This.
22494 * sysdeps/i386/bits/byteswap.h: Removed.
22495 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22496 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22497 * sysdeps/x86/bits/byteswap.h: This.
22498 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22499 * sysdeps/x86/bits/byteswap-16.h: This.
22500 * sysdeps/i386/Implies: Add x86.
22501 * sysdeps/x86_64/Implies: Likewise.
22503 2012-05-30 David S. Miller <davem@davemloft.net>
22505 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22506 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22507 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22508 (FP_TRAPPING_EXCEPTIONS): Define.
22509 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22510 (FP_TRAPPING_EXCEPTIONS): Define.
22511 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22512 subnormals only when inexact has been signalled or underflow
22513 exceptions are enabled.
22514 (_FP_PACK_CANONICAL): Likewise.
22516 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22520 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22522 2012-05-30 Richard Henderson <rth@twiddle.net>
22524 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22525 with #ifndef NOT_IN_libc.
22527 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22528 marked to avoid plt entry.
22530 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22533 * Makeconfig (default-abi): New macro.
22534 (abi-includes): Likewise.
22535 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22536 $(abi-$(default-abi)-lib-soname) for soname if defined.
22537 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22539 * Makefile (installed-stubs): Likewise.
22540 * include/stubs-biarch.h: Removed.
22541 * scripts/lib-names.awk: Only handle one library at a time.
22542 * scripts/soversions.awk: Remove WORDSIZE support.
22543 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22545 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22547 (syscall-list-default-condition): Likewise.
22548 (syscall-list-default-condition): Likewise.
22549 (syscall-list-includes): Likewise.
22550 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22551 syscall-list-* with abi-*. Handle undefined abi-variants.
22552 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22553 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22554 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22555 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22556 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22557 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22559 (syscall-list-32-options): Likewise.
22560 (syscall-list-32-condition): Likewise.
22561 (syscall-list-64-options): Likewise.
22562 (syscall-list-64-condition): Likewise.
22563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22565 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22568 (abi-64-ld-soname): New macro.
22569 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22570 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22573 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22574 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22576 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22578 * sysdeps/unix/sysv/linux/kernel-features.h
22579 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22580 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22581 include <kernel-features.h>.
22582 [!__NR_ftruncate64]: Remove conditional code.
22583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22584 [__NR_ftruncate64]: Make code unconditional.
22585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22586 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22587 include <kernel-features.h>.
22588 [!__NR_ftruncate64]: Remove conditional code.
22589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22590 [__NR_ftruncate64]: Make code unconditional.
22591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22593 include <kernel-features.h>.
22594 [!__NR_ftruncate64]: Remove conditional code.
22595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22596 [__NR_ftruncate64]: Make code unconditional.
22597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22599 include <kernel-features.h>.
22600 [!__NR_ftruncate64]: Remove conditional code.
22601 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22602 [__NR_ftruncate64]: Make code unconditional.
22603 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22605 * configure.in (libc_cv_fpie): Weaken to a compile test using
22606 LIBC_TRY_CC_OPTION.
22607 * configure: Regenerated.
22609 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22624 2012-05-27 David S. Miller <davem@davemloft.net>
22626 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22628 (__Q_simulate_exceptions): Return void. Change to simulate
22629 exceptions by writing into the %fsr.
22630 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22631 (__Qp_handle_exceptions): Likewise.
22633 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22634 __Qp_handle_exceptions.
22635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22636 __Qp_handle_exceptions.
22637 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22638 as unused and give dummy FP_RND_NEAREST initializer.
22639 (FP_INHIBIT_RESULTS): Define.
22640 (___Q_simulate_exceptions): Update declaration.
22641 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22644 as unused and give dummy FP_RND_NEAREST initializer.
22645 (__Qp_handle_exceptions): Update declaration.
22646 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22649 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22651 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22652 the temporary FPU control word.
22653 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22654 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22655 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22656 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22657 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22658 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22659 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22661 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22662 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22663 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22665 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22667 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22670 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22672 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22673 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22674 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22675 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22677 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22678 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22681 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22683 * po/h.po: Update from translation team.
22685 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22687 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22690 handling of denormals.
22691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22692 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22693 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22694 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22700 2012-05-26 Marek Polacek <polacek@redhat.com>
22703 * math/libm-test.inc (fma_test): Don't always expect underflow
22706 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22709 * elf/tst-execstack.c: Include stackinfo.h.
22710 (do_test): Adjust test case to ensure that pthread_getattr_np
22711 behaviour remains the same after marking stack executable.
22713 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22715 * sysdeps/unix/sysv/linux/kernel-features.h
22716 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22717 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22719 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22720 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22721 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22723 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22724 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22726 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22728 * configure.in: Define the default includes to being none.
22729 * configure: Regenerated.
22731 2012-05-25 Roland McGrath <roland@hack.frob.com>
22733 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22734 * sysdeps/x86_64/setjmp.S: Likewise.
22735 * sysdeps/i386/bsd-setjmp.S: Likewise.
22736 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22737 * sysdeps/i386/setjmp.S: Likewise.
22738 * sysdeps/i386/__longjmp.S: Likewise.
22739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22740 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22742 * include/stap-probe.h: New file.
22743 * configure.in: Handle --enable-systemtap.
22744 * configure: Regenerated.
22745 * config.h.in (USE_STAP_PROBE): New #undef.
22746 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22747 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22748 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22750 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22754 to 2.4.0 where earlier.
22755 * sysdeps/unix/sysv/linux/configure: Regenerated.
22756 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22757 <kernel-features.h>.
22758 [__ASSUME_32BITUIDS]: Make code unconditional.
22759 [!__ASSUME_32BITUIDS]: Remove conditional code.
22760 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22761 <kernel-features.h>.
22762 [__ASSUME_32BITUIDS]: Make code unconditional.
22763 [!__ASSUME_32BITUIDS]: Remove conditional code.
22764 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22765 [__ASSUME_32BITUIDS]: Make code unconditional.
22766 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22767 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22768 <kernel-features.h>.
22769 [__ASSUME_32BITUIDS]: Make code unconditional.
22770 [!__ASSUME_32BITUIDS]: Remove conditional code.
22771 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22772 <kernel-features.h>.
22773 [__ASSUME_32BITUIDS]: Make code unconditional.
22774 [!__ASSUME_32BITUIDS]: Remove conditional code.
22775 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22776 <kernel-features.h>.
22777 [__ASSUME_32BITUIDS]: Make code unconditional.
22778 [!__ASSUME_32BITUIDS]: Remove conditional code.
22779 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22780 <kernel-features.h>.
22781 [__ASSUME_32BITUIDS]: Make code unconditional.
22782 [!__ASSUME_32BITUIDS]: Remove conditional code.
22783 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22784 <kernel-features.h>.
22785 [__ASSUME_32BITUIDS]: Make code unconditional.
22786 [!__ASSUME_32BITUIDS]: Remove conditional code.
22787 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22788 <kernel-features.h>.
22789 [__ASSUME_32BITUIDS]: Make code unconditional.
22790 [!__ASSUME_32BITUIDS]: Remove conditional code.
22791 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22792 <kernel-features.h>.
22793 [__ASSUME_32BITUIDS]: Make code unconditional.
22794 [!__ASSUME_32BITUIDS]: Remove conditional code.
22795 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22796 <kernel-features.h>.
22797 [__ASSUME_32BITUIDS]: Make code unconditional.
22798 [!__ASSUME_32BITUIDS]: Remove conditional code.
22799 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22800 <kernel-features.h>.
22801 [__ASSUME_32BITUIDS]: Make code unconditional.
22802 [!__ASSUME_32BITUIDS]: Remove conditional code.
22803 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22804 <kernel-features.h>.
22805 [__ASSUME_32BITUIDS]: Make code unconditional.
22806 [!__ASSUME_32BITUIDS]: Remove conditional code.
22807 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22808 <kernel-features.h>.
22809 [__NR_setresgid] (__setresgid): Do not declare.
22810 [__ASSUME_32BITUIDS]: Make code unconditional.
22811 [!__ASSUME_32BITUIDS]: Remove conditional code.
22812 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22813 <kernel-features.h>.
22814 [__NR_setresuid] (__setresuid): Do not declare.
22815 [__ASSUME_32BITUIDS]: Make code unconditional.
22816 [!__ASSUME_32BITUIDS]: Remove conditional code.
22817 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22818 <kernel-features.h>.
22819 [__ASSUME_32BITUIDS]: Make code unconditional.
22820 [!__ASSUME_32BITUIDS]: Remove conditional code.
22821 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22822 <kernel-features.h>.
22823 [__ASSUME_32BITUIDS]: Make code unconditional.
22824 [!__ASSUME_32BITUIDS]: Remove conditional code.
22825 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22826 <kernel-features.h>.
22827 [__ASSUME_32BITUIDS]: Make code unconditional.
22828 [!__ASSUME_32BITUIDS]: Remove conditional code.
22829 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22830 <kernel-features.h>.
22831 [__ASSUME_32BITUIDS]: Make code unconditional.
22832 [!__ASSUME_32BITUIDS]: Remove conditional code.
22833 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22834 <kernel-features.h>.
22835 [__ASSUME_32BITUIDS]: Make code unconditional.
22836 [!__ASSUME_32BITUIDS]: Remove conditional code.
22837 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22838 <kernel-features.h>.
22839 [__ASSUME_32BITUIDS]: Make code unconditional.
22840 [!__ASSUME_32BITUIDS]: Remove conditional code.
22841 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22842 <kernel-features.h>.
22843 [__ASSUME_32BITUIDS]: Make code unconditional.
22844 [!__ASSUME_32BITUIDS]: Remove conditional code.
22845 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22846 <kernel-features.h>.
22847 [__ASSUME_32BITUIDS]: Make code unconditional.
22848 [!__ASSUME_32BITUIDS]: Remove conditional code.
22849 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22850 <kernel-features.h>.
22851 [__ASSUME_32BITUIDS]: Make code unconditional.
22852 [!__ASSUME_32BITUIDS]: Remove conditional code.
22853 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22854 <kernel-features.h>.
22855 [__ASSUME_32BITUIDS]: Make code unconditional.
22856 [!__ASSUME_32BITUIDS]: Remove conditional code.
22857 * sysdeps/unix/sysv/linux/kernel-features.h
22858 (__ASSUME_SETRESUID_SYSCALL): Remove.
22859 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22860 (__ASSUME_32BITUIDS): Likewise.
22861 (__ASSUME_LDT_WORKS): Likewise.
22862 (__ASSUME_O_DIRECTORY): Likewise.
22863 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22864 architecture but not kernel version.
22865 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22866 (__ASSUME_MMAP2_SYSCALL): Likewise.
22867 (__ASSUME_STAT64_SYSCALL): Likewise.
22868 (__ASSUME_IPC64): Likewise.
22869 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22870 <kernel-features.h>.
22871 [__ASSUME_32BITUIDS]: Make code unconditional.
22872 [!__ASSUME_32BITUIDS]: Remove conditional code.
22873 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22874 <kernel-features.h>.
22875 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22876 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22877 132096]: Remove conditional code.
22878 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22879 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22880 <kernel-features.h>.
22881 [__ASSUME_32BITUIDS]: Make code unconditional.
22882 [!__ASSUME_32BITUIDS]: Remove conditional code.
22883 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22884 <kernel-features.h>.
22885 [__ASSUME_32BITUIDS]: Make code unconditional.
22886 [!__ASSUME_32BITUIDS]: Remove conditional code.
22887 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22888 <kernel-features.h>.
22889 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22891 (__setresgid): Do not declare.
22892 [__ASSUME_32BITUIDS]: Make code unconditional.
22893 [!__ASSUME_32BITUIDS]: Remove conditional code.
22894 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22895 <kernel-features.h>.
22896 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22898 (__setresuid): Do not declare.
22899 [__ASSUME_32BITUIDS]: Make code unconditional.
22900 [!__ASSUME_32BITUIDS]: Remove conditional code.
22901 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22902 <kernel-features.h>.
22903 [__ASSUME_32BITUIDS]: Make code unconditional.
22904 [!__ASSUME_32BITUIDS]: Remove conditional code.
22905 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22906 <kernel-features.h>.
22907 [__ASSUME_32BITUIDS]: Make code unconditional.
22908 [!__ASSUME_32BITUIDS]: Remove conditional code.
22910 2012-05-25 Richard Henderson <rth@twiddle.net>
22912 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22913 dl_hwcap to ifunc resolver.
22914 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22916 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22917 dl_hwcap to ifunc resolver.
22918 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22920 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22924 for |x| <= 2**-26, not 2**-57.
22925 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22928 2012-05-24 Jeff Law <law@redhat.com>
22930 * stdio-common/Makefile (tests): Add bug25.
22931 * stdio-common/bug25.c: New test.
22933 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22936 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22937 multiple of MALLOC_ALIGNMENT in size.
22938 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22940 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22942 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22944 (FILENAME_MAX): Use macro-int-constant.
22945 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22946 (_IOFBF): Use macro-int-constant.
22947 (_IOLBF): Likewise.
22948 (_IONBF): Likewise.
22949 (SEEK_CUR): Likewise.
22950 (SEEK_END): Likewise.
22951 (SEEK_SET): Likewise.
22952 (TMP_MAX): Likewise.
22953 (EOF): Use macro-int-constant. Require < 0.
22954 (NULL): Use macro-constant. Require == 0.
22955 (stdin): Require type to be FILE *.
22956 (stdout): Likewise.
22957 (stderr): Likewise.
22958 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22959 macro-int-constant.
22960 (EXIT_SUCCESS): Likewise.
22961 (NULL): Use macro-constant. Require == 0.
22962 (RAND_MAX): Use macro-int-constant.
22963 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22964 [C99-based standards] (strtof): Require function.
22965 [C99-based standards] (strtold): Likewise.
22966 [C99-based standards] (strtoll): Likewise.
22967 [C99-based standards] (strtoull): Likewise.
22968 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22969 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22970 [ISO || ISO99 || ISO11] (math.h): Likewise.
22971 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22972 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22973 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22975 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22978 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22979 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22980 * intl/dgettext.c (DCGETTEXT): Likewise.
22981 * intl/gettext.c (DCGETTEXT): Likewise.
22982 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22983 * posix/regex_internal.h (gettext): Likewise.
22984 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22985 Remove declaration.
22986 * include/argz.h (__argz_count_internal)
22987 (__argz_stringify_internal): Remove declaration.
22988 (__argz_count, __argz_stringify): Declare hidden proto.
22989 * intl/dcgettext.c: Remove use of INTDEF.
22990 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22991 * string/argz-stringify.c: Likewise.
22992 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22993 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22994 Declare hidden proto.
22995 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22996 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22997 Declare hidden proto.
22998 * include/stdio.h (__asprintf_internal): Don't declare.
22999 (__asprintf): Don't define as macro. Declare hidden proto.
23000 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23001 (__fsetlocking): Declare hidden proto.
23002 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23003 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23005 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23006 (_IO_setlinebuf): Remove use of INTUSE.
23007 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23008 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23009 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23010 Remove declaration.
23011 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23012 (_IO_do_flush): Remove use of INTUSE.
23013 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23014 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23015 (_IO_adjust_column, _IO_least_wmarker)
23016 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23017 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23018 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23019 (_IO_default_doallocate, _IO_wdefault_doallocate)
23020 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23021 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23022 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23023 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23024 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23025 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23026 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23027 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23028 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23029 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23030 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23031 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23032 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23034 (_IO_flush_all_internal, _IO_adjust_column_internal)
23035 (_IO_default_uflow_internal, _IO_default_finish_internal)
23036 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23037 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23038 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23039 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23040 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23041 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23042 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23043 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23044 (_IO_file_close_internal, _IO_file_close_it_internal)
23045 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23046 (_IO_file_init_internal, _IO_file_attach_internal)
23047 (_IO_file_fopen_internal, _IO_file_read_internal)
23048 (_IO_file_sync_internal, _IO_file_seek_internal)
23049 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23050 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23051 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23052 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23053 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23054 (_IO_list_all_internal, _IO_link_in_internal)
23055 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23056 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23057 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23058 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23059 (_IO_do_write_internal, _IO_padn_internal)
23060 (_IO_getline_info_internal, _IO_getline_internal)
23061 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23062 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23063 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23064 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23065 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23066 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23067 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23068 with libc_hidden_ver, remove use of INTUSE.
23069 * libio/genops.c: Likewise.
23070 * libio/freopen.c: Likewise.
23071 * libio/freopen64.c: Likewise.
23072 * libio/iofclose.c: Likewise.
23073 * libio/iofdopen.c: Likewise.
23074 * libio/iofflush.c: Likewise.
23075 * libio/iofflush_u.c: Likewise.
23076 * libio/iofgets.c: Likewise.
23077 * libio/iofgets_u.c: Likewise.
23078 * libio/iofopen.c: Likewise.
23079 * libio/iofopncook.c: Likewise.
23080 * libio/iofread.c: Likewise.
23081 * libio/iofread_u.c: Likewise.
23082 * libio/ioftell.c: Likewise.
23083 * libio/iofwrite.c: Likewise.
23084 * libio/iogetline.c: Likewise.
23085 * libio/iogets.c: Likewise.
23086 * libio/iogetwline.c: Likewise.
23087 * libio/iopadn.c: Likewise.
23088 * libio/iopopen.c: Likewise.
23089 * libio/ioseekoff.c: Likewise.
23090 * libio/ioseekpos.c: Likewise.
23091 * libio/iosetbuffer.c: Likewise.
23092 * libio/iosetvbuf.c: Likewise.
23093 * libio/ioungetc.c: Likewise.
23094 * libio/ioungetwc.c: Likewise.
23095 * libio/iovdprintf.c: Likewise.
23096 * libio/iovsprintf.c: Likewise.
23097 * libio/iovsscanf.c: Likewise.
23098 * libio/memstream.c: Likewise.
23099 * libio/obprintf.c: Likewise.
23100 * libio/oldfileops.c: Likewise.
23101 * libio/oldiofclose.c: Likewise.
23102 * libio/oldiofdopen.c: Likewise.
23103 * libio/oldiofopen.c: Likewise.
23104 * libio/oldiopopen.c: Likewise.
23105 * libio/oldstdfiles.c: Likewise.
23106 * libio/putc.c: Likewise.
23107 * libio/setbuf.c: Likewise.
23108 * libio/setlinebuf.c: Likewise.
23109 * libio/stdfiles.c: Likewise.
23110 * libio/strops.c: Likewise.
23111 * libio/vasprintf.c: Likewise.
23112 * libio/vscanf.c: Likewise.
23113 * libio/vsnprintf.c: Likewise.
23114 * libio/vswprintf.c: Likewise.
23115 * libio/wfiledoalloc.c: Likewise.
23116 * libio/wfileops.c: Likewise.
23117 * libio/wgenops.c: Likewise.
23118 * libio/wmemstream.c: Likewise.
23119 * libio/wstrops.c: Likewise.
23120 * libio/__fpurge.c: Likewise.
23121 * libio/__fsetlocking.c: Likewise.
23122 * assert/assert.c: Likewise.
23123 * debug/fgets_chk.c: Likewise.
23124 * debug/fgets_u_chk.c: Likewise.
23125 * debug/fread_chk.c: Likewise.
23126 * debug/fread_u_chk.c: Likewise.
23127 * debug/gets_chk.c: Likewise.
23128 * debug/obprintf_chk.c: Likewise.
23129 * debug/vasprintf_chk.c: Likewise.
23130 * debug/vdprintf_chk.c: Likewise.
23131 * debug/vsnprintf_chk.c: Likewise.
23132 * debug/vsprintf_chk.c: Likewise.
23133 * malloc/mtrace.c: Likewise.
23134 * misc/error.c: Likewise.
23135 * misc/syslog.c: Likewise.
23136 * stdio-common/asprintf.c: Likewise.
23137 * stdio-common/fxprintf.c: Likewise.
23138 * stdio-common/getw.c: Likewise.
23139 * stdio-common/isoc99_fscanf.c: Likewise.
23140 * stdio-common/isoc99_scanf.c: Likewise.
23141 * stdio-common/isoc99_vfscanf.c: Likewise.
23142 * stdio-common/isoc99_vscanf.c: Likewise.
23143 * stdio-common/isoc99_vsscanf.c: Likewise.
23144 * stdio-common/printf-prs.c: Likewise.
23145 * stdio-common/printf_fp.c: Likewise.
23146 * stdio-common/printf_fphex.c: Likewise.
23147 * stdio-common/printf_size.c: Likewise.
23148 * stdio-common/putw.c: Likewise.
23149 * stdio-common/scanf.c: Likewise.
23150 * stdio-common/sprintf.c: Likewise.
23151 * stdio-common/tmpfile.c: Likewise.
23152 * stdio-common/vfprintf.c: Likewise.
23153 * stdio-common/vfscanf.c: Likewise.
23154 * stdlib/strfmon_l.c: Likewise.
23155 * sunrpc/openchild.c: Likewise.
23156 * sunrpc/xdr_stdio.c: Likewise.
23157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23158 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23160 2012-05-24 Roland McGrath <roland@hack.frob.com>
23162 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23164 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23165 in the third column, to generate for the shared library an IFUNC
23166 that uses _dl_vdso_vsym.
23167 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23168 * Makeconfig (object-suffixes-noshared): New variable.
23170 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23171 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23172 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23173 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23176 * include/sys/time.h (__gettimeofday): Remove macro.
23177 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23178 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23180 (__gettimeofday): Add libc_hidden_def.
23181 (gettimeofday): Add libc_hidden_weak.
23182 * sysdeps/mach/gettimeofday.c: Likewise.
23183 * sysdeps/posix/gettimeofday.c: Likewise.
23184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23187 (__gettimeofday_internal): Remove strong_alias.
23188 (__gettimeofday): Add libc_hidden_def.
23189 (gettimeofday): Add libc_hidden_weak.
23190 * sysdeps/unix/syscalls.list (gettimeofday):
23191 Remove __gettimeofday_internal alias.
23193 2012-05-24 Daniel Jacobowitz <drow@false.org>
23194 H.J. Lu <hongjiu.lu@intel.com>
23197 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23198 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23199 (largebin_index_32_big): New.
23200 (largebin_index): Use it for 16-byte alignment.
23201 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23202 correction with front_misalign.
23204 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23232 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23233 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23235 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23239 * math/libm-test.inc (exp_test): Add test from bug 14036.
23240 (pow_test): Add test from bug 10846.
23242 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23244 (special_function): Do not include flags in test name.
23245 (parse_args): Likewise.
23246 * sysdeps/i386/fpu/libm-test-ulps: Update.
23247 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23248 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23249 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23252 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23254 * math/libm-test.inc ("Philosophy"): Update comment about
23256 (UNDERFLOW_EXCEPTION): New macro.
23257 (UNDERFLOW_EXCEPTION_OK): Likewise.
23258 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23259 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23260 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23261 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23262 (INVALID_EXCEPTION_OK): Update value.
23263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23264 (OVERFLOW_EXCEPTION_OK): Likewise.
23265 (IGNORE_ZERO_INF_SIGN): Likewise.
23266 (test_exceptions): Handle underflow exceptions.
23267 (acos_test): Update for underflow exception expectations.
23268 (cexp_test): Likewise.
23269 (clog_test): Likewise.
23270 (clog10_test): Likewise.
23271 (csqrt_test): Likewise.
23272 (ctan_test): Likewise.
23273 (ctanh_test): Likewise.
23274 (exp_test): Likewise.
23275 (exp10_test): Likewise.
23276 (exp2_test): Likewise.
23277 (expm1_test): Likewise.
23278 (fma_test): Likewise.
23279 (j0_test): Likewise.
23280 (jn_test): Likewise.
23281 (nexttoward_test): Likewise.
23282 (pow_test): Likewise.
23283 (scalbn_test): Likewise.
23284 (scalbln_test): Likewise.
23285 (tan_test): Likewise.
23286 (y1_test): Likewise.
23287 * sysdeps/i386/fpu/libm-test-ulps: Update.
23288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23290 2012-05-23 David S. Miller <davem@davemloft.net>
23292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23293 (__libc_sigaction): Remove unused local variables.
23295 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23297 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23299 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23301 mktime: avoid signed integer overflow
23302 * time/mktime.c (__mktime_internal): Do not mishandle the case
23303 where diff == INT_MIN.
23305 mktime: simplify computation of average
23306 * time/mktime.c (ranged_convert): Use new time_t_avg function
23307 instead of rolling our own (probably-slower) code.
23309 mktime: do not assume signed right shift propagates sign bit
23310 * time/mktime.c (isdst_differ): New static function.
23311 (__mktime_internal): No need to normalize tm_isdst now.
23312 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23315 mktime: merge another wrapv change from gnulib
23316 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23317 from some compilers.
23319 mktime: remove incorrect attempt at unusual arithmetics
23320 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23321 The code didn't really work on such machines anyway.
23322 (TYPE_MINIMUM): Assume two's complement.
23323 (twos_complement_arithmetic): Verify that long_int and time_t
23324 are two's complement (or unsigned, in the latter case).
23326 mktime: check signed shifts on long_int and time_t, too
23327 * time/mktime.c (SHR): Check that shifts work as desired
23328 on the types long_int and time_t too, as SHR is used on
23331 mktime: do not assume 'long' is wide enough
23332 * time/mktime.c (verify): Move decl up.
23333 (long_int): New type.
23334 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23335 to remove assumption in the code that 'long' is wide enough to
23336 store year values. This assumption is not true on x32 and on
23337 some non-glibc platforms.
23339 mktime: merge wrapv change from gnulib
23340 * time/mktime.c (WRAPV): New macro.
23341 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23342 (guess_time_tm, __mktime_internal): Do not assume that signed
23343 integer overflow wraps around; modern compilers generate code
23344 where this assumption is no longer valid.
23346 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23348 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23349 Replace "jmp L(pseudo_end)" with "ret".
23350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23353 2012-05-23 Andreas Jaeger <aj@suse.de>
23355 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23356 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23358 2012-05-23 Andreas Jaeger <aj@suse.de>
23359 Maximilian Attems <max@stro.at>
23361 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23364 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23366 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23367 code so that pseudo_end is just ret and the stack pointer is
23368 correct also for static library in error case.
23370 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23372 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23373 move to syscalls.list.
23374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23379 * manual/install.texi (Running make install): Do not mention Linux
23380 kernel version for which pt_chown is not needed.
23381 (Linux): Do not mention problems with nscd with 2.0 kernels.
23382 * INSTALL: Regenerated.
23384 2012-05-23 Andreas Jaeger <aj@suse.de>
23386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23387 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23389 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23391 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23393 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23397 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23399 * sysdeps/unix/sysv/linux/bits/in.h
23400 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23402 2012-05-22 Roland McGrath <roland@hack.frob.com>
23404 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23405 (PREPARE_VERSION): Just use assert instead, it will be elided
23406 under [NDEBUG] anyway.
23408 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23410 * sysdeps/unix/sysv/linux/Makefile: Include
23411 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23412 (sysdep_routines): Remove sysctl.
23413 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23414 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23415 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23416 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23417 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23419 2012-05-22 Andreas Jaeger <aj@suse.de>
23421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23422 that pseudo_end is just ret and the stack pointer is correct also
23423 for static library in error case.
23425 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23428 * nss/nsswitch.c (defconfig_entries): New variable.
23429 (__nss_database_lookup): Don't leak defconfig entries.
23430 (nss_parse_service_list): Don't leak on error paths.
23431 (free_database_entries): New function.
23432 (free_defconfig): New function.
23433 (free_mem): Move common code to free_database_entries.
23435 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23437 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23439 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23441 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23442 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23445 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23446 (INTERNAL_SYSCALL_TYPES): Likewise.
23447 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23448 (LOAD_REGS_TYPES_[1-6]): Likewise.
23449 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23450 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23452 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23455 copysignl for GLIBC_2_0.
23456 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23457 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23459 logbl for GLIBC_2_0.
23460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23461 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23463 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23466 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23468 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23471 * time/mktime.c: Update copyright years.
23473 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23475 mktime: merge comment-quoting-style change from gnulib
23476 * time/mktime.c: Quote 'like this' in comments.
23477 The GNU coding standards suggest that we no longer quote `like this',
23478 as "`" and "'" are typically rendered asymmetrically nowadays.
23479 The typical gnulib style is to quote 'like this' when quoting
23480 code, and "like this" when quoting English.
23482 * time/mktime.c (compile-command): Add "-I.".
23484 mktime: merge mktime-internal.h change from gnulib
23485 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23487 mktime: merge time_r change from gnulib
23488 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23490 mktime: merge DEBUG change from gnulib
23491 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23492 case system <time.h> has a #define.
23494 mktime: merge <sys/types.h> change from gnulib
23495 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23496 since <time.t> is now guaranteed to define time_t.
23498 mktime: merge HAVE_CONFIG_H change from gnulib
23499 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23501 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23506 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23508 (struct rusage): Use anonymous union to pad each field to
23511 2012-05-21 David S. Miller <davem@davemloft.net>
23513 * Makefules (o-iterator): Remove .s cases.
23514 (compile-command.s): Delete.
23515 (COMPILE.s): Delete.
23516 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23518 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23520 * configure.in (libc_cv_predef_stack_protector): Only consider
23521 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23522 * configure: Regenerated.
23524 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23527 New macro. Use R*LP on int and pointer.
23528 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23529 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23530 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23533 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23534 [__WORDSIZE_TIME64_COMPAT32] instead of
23535 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23536 (struct utmp): Likewise.
23537 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23538 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23540 (__WORDSIZE_TIME64_COMPAT32): This.
23541 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23542 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23543 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23544 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23545 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23546 (__WORDSIZE_TIME64_COMPAT32): New macro.
23548 2012-05-21 Andreas Jaeger <aj@suse.de>
23550 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23551 only if [SHARED]. Add prototype for __wcschr_ia32.
23553 2012-05-21 Roland McGrath <roland@hack.frob.com>
23555 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23556 of %rbp unmolested in the jmp_buf while mangling the low bits.
23557 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23558 unmolested high bits of %rbp while demangling the low bits.
23559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23561 2012-05-21 Andreas Jaeger <aj@suse.de>
23563 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23564 * sunrpc/svc_simple.c: Use it for registerrpc.
23565 * sunrpc/xcrypt.c: Use it for passwd2des.
23567 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23569 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23571 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23572 Don't define if [__SYSCALL_WORDSIZE != 32].
23573 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23576 2012-05-21 Bruno Haible <bruno@clisp.org>
23577 Andreas Jaeger <aj@suse.de>
23579 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23580 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23581 inptr and inend for must_buffer_ch.
23582 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23583 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23584 * stdio-common/Makefile (tests): Remove bug15.
23585 (bug15-ENV): Remove macro.
23586 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23589 2012-05-19 Andreas Jaeger <aj@suse.de>
23590 Roland McGrath <roland@hack.frob.com>
23592 * manual/contrib.texi: Completely rewritten. It contains now an
23593 alphabetical list of contributors and their contributions.
23595 2012-05-21 Richard Henderson <rth@twiddle.net>
23597 * misc/getauxval.c (__getauxval): Use unsigned long int.
23598 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23599 (getauxval): Use unsigned long int.
23601 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23603 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23605 2012-05-21 Roland McGrath <roland@hack.frob.com>
23607 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23608 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23609 __alignof__ (long double).
23611 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23615 2012-05-20 Richard Henderson <rth@twiddle.net>
23617 * misc/getauxval.c: New file.
23618 * misc/sys/auxv.h: New file.
23619 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23620 (routines): Add getauxval.
23621 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23622 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23623 * elf/dl-sysdep.c (_dl_auxv): Remove.
23624 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23625 * elf/dl-support.c (_dl_auxv): New variable.
23626 (_dl_aux_init): Initialize it.
23627 * manual/startup.texi (Auxiliary Vector): New node.
23628 * sysdeps/generic/bits/hwcap.h: New file.
23629 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23630 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23631 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23632 * sysdeps/sparc/sysdep.h: ... here. Include it.
23633 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23646 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23650 2012-05-19 David S. Miller <davem@davemloft.net>
23652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23654 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23657 * math/s_ccosh.c: Include <float.h>
23658 (__ccosh): Avoid internal overflow calculating sinh and cosh
23659 values before multiplying by sin and cos values.
23660 * math/s_ccoshf.c: Likewise.
23661 * math/s_ccoshl.c: Likewise.
23662 * math/s_csin.c: Likewise.
23663 * math/s_csinf.c: Likewise.
23664 * math/s_csinl.c: Likewise.
23665 * math/s_csinh.c: Likewise.
23666 * math/s_csinhf.c: Likewise.
23667 * math/s_csinhl.c: Likewise.
23668 * math/libm-test.inc (ccos_test): Add more tests.
23669 (ccosh_test): Likewise.
23670 (csin_test): Likewise.
23671 (csinh_test): Likewise.
23672 * sysdeps/i386/fpu/libm-test-ulps: Update.
23673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23675 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23677 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23678 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23680 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23682 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23684 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23685 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23686 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23687 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23688 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23689 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23690 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23691 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23692 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23693 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23694 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23695 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23696 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23697 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23698 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23699 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23700 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23701 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23702 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23703 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23704 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23705 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23706 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23707 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23708 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23709 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23710 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23711 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23712 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23713 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23714 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23716 2012-05-18 Andreas Jaeger <aj@suse.de>
23718 * csu/.gitignore: Delete.
23720 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23722 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23723 (timex): Use __syscall_slong_t.
23725 2012-05-18 Andreas Jaeger <aj@suse.de>
23726 Carlos O'Donell <carlos_odonell@mentor.com>
23728 * manual/install.texi (Configuring and compiling): Update
23729 description about files modified in the source directory.
23730 * INSTALL: Regenerated.
23732 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23734 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23735 value. Use "or" to set return value to -1.
23736 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23737 negate return value.
23739 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23741 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23742 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23743 failure if the compiler has Graphite support disabled.
23744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23746 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23747 CFLAGS-memmove.c): Likewise.
23748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23751 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23753 * sysdeps/x86_64/x32/_itoa.h: New file.
23755 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23756 getdents system call only if kernel and user dirents have the
23757 same d_ino and d_off.
23759 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23760 LLONG_MAX != LONG_MAX.
23761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23762 (_fitoa_word): Likewise.
23764 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23766 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23767 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23768 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23770 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23771 include <bits/wordsize.h>. Check __x86_64__ instead of
23773 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23774 if __x86_64__ is defined. Use anonymous union on fpstate.
23776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23779 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23781 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23782 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23783 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23784 Refer to _rtld_local_ro instead of _rtld_global_ro.
23785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23787 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23789 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23791 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23792 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23793 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23795 * sysdeps/powerpc/powerpc32/dl-machine.c
23796 (__elf_machine_runtime_setup) [PROF]: Don't reference
23799 2012-05-18 Andreas Jaeger <aj@suse.de>
23801 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23802 function only available for GCCs before 3.4 since GCC 3.4
23803 introduced a builtin.
23805 (llrintf): Likewise.
23806 (llrint): Likewise.
23813 (nearbyint): Likewise.
23814 (nearbyintf): Likewise.
23818 (floorf): Likewise.
23820 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23822 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23823 on both fields and cast pointer to __syscall_ulong_t.
23825 * bits/types.h (__fsword_t): New type.
23826 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23827 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23829 (__FSWORD_T_TYPE): Likewise.
23830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23831 (__FSWORD_T_TYPE): Likewise.
23832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23833 (__FSWORD_T_TYPE): Likewise.
23834 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23835 (__FSWORD_T_TYPE): Likewise.
23836 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23837 __SWORD_TYPE with __fsword_t.
23838 (statfs64): Likewise.
23840 2012-05-17 David S. Miller <davem@davemloft.net>
23842 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23844 2012-05-17 Andreas Jaeger <aj@suse.de>
23846 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23849 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23851 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23853 2012-05-17 Andreas Jaeger <aj@suse.de>
23855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23858 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23860 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23862 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23864 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23865 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23867 2012-05-17 Andreas Jaeger <aj@suse.de>
23868 Carlos O'Donell <carlos_odonell@mentor.com>
23871 * sysdeps/x86_64/multiarch/init-arch.h
23872 (bit_YMM_Usable): Rename to...
23873 (bit_AVX_Usable): ... this.
23874 (bit_FMA4_Usable): New macro.
23875 (bit_XMM_state): New macro.
23876 (bit_YMM_state): New macro.
23877 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23878 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23879 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23880 (CPUID_OSXSAVE): New macro.
23881 (CPUID_AVX): New macro.
23882 (CPUID_FMA4): New macro.
23883 (index_YMM_Usable): Rename to...
23884 (index_AVX_Usable): ... this.
23885 (HAS_AVX): Use HAS_ARCH_FEATURE.
23886 (HAS_FMA4): Likewise.
23887 (HAS_YMM_USABLE): Remove.
23888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23889 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23891 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23892 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23893 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23894 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23895 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23897 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23899 * math/libm-test.c: Support platforms without multiple rounding modes.
23900 * math/bug-nextafter.c: Support platforms without FP exceptions.
23901 * math/bug-nexttoward.c: Likewise.
23902 * math/test-fenv.c: Likewise.
23903 * math/test-misc.c: Likewise.
23904 * stdlib/bug-getcontext.c: Likewise.
23906 2012-05-17 Andreas Jaeger <aj@suse.de>
23908 * manual/examples/search.c (critter_cmp): Change signature to
23910 * manual/string.texi (Collation Functions): Likewise.
23912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23914 * bits/types.h: Fold copyright years.
23915 * bits/typesizes.h: Likewise.
23916 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23920 * time/time.h: Likewise.
23922 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23925 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23926 in instead of returning them. Return void.
23927 (__libc_mallinfo): Accumulate over all arenas.
23928 (__malloc_stats): Adjust for change in int_mallinfo interface.
23930 2012-05-16 Roland McGrath <roland@hack.frob.com>
23933 * configure.in (NM): Add AC_CHECK_TOOL for it.
23934 (libc_extra_cflags): New substituted variable.
23935 Check for -fstack-protector being used implicitly.
23936 * configure: Regenerated.
23937 * config.make.in (config-extra-cflags): New variable,
23938 gets @libc_extra_cflags@.
23939 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23942 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23943 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23944 * configure: Regenerated.
23945 * config.make.in (CPPUNDEFS): New substituted variable.
23946 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23947 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23948 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23952 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23953 (mq_attr): Use __syscall_slong_t.
23955 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23958 Check __x86_64__ instead of __WORDSIZE.
23959 (_STAT_VER_LINUX): Likewise.
23960 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23961 __syscall_ulong_t and __syscall_slong_t.
23962 (stat64): Likewise.
23964 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23968 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23970 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23972 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23974 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23977 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23978 include <bits/wordsize.h>. Check __x86_64__ instead of
23980 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23982 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23985 include <bits/wordsize.h>. Check __x86_64__ instead of
23987 (user_regs_struct): Use "__extension__ unsigned long long"
23988 instead of "unsigned long" if __x86_64__ is defined.
23989 (user): Likewise. Pad after pointer field if __ILP32__ is
23992 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23994 * configure.in (makeinfo): Require version 4.5 or later. Allow
23996 * configure: Regenerated.
23997 * manual/install.texi (texinfo): Increase version requirement to
23999 * INSTALL: Regenerated.
24001 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24003 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24005 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24007 * sysdeps/x86_64/x32/ffs.c: New file.
24009 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24011 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24012 defined. Use __syscall_ulong_t.
24013 (shminfo): Use __syscall_ulong_t.
24014 (shm_info): Likewise.
24016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24019 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24021 (msgqnum_t): Use __syscall_ulong_t.
24022 (msglen_t): Likewise.
24023 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24026 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24027 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24029 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24031 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24032 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24034 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24037 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24038 include <bits/wordsize.h>. Check __x86_64__ instead of
24041 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24042 "unsigned long long int" if __x86_64__ is defined.
24043 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24045 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24046 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24047 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24049 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24051 (GET_PC): Cast to uintptr_t first.
24052 (GET_FRAME): Likewise.
24053 (GET_STACK): Likewise.
24055 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24056 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24057 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24058 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24059 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24060 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24061 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24062 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24063 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24065 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24066 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24067 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24068 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24069 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24072 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24076 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24077 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24078 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24079 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24080 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24082 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24083 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24085 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24087 * Makerules (+depfiles): Also collect depfiles from .oS in
24089 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24090 .oS, $(libnldbl-routines)).
24092 * Makerules (native-compile-mkdep-flags): Define.
24093 * sunrpc/Makefile (extra-objs): Add $(addprefix
24094 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24095 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24096 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24097 calling $(make-target-directory).
24099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24101 * bits/types.h (__snseconds_t): Removed.
24102 * time/time.h (struct timespec): Replace __snseconds_t with
24104 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24105 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24108 (__SNSECONDS_T_TYPE): Likewise.
24109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24110 (__SNSECONDS_T_TYPE): Likewise.
24111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24112 (__SNSECONDS_T_TYPE): Likewise.
24114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24116 * sysdeps/mach/hurd/bits/typesizes.h
24117 (__SYSCALL_SLONG_TYPE): New macro.
24118 (__SYSCALL_ULONG_TYPE): Likewise.
24120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24122 * bits/types.h (__syscall_slong_t): New type.
24123 (__syscall_ulong_t): Likewise.
24125 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24126 (__SYSCALL_ULONG_TYPE): Likewise.
24127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24128 (__SYSCALL_SLONG_TYPE): Likewise.
24129 (__SYSCALL_ULONG_TYPE): Likewise.
24130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24131 (__SYSCALL_SLONG_TYPE): Likewise.
24132 (__SYSCALL_ULONG_TYPE): Likewise.
24133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24134 (__SYSCALL_SLONG_TYPE): Likewise.
24135 (__SYSCALL_ULONG_TYPE): Likewise.
24137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24139 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24140 Add sigaltstack-offsets.sym.
24141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24142 <sigaltstack-offsets.h>.
24143 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24144 longjmp_msg pointer.
24145 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24146 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24148 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24150 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24152 * elf/stackguard-macros.h: Remove file.
24153 * sysdeps/generic/stackguard-macros.h: New file.
24154 * sysdeps/i386/stackguard-macros.h: Likewise.
24155 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24156 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24157 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24158 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24159 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24160 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24161 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24162 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24163 <elf/stackguard-macros.h>.
24166 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24167 __aligned__ in attribute.
24168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24169 (gregset_t): Likewise.
24171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24173 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24174 * sysdeps/x86_64/64/Implies-after: Here. New file.
24175 * sysdeps/x86_64/x32/Implies-after: New file.
24177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24179 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24180 and access return value for _dl_profile_fixup. Use R10_LP to
24183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24185 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24189 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24190 * sysdeps/x86_64/x32/sysdep.h: New file.
24192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24194 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24195 * sysdeps/x86_64/setjmp.S: Likewise.
24197 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24199 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24201 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24202 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24203 remove unused global constant.
24205 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24207 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24208 include of <not-cancel.h>.
24210 2012-05-15 Roland McGrath <roland@hack.frob.com>
24212 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24214 2012-05-15 Jeff Law <law@redhat.com>
24215 Andreas Jaeger <aj@suse.de>
24218 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24220 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24221 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24222 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24223 code changing __hst_map_handle.map.
24225 2012-05-15 Roland McGrath <roland@hack.frob.com>
24227 * configure.in (sysnames): Look for Implies-before and Implies-after
24229 * configure: Regenerated.
24231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24234 8-byte data alignment with LP_SIZE alignment.
24236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24238 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24243 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24248 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24255 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24256 (stackinfo_sub_sp): Likewise.
24258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24275 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24279 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24280 into R11_LP and load __x86_64_shared_cache_size_half into
24283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24285 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24288 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24296 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24297 powerpc32/power7/fpu/s_logb.c via #include.
24298 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24299 powerpc32/power7/fpu/s_logbf.c via #include.
24300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24301 powerpc32/power7/fpu/s_logbl.c via #include.
24303 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24305 * README.libm: Remove file.
24307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24309 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24310 count for x32. Use R*_LP and omit operand-size suffix.
24312 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24314 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24315 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24316 * sysdeps/x86_64/x32/shlib-versions: New file.
24318 2012-05-14 Roland McGrath <roland@hack.frob.com>
24320 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24321 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24322 Use _dl_fatal_printf instead.
24324 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24326 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24327 set if not set by the user. Do not allow for being unset.
24328 * sysdeps/unix/sysv/linux/configure: Regenerated.
24330 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24332 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24333 the `q' suffix from lea and replace .quad with ASM_ADDR.
24335 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24338 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24340 (PTR_DEMANGLE): Likewise.
24342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24344 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24346 (ASM_ADDR): Likewise.
24347 (RAX_LP): Likewise.
24348 (RBP_LP): Likewise.
24349 (RBX_LP): Likewise.
24350 (RCX_LP): Likewise.
24351 (RDI_LP): Likewise.
24352 (RSI_LP): Likewise.
24353 (RSP_LP): Likewise.
24356 (R10_LP): Likewise.
24357 (R10_LP): Likewise.
24358 (R11_LP): Likewise.
24359 (R12_LP): Likewise.
24360 (R13_LP): Likewise.
24361 (R14_LP): Likewise.
24362 (R15_LP): Likewise.
24364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24366 * sysdeps/x86_64/x32/dl-machine.h: New file.
24368 2012-05-14 Andreas Jaeger <aj@suse.de>
24370 * manual/Makefile (subdir): Remove export of subdir.
24371 (all): Remove target.
24372 (.PHONY): Remove all from list.
24373 (mkinstalldirs): Remove.
24374 (.PHONY): Remove installdirs from list.
24375 ($(inst_infodir)/libc.info): Use make-target-directory.
24376 (installdirs): Remove.
24377 (subdir_%): Remove.
24378 (glibc-targets): Remove.
24381 ($(objpfx)stubs ../po/manual.pot): Remove.
24382 ($(objpfx)stamp%): Remove.
24383 (make-target-directory): Remove.
24384 (subdir_install): Remove.
24385 (routines): Remove.
24392 * manual/.gitignore: Remove, it's not needed anymore.
24393 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24395 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24397 (texis): Renamed to $(objpfx)texis.
24398 (texis-path): New, contains path to generated files.
24399 (chapters.%): Use texis-path for complete path, add extra argument
24401 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24402 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24403 (summary,texi, stamp-summary): Use complete path of
24404 files. Generate files in build dir.
24405 (dir-add.texi): Build in build dir.
24406 (libm-err.texi,stamp-libm-err): Likewise.
24407 (version.texi, stamp-version): Likewise.
24408 (.%c.texi): Likewise.
24409 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24410 (mostlyclean): Remove target.
24411 (realclean): Remove target.
24412 (generated): Add new variable with contents from mostlyclean and
24413 realclean, remove entries duplicated in common-mostlyclean, add
24414 stamp-libm-err and stamp-version.
24415 (generated-dirs): Add libc directory.
24416 ($(inst_infodir)/libc.info): Install files from build dir.
24418 * manual/install.texi (Configuring and compiling): Adjust since
24419 the info files are not part of the tar ball anymore.
24421 2012-05-14 Andreas Jaeger <aj@suse.de>
24423 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24426 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24430 to 2.2.0 where earlier.
24431 * sysdeps/unix/sysv/linux/configure: Regenerated.
24432 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24433 Remove conditional code.
24434 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24435 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24436 Remove conditional code.
24437 [!__NR_lchown]: Likewise.
24438 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24439 [__NR_lchown]: Likewise.
24440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24441 comment referencing __ASSUME_LCHOWN_SYSCALL.
24442 * sysdeps/unix/sysv/linux/i386/sigaction.c
24443 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24444 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24445 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24446 Remove conditional code.
24447 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24448 (__protocol_available): Remove #if 0 code.
24449 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24451 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24452 * sysdeps/unix/sysv/linux/kernel-features.h
24453 (__ASSUME_GETCWD_SYSCALL): Don't define.
24454 (__ASSUME_REALTIME_SIGNALS): Likewise.
24455 (__ASSUME_PREAD_SYSCALL): Likewise.
24456 (__ASSUME_PWRITE_SYSCALL): Likewise.
24457 (__ASSUME_POLL_SYSCALL): Likewise.
24458 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24459 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24461 (__ASSUME_SIOCGIFNAME): Don't define.
24462 (__ASSUME_MSG_NOSIGNAL): Likewise.
24463 (__ASSUME_SENDFILE): Define unconditionally.
24464 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24465 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24467 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24468 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24469 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24470 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24471 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24472 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24473 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24478 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24484 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24487 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24490 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24496 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24498 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24499 Remove conditional code.
24500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24501 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24502 Remove conditional code.
24503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24504 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24505 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24506 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24507 Remove conditional code.
24508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24509 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24510 Remove conditional code.
24511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24512 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24513 Remove conditional code.
24514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24515 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24516 Remove conditional code.
24517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24518 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24519 Remove conditional code.
24520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24521 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24524 * sysdeps/unix/sysv/linux/sigaction.c
24525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24527 * sysdeps/unix/sysv/linux/sigpending.c
24528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24530 * sysdeps/unix/sysv/linux/sigprocmask.c
24531 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24532 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24533 * sysdeps/unix/sysv/linux/sigsuspend.c
24534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24536 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24537 (__libc_missing_rt_sigs): Remove.
24538 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24539 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24540 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24541 Remove conditional code.
24542 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24543 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24546 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24548 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24550 2012-05-14 Andreas Jaeger <aj@suse.de>
24552 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24553 it's not used in glibc.
24554 (__coshm1): Likewise.
24555 (__acosh1p): Likewise.
24558 * manual/string.texi (Copying and Concatenation): Add missing
24559 variable in concat example.
24560 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24566 __builtin_clzl with __builtin_clzll.
24568 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24571 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24574 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24576 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24577 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24578 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24579 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24581 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24583 * NEWS: Update ia64 info.
24585 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24587 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24590 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24592 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24593 * sysdeps/unix/syscalls.list (dup3): Likewise.
24594 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24595 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24597 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24599 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24600 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24602 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24604 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24606 (TLS_IE): Use mov/add instead of movq/addq to load thread
24608 (TLS_GD_PREFIX): New.
24611 2012-05-11 David S. Miller <davem@davemloft.net>
24613 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24614 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24615 (_FPU_SETCW): Likewise.
24617 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24619 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24620 is 32-byte aligned.
24622 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24625 * iconvdata/gb18030.c: Update tables.
24626 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24627 characters specially.
24628 (BODY for TO_LOOP): Add encoding of missing ranges.
24630 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24633 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24634 * sysdeps/mach/hurd/dup3.c: Likewise.
24635 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24636 * sysdeps/powerpc/memmove.c:: Likewise.
24638 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24641 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24643 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24645 * elf/elf.h (R_X86_64_RELATIVE64): New.
24646 (R_X86_64_NUM): Updated.
24647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24648 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24649 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24650 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24651 tst-quad1pie tst-quad2pie
24652 (modules-names): Add tst-quadmod1 tst-quadmod2.
24653 ($(objpfx)tst-quad1): New dependency.
24654 ($(objpfx)tst-quad2): Likewise.
24655 ($(objpfx)tst-quad1pie): Likewise.
24656 ($(objpfx)tst-quad2pie): Likewise.
24657 * sysdeps/x86_64/tst-quad1.c: New file.
24658 * sysdeps/x86_64/tst-quad1pie.c: New file.
24659 * sysdeps/x86_64/tst-quad2.c: Likewise.
24660 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24661 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24662 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24663 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24664 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24668 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24669 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24670 * streams/stropts.h (t_scalar_t): Define type.
24672 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24673 (_PATH_PRESERVE): Set to "/var/lib".
24674 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24676 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24679 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24680 if __dir_mkfile succeeded.
24682 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24683 checking for _hurd_dtablesize. Unlock it right after having
24684 finished _hurd_dtable allocation.
24686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24688 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24689 * sysdeps/mach/hurd/configure: Regenerated.
24690 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24691 special-casing to...
24692 * sysdeps/gnu/configure.in: ... this new file.
24693 * sysdeps/unix/sysv/linux/configure: Regenerated.
24694 * sysdeps/gnu/configure: New generated file.
24696 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24697 for Linux: use nsec instead of usec, as well as:
24698 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24699 members of type struct timespec.
24700 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24702 (struct stat64): Likewise.
24703 (_STATBUF_ST_NSEC): New macro.
24704 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24706 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24707 __strtoul_internal rather than strtoul.
24709 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24711 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24716 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24717 which preserves existing values.
24718 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24720 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24722 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24723 TIMEOUT values. Return EINVAL for NFDS values either negative or
24724 greater than FD_SETSIZE.
24726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24728 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24729 allocated, call __vm_protect to finish enabling the existing space, and
24730 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24731 allocate the remainder.
24733 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24735 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24736 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24740 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24741 sysdeps/mach/hurd/readlink.c.
24743 * posix/tst-sysconf.c (posix_options): Only use
24744 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24745 _POSIX_SYNCHRONIZED_IO when they are defined
24746 * sysdeps/mach/hurd/bits/posix_opt.h:
24747 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24748 (_XOPEN_REALTIME): Undefine macro.
24749 (_XOPEN_REALTIME_THREADS): Undefine macro.
24750 (_XOPEN_SHM): Undefine macro.
24751 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24753 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24755 (_POSIX_ASYNC_IO): Undefine macro.
24756 (_POSIX_PRIORITIZED_IO): Undefine macro.
24757 (_POSIX_SPIN_LOCKS): Define macro to -1.
24759 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24760 SA_NODEFER, SA_RESETHAND.
24761 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24762 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24767 * elf/Makefile (pldd-modules): Define unconditionally.
24769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24771 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24773 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24775 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24776 Return ENOENT when name is empty.
24777 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24781 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24783 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24787 Fix mlock in all cases except non-readable pages.
24788 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24789 instead of VM_PROT_ALL as parameter to __vm_wire function.
24791 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24792 (__mkdir): When path is `/', just fail with EEXIST.
24793 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24797 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24798 <sys/uio.h> (for writev).
24799 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24800 and <sys/param.h> (for MIN).
24802 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24804 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24805 REQUESTED_TIME. Properly set the remaining time and return EINTR
24808 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24810 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24811 Depend on against $(link-rpcuserlibs).
24813 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24815 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24816 (__libc_stack_end): Do not use attribute_relro.
24817 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24818 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24819 to libthread-provided value.
24820 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24826 * bits/libc-lock.h (__libc_once_get): New macro.
24827 * sysdeps/mach/bits/libc-lock.h: Likewise.
24828 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24830 instead of using implementation details.
24832 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24833 * libio/freopen.c: Likewise.
24834 * libio/freopen64.c: Likewise.
24835 * misc/syslog.c: Likewise.
24836 * nscd/connections.c: Likewise.
24837 * nscd/netgroupcache.c: Likewise.
24838 * sysdeps/posix/getcwd.c: Likewise.
24840 2012-05-10 Roland McGrath <roland@hack.frob.com>
24842 * math/w_ilogbf.c: Add #include <limits.h>.
24844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24846 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24847 path instead of returning without unlocking.
24849 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24850 immediate-write ioctls.
24851 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24855 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24856 __builtin_frame_address instead of making assumptions about the
24857 location of the return address relative to DATA. Force early load of
24858 the return address.
24859 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24860 __builtin_frame_address.
24863 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24864 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24865 implement dup3 and do some further code clean-ups.
24866 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24869 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24871 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24873 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24874 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24875 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24876 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24877 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24880 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24881 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24882 when handler == SIG_ERR, not when handler != SIG_ERR.
24884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24886 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24887 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24890 accept4 for GNU Hurd.
24891 * include/sys/socket.h (__libc_accept4): New prototype.
24892 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24893 to implement __libc_accept4.
24894 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24896 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24898 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24899 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24900 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24901 signal-defines.sym.
24903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24905 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24907 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24909 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24910 assertion on O_CLOEXEC flag.
24911 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24912 * hurd/intern-fd.c: Likewise.
24913 * hurd/port2fd.c: Likewise.
24915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24918 * bits/in.h (IPV6_PKTINFO): Define new macro.
24919 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24921 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24926 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24928 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24929 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24931 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24932 * math/libm-test.inc (logb_test) : Additional logb tests.
24934 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24935 Andreas Jaeger <aj@suse.de>
24937 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24938 * configure: Regenerated.
24939 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24940 * config.make.in (link-obsolete-rpc): New substituted variable.
24941 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24942 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24943 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24944 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24945 so that libc.a contains the symbols.
24946 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24947 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24948 * sunrpc/auth_none.c: Likewise.
24949 * sunrpc/auth_unix.c: Likewise.
24950 * sunrpc/authdes_prot.c: Likewise.
24951 * sunrpc/authuxprot.c: Likewise.
24952 * sunrpc/clnt_gen.c: Likewise.
24953 * sunrpc/clnt_perr.c: Likewise.
24954 * sunrpc/clnt_raw.c: Likewise.
24955 * sunrpc/clnt_simp.c: Likewise.
24956 * sunrpc/clnt_tcp.c: Likewise.
24957 * sunrpc/clnt_udp.c: Likewise.
24958 * sunrpc/clnt_unix.c: Likewise.
24959 * sunrpc/des_crypt.c: Likewise.
24960 * sunrpc/des_soft.c: Likewise.
24961 * sunrpc/get_myaddr.c: Likewise.
24962 * sunrpc/key_call.c: Likewise.
24963 * sunrpc/key_prot.c: Likewise.
24964 * sunrpc/netname.c: Likewise.
24965 * sunrpc/pm_getmaps.c: Likewise.
24966 * sunrpc/pm_getport.c: Likewise.
24967 * sunrpc/pmap_clnt.c: Likewise.
24968 * sunrpc/pmap_prot.c: Likewise.
24969 * sunrpc/pmap_prot2.c: Likewise.
24970 * sunrpc/pmap_rmt.c: Likewise.
24971 * sunrpc/publickey.c: Likewise.
24972 * sunrpc/rpc_cmsg.c: Likewise.
24973 * sunrpc/rpc_common.c: Likewise.
24974 * sunrpc/rpc_dtable.c: Likewise.
24975 * sunrpc/rpc_prot.c: Likewise.
24976 * sunrpc/rpc_thread.c: Likewise.
24977 * sunrpc/rtime.c: Likewise.
24978 * sunrpc/svc.c: Likewise.
24979 * sunrpc/svc_auth.c: Likewise.
24980 * sunrpc/svc_raw.c: Likewise.
24981 * sunrpc/svc_run.c: Likewise.
24982 * sunrpc/svc_tcp.c: Likewise.
24983 * sunrpc/svc_udp.c: Likewise.
24984 * sunrpc/svc_unix.c: Likewise.
24985 * sunrpc/svcauth_des.c: Likewise.
24986 * sunrpc/xcrypt.c: Likewise.
24987 * sunrpc/xdr.c: Likewise.
24988 * sunrpc/xdr_array.c: Likewise.
24989 * sunrpc/xdr_float.c: Likewise.
24990 * sunrpc/xdr_intXX_t.c: Likewise.
24991 * sunrpc/xdr_mem.c: Likewise.
24992 * sunrpc/xdr_rec.c: Likewise.
24993 * sunrpc/xdr_ref.c: Likewise.
24994 * sunrpc/xdr_sizeof.c: Likewise.
24995 * sunrpc/xdr_stdio.c: Likewise.
24997 2012-05-10 Roland McGrath <roland@hack.frob.com>
24999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25000 change. Update copyright years.
25002 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25004 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25006 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25007 Joseph Myers <joseph@codesourcery.com>
25008 Paul Pluzhnikov <ppluzhnikov@google.com>
25011 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25013 [cross-compiling] (extra-libs): Likewise.
25014 [cross-compiling] (extra-libs-others): Likewise.
25015 [cross-compiling] (librpcsvc-routines): Likewise.
25016 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25017 [cross-compiling] (omit-deps): Likewise.
25018 (sunrpc-CPPFLAGS): New variable.
25019 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25020 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25021 (cross-rpcgen-objs): New variable.
25022 (extra-objs): Append $(cross-rpcgen-objs).
25023 ($(cross-rpcgen-objs)): New rule.
25024 ($(objpfx)cross-rpcgen): Likewise.
25025 (rpcgen-cmd): Define to use $(built-program-file). Expand
25027 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25028 ($(objpfx)x%.stmp): Likewise.
25029 * sunrpc/proto.h [IS_IN_build] (_): Define.
25030 [IS_IN_build] (_libc_intl_domainname): Likewise.
25032 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25035 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25036 and R_X86_64_TPOFF64.
25038 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25040 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25041 sysdeps/unix/sysv/syscalls.list.
25044 * sysdeps/unix/sysv/syscalls.list: Remove file.
25046 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25049 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25050 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25051 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25052 (__LC_IDENTIFICATION): Make these macros useful in #if
25053 expressions, as required by C99.
25055 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25057 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25058 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25061 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25063 * stdlib/longlong.h: Updated from GCC.
25065 2012-05-09 Andreas Jaeger <aj@suse.de>
25067 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25068 default is first entry.
25069 (run_mode): Set type.
25070 (main): Remove informal message about syslog.
25071 (options): Fix typo.
25074 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25077 (llrintf): Likewise.
25078 (llrint): Likewise.
25081 (nearbyint): Likewise.
25082 (nearbyintf): Likewise.
25084 2012-05-09 Andreas Jaeger <aj@suse.de>
25085 Pedro Alves <palves@redhat.com>
25087 * nscd/nscd.c (run_mode): Use enum.
25088 (main): Cleanup coding style issue.
25090 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25091 Andreas Jaeger <aj@suse.de>
25093 * nscd/nscd.c (go_background): Replaced with...
25094 (run_mode): ... this.
25095 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25096 (options): Add -F --foreground.
25097 (main): Implement it.
25098 (parse_opt): Parse it.
25100 2012-05-09 Andreas Jaeger <aj@suse.de>
25103 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25104 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25105 -Wconversion warning.
25106 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25109 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25111 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25113 (LC_ALL): Use macro-int-constant.
25114 (LC_COLLATE): Likewise.
25115 (LC_CTYPE): Likewise.
25116 (LC_MESSAGES): Likewise.
25117 (LC_MONETARY): Likewise.
25118 (LC_NUMERIC): Likewise.
25119 (LC_TIME): Likewise.
25120 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25121 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25123 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25125 [C99-based standards] (float_t): Expect type.
25126 [C99-based standards] (double_t): Expect type.
25127 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25129 [C99-based standards] (HUGE_VALL): Likewise.
25130 [C99-based standards] (INFINITY): Likewise.
25131 [C99-based standards] (NAN): Likewise.
25132 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25133 [C99-based standards] (FP_NAN): Likewise.
25134 [C99-based standards] (FP_NORMAL): Likewise.
25135 [C99-based standards] (FP_SUBNORMAL): Likewise.
25136 [C99-based standards] (FP_ZERO): Likewise.
25137 [C99-based standards] (FP_FAST_FMA): Use
25138 optional-macro-int-constant. Specify type. Require == 1.
25139 [C99-based standards] (FP_FAST_FMAF): Likewise.
25140 [C99-based standards] (FP_FAST_FMAL): Likewise.
25141 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25142 [C99-based standards] (FP_ILOGBNAN): Likewise.
25143 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25145 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25146 [C99-based standards] (math_errhandling): Specify type.
25147 [ISO99 || ISO11] (signgam): Do not allow.
25148 [non-C99-based standards] (copysignf): Do not allow.
25149 [non-C99-based standards] (exp2f): Likewise.
25150 [non-C99-based standards] (log2f): Likewise.
25151 [non-C99-based standards] (modff): Allow.
25152 [non-C99-based standards] (erff): Do not allow.
25153 [non-C99-based standards] (erfcf): Likewise.
25154 [non-C99-based standards] (gammaf): Likewise.
25155 [non-C99-based standards] (hypotf): Likewise.
25156 [non-C99-based standards] (j0f): Likewise.
25157 [non-C99-based standards] (j1f): Likewise.
25158 [non-C99-based standards] (jnf): Likewise.
25159 [non-C99-based standards] (lgammaf): Likewise.
25160 [non-C99-based standards] (tgammaf): Likewise.
25161 [non-C99-based standards] (y0f): Likewise.
25162 [non-C99-based standards] (y1f): Likewise.
25163 [non-C99-based standards] (ynf): Likewise.
25164 [non-C99-based standards] (isnanf): Likewise.
25165 [non-C99-based standards] (acoshf): Likewise.
25166 [non-C99-based standards] (asinhf): Likewise.
25167 [non-C99-based standards] (atanhf): Likewise.
25168 [non-C99-based standards] (cbrtf): Likewise.
25169 [non-C99-based standards] (expm1f): Likewise.
25170 [non-C99-based standards] (ilogbf): Likewise.
25171 [non-C99-based standards] (log1pf): Likewise.
25172 [non-C99-based standards] (logbf): Likewise.
25173 [non-C99-based standards] (nextafterf): Likewise.
25174 [non-C99-based standards] (remainderf): Likewise.
25175 [non-C99-based standards] (rintf): Likewise.
25176 [non-C99-based standards] (scalbf): Likewise.
25177 [non-C99-based standards] (copysignl): Likewise.
25178 [non-C99-based standards] (exp2l): Likewise.
25179 [non-C99-based standards] (log2l): Likewise.
25180 [non-C99-based standards] (modfl): Allow.
25181 [non-C99-based standards] (erfl): Do not allow.
25182 [non-C99-based standards] (erfcl): Likewise.
25183 [non-C99-based standards] (gammal): Likewise.
25184 [non-C99-based standards] (hypotl): Likewise.
25185 [non-C99-based standards] (j0l): Likewise.
25186 [non-C99-based standards] (j1l): Likewise.
25187 [non-C99-based standards] (jnl): Likewise.
25188 [non-C99-based standards] (lgammal): Likewise.
25189 [non-C99-based standards] (tgammal): Likewise.
25190 [non-C99-based standards] (y0l): Likewise.
25191 [non-C99-based standards] (y1l): Likewise.
25192 [non-C99-based standards] (ynl): Likewise.
25193 [non-C99-based standards] (isnanl): Likewise.
25194 [non-C99-based standards] (acoshl): Likewise.
25195 [non-C99-based standards] (asinhl): Likewise.
25196 [non-C99-based standards] (atanhl): Likewise.
25197 [non-C99-based standards] (cbrtl): Likewise.
25198 [non-C99-based standards] (expm1l): Likewise.
25199 [non-C99-based standards] (ilogbl): Likewise.
25200 [non-C99-based standards] (log1pl): Likewise.
25201 [non-C99-based standards] (logbl): Likewise.
25202 [non-C99-based standards] (nextafterl): Likewise.
25203 [non-C99-based standards] (remainderl): Likewise.
25204 [non-C99-based standards] (rintl): Likewise.
25205 [non-C99-based standards] (scalbl): Likewise.
25206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25207 [non-C99-based standards] (FP_*): Do not allow.
25208 [C99-based standards] (FP_*): Change to
25209 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25210 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25212 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25213 (SIG_ERR): Likewise.
25214 [X/Open-based standards] (SIG_HOLD): Likewise.
25215 (SIG_IGN): Likewise.
25216 (SIGABRT): Use macro-int-constant. Specify type. Require
25218 (SIGFPE): Likewise.
25219 (SIGILL): Likewise.
25220 (SIGINT): Likewise.
25221 (SIGSEGV): Likewise.
25222 (SIGTER): Likewise.
25223 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25224 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25225 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25226 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25227 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25228 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25229 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25230 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25231 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25232 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25233 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25234 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25235 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25236 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25237 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25238 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25239 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25240 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25241 [X/Open-based standards] (SIGTRAP): Likewise.
25242 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25243 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25244 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25245 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25246 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25249 2012-05-08 Ian Wienand <ianw@vmware.com>
25252 * time/tzset.c (__tzset_parse_tz): Update default rules for
25253 daylight time changes in the Energy Policy Act of 2005.
25255 2012-05-09 Andreas Jaeger <aj@suse.de>
25258 * elf/ldconfig.c (parse_conf): Change string to make clear that
25259 ldconfig only issued a warning if ld.so.conf does not exist.
25261 2012-05-08 David S. Miller <davem@davemloft.net>
25263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25264 movxtod instead of popping the value on the stack.
25266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25268 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25270 * config.h.in: Add HAVE_ARM_PCS_VFP.
25272 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25275 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25276 checking but the checks are disabled for any reason.
25278 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25280 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25281 and ELF64_R_TYPE with ELFW(R_TYPE).
25283 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25285 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25286 (ulimit): Likewise.
25288 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25289 (settimeofday): Likewise.
25291 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25293 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25294 a struct th_u2 inside the union, and move tu_block/tu_code into
25295 a new th_u3 union of tu_block/tu_code inside of that. Move
25296 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25297 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25298 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25299 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25300 (th_stuff): Change to th_u1.tu_stuff.
25302 (th_msg): Change to th_u1.th_u2.tu_data.
25304 2012-05-07 David S. Miller <davem@davemloft.net>
25306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25310 (SETUP_PIC_REG): Use it.
25311 (SETUP_PIC_REG_LEAF): Use it.
25313 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25317 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25319 (EXPL_FINITE): Likewise.
25320 (FLDLOG): Likewise.
25321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25322 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25326 (EXPL_FINITE): Likewise.
25327 (FLDLOG): Likewise.
25328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25329 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25331 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25332 test of -max_value argument for long double.
25333 * sysdeps/i386/fpu/libm-test-ulps: Update.
25334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25336 2012-05-06 David S. Miller <davem@davemloft.net>
25338 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25339 quad soft-float symbols whose references which are compiler
25341 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25343 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25347 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25349 (EXPL_FINITE): Likewise.
25350 (FLDLOG): Likewise.
25353 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25354 Adjust comments for base varying.
25355 (__expl_finite): Change alias to EXPL_FINITE.
25356 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25358 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25359 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25361 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25362 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25364 (EXPL_FINITE): Likewise.
25365 (FLDLOG): Likewise.
25368 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25369 Adjust comments for base varying.
25370 (__expl_finite): Change alias to EXPL_FINITE.
25371 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25376 * math/libm-test.inc (check_float_internal): Correct ulp
25377 calculation for subnormal expected results.
25379 2012-05-06 Andreas Jaeger <aj@suse.de>
25381 * Makeconfig (+math-flags): New, set to -frounding-math.
25382 (+cflags): Add +math-flags so that all of glibc gets compiled with
25385 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25387 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25389 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25395 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25396 (__ieee754_expl): Allow for and saturate large arguments.
25397 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25398 (u_threshold): Likewise.
25399 (__exp): Call __ieee754_exp before checking for overflow and
25401 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25402 (u_threshold): Likewise.
25403 (__expf): Call __ieee754_expf before checking for overflow and
25405 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25406 (u_threshold): Likewise.
25407 (__expl): Call __ieee754_expl before checking for overflow and
25409 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25410 (__ieee754_expl): Allow for and saturate large arguments.
25411 * math/libm-test.inc (exp_test): Add another test. Do not allow
25412 missing overflow exception on overflow.
25413 (expm1_test): Do not allow missing overflow exception on overflow.
25415 * sysdeps/i386/fpu/e_expl.c: Move to ...
25416 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25417 rather than using inline asm.
25418 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25419 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25420 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25422 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25425 (signal): Likewise.
25429 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25431 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25432 sysdeps/unix/common/syscalls.list.
25433 (fchmod): Likewise.
25434 (fchown): Likewise.
25435 (ftruncate): Likewise.
25436 (getrusage): Likewise.
25437 (gettimeofday): Likewise.
25438 (setpgid): Likewise.
25439 (setregid): Likewise.
25440 (setreuid): Likewise.
25441 (sigaction): Likewise.
25442 (truncate): Likewise.
25443 (vhangup): Likewise.
25444 * sysdeps/unix/common/syscalls.list: Remove file.
25445 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25446 * sysdeps/unix/sysv/linux/Implies: Likewise.
25448 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25456 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25459 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25462 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25465 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25468 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25471 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25474 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25478 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25482 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25485 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25489 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25493 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25495 * sysdeps/unix/common/bits/dirent.h: Remove file.
25496 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25498 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25499 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25500 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25501 * sysdeps/unix/bsd/isatty.c: Likewise.
25502 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25503 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25504 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25506 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25510 long double comparison inaccuracies.
25511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25514 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25516 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25519 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25523 nonzero digits before rounding a hex value.
25524 * stdlib/tst-strtod.c (tests): Add another test.
25526 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25528 * sysdeps/s390/fpu/libm-test-ulps: Update.
25530 2012-05-03 Andreas Jaeger <aj@suse.de>
25532 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25533 does not get optimized out.
25534 (malloc_opt_barrier): New.
25536 2012-05-03 Andreas Jaeger <aj@suse.de>
25537 Roland McGrath <roland@hack.frob.com>
25539 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25540 intermediate file deletion.
25541 (generated): Add .symlist files.
25543 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25546 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25547 Redirect under this condition.
25548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25549 [__USE_GNU] (__dprintf_chk): Not under this condition.
25550 [__USE_GNU] (__vdprintf_chk): Likewise.
25551 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25552 under this condition.
25553 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25554 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25555 [__USE_XOPEN2K8] (vdprintf): Likewise.
25556 [__USE_GNU] (__dprintf_chk): Not under this condition.
25557 [__USE_GNU] (__vdprintf_chk): Likewise.
25558 [__USE_GNU] (dprintf): Likewise.
25559 [__USE_GNU] (vdprintf): Likewise.
25561 2012-05-03 Roland McGrath <roland@hack.frob.com>
25563 * elf/Makefile (common-generated): Set this instead of generated for
25564 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25565 $(all-built-dso)-derived lists.
25567 2012-05-03 Andreas Jaeger <aj@suse.de>
25569 * sysdeps/i386/fpu/libm-test-ulps: Update.
25572 * FAQ.in: Likewise.
25573 * scripts/gen-FAQ.pl: Likewise.
25574 * manual/install.texi (Installation): Point to online location of
25576 * Makefile (files-for-dist): Remove FAQ.
25579 2012-05-02 Allan McRae <allan@archlinux.org>
25581 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25582 (LDFLAGS-reldepmod5.so): Likewise.
25583 (LDFLAGS-reldep6mod1.so): Likewise.
25584 (LDFLAGS-reldep6mod4.so): Likewise.
25585 (LDFLAGS-reldep8mod3.so): Likewise.
25586 (LDFLAGS-unload4mod1.so): Likewise.
25587 (LDFLAGS-unload4mod2.so): Likewise.
25588 (LDFLAGS-tst-initorder): Likewise.
25589 (LDFLAGS-tst-initordera2.so): Likewise.
25590 (LDFLAGS-tst-initordera3.so): Likewise.
25591 (LDFLAGS-tst-initordera4.so): Likewise.
25592 (LDFLAGS-tst-initorderb2.so): Likewise.
25593 (LDFLAGS-noload): Likewise.
25594 (LDFLAGS-next): Likewise.
25595 (LDFLAGS-order2mod1.so): Likewise.
25596 (LDFLAGS-order2mod2.so): Likewise.
25597 (LDFLAGS-tst-initorder2): Likewise.
25598 (LDFLAGS-tst-initorder2a.so): Likewise.
25599 (LDFLAGS-tst-initorder2b.so): Likewise.
25600 (LDFLAGS-tst-initorder2c.so): Likewise.
25601 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25603 2012-05-02 David S. Miller <davem@davemloft.net>
25605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25607 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25610 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25612 2012-05-02 Andreas Jaeger <aj@suse.de>
25614 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25615 since we manipulate rounding mode.
25616 (CPPFLAGS-test-idouble.c): Likewise.
25617 (CPPFLAGS-test-ifloat.c): Likewise.
25618 (CFLAGS-test-ldouble.c): Likewise.
25619 (CFLAGS-test-double.c): Likewise.
25620 (CFLAGS-test-float.c): Likewise.
25621 (CFLAGS-test-misc.c): Likewise.
25622 (CFLAGS-test-test-fenv.c): Likewise.
25624 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25629 comparisons to determine direction to adjust input.
25631 2012-05-01 Roland McGrath <roland@hack.frob.com>
25633 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25634 output to the target.
25636 * scripts/localplt.awk: New file.
25637 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25638 (check-localplt-CFLAGS): Variable removed.
25639 ($(all-built-dso:=.jmprel)): New static pattern rule.
25640 (generated): Add those targets.
25641 (localplt-built-dso): New variable.
25642 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25644 * elf/check-localplt.c: File removed.
25646 * scripts/check-execstack.awk: New file.
25647 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25648 (check-execstack-CFLAGS): Variable removed.
25649 ($(objpfx)check-execstack.h): Target removed.
25650 ($(objpfx)execstack-default): New target.
25651 (generated): Add that instead of check-execstack.h.
25652 ($(all-built-dso:=.phdr)): New static pattern rule.
25653 (generated): Add those targets.
25654 * elf/check-execstack.c: File removed.
25656 * scripts/check-textrel.awk: New file.
25657 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25658 (check-textrel-CFLAGS): Variable removed.
25659 (all-built-dso): Use := to define.o
25660 ($(all-built-dso:=.dyn)): New static pattern rule.
25661 (generated): Add those targets.
25662 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25663 * config.make.in (READELF): New substituted variable.
25664 * elf/check-textrel.c: File removed.
25666 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25668 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25670 * conform/data/ctype.h-data [C99-based standards] (isblank):
25672 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25673 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25675 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25676 Specify type. Require positive value.
25677 (EILSEQ): Likewise.
25678 (ERANGE): Likewise.
25679 [ISO || POSIX] (EILSEQ): Do not expect.
25680 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25681 Specify type. Require positive value.
25682 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25683 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25684 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25685 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25686 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25687 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25688 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25689 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25690 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25691 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25692 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25694 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25695 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25697 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25698 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25700 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25701 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25703 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25710 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25711 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25712 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25715 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25718 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25724 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25725 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25726 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25730 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25731 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25732 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25733 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25737 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25738 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25744 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25746 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25751 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25752 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25753 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25755 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25756 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25757 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25758 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25760 (FLT_ROUNDS): Expect as macro, not constant.
25761 (FLT_MANT_DIG): Use macro-int-constant.
25762 (DBL_MANT_DIG): Likewise.
25763 (LDBL_MANT_DIG): Likewise.
25764 (FLT_DIG): Likewise.
25765 (DBL_DIG): Likewise.
25766 (LDBL_DIG): Likewise.
25767 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25768 (DBL_MIN_EXP): Likewise.
25769 (LDBL_MIN_EXP): Likewise.
25770 (FLT_MAX_EXP): Use macro-int-constant.
25771 (DBL_MAX_EXP): Likewise.
25772 (LDBL_MAX_EXP): Likewise.
25773 (FLT_MAX_10_EXP): Likewise.
25774 (DBL_MAX_10_EXP): Likewise.
25775 (LDBL_MAX_10_EXP): Likewise.
25776 (FLT_MAX): Use macro-constant.
25777 (DBL_MAX): Likewise.
25778 (LDBL_MAX): Likewise.
25779 (FLT_EPSILON): Use macro-constant. Give upper bound.
25780 (DBL_EPSILON): Likewise.
25781 (LDBL_EPSILON): Likewise.
25782 (FLT_MIN): Likewise.
25783 (DBL_MIN): Likewise.
25784 (LDBL_MIN): Likewise.
25785 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25786 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25787 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25788 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25789 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25790 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25791 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25792 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25793 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25794 [ISO11] (FLT_TRUE_MIN): Likewise.
25795 [ISO11] (LDBL_TRUE_MIN): Likewise.
25796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25797 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25798 (SCHAR_MIN): Use macro-int-constant. Specify type.
25799 (SCHAR_MAX): Likewise.
25800 (UCHAR_MAX): Likewise.
25801 (CHAR_MIN): Likewise.
25802 (CHAR_MAX): Likewise.
25803 (MB_LEN_MAX): Use macro-int-constant.
25804 (SHRT_MIN): Use macro-int-constant. Specify type.
25805 (SHRT_MAX): Likewise.
25806 (USHRT_MAX): Likewise.
25807 (INT_MAX): Likewise.
25808 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25810 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25812 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25814 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25815 bound negative. Suffix upper bound with "L".
25816 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25818 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25820 [C99-based standards] (LLONG_MAX): Likewise.
25821 [C99-based standards] (ULLONG_MAX): Likewise.
25822 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25824 [ISO11] (max_align_t): Require type.
25825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25827 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25828 from $CFLAGS, without defining away __attribute__ calls.
25829 (checknamespace): Use $CFLAGS_namespace.
25831 * conform/conformtest.pl (@keywords): Only include C99 keywords
25832 for standards based on C99 or C11.
25834 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25836 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25839 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25840 usability of symbols in #if.
25842 * conform/conformtest.pl: If macro or constant types start
25843 "promoted:", expect the symbol to be of the following type
25844 promoted by the integer promotions.
25846 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25847 in one place. Also handle "macro-constant".
25849 * conform/conformtest.pl: Only accept expected macro values with
25850 "==". Parse all "macro" lines in one place.
25851 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25853 * conform/conformtest.pl: Handle braced types on "constant" lines
25854 instead of handling "typed-constant".
25855 * conform/data/signal.h-data: Use "constant" instead of
25858 * conform/conformtest.pl: Handle "optional-" at start of lines in
25859 one place rather than duplicating several cases. Handle each
25860 format of "macro" line with initial "optional-".
25862 * conform/conformtest.pl: Only accept expected constant or
25863 optional-constant values with "==". Parse all "constant" lines in
25864 one place. Parse all "optional-constant" lines in one place.
25865 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25866 * conform/data/fmtmsg.h-data: Likewise.
25867 * conform/data/netinet/in.h-data: Likewise.
25868 * conform/data/tar.h-data: Likewise.
25869 * conform/data/limits.h-data: Use "==" form on "constant" and
25870 "optional-constant" lines.
25872 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25873 Use -std=c99 for XOPEN2K.
25874 (@knownproblems): Remove.
25875 (newtoken): Don't check %isknown.
25877 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25878 Do not expect macro.
25879 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25880 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25881 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25882 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25883 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25884 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25885 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25886 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25887 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25888 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25891 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25892 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25896 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25897 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25898 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25909 [XPG3] (acosh): Likewise.
25910 [XPG3] (asinh): Likewise.
25911 [XPG3] (atanh): Likewise.
25912 [XPG3] (cbrt): Likewise.
25913 [XPG3] (expm1): Likewise.
25914 [XPG3] (ilogb): Likewise.
25915 [XPG3] (log1p): Likewise.
25916 [XPG3] (logb): Likewise.
25917 [XPG3] (nextafter): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25920 [XPG3] (remainder): Likewise.
25921 [XPG3] (rint): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25929 [UNIX98 || XOPEN2K] (scalb): Expect.
25930 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25931 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26018 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26019 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26020 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26023 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26024 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26025 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26027 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26028 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26029 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26030 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26031 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26033 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26034 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26035 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26036 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26037 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26038 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26039 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26040 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26041 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26042 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26043 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26044 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26045 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26046 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26047 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26048 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26049 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26050 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26062 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26068 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26069 _XOPEN_SOURCE_EXTENDED for XPG4.
26071 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26073 * Makeconfig (localtime): Remove variable.
26074 (inst_localtime-file): Likewise.
26076 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26097 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26101 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26102 comparisons to determine direction to adjust input.
26103 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26104 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26107 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26111 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26112 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26114 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26116 * math/libm-test.inc (nexttoward_test): Add more tests.
26118 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26121 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26122 in version GLIBC_2.1, not GLIBC_2.0.
26123 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26126 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26129 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26132 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26133 * math/libm-test.inc (acos_test): Add more tests.
26134 (asin_test): Likewise.
26135 * sysdeps/i386/fpu/libm-test-ulps: Update.
26136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26139 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26141 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26142 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26143 * math/libm-test.inc (acos_test_tonearest): New function.
26144 (acos_test_towardzero): Likewise.
26145 (acos_test_downward): Likewise.
26146 (acos_test_upward): Likewise.
26147 (asin_test_tonearest): Likewise.
26148 (asin_test_towardzero): Likewise.
26149 (asin_test_downward): Likewise.
26150 (asin_test_upward): Likewise.
26151 (main): Call the new functions.
26152 * sysdeps/i386/fpu/libm-test-ulps: Update.
26153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26157 * math/e_exp10.c: Include <float.h>.
26158 (__ieee754_exp10): Handle underflow here rather than multiplying
26159 large negative argument by M_LN10.
26160 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26162 * math/e_exp10l.c: Include <float.h>.
26163 (__ieee754_exp10l): Handle underflow here rather than multiplying
26164 large negative argument by M_LN10l.
26165 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26166 spurious overflow exception on underflow.
26168 2012-04-29 Marek Polacek <polacek@redhat.com>
26170 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26171 (__fortify_function): New macro.
26172 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26173 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26174 __extern_always_inline.
26175 * libio/bits/stdio2.h: Likewise.
26176 * libio/bits/stdio.h: Likewise.
26177 * string/string.h: Likewise.
26178 * string/bits/string3.h: Likewise.
26179 * include/stdio.h: Likewise.
26180 * stdlib/bits/stdlib.h: Likewise.
26181 * stdlib/stdlib.h: Likewise.
26182 * rt/bits/mqueue2.h: Likewise.
26183 * rt/mqueue.h: Likewise.
26184 * posix/bits/unistd.h: Likewise.
26185 * posix/unistd.h: Likewise.
26186 * io/bits/poll2.h: Likewise.
26187 * io/bits/fcntl2.h: Likewise.
26188 * io/fcntl.h: Likewise.
26189 * io/sys/poll.h: Likewise.
26190 * misc/bits/syslog.h: Likewise.
26191 * misc/bits/syslog-ldbl.h: Likewise.
26192 * misc/sys/syslog.h: Likewise.
26193 * socket/bits/socket2.h: Likewise.
26194 * socket/sys/socket.h: Likewise.
26195 * debug/tst-chk1.c: Likewise.
26196 * wcsmbs/bits/wchar2.h: Likewise.
26197 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26198 * wcsmbs/wchar.h: Likewise.
26200 2012-04-29 Andreas Jaeger <aj@suse.de>
26202 * Makerules (tests): Remove enable-check-abi protection.
26203 (check-abi-warn): Remove.
26204 (check-abi-%): Remove check-abi-warn usage.
26206 * configure.in: Remove check-abi configure option.
26207 * configure: Regenerated.
26208 * config.make.in (enable-check-abi): Remove.
26210 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26213 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26214 double functions to double *_finite functions.
26217 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26218 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26220 * stdio-common/Makefile (tests): Add tst-sprintf3.
26221 * stdio-common/tst-sprintf3.c: New file.
26223 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26224 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26226 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26228 * conform/conformtest.pl: Remove duplicate typed-constant
26231 2012-04-28 David S. Miller <davem@davemloft.net>
26233 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26234 (check-abi-%): Remove AWK script prerequisite and explicit
26236 (check-abi): Rewrite to just diff the symlist with the abilist.
26237 (config-tls, config-abi-config): Delete, no longer used.
26238 (update-abi-%): Remove AWK script and explicit abilist directory.
26239 (update-abi): Rewrite to simply compare and conditionally copy the
26240 symlist and the sysdep abilist file. Remove update-abi-config
26242 * abilist/ld.abilist: Remove.
26243 * abilist/libBrokenLocale.abilist: Remove.
26244 * abilist/libanl.abilist: Remove.
26245 * abilist/libcrypt.abilist: Remove.
26246 * abilist/libdl.abilist: Remove.
26247 * abilist/librt.abilist: Remove.
26248 * abilist/libthread_db.abilist: Remove.
26249 * abilist/libutil.abilist: Remove.
26250 * scripts/extract-abilist.awk: Remove.
26251 * scripts/merge-abilist.awk: Remove.
26252 * sysdeps/generic/libcidn.abilist: New file.
26253 * sysdeps/generic/libnss_compat.abilist: New file.
26254 * sysdeps/generic/libnss_db.abilist: New file.
26255 * sysdeps/generic/libnss_dns.abilist: New file.
26256 * sysdeps/generic/libnss_files.abilist: New file.
26257 * sysdeps/generic/libnss_hesiod.abilist: New file.
26258 * sysdeps/generic/libnss_nis.abilist: New file.
26259 * sysdeps/generic/libnss_nisplus.abilist: New file.
26260 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26261 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26262 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26265 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26266 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26267 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26268 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26269 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26270 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26271 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26272 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26274 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26275 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26276 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26277 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26279 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26281 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26282 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26283 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26284 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26286 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26287 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26288 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26290 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26393 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26394 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26395 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26398 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26399 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26400 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26401 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26402 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26403 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26404 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26405 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26406 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26458 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26460 * conform/conformtest.pl: Fix typo in handling typed-constant from
26463 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26465 * README: Cut down references to pre-2.6 Linux kernels and
26466 Linuxthreads. Update lists of configurations in libc and ports
26467 and sort alphabetically. Say "or newer" with Linux kernel version
26470 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26472 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26475 * math/libm-test.inc (logb_test_downward): New test to expose
26476 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26479 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26482 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26484 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26485 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26487 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26489 * sysdeps/unix/i386/brk.S: Remove file.
26490 * sysdeps/unix/i386/dl-brk.S: Likewise.
26491 * sysdeps/unix/i386/pipe.S: Likewise.
26492 * sysdeps/unix/i386/sigreturn.S: Likewise.
26493 * sysdeps/unix/i386/syscall.S: Likewise.
26494 * sysdeps/unix/i386/vfork.S: Likewise.
26495 * sysdeps/unix/i386/wait.S: Likewise.
26497 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26498 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26500 * configure.in (arm*-none*): Do not allow without
26501 --enable-hacker-mode.
26502 (netbsd*): Remove case setting base_os.
26503 (386bsd*): Likewise.
26504 (freebsd*): Likewise.
26507 (sunos*): Likewise.
26508 (ultrix*): Likewise.
26509 (newsos*): Likewise.
26510 (dynix*): Likewise.
26516 (minix*): Likewise.
26517 (irix4*): Likewise.
26518 (irix6*): Likewise.
26519 (solaris[2-9]*): Likewise.
26521 * configure: Regenerated.
26523 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26527 overflow or cancellation in calculating denominator.
26528 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26529 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26530 down expression to avoid unexpected rounding in newer GCCs.
26531 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26533 2012-04-26 David S. Miller <davem@davemloft.net>
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26536 long-double compat symbols.
26537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26551 2012-04-25 David S. Miller <davem@davemloft.net>
26553 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26554 HWCAP_* values only after the memory barriers have been defined.
26555 (atomic_full_barrier): Define.
26556 (atomic_read_barrier): Define.
26557 (atomic_write_barrier): Define.
26559 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26561 * shlib-versions: Add libgcc_s version information.
26562 * sysdeps/generic/libgcc_s.h: Remove.
26563 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26565 * sysdeps/gnu/unwind-resume.c: Likewise.
26566 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26568 2012-04-25 David S. Miller <davem@davemloft.net>
26570 * sysdeps/unix/sparc/brk.S: Delete.
26571 * sysdeps/unix/sparc/dl-brk.S: Delete.
26572 * sysdeps/unix/sparc/pipe.S: Delete.
26573 * sysdeps/unix/sparc/sysdep.S: Delete.
26574 * sysdeps/unix/sparc/sysdep.h: Delete.
26575 * sysdeps/unix/sparc/vfork.S: Delete.
26576 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26577 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26579 ret_ERRVAL, r0, r1, MOVE): Define.
26580 (JUMPTARGET): Remove.
26581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26582 sysdeps/unix/sparc/sysdep.h
26583 (ENTRY, END): Remove.
26584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26586 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26588 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26589 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26592 * timezone/README: Update upstream location and email address for
26594 * timezone/zdump.c: Update from tzcode 2012b.
26595 * timezone/zic.c: Likewise.
26597 * configure.in (libc_cv_as_needed): Remove test.
26598 * configure: Regenerated.
26599 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26600 conditional definition.
26601 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26602 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26603 * config.make.in (have-as-needed): Remove variable.
26605 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26606 Paul Pluzhnikov <ppluzhnikov@google.com>
26608 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26611 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26613 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26614 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26615 * sysdeps/sh/strlen.S: Likewise.
26617 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26619 * sysdeps/unix/fork.S: Remove file.
26620 * sysdeps/unix/i386/fork.S: Likewise.
26621 * sysdeps/unix/sparc/fork.S: Likewise.
26623 * sysdeps/unix/system.c: Remove file.
26624 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26626 * sysdeps/unix/getegid.S: Remove file.
26627 * sysdeps/unix/geteuid.S: Likewise.
26629 2012-04-24 Roland McGrath <roland@hack.frob.com>
26631 * scripts/check-localplt.awk: New file.
26632 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26634 * scripts/data/localplt-generic.data: Add a comment.
26636 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26637 NODE when __dir_mkfile failed.
26638 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26639 Reported by Ludovic Courtès <ludo@gnu.org>.
26641 2012-04-24 Andreas Jaeger <aj@suse.de>
26643 * Makerules (common-clean): Also remove gen-as-const-headers
26646 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26648 * Makerules (native-compile): Do not change working directory for
26649 build. Use $(OUTPUT_OPTION) in command.
26650 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26652 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26655 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26656 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26657 * math/libm-test.inc (floor_test): Add more tests.
26658 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26660 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26662 * sysdeps/unix/getdents.c: Remove file.
26663 * sysdeps/unix/sysv/getdents.c: Likewise.
26664 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26666 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26667 sysdeps/unix/mman/syscalls.list.
26669 (mprotect): Likewise.
26671 (munmap): Likewise.
26672 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26673 * sysdeps/unix/mman/syscalls.list: Remove.
26674 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26676 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26677 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26678 * configure: Regenerated.
26679 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26680 $(libgcc_s_suffix).
26681 * config.make.in (libgcc_s_suffix): Remove variable.
26683 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26685 * sysdeps/unix/sysv/gethostname.c: Move to ...
26686 * sysdeps/posix/gethostname.c: ... here.
26688 * sysdeps/unix/execve.S: Remove file.
26690 * sysdeps/unix/_exit.S: Remove file.
26692 2012-04-23 Andreas Jaeger <aj@suse.de>
26695 * manual/Makefile: Remove make dist support, there's no
26696 need for a stand-alone documentation tar ball.
26697 (TEXI2DVI): Define always, it's not in Makeconfig.
26700 (edition): Removed.
26701 (glibc-doc-$(edition).tar): Removed
26705 (ETAGS): Remove, it's in Makeconfig.
26706 (move-if-change): Remove, it's in Makeconfig.
26708 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26711 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26712 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26713 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26714 (strtod_l, strtof_l, strtold_l): Remove __wur.
26715 It is not necessarily an error to ignore strtol's return value.
26716 One can reliably look at the stored endptr to decide whether
26717 the number had valid syntax.
26719 2012-04-21 Andreas Jaeger <aj@suse.de>
26722 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26724 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26726 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26727 * sysdeps/unix/sysv/Versions: Remove file.
26729 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26734 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26738 version from __vm86.
26740 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26742 * sysdeps/unix/common/lxstat.c: Remove file.
26743 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26745 * sysdeps/unix/sysv/Makefile: Remove file.
26747 * sysdeps/unix/sysv/direct.h: Remove file.
26749 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26750 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26751 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26752 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26753 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26754 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26755 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26757 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26759 * sysdeps/unix/xmknod.c: Remove file.
26760 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26762 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26764 * sysdeps/unix/sysv/i386/time.S: Remove file.
26766 * sysdeps/unix/fxstat.c: Remove file.
26767 * sysdeps/unix/xstat.c: Likewise.
26768 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26770 * sysdeps/unix/sysv/sigaction.c: Remove file.
26772 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26773 (sysdep_headers): Remove variable.
26774 [termio.h not in sysdep_headers] (generated): Likewise.
26775 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26776 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26777 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26778 * sysdeps/unix/sysv/tcflow.c: Likewise.
26779 * sysdeps/unix/sysv/tcflush.c: Likewise.
26780 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26781 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26782 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26783 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26784 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26786 * sysdeps/unix/siglist.c: Remove file.
26788 * sysdeps/unix/getppid.S: Remove file.
26790 * sysdeps/unix/mkdir.c: Remove file.
26791 * sysdeps/unix/rmdir.c: Likewise.
26793 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26795 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26798 errlist-compat value.
26800 2012-04-18 David S. Miller <davem@davemloft.net>
26802 * sysdeps/generic/memcopy.h (reg_char): Delete.
26803 * debug/strcat_chk.c: Use char, not reg_char.
26804 * debug/strcpy_chk.c: Likewise.
26805 * debug/strncat_chk.c: Likewise.
26806 * debug/strncpy_chk.c: Likewise.
26807 * string/memchr.c: Likewise.
26808 * string/memrchr.c: Likewise.
26809 * string/rawmemchr.c: Likewise.
26810 * string/strcat.c: Likewise.
26811 * string/strchr.c: Likewise.
26812 * string/strchrnul.c: Likewise.
26813 * string/strcmp.c: Likewise.
26814 * string/strcpy.c: Likewise.
26815 * string/strncat.c: Likewise.
26816 * string/strncmp.c: Likewise.
26817 * string/strncpy.c: Likewise.
26819 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26821 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26822 __builtin_memcopy is called when src and dest ranges are known to not
26825 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26827 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26828 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26829 fwd_align_merge macro call.
26830 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26831 bwd_align_merge macro call.
26832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26834 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26836 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26837 bwd_align_merge macros.
26838 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26839 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26840 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26842 2012-04-18 David S. Miller <davem@davemloft.net>
26844 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26846 2012-04-18 Andreas Jaeger <aj@suse.de>
26849 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26850 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26851 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26853 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26854 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26857 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26858 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26859 Adjust for changed ldbl-128 files.
26861 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26862 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26863 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26865 2012-04-17 David S. Miller <davem@davemloft.net>
26867 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26869 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26871 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26872 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26873 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26874 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26875 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26876 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26878 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26881 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26882 * math/libm-test.inc: Add ilogb errno and exception tests.
26883 * math/w_ilogb.c: New file: ilogb wrapper.
26884 * math/w_ilogbf.c: New file: ilogbf wrapper.
26885 * math/w_ilogbl.c: New file: ilogbl wrapper.
26886 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26887 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26888 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26889 exception being thrown with 0.0 as argument.
26890 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26891 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26892 exception being thrown with 0.0 as argument.
26893 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26894 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26895 exception being thrown with 0.0 as argument.
26896 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26897 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26898 exception being thrown with 0.0 as argument.
26899 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26900 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26902 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26903 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26904 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26905 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26906 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26907 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26909 2012-04-17 Petr Baudis <pasky@ucw.cz>
26911 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26914 2012-04-16 Marek Polacek <polacek@redhat.com>
26916 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26918 2012-04-16 Marek Polacek <polacek@redhat.com>
26920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26921 operands of fdivp instruction.
26923 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26925 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26926 * elf/tst-auditmod3b.c: Likewise.
26927 * elf/tst-auditmod4b.c: Likewise.
26928 * elf/tst-auditmod5b.c: Likewise.
26929 * elf/tst-auditmod6b.c: Likewise.
26930 * elf/tst-auditmod6c.c: Likewise.
26931 * elf/tst-auditmod7b.c: Likewise.
26932 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26933 * sysdeps/x86_64/preconfigure.in: Likewise.
26934 * sysdeps/x86_64/preconfigure: Regenerated.
26936 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26938 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26941 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26944 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26946 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26949 * locale/iso-639.def: Fix gl language name. Spotted by
26952 2012-04-12 Roland McGrath <roland@hack.frob.com>
26955 * libio/libio.h (__io_write_fn): Update comment.
26957 2012-04-12 Petr Baudis <pasky@ucw.cz>
26960 * stdio.texi (Hook Functions): The user provided writer function
26961 is not allowed to return -1.
26963 2012-04-11 David S. Miller <davem@davemloft.net>
26965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26967 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26969 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26970 Add a leading slash to rtkaio.
26972 2012-04-11 Jim Meyering <meyering@redhat.com>
26975 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26976 It is not necessarily an error to ignore fwrite's return
26977 value. One can reliably use ferror to test for errors after
26980 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26982 * bits/types.h (__snseconds_t): New type.
26983 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26985 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26987 (__SNSECONDS_T_TYPE): Likewise.
26988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26989 (__SNSECONDS_T_TYPE): Likewise.
26990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26991 (__SNSECONDS_T_TYPE): Likewise.
26993 2012-04-10 Andreas Jaeger <aj@suse.de>
26996 * manual/time.texi (Processor Time): Return type of times is
26997 elapsed real time since an arbitrary point in the past.
26998 (CPU Time): Move CLK_TCK from here...
26999 (Processor Time): ...to here. Correct description.
27000 * manual/conf.texi (Constants for Sysconf): Correct description of
27003 2012-04-10 David S. Miller <davem@davemloft.net>
27006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27007 where the is a gap between DT_REL(A) and DT_JMPREL.
27009 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27011 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27015 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27017 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27018 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27019 (dl_main): Handle --inhibit-cache.
27020 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27022 * elf/dl-load.c (_dl_map_object): Use it.
27023 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27025 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27028 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27029 (__ieee754_powl): Saturate large exponents rather than testing for
27030 overflow of y*log2(x).
27031 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27032 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27036 * math/s_ctan.c: Include <float.h>.
27037 (__ctan): Avoid internal overflow or cancellation in calculating
27039 * math/s_ctanf.c: Likewise.
27040 * math/s_ctanl.c: Likewise.
27041 * math/s_ctanh.c: Likewise.
27042 * math/s_ctanhf.c: Likewise.
27043 * math/s_ctanhl.c: Likewise.
27044 * math/libm-test.inc (ctan_test): Add more tests.
27045 (ctanh_test): Likewise.
27046 * sysdeps/i386/fpu/libm-test-ulps: Update.
27047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27049 2012-04-09 Andreas Jaeger <aj@suse.de>
27052 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27053 is an optional BSD extension.
27056 * manual/stdio.texi (Opening Streams): Document additional fopen
27059 2012-04-09 Roland McGrath <roland@hack.frob.com>
27061 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27062 %eax without telling the compiler.
27064 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27067 * manual/install.texi: Use sourceware.org.
27069 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27072 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27073 (__ieee754_pow): Generate overflow and underflow using huge*huge
27074 and tiny*tiny rather than just returning constant infinity or zero
27075 for large exponents.
27076 * math/libm-test.inc (pow_test): Require overflow exceptions for
27077 applicable cases of large exponents.
27080 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27081 (__ieee754_pow): Use iterative multiplication algorithm only for
27082 integer exponents with absolute value below 1024. Check for odd
27083 integer exponents when using algorithm for real exponents.
27084 * math/libm-test.inc (pow_test): Add more tests.
27085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27087 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27090 * math/libm-test.inc (exp_test): Do not allow overflow exception
27093 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27096 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27097 instead of __kernel_standard_f.
27099 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27101 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27102 * sysdeps/x86_64/memset_chk.S: Likewise.
27104 2012-04-08 Andreas Jaeger <aj@suse.de>
27107 * manual/startup.texi (Environment Access): Describe return value
27108 for putenv and setenv.
27111 * manual/filesys.texi (Directory Entries): Add description for
27115 * manual/filesys.texi (Directory Entries): Clarify that it's file
27116 system not operating system in the description of DT_UNKNOWN.
27119 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27121 2012-04-08 Stephen Compall <s11@member.fsf.org>
27124 * manual/llio.texi (Opening and Closing Files): Add cross
27125 reference to explain mode argument.
27127 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27129 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27130 * sysdeps/x86_64/memset_chk.S: Likewise.
27132 2012-04-07 David S. Miller <davem@davemloft.net>
27134 * elf/elf.h (R_SPARC_WDISP10): Define.
27135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27138 R_SPARC_SIZE64 and R_SPARC_H34.
27140 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27143 conditions and remove no longer applicable assertion.
27145 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27147 * bits/byteswap.h: Include <features.h>.
27148 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27149 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27151 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27153 * bits/byteswap.h (__bswap_16): Removed.
27154 Include <bits/byteswap-16.h> to get __bswap_16.
27155 * sysdeps/i386/bits/byteswap.h: Likewise.
27156 * sysdeps/s390/bits/byteswap.h: Likewise.
27157 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27158 * bits/byteswap-16.h: New file.
27159 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27160 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27161 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27162 * string/Makefile (headers): Add bits/byteswap-16.h.
27164 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27167 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27169 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27170 * nss/tst-nss-static.c: New.
27172 2012-04-06 Robert Millan <rmh@gnu.org>
27175 * manual/llio.texi (File Position Primitive): lseek
27176 refers to WHENCE when it really means OFFSET.
27178 2012-04-06 Andreas Jaeger <aj@suse.de>
27180 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27181 strncmp declarations.
27183 * abilist/libc.abilist: Add __poll and __ppoll.
27185 2012-04-05 David S. Miller <davem@davemloft.net>
27187 * scripts/check-local-headers.sh: Accept a host triplet in the
27188 path matched by the exclude regexp.
27190 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27192 * sysdeps/powerpc/powerpc32/dl-machine.h
27193 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27194 * sysdeps/s390/s390-32/dl-machine.h
27195 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27196 * sysdeps/sparc/sparc32/dl-machine.h
27197 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27198 * sysdeps/sparc/sparc64/dl-machine.h
27199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27201 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27203 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27204 undefined symbol errors.
27206 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27209 2012-04-05 Michael Matz <matz@suse.de>
27212 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27214 2012-04-05 Andreas Jaeger <aj@suse.de>
27217 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27220 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27222 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27223 which ROUND is no valid rounding mode.
27225 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27227 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27229 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27231 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27233 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27234 an exception using FPU order intentionally.
27236 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27238 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27239 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27240 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27241 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27243 2012-04-05 Simon Josefsson <simon@josefsson.org>
27246 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27247 EINVAL when BUFLEN is too smal.
27249 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27252 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27253 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27255 2012-04-03 Andreas Jaeger <aj@suse.de>
27258 * manual/setjmp.texi (System V contexts): Fix sentence.
27261 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27262 New macro for this case.
27263 [!__GNUC__] (__bswap_64): New inline function for this case.
27264 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27265 * bits/byteswap.h: Likewise.
27266 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27267 ull, guard with __GLIBC_HAVE_LONG_LONG.
27269 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27270 __GLIBC_HAVE_LONG_LONG.
27272 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27273 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27275 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27278 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27279 inptr and inend, rather than using last_ch.
27281 2012-04-02 David S. Miller <davem@davemloft.net>
27283 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27284 * stdio-common/printf-parse.h (read_int): Change return type to
27285 'int', return -1 on INT_MAX overflow.
27286 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27287 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27288 overflows INT_MAX. Check for overflow of in-format-string precision
27289 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27290 SIZE_MAX not INT_MAX for integer overflow test.
27291 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27292 skip the construct in the format string but do not record anything.
27293 * stdio-common/bug22.c: Adjust to test both width/prevision
27294 INT_MAX overflow as well as total length INT_MAX overflow. Check
27295 explicitly for proper errno values.
27297 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27299 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27301 * string/test-strcmp.c [! WIDE]: Likewise.
27302 * time/tst-mktime2.c: Likewise for INT_MAX.
27303 * string/test-string.h: #include <sys/param.h> for MIN.
27305 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27306 * sysdeps/i386/init-first.c (init): Likewise.
27307 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27308 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27309 * sysdeps/sh/init-first.c (init): Likewise.
27311 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27313 * po/ru.po: Update from translation team.
27314 * po/vi.po: Likewise.
27316 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27318 * resolv/nss_dns/dns-host.c: Merge copyright years.
27320 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27323 Optimize memcpy with prefetch if
27324 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27325 src, dst pointers have unequal 16 byte alignments.
27327 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27330 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27331 from a CNAME entry and return the minimum ttl for the query.
27332 (gaih_getanswer_slice): Likewise.
27334 2012-03-30 Jeff Law <law@redhat.com>
27336 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27338 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27339 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27341 * resolv/nss_dns/dns-host.c: Update copyright year.
27343 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27345 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27346 requests to save a system call. Fix check that all bytes are sent.
27348 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27349 comments for sendmmsg.
27351 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27355 with only 1 character between 0x0041 and 0x01b0.
27356 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27357 * wcsmbs/tst-mbsnrtowcs.c: New file.
27359 2012-03-29 David S. Miller <davem@davemloft.net>
27361 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27362 small copies by hand.
27364 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27367 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27368 _nss_compat_initgroups_dyn): Fall back to malloc/free
27369 for large group memberships.
27371 2012-03-28 David S. Miller <davem@davemloft.net>
27373 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27374 that branches into memcpy.
27375 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27378 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27381 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27382 implementation too.
27383 * sysdeps/sparc/mempcpy.S: New file.
27385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27386 the IFUNC routine in the libc case.
27387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27389 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27390 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27391 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27392 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27393 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27394 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27395 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27396 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27398 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27399 loop to 256 bytes instead of 64 bytes and fix test signedness.
27401 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27402 * sysdeps/sparc/sparc32/Makefile: rather than here...
27403 * sysdeps/sparc/sparc64/Makefile: and here.
27405 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27407 * malloc/mallocbug.c: Avoid warnings about unused variables.
27409 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27412 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27413 in the right place. Discard and retry query if response is
27414 larger than input buffer size.
27416 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27421 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27422 x for large integer exponent.
27423 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27424 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27425 sign of result as needed afterwards.
27426 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27427 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27428 result for underflowing pow the same as for overflow.
27429 (__kernel_standard_l): Handle powl overflow and underflow here
27430 rather than calling __kernel_standard.
27431 * math/libm-test.inc (pow_test): Add more tests.
27446 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27447 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27448 (__kernel_standard_l): New function.
27449 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27451 * math/w_acosl.c (__acosl): Likewise.
27452 * math/w_asinl.c (__asinl): Likewise.
27453 * math/w_atan2l.c (__atan2l): Likewise.
27454 * math/w_atanhl.c (__atanhl): Likewise.
27455 * math/w_coshl.c (__coshl): Likewise.
27456 * math/w_exp10l.c (__exp10l): Likewise.
27457 * math/w_exp2l.c (__exp2l): Likewise.
27458 * math/w_fmodl.c (__fmodl): Likewise.
27459 * math/w_hypotl.c (__hypotl): Likewise.
27460 * math/w_j0l.c (__j0l, __y0l): Likewise.
27461 * math/w_j1l.c (__j1l, __y1l): Likewise.
27462 * math/w_jnl.c (__jnl, __ynl): Likewise.
27463 * math/w_lgammal.c (__lgammal): Likewise.
27464 * math/w_log10l.c (__log10l): Likewise.
27465 * math/w_log2l.c (__log2l): Likewise.
27466 * math/w_logl.c (__logl): Likewise.
27467 * math/w_powl.c (__powl): Likewise.
27468 * math/w_remainderl.c (__remainderl): Likewise.
27469 * math/w_scalbl.c (sysv_scalbl): Likewise.
27470 * math/w_sinhl.c (__sinhl): Likewise.
27471 * math/w_sqrtl.c (__sqrtl): Likewise.
27472 * math/w_tgammal.c (__tgammal): Likewise.
27473 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27474 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27475 * math/libm-test.inc (acos_test): Add more tests.
27476 (acosh_test): Likewise.
27477 (asin_test): Likewise.
27478 (atanh_test): Likewise.
27479 (exp_test): Likewise.
27480 (exp10_test): Likewise.
27481 (exp2_test): Likewise.
27482 (expm1_test): Likewise.
27483 (lgamma_test): Likewise.
27484 (log_test): Likewise.
27485 (log10_test): Likewise.
27486 (log1p_test): Likewise.
27487 (log2_test): Likewise.
27488 (pow_test): Do not allow some spurious overflow exceptions.
27489 (sqrt_test): Add more tests.
27490 (tgamma_test): Likewise.
27491 (y0_test): Likewise.
27492 (y1_test): Likewise.
27493 (yn_test): Likewise.
27495 2012-03-27 Anton Blanchard <anton@samba.org>
27497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27503 2012-03-27 David S. Miller <davem@davemloft.net>
27505 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27507 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27508 have-as-vis3 check.
27510 2012-03-27 Andreas Jaeger <aj@suse.de>
27512 * sysdeps/x86_64/elf/configure.in: Moved to ...
27513 * sysdeps/x86_64/configure.in: ... here.
27514 * sysdeps/x86_64/elf/start.S: Moved to ...
27515 * sysdeps/x86_64/start.S: ... here.
27516 * sysdeps/x86_64/elf/configure: Delete.
27518 * sysdeps/x86_64/configure.in: Merge contents from
27519 sysdeps/i386/configure.in (without i686 check).
27521 * sysdeps/i386/elf/Versions: Merge into ...
27522 * sysdeps/i386/Versions: ... this.
27523 * sysdeps/i386/elf/Versions: Delete file.
27524 * sysdeps/i386/elf/start.S: Moved to ...
27525 * sysdeps/i386/start.S: ...here.
27526 * sysdeps/i386/elf/configure.in: Merge into...
27527 * sysdeps/i386/configure.in: ...here.
27528 * sysdeps/i386/elf/configure.in: Delete file.
27529 * sysdeps/i386/elf/configure: Delete file.
27531 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27532 * debug/backtracesyms.c: ... here.
27533 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27534 * debug/backtracesymsfd.c: ... here.
27535 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27536 * sysdeps/generic/ifunc-sel.h: ... here.
27538 * sysdeps/unix/i386/start.c: Delete file.
27539 * sysdeps/unix/sparc/start.c: Delete file.
27540 * sysdeps/unix/start.c: Delete file.
27542 * sysdeps/sh/elf/configure.in: Moved to ...
27543 * sysdeps/sh/configure.in: ... here.
27544 * sysdeps/sh/elf/start.S: Moved to ...
27545 * sysdeps/sh/start.S: ... here.
27546 * sysdeps/sh/elf/configure: Delete file.
27548 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27549 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27550 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27551 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27552 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27553 * sysdeps/powerpc/powerpc64/start.S: here.
27554 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27555 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27556 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27557 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27558 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27560 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27561 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27562 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27563 * sysdeps/powerpc/powerpc32/start.S: ... here.
27564 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27565 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27566 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27568 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27569 * sysdeps/powerpc/ifunc-sel.h: ... here.
27570 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27571 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27573 * sysdeps/sparc/elf/configure.in: Moved to ...
27574 * sysdeps/sparc/configure.in: ... here.
27575 * sysdeps/sparc/elf/configure: Delete file.
27576 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27577 * sysdeps/sparc/sparc32/start.S: ... here.
27578 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27579 * sysdeps/sparc/sparc64/start.S: ... here.
27580 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27581 * sysdeps/sparc/sparc32/Makefile: ... this.
27582 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27583 * sysdeps/sparc/sparc64/Makefile: ... this.
27585 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27586 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27587 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27588 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27589 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27590 * sysdeps/s390/s390-32/setjmp.S: ... here.
27591 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27592 * sysdeps/s390/s390-32/configure.in: ... here.
27593 * sysdeps/s390/s390-32/elf/configure: Delete file.
27594 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27595 * sysdeps/s390/s390-32/start.S: ... here.
27597 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27598 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27599 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27600 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27601 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27602 * sysdeps/s390/s390-64/setjmp.S: ... here.
27603 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27604 * sysdeps/s390/s390-64/configure.in: ... here
27605 * sysdeps/s390/s390-64/elf/configure: Delete file.
27606 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27607 * sysdeps/s390/s390-64/start.S: ... here.
27608 * sysdeps/s390/s390-64/elf/configure: Delete.
27610 * configure.in: Remove support for elf directories in sysdeps.
27612 * configure: Regenerated.
27613 * sysdeps/i386/configure: Regenerated.
27614 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27615 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27616 * sysdeps/s390/s390-32/configure: Regenerated.
27617 * sysdeps/s390/s390-64/configure: Regenerated.
27618 * sysdeps/sh/configure: Regenerated.
27619 * sysdeps/sparc/configure: Regenerated.
27620 * sysdeps/x86_64/configure: Regenerated.
27622 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27627 denormal result into account.
27629 2012-03-25 Roland McGrath <roland@hack.frob.com>
27631 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27632 Reported by Allan McRae <allan@archlinux.org>.
27634 2012-03-23 Jeff Law <law@redhat.com>
27636 * nss/getnssent.c (__nss_getent): Fix typo.
27638 2012-03-23 David S. Miller <davem@davemloft.net>
27640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27642 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27644 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27645 to pad to uint64_t for each field.
27646 (dl_tls_index): Replace unsigned long with uint64_t.
27648 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27649 Paul Pluzhnikov <ppluzhnikov@google.com>
27652 * grp/Makefile (otherlibs): Don't set it.
27653 * inet/Makefile (otherlibs): Likewise.
27654 * login/Makefile (otherlibs): Likewise.
27655 * nscd/Makefile (otherlibs): Likewise.
27656 * posix/Makefile (otherlibs): Likewise.
27657 * pwd/Makefile (otherlibs): Likewise.
27658 * rt/Makefile (otherlibs): Likewise.
27659 * sunrpc/Makefile (otherlibs): Likewise.
27660 * nss/Makefile (otherlibs): Likewise.
27661 Add libnss_files to routines and static-only-routines.
27662 ($(objpfx)getent): Remove rule.
27663 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27664 static-only-routines.
27666 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27669 * math/s_cexp.c: Include <float.h>.
27670 (__cexp): Handle exp result overflowing not necessarily
27671 overflowing both real and imaginary parts of result.
27672 * math/s_cexpf.c: Likewise.
27673 * math/s_cexpl.c: Likewise.
27674 * math/libm-test.inc (cexp_test): Add more tests.
27675 * sysdeps/i386/fpu/libm-test-ulps: Update.
27676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27678 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27680 * include/link.h (ELFW): New macro.
27681 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27682 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27684 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27686 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27689 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27691 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27693 (struct La_x32_retval): Likewise.
27695 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27697 * sysdeps/x86_64/preconfigure.in: New file.
27698 * sysdeps/x86_64/preconfigure: New generated file.
27700 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27703 * math/e_exp2l.c: Include <float.h>.
27704 (__ieee754_exp2l): Handle overflow and underflow cases
27705 separately. Only pass fractional part of argument to
27707 * math/libm-test.inc (exp2_test): Add more tests.
27709 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27710 negating x to take absolute value.
27711 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27716 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27717 computing low part if x was negated.
27718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27720 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27722 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27723 la_x32_gnu_pltexit.
27724 (pltexit): Cast int_retval to ptrdiff_t.
27725 * elf/tst-auditmod3b.c: Likewise.
27726 * elf/tst-auditmod4b.c: Likewise.
27727 * elf/tst-auditmod5b.c: Likewise.
27728 * elf/tst-auditmod6b.c: Likewise.
27729 * elf/tst-auditmod6c.c: Likewise.
27730 * elf/tst-auditmod7b.c: Likewise.
27732 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27733 and x32_gnu_pltexit.
27735 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27736 __ELF_NATIVE_CLASS.
27737 (La_x32_regs): New macro.
27738 (La_x32_retval): Likewise.
27739 (la_x32_gnu_pltenter): New function prototype.
27740 (la_x32_gnu_pltexit): Likewise.
27742 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27749 * configure.in (libc_cv_cc_nofma): Check for option to disable
27750 generation of FMA instructions.
27751 * configure: Regenerate.
27752 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27753 * sysdeps/ieee754/dbl-64/Makefile: New file.
27754 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27755 Remove brandred-fma4.
27756 (CFLAGS-brandred-fma4.c): Remove.
27757 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27763 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27765 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27766 LLONG_MAX != LONG_MAX.
27767 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27768 (_fitoa_word): Likewise.
27769 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27770 LLONG_MAX != LONG_MAX.
27771 * stdio-common/_itowa.h: Include <_itoa.h>.
27772 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27773 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27774 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27775 only if not defined.
27776 (_ITOA_WORD_TYPE): Likewise.
27777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27778 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27780 2012-03-21 David S. Miller <davem@davemloft.net>
27782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27784 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27786 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27787 of x86_64 when setting libc_cv_slibdir, libdir and
27789 * sysdeps/unix/sysv/linux/configure: Regenerated.
27791 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27793 * manual/lang.texi (Old Varargs): Remove section.
27794 (How Variadic): Update menu.
27795 (va_start): Do not mention varargs.h.
27797 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27798 Joseph Myers <joseph@codesourcery.com>
27800 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27802 * configure: Regenerated.
27804 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27806 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27807 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27810 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27813 * Makefile (files-for-dist): Remove NOTES.
27814 (NOTES): Remove rule.
27815 * README: Don't refer to NOTES.
27816 * manual/creature.texi: Don't include macros.texi.
27817 * manual/intro.texi (creature.texi): Remove comment referring to
27820 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27821 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27822 * configure: Regenerated.
27823 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27824 LIBC_TRY_CC_OPTION.
27825 (libc_cv_as_i686): Likewise.
27826 (libc_cv_cc_avx): Likewise.
27827 (libc_cv_cc_sse2avx): Likewise.
27828 (libc_cv_cc_fma4): Likewise.
27829 (libc_cv_cc_novzeroupper): Likewise.
27830 * sysdeps/i386/configure: Regenerated.
27833 * sysdeps/i386/fpu/s_cexp.S: Remove.
27834 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27836 * math/libm-test.inc (cexp_test): Add more tests.
27837 * sysdeps/i386/fpu/libm-test-ulps: Update.
27838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27840 2012-03-21 Allan McRae <allan@archlinux.org>
27842 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27844 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27847 * math/w_exp2.c: Do not include <float.h>.
27848 (o_threshold, u_threshold): Remove.
27849 (__exp2): Calculate result before checking finiteness and calling
27851 * math/w_exp2f.c: Likewise.
27852 * math/w_exp2l.c: Likewise.
27853 * math/libm-test.inc (exp2_test): Require overflow exception for
27857 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27858 range of signed 64-bit integers before using fistpll. Remove
27859 checks for whether integers fit in mantissa bits.
27860 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27861 the range of signed 32-bit integers before using fistpl. Remove
27862 checks for whether integers fit in mantissa bits.
27863 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27864 (__ieee754_powl): Test for y outside the range of signed 64-bit
27865 integers before using fistpll. Reduce 64-bit values to 63-bit
27867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27868 divide-by-zero is raised for zero to large negative powers.
27869 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27870 (__ieee754_powl): Test for y outside the range of signed 64-bit
27871 integers before using fistpll. Reduce 64-bit values to 63-bit
27873 * math/libm-test.inc (pow_test): Add more tests.
27875 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27877 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27878 <stdio-common/_itoa.h>.
27879 * debug/segfault.c: Likewise.
27880 * elf/dl-cache.c: Likewise.
27881 * elf/dl-minimal.c: Likewise.
27882 * elf/dl-misc.c: Likewise.
27883 * elf/dl-sysdep.c: Likewise.
27884 * elf/dl-version.c: Likewise.
27885 * elf/rtld.c: Likewise.
27886 * hurd/hurdsock.c: Likewise.
27887 * hurd/lookup-retry.c: Likewise.
27888 * malloc/malloc.c: Likewise.
27889 * malloc/mtrace.c: Likewise.
27890 * nscd/nscd_getgr_r.c: Likewise.
27891 * nscd/nscd_getpw_r.c: Likewise.
27892 * nscd/nscd_getserv_r.c: Likewise.
27893 * posix/getopt_init.c: Likewise.
27894 * posix/wordexp.c: Likewise.
27895 * stdio-common/_itoa.c: Likewise.
27896 * stdio-common/printf_fphex.c: Likewise.
27897 * stdio-common/vfprintf.c: Likewise.
27898 * string/_strerror.c: Likewise.
27899 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27900 * sysdeps/i386/i686/hp-timing.h: Likewise.
27901 * sysdeps/mach/_strerror.c: Likewise.
27902 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27903 * sysdeps/mach/hurd/sethostid.c: Likewise.
27904 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27905 * sysdeps/mach/xpg-strerror.c: Likewise.
27906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27908 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27909 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27910 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27911 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27913 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27914 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27915 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27916 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27917 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27918 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27919 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27920 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27921 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27922 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27923 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27924 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27925 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27926 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27928 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27930 * stdio-common/_itoa.h: Moved to ...
27931 * sysdeps/generic/_itoa.h: Here.
27933 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27935 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27936 instead of "_itoa.h" and "_itowa.h".
27937 * stdio-common/vfprintf.: Likewise.
27939 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27941 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27943 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27944 (__signbit): Likwise.
27945 (llrintf): Likwise.
27948 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27950 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27953 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27955 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27956 OVERFLOW_EXCEPTION_OK.
27957 * math/libm-test.inc ("Philosophy"): Update comment about
27959 (OVERFLOW_EXCEPTION): Define.
27960 (OVERFLOW_EXCEPTION_OK): Likewise.
27961 (INVALID_EXCEPTION_OK): Renumber.
27962 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27963 (IGNORE_ZERO_INF_SIGN): Likewise.
27964 (test_exceptions): Handle FE_OVERFLOW.
27965 (exp10_test): Expect overflow exceptions.
27966 (exp2_test): Likewise.
27967 (expm1_test): Likewise.
27968 (nextafter_test): Likewise.
27969 (pow_test): Likewise.
27970 (scalbn_test): Likewise.
27971 (scalbln_test): Likewise.
27973 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27975 * sysdeps/x86_64/bits/atomic.h
27976 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27978 (atomic_exchange_acq): Likewise.
27979 (__arch_exchange_and_add_body): Likewise.
27980 (__arch_add_body): Likewise.
27981 (atomic_add_negative): Likewise.
27982 (atomic_add_zero): Likewise.
27984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27986 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27987 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27991 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27992 Check __x86_64__ instead of __WORDSIZE.
27994 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27996 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27998 2012-03-19 David S. Miller <davem@davemloft.net>
28000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28002 * sysdeps/sparc/fpu/fenv_private.h: New file.
28003 * sysdeps/sparc/fpu/math_private.h: Use it.
28004 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28006 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28007 (libc_feholdexcept_setroundl): Remove.
28008 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28010 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28011 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28015 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28016 int64_t instead of long int.
28017 (INSERT_WORDS64): Likwise.
28019 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28021 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28022 _Unwind_GetCFA return to _Unwind_Ptr first.
28024 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28027 * math/s_clog.c: Include <float.h>.
28028 (__clog): Scale large or subnormal inputs.
28029 * math/s_clogf.c: Likewise.
28030 * math/s_clogl.c: Likewise.
28031 * math/s_clog10.c: Include <float.h>.
28032 (M_LOG10_2): Define.
28033 (__clog10): Scale large or subnormal inputs.
28034 * math/s_clog10f.c: Likewise.
28035 * math/s_clog10l.c: Likewise.
28036 * math/libm-test.inc (clog_test): Add more tests.
28037 (clog10_test): Likewise.
28038 * sysdeps/i386/fpu/libm-test-ulps: Update.
28039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28042 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28044 * math/libm-test.inc (atan2_test): Add another test.
28046 * Makerules (common-objdir-compile): Remove.
28047 * sysdeps/unix/Makefile (config-generated): Do not add
28048 $(unix-generated) to variable.
28049 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28050 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28052 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28054 [generic bits/local_lim.h] (before-compile): Do not append to
28056 [generic bits/local_lim.h] (common-generated): Likewise.
28057 [generic sys/param.h] (before-compile): Do not append to variable.
28058 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28059 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28060 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28061 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28063 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28064 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28065 [generic sys/param.h] ($(addprefix
28066 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28067 [generic sys/param.h] (common-generated): Do not append to
28069 [generic sys/param.h] (sysdep_headers): Likewise.
28070 [generic bits/errno.h] (before-compile): Do not append to
28072 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28074 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28075 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28076 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28077 [generic bits/errno.h] (common-generated): Do not append to
28079 [generic bits/ioctls.h] (before-compile): Do not append to
28081 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28083 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28084 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28085 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28087 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28088 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28089 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28090 [generic bits/ioctls.h] (common-generated): Do not append to
28092 [generic sys/syscall.h] (syscall.h): Remove variable.
28093 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28095 [generic sys/syscall.h] (before-compile): Do not append to
28097 [generic sys/syscall.h] (common-generated): Likewise.
28098 * sysdeps/unix/errnos-tmpl.c: Remove file.
28099 * sysdeps/unix/errnos.awk: Likewise.
28100 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28101 * sysdeps/unix/ioctls.awk: Likewise.
28102 * sysdeps/unix/mk-local_lim.c: Likewise.
28103 * sysdeps/unix/snarf-ioctls: Likewise.
28105 2012-03-19 Richard Henderson <rth@twiddle.net>
28107 * sysdeps/i386/fpu/fenv_private.h: New file.
28108 * sysdeps/i386/fpu/math_private.h: Use it.
28109 (math_opt_barrier, math_force_eval): Remove.
28110 (libc_feholdexcept_setround_53bit): Remove.
28111 (libc_feupdateenv_53bit): Remove.
28112 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28113 (math_opt_barrier, math_force_eval): Remove.
28114 (libc_feholdexcept): Remove.
28115 (libc_feholdexcept_setround): Remove.
28116 (libc_fetestexcept, libc_fesetenv): Remove.
28117 (libc_feupdateenv_test): Remove.
28118 (libc_feupdateenv, libc_feholdsetround): Remove.
28119 (libc_feresetround): Remove.
28121 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28122 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28124 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28125 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28126 (libc_feupdateenv_testl): New.
28127 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28128 (libc_feupdateenv_testf): New.
28129 (libc_feupdateenv): Use libc_feupdateenv_test.
28130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28133 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28134 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28135 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28136 (libc_feresetround_noex): New.
28137 (libc_feresetround_noexf): New.
28138 (libc_feresetround_noexl): New.
28139 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28140 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28141 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28142 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28147 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28148 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28149 SET_RESTORE_ROUND_NOEX.
28150 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28151 SET_RESTORE_ROUND_NOEXF.
28152 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28153 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28154 (libc_feholdsetroundf): New.
28155 (libc_feresetround, libc_feresetroundf): New.
28157 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28158 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28159 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28161 * sysdeps/generic/math_private.h: Include <fenv.h>.
28162 (default_libc_feholdexcept): New.
28163 (default_libc_feholdexcept_setround): New.
28164 (default_libc_fesetenv, default_libc_feupdateenv): New.
28165 (libc_feholdexcept): Only define if undefined.
28166 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28168 (libc_feholdexcept_setroundl): Likewise.
28169 (libc_feholdexcept_setround_53bit): Likewise.
28170 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28173 (libc_feupdateenv_53bit): Likewise.
28174 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28175 (libc_feholdexcept): Convert from macro to inline function.
28176 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28177 (libc_fesetenv, libc_feupdateenv): Likewise.
28179 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28180 not previously defined.
28181 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28182 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28183 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28184 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28185 * sysdeps/ieee754/flt-32/math_private.h: New file.
28186 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28187 math_private.h below SET_FLOAT_WORD.
28188 (__isnan, __isinf_ns, __finite): Remove.
28189 (__isnanf, __isinf_nsf, __finitef): Remove.
28191 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28195 2012-03-17 David S. Miller <davem@davemloft.net>
28198 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28201 2012-03-16 David S. Miller <davem@davemloft.net>
28203 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28209 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28210 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28211 sysdep_routines when subdir is sysvipc.
28212 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28213 __getshmlba helper.
28215 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28217 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28219 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28222 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28225 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28226 (__lround): Renamed to ...
28227 (__llround): This. Replace long int with long long int.
28228 Define lround functions as aliases of llround functions.
28229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28231 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28233 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28234 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28235 adresses to uintptr_t. Replace "long int" and "unsigned long
28236 int" with "greg_t" on va_arg.
28238 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28240 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28241 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28243 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28244 Move e_machine check before EI_CLASS check. Handle x32
28245 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28246 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28247 SKIP_EM_IA_64 and include
28248 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28250 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28251 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28252 (add_system_dir): New macro.
28254 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28255 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28257 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28268 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28270 * math/w_j0f.c (j0f): Likewise.
28272 * math/w_j0l.c (__j0l): Likewise.
28274 * math/w_j1.c (j1): Likewise.
28276 * math/w_j1f.c (j1f): Likewise.
28278 * math/w_j1l.c (__j1l): Likewise.
28280 * math/w_jn.c (jn): Likewise.
28282 * math/w_jnf.c (jnf): Likewise.
28284 * math/w_jnl.c (__jnl): Likewise.
28286 * math/libm-test.inc (j0_test): Add more tests.
28287 (j1_test): Likewise.
28288 (jn_test): Likewise. Add trailing semicolon to existing test.
28289 (y0_test): Likewise.
28290 (y1_test): Likewise.
28291 * sysdeps/i386/fpu/libm-test-ulps: Update.
28292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28296 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28297 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28298 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28299 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28300 (__tanl): Set errno for infinite argument.
28301 * sysdeps/i386/fpu/mptan.c: Remove.
28302 * sysdeps/i386/fpu/s_tan.S: Likewise.
28303 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28304 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28305 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28306 * math/libm-test.inc (tan_test): Add more tests and enable more
28307 tests for double and long double.
28308 * sysdeps/i386/fpu/libm-test-ulps: Update.
28309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28311 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28313 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28314 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28316 2012-03-16 Roland McGrath <roland@hack.frob.com>
28318 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28319 * configure.in: Use it for both main tree and add-ons.
28320 * configure: Regenerated.
28322 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28324 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28326 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28328 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28332 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28333 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28338 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28340 != 0 for prec == 2.
28341 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28342 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28343 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28344 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28345 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28346 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28347 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28348 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28349 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28350 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28351 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28352 * math/libm-test.inc (cos_test): Add more tests and enable more
28353 tests for long double.
28354 (sin_test): Likewise.
28355 (sincos_test): Likewise.
28356 * sysdeps/i386/fpu/libm-test-ulps: Update.
28357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28359 2012-03-16 David S. Miller <davem@davemloft.net>
28361 * sysdeps/sparc/fpu/math_private.h: New file.
28363 2012-03-15 David S. Miller <davem@davemloft.net>
28365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28379 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28380 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28382 * sysdeps/sparc/sparc-ifunc.h: New file.
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28428 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28430 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28434 2012-03-15 Andreas Jaeger <aj@suse.de>
28437 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28438 ieee754/flt-32 implementation for sin, cos and sincos.
28439 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28440 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28441 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28442 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28443 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28444 ieee754/flt-32 implementation for tan.
28446 * math/libm-test.inc (cos_test): Enable some large input tests for
28448 (sin_test): Likewise.
28449 (sincos_test): Likewise.
28450 (tan_test): Add tests for large input.
28452 * sysdeps/i386/fpu/libm-test-ulps: Update.
28454 2012-03-15 Andreas Jaeger <aj@suse.de>
28457 * math/libm-test.inc (cos_test): Add more test cases.
28458 (sin_test): Likewise.
28459 (sincos_test): Likewise.
28461 2012-03-15 Andreas Jaeger <aj@suse.de>
28464 * math/libm-test.inc (cos_test): Add a test case for large input
28466 (sin_test): Likewise.
28467 (sincos_test): Likewise.
28469 2012-03-15 Andreas Jaeger <aj@suse.de>,
28470 Joseph Myers <joseph@codesourcery.com>
28473 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28474 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28475 * sysdeps/i386/fpu/branred.c: Likewise.
28476 * sysdeps/i386/fpu/dosincos.c: Likewise.
28477 * sysdeps/i386/fpu/mpa.c: Likewise.
28478 * sysdeps/i386/fpu/s_cos.S: Likewise.
28479 * sysdeps/i386/fpu/s_sin.S: Likewise.
28480 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28481 * sysdeps/i386/fpu/sincos32.c: Likewise.
28483 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28485 (libc_feupdateenv_53bit): Define.
28486 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28488 (libc_feupdateenv_53bit): Define.
28490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28491 53 bit (without extend i386 double precision).
28493 * math/libm-test.inc (sincos_test): Add tests for large input.
28497 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28499 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28503 2012-03-15 David S. Miller <davem@davemloft.net>
28505 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28506 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28507 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28508 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28533 fmin/fmax sysdep routines.
28534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28536 2012-03-14 David S. Miller <davem@davemloft.net>
28538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28560 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28561 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28610 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28615 * sysdeps/sparc/configure.in: New file.
28616 * sysdeps/sparc/configure: Generate.
28617 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28618 * configure: Regenerate.
28619 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28620 * config.make.in (have-as-vis3): New.
28621 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28622 available use -Av9d instead of -Av9a.
28623 * sysdeps/sparc/sparc64/Makefile: Likewise.
28624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28639 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28640 fzeros/fnegs to load 0x80000000 into a float register instead of
28642 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28644 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28648 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28649 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28650 ($(inst_includedir)/bits/syscall.h): Remove rule.
28651 ($(objpfx)bits/syscall.d): Include instead of
28652 $(objpfx)syscall-list.d.
28653 (generated): Change syscall-list.h and syscall-list.d to
28654 bits/syscall.h and bits/syscall.d.
28656 2012-03-14 Roland McGrath <roland@hack.frob.com>
28659 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28661 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28664 * math/s_csqrt.c: Include <float.h>.
28665 (__csqrt): Scale large or subnormal inputs.
28666 * math/s_csqrtf.c: Likewise.
28667 * math/s_csqrtl.c: Likewise.
28668 * math/libm-test.inc (csqrt_test): Add more tests.
28669 * sysdeps/i386/fpu/libm-test-ulps: Update.
28670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28673 * math/libm-test.inc (hypot_test): Add more tests.
28675 2012-03-13 David S. Miller <davem@davemloft.net>
28678 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28679 double-precision for the calculation instead of scaling.
28681 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28683 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28684 manipulate bits before adding and subtracting TWO52[sx].
28685 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28686 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28690 2012-03-13 David S. Miller <davem@davemloft.net>
28692 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28693 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28695 rtld-global-offsets.h
28696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28698 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28701 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28703 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28704 'err' in the ifdef scope in which it is actually used.
28706 * nss/nss_db/db-init.c: Include string.h
28708 2012-03-12 David S. Miller <davem@davemloft.net>
28710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28711 masking out of the most significant byte of random value used.
28712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28713 Fix coding style in previous change.
28715 * sysdeps/unix/sysv/linux/kernel-features.h
28716 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28717 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28719 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28722 2012-03-11 David S. Miller <davem@davemloft.net>
28724 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28725 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28726 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28727 for 'resultvar' otherwise things get truncated on 64-bit.
28729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28730 Fix masking out of the most significant byte of random value used.
28732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28734 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28738 2012-03-09 David S. Miller <davem@davemloft.net>
28740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28741 variables with appropriate CPP guards.
28742 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28743 frame pointer, not the stack pointer. Correct layout comments. Fix test
28744 on resulting framesize and the management of the outregs buffer for pltexit.
28745 Preserve floating point return values across _dl_call_pltexit call.
28746 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28747 framesize and the management of the outregs buffer for pltexit.
28748 Preserve floating point return values across _dl_call_pltexit
28750 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28751 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28752 (print_exit): Fix format string for return register value.
28754 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28756 * sunrpc/Makefile (others): Add rpcgen.
28757 ($(objpfx)rpcgen): Remove special build rule and dependency on
28759 * sunrpc/rpcgen.c: New file.
28761 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28764 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28765 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28766 * sysdeps/i386/crti.S: Likewise.
28767 * sysdeps/i386/crtn.S: Likewise.
28768 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28769 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28770 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28771 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28772 * sysdeps/sh/crti.S: Likewise.
28773 * sysdeps/sh/crtn.S: Likewise.
28774 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28777 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28779 * locale/programs/locfile-kw.gperf: Likewise.
28780 * locale/programs/charmap-kw.h: Regenerated.
28781 * locale/programs/locfile-kw.h: Likewise.
28784 * intl/plural.y: Replace FSF snail mail address with URL.
28785 * intl/plural.c: Regenerated.
28787 2012-03-09 Richard Henderson <rth@twiddle.net>
28789 * include/math_private.h: Remove file.
28790 * math/math_private.h: Move file ...
28791 * sysdeps/generic/math_private.h: ... here.
28793 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28794 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28795 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28797 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28798 and <math_private.h>.
28799 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28800 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28801 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28802 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28803 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28834 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28836 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28837 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28842 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28845 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28846 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28851 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28853 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28858 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28860 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28862 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28863 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28873 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28880 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28882 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28892 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28894 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28895 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28896 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28898 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28899 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28900 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28901 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28902 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28907 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28909 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28910 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28911 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28912 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28913 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28915 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28916 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28917 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28919 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28920 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28922 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28926 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28927 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28928 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28929 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28931 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28932 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28933 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28934 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28937 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28939 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28940 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28941 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28942 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28943 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28944 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28945 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28946 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28947 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28948 * sysdeps/ieee754/k_standard.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29040 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29052 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29053 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29063 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29064 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29065 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29066 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29068 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29071 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29076 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29079 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29080 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29081 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29082 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29085 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29086 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29087 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29088 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29092 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29094 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29098 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29099 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29103 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29104 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29108 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29109 * sysdeps/ieee754/s_lib_version.c: Likewise.
29110 * sysdeps/ieee754/s_matherr.c: Likewise.
29111 * sysdeps/ieee754/s_signgam.c: Likewise.
29112 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29114 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29115 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29116 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29117 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29118 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29119 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29120 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29121 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29122 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29123 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29124 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29126 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29134 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29136 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29137 * sunrpc/rpc_main.c: Likewise.
29138 * sunrpc/rpc_svcout.c: Likewise.
29140 2012-03-09 David S. Miller <davem@davemloft.net>
29142 * include/math_private.h: New file.
29144 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29146 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29147 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29148 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29149 from <bits/socket_type.h>.
29150 (enum __socket_type): Don't define here.
29151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29153 bits/socket_type.h.
29156 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29157 checking __USE_GNU.
29159 * Makerules ($(inst_includedir)/%.h): New rule.
29160 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29161 (install-others): Remove variable setting.
29162 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29164 2012-03-08 Richard Henderson <rth@twiddle.net>
29166 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29167 from macro to inline function; merge with the
29168 !__LIBC_INTERNAL_MATH_INLINES version.
29169 (__ieee754_sqrtf): Likewise.
29171 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29172 to inline function.
29173 (__rintf, __floor, __floorf): Likewise.
29175 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29176 macro to inline function.
29177 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29180 not <math/math_private.h>.
29182 2012-03-08 David S. Miller <davem@davemloft.net>
29184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29186 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29188 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29190 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29192 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29193 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29195 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29197 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29198 be defined individually, they must be defined as a block. Define
29199 S for printing a string instead of hidint the different by using a
29200 macro for adding the 'l'.
29201 * stdio-common/tst-fphex-wide.c: Adjust.
29203 2012-03-07 Marek Polacek <polacek@redhat.com>
29205 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29207 2012-03-08 Marek Polacek <polacek@redhat.com>
29210 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29211 * stdio-common/tst-fphex.c: Define a few macros to make the
29212 test reusable. Use them.
29213 * stdio-common/tst-fphex-wide.c: New file.
29215 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29218 * manual/macros.texi (gnusystems): New macro.
29219 (nongnusystems): Likewise.
29220 (gnulinuxhurdsystems): Likewise.
29221 (gnuhurdsystems): Likewise..
29222 (gnulinuxsystems): Likewise.
29223 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29224 variants of the GNU system, not "GNU system".
29225 * manual/conf.texi: Likewise.
29226 * manual/errno.texi: Likewise. Update example of errno macro
29228 * manual/filesys.texi: Likewise.
29229 (getumask): Document as specific to GNU/Hurd.
29230 * manual/install.texi: Likewise. Reword some references to
29232 * manual/intro.texi: Likewise.
29233 * manual/io.texi: Likewise.
29234 (File Name Portability): Detail which constraints are inapplicable
29235 to all GNU systems and which are only inapplicable to GNU/Hurd.
29236 * manual/job.texi: Likewise.
29237 * manual/llio.texi: Likewise.
29238 (O_NOCTTY): Document as present on GNU/Linux.
29239 * manual/maint.texi: Likewise.
29240 * manual/memory.texi: Likewise.
29241 * manual/pattern.texi: Likewise.
29242 * manual/pipe.texi: Likewise.
29243 * manual/process.texi: Likewise.
29244 * manual/resource.texi: Likewise.
29245 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29247 * manual/setjmp.texi: Likewise.
29248 * manual/signal.texi: Likewise.
29249 * manual/startup.texi: Likewise.
29250 * manual/stdio.texi: Likewise.
29251 * manual/terminal.texi: Likewise.
29252 (ONLCR): Document as POSIX.
29253 (OXTABS): Document availability on GNU/Linux as XTABS.
29254 (ONOEOT): Document availability separately from other bits.
29255 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29256 * manual/time.texi: Likewise.
29257 * manual/users.texi: Likewise.
29258 * INSTALL: Regenerated.
29259 * sysdeps/gnu/errlist.c: Regenerated.
29261 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29262 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29263 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29265 * configure: Regenerated.
29267 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29269 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29270 default includes instead of AC_HEADER_CHECK.
29271 * sysdeps/i386/configure: Regenerated.
29274 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29275 * math/s_cacoshf.c (__cacoshf): Likewise.
29276 * math/s_cacoshl.c (__cacoshl): Likewise.
29277 * math/s_casinh.c (__casinh): Set signs of result from argument.
29278 * math/s_casinhf.c (__casinhf): Likewise.
29279 * math/s_casinhl.c (__casinhl): Likewise.
29280 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29281 (casinh_test): Add more tests.
29282 * sysdeps/i386/fpu/libm-test-ulps: Update.
29283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29285 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29287 * po/zh_TW.po: Update from translation team.
29289 * login/Makefile (distribute): Remove variable.
29290 * catgets/Makefile: Likewise.
29291 * mach/Makefile: Likewise.
29292 * malloc/Makefile: Likewise.
29293 * misc/Makefile: Likewise.
29294 * iconv/Makefile: Likewise.
29295 * nscd/Makefile: Likewise.
29296 * hurd/Makefile: Likewise.
29297 * manual/Makefile: Likewise.
29298 * locale/Makefile: Likewise.
29299 * intl/Makefile: Likewise.
29300 * conform/Makefile: Likewise.
29301 * nss/Makefile: Likewise.
29302 * time/Makefile: Likewise.
29303 * soft-fp/Makefile: Likewise.
29304 * dirent/Makefile: Likewise.
29305 * gmon/Makefile: Likewise.
29306 * po/Makefile: Likewise.
29307 * rt/Makefile: Likewise.
29308 * socket/Makefile: Likewise.
29309 * math/Makefile: Likewise.
29310 * signal/Makefile: Likewise.
29311 * debug/Makefile: Likewise.
29312 * elf/Makefile: Likewise.
29313 * timezone/Makefile: Likewise.
29314 * stdlib/Makefile: Likewise.
29315 * iconvdata/Makefile: Likewise.
29316 * sunrpc/Makefile: Likewise.
29317 * io/Makefile: Likewise.
29318 * argp/Makefile: Likewise.
29319 * inet/Makefile: Likewise.
29320 * hesiod/Makefile: Likewise.
29321 * grp/Makefile: Likewise.
29322 * csu/Makefile: Likewise.
29323 * wctype/Makefile: Likewise.
29324 * crypt/Makefile: Likewise.
29325 * libio/Makefile: Likewise.
29326 * string/Makefile: Likewise.
29327 * nis/Makefile: Likewise.
29328 * resolv/Makefile: Likewise.
29329 * stdio-common/Makefile: Likewise.
29330 * wcsmbs/Makefile: Likewise.
29331 * dlfcn/Makefile: Likewise.
29332 * posix/Makefile: Likewise.
29335 * timezone/Makefile: Don't install timezone files, just the programs
29338 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29340 * nss/databases.def: Add missing gshadow entry.
29342 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29344 2012-03-06 Marek Polacek <polacek@redhat.com>
29347 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29348 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29349 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29350 * stdio-common/tst-long-dbl-fphex.c: New file.
29352 2012-03-06 David S. Miller <davem@davemloft.net>
29354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29355 (set_obp_int): New function.
29356 (get_obp_int): New function.
29357 (__get_clockfreq_via_dev_openprom): Likewise.
29358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29359 Avoid unused variable warnings on 'val' and use builtin_expect.
29360 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29362 (INLINE_CLONE_SYSCALL): Likewise.
29364 2012-03-05 David S. Miller <davem@davemloft.net>
29366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29368 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29373 only for |x| >= 40.
29374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29376 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29379 Replace gettimeofday with __vdso_gettimeofday.
29381 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29382 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29383 __vdso_clock_gettime and __vdso_getcpu.
29385 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29386 time with __vdso_time.
29388 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29390 * manual/lang.texi (size_t): Note types to which size_t may be
29391 equivalent with the GNU C Library, but do not describe when
29392 differences between them are significant.
29394 2012-03-05 Andreas Jaeger <aj@suse.de>
29396 * sysdeps/i386/fpu/libm-test-ulps: Update.
29398 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29401 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29402 (__ieee754_pow): Save and restore rounding mode and use
29403 round-to-nearest for main computations.
29404 * math/libm-test.inc (pow_test_tonearest): New function.
29405 (pow_test_towardzero): Likewise.
29406 (pow_test_downward): Likewise.
29407 (pow_test_upward): Likewise.
29408 (main): Call the new functions.
29409 * sysdeps/i386/fpu/libm-test-ulps: Update.
29410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29413 * math/libm-test.inc (cosh_test_tonearest): New function.
29414 (cosh_test_towardzero): Likewise.
29415 (cosh_test_downward): Likewise.
29416 (cosh_test_upward): Likewise.
29417 (sinh_test_tonearest): Likewise.
29418 (sinh_test_towardzero): Likewise.
29419 (sinh_test_downward): Likewise.
29420 (sinh_test_upward): Likewise.
29421 (main): Call the new functions.
29422 * sysdeps/i386/fpu/libm-test-ulps: Update.
29423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29425 2012-03-05 Tom de Vries <tom@codesourcery.com>
29427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29428 default stack guard is set in last bytes.
29429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29431 2012-03-05 Kees Cook <keescook@chromium.org>
29433 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29436 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29437 possibly allocate from heap instead of stack.
29438 * stdio-common/bug-vfprintf-nargs.c: New file.
29439 * stdio-common/Makefile (tests): Add nargs overflow test.
29441 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29445 2012-03-03 Marek Polacek <polacek@redhat.com>
29447 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29448 * math/math_private.h: Likewise.
29449 * stdlib/tst-strtod.c: Likewise.
29450 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29451 * sysdeps/x86_64/bits/atomic.h: Likewise.
29453 2012-03-02 David S. Miller <davem@davemloft.net>
29455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29459 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29460 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29461 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29462 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29464 2012-03-02 Roland McGrath <roland@hack.frob.com>
29467 * manual/examples/README: New file, says the example source files
29468 can be used under GPL>=2.
29469 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29470 line containing just "*/".
29471 * manual/examples/add.c: Add copyright header (GPL>=2).
29472 * manual/examples/argp-ex1.c: Likewise.
29473 * manual/examples/argp-ex2.c: Likewise.
29474 * manual/examples/argp-ex3.c: Likewise.
29475 * manual/examples/argp-ex4.c: Likewise.
29476 * manual/examples/atexit.c: Likewise.
29477 * manual/examples/db.c: Likewise.
29478 * manual/examples/dir.c: Likewise.
29479 * manual/examples/dir2.c: Likewise.
29480 * manual/examples/execinfo.c: Likewise.
29481 * manual/examples/filecli.c: Likewise.
29482 * manual/examples/filesrv.c: Likewise.
29483 * manual/examples/fmtmsgexpl.c: Likewise.
29484 * manual/examples/genpass.c: Likewise.
29485 * manual/examples/inetcli.c: Likewise.
29486 * manual/examples/inetsrv.c: Likewise.
29487 * manual/examples/isockad.c: Likewise.
29488 * manual/examples/longopt.c: Likewise.
29489 * manual/examples/memopen.c: Likewise.
29490 * manual/examples/memstrm.c: Likewise.
29491 * manual/examples/mkfsock.c: Likewise.
29492 * manual/examples/mkisock.c: Likewise.
29493 * manual/examples/mygetpass.c: Likewise.
29494 * manual/examples/pipe.c: Likewise.
29495 * manual/examples/popen.c: Likewise.
29496 * manual/examples/rprintf.c: Likewise.
29497 * manual/examples/search.c: Likewise.
29498 * manual/examples/select.c: Likewise.
29499 * manual/examples/setjmp.c: Likewise.
29500 * manual/examples/sigh1.c: Likewise.
29501 * manual/examples/sigusr.c: Likewise.
29502 * manual/examples/stpcpy.c: Likewise.
29503 * manual/examples/strdupa.c: Likewise.
29504 * manual/examples/strftim.c: Likewise.
29505 * manual/examples/strncat.c: Likewise.
29506 * manual/examples/subopt.c: Likewise.
29507 * manual/examples/swapcontext.c: Likewise.
29508 * manual/examples/termios.c: Likewise.
29509 * manual/examples/testopt.c: Likewise.
29510 * manual/examples/testpass.c: Likewise.
29511 * manual/examples/timeval_subtract.c: Likewise.
29514 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29516 * manual/timeval_subtract.c.texi: ... here, new file.
29518 2012-03-02 David S. Miller <davem@davemloft.net>
29520 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29522 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29525 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29526 (__sin): Save and restore rounding mode and use round-to-nearest
29527 for all computations.
29528 (__cos): Save and restore rounding mode and use round-to-nearest
29529 for all computations.
29530 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29532 (tan): Save and restore rounding mode and use round-to-nearest for
29534 * math/libm-test.inc (cos_test_tonearest): New function.
29535 (cos_test_towardzero): Likewise.
29536 (cos_test_downward): Likewise.
29537 (cos_test_upward): Likewise.
29538 (sin_test_tonearest): Likewise.
29539 (sin_test_towardzero): Likewise.
29540 (sin_test_downward): Likewise.
29541 (sin_test_upward): Likewise.
29542 (tan_test_tonearest): Likewise.
29543 (tan_test_towardzero): Likewise.
29544 (tan_test_downward): Likewise.
29545 (tan_test_upward): Likewise.
29546 (main): Call the new functions.
29547 * sysdeps/i386/fpu/libm-test-ulps: Update.
29548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29551 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29552 small n, then large n, before computing and testing k+n.
29553 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29558 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29559 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29565 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29566 * math/libm-test.inc (scalbn_test): Add more tests.
29567 (scalbln_test): Likewise.
29569 * manual/filesys.texi (mode_t): Describe constraints on size and
29570 signedness, not exact equivalence to a particular type.
29572 (ino64_t): Likewise.
29574 (nlink_t): Likewise.
29575 (blkcnt_t): Likewise.
29576 (blkcnt64_t): Likewise.
29577 * manual/llio.texi (off_t): Likewise.
29580 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29581 (__ieee754_exp): Save and restore rounding mode and use
29582 round-to-nearest for all computations.
29583 * math/libm-test.inc (exp_test_tonearest): New function.
29584 (exp_test_towardzero): Likewise.
29585 (exp_test_downward): Likewise.
29586 (exp_test_upward): Likewise.
29587 (main): Call the new functions.
29588 * sysdeps/i386/fpu/libm-test-ulps: Update.
29589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29591 2012-03-01 Chris Demetriou <cgd@google.com>
29593 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29594 have predictable order.
29596 2012-03-01 David S. Miller <davem@davemloft.net>
29598 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29600 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29601 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29602 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29603 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29605 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29606 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29607 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29609 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29610 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29611 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29612 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29613 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29618 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29619 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29621 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29623 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29624 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29625 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29628 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29630 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29631 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29637 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29638 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29639 * sysdeps/sparc/elf/configure: Regenerated.
29641 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29643 * configure.in (AS, LD): Require binutils 2.20 or later.
29644 * configure: Regenerated.
29645 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29646 as required minimum version.
29647 * INSTALL: Regenerated.
29651 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29652 before squaring exponent.
29653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29654 bottom long double and 27 bits of top long double before squaring
29656 * math/libm-test.inc (erfc_test): Add more tests.
29657 * sysdeps/i386/fpu/libm-test-ulps: Update.
29658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29661 2012-03-01 Kai Tietz <ktietz@redhat.com>
29663 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29664 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29665 containing bit-fields.
29666 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29667 * soft-fp/single.h (_FP_UNION_S): Likewise.
29668 * soft-fp/double.h (_FP_UNION_D): Likewise.
29670 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29673 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29674 not include ../strcmp.S.
29675 [USE_AS_STRNCASECMP_L]: Likewise.
29676 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29677 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29678 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29679 (__strncasecmp_l_ia32): Define as alias to
29680 __strncasecmp_l_nonascii.
29683 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29684 * sysdeps/i386/fpu/libm-test-ulps: Update.
29685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29687 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29690 2012-02-29 Jeff Law <law@redhat.com>
29692 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29693 out of bounds read.
29695 2012-02-29 Marek Polacek <polacek@redhat.com>
29698 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29699 * elf/Makefile: Add rules to run tst-unused-dep.out.
29701 2012-02-28 David S. Miller <davem@davemloft.net>
29703 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29704 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29710 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29712 * math/libm-test.inc (llround_test): Move one test from
29713 lround_test. Use TEST_f_L in moved test.
29714 (lround_test): Move misplaced test to llround_test. Add testcase
29717 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29719 * sysdeps/x86_64/fpu/e_expf.S: New file.
29720 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29722 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29725 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29726 of remain_len that may cause incomplete multi-byte character and
29728 * posix/bug-regex33.c: New file.
29729 * posix/Makefile (tests): Add bug-regex33.
29731 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29733 * manual/macros.texi: New file.
29734 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29735 * manual/libc.texinfo: Include macros.texi.
29736 * manual/creatute.texi: Likewise.
29737 * manual/install.texi: Likewise.
29738 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29739 @glibcadj{} in references to the GNU C Library.
29740 * manual/charset.texi: Likewise.
29741 * manual/conf.texi: Likewise.
29742 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29743 when not using those macros.
29744 * manual/creature.texi: Likewise.
29745 * manual/crypt.texi: Likewise.
29746 * manual/errno.texi: Likewise.
29747 * manual/filesys.texi: Likewise.
29748 * manual/header.texi: Likewise.
29749 * manual/install.texi: Likewise.
29750 * manual/intro.texi: Likewise.
29751 * manual/io.texi: Likewise.
29752 * manual/job.texi: Likewise.
29753 * manual/lang.texi: Likewise.
29754 * manual/libc.texiinfo: Likewise.
29755 * manual/llio.texi: Likewise.
29756 * manual/locale.texi: Likewise.
29757 * manual/maint.texi: Likewise.
29758 * manual/math.texi: Likewise.
29759 * manual/memory.texi: Likewise.
29760 * manual/message.texi: Likewise.
29761 * manual/nss.texi: Likewise.
29762 * manual/pattern.texi: Likewise.
29763 * manual/process.texi: Likewise.
29764 * manual/resource.texi: Likewise.
29765 * manual/search.texi: Likewise.
29766 * manual/setjmp.texi: Likewise.
29767 * manual/signal.texi: Likewise.
29768 * manual/socket.texi: Likewise.
29769 * manual/startup.texi: Likewise.
29770 * manual/stdio.texi: Likewise.
29771 * manual/string.texi: Likewise.
29772 * manual/sysinfo.texi: Likewise.
29773 * manual/syslog.texi: Likewise.
29774 * manual/terminal.texi: Likewise.
29775 * manual/time.texi: Likewise.
29776 * manual/users.texi: Likewise.
29777 * INSTALL: Regenerated.
29778 * NOTES: Regenerated.
29779 * sysdeps/gnu/errlist.c: Regenerated.
29781 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29783 * include/dirent.h: Include <dirstream.h> before
29786 2012-02-28 David S. Miller <davem@davemloft.net>
29788 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29789 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29790 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29791 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29793 2012-02-27 David S. Miller <davem@davemloft.net>
29795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29797 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29798 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29801 frame pointer instead of stack pointer relative arg slot.
29802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29803 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29804 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29806 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29809 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29811 2012-02-27 David S. Miller <davem@davemloft.net>
29813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29817 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29818 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29819 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29820 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29822 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29824 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29825 later. Allow versions 5-9.
29826 * configure: Regenerated.
29827 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29828 required minimum version and 4.6 as recommended version. Do not
29829 mention bugs in GCC 2.7 and 2.8.
29830 * INSTALL: Regenerated.
29832 2012-02-27 David S. Miller <davem@davemloft.net>
29834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29840 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29841 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29844 manipulate bits before adding and subtracting TWO112[sx].
29845 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29847 2012-02-27 Roland McGrath <roland@hack.frob.com>
29850 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29851 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29852 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29853 being in POSIX, because they are in 1003.1-2008.
29855 * rt/tst-aio.c: Include <fcntl.h>.
29856 * rt/tst-aio7.c: Likewise.
29857 * rt/tst-aio64.c: Likewise.
29859 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29861 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29863 * manual/install.texi (--with-headers): Describe headers as
29864 interface headers, not private headers.
29865 (Specific advice for GNU/Linux systems): Describe use of headers
29866 from "make headers_install", not private headers from older
29868 * INSTALL: Regenerated.
29869 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29871 * sysdeps/unix/sysv/linux/configure: Regenerated.
29873 * manual/llio.texi (fclean): Remove documentation.
29875 * manual/Makefile (libc-texi-generated): New variable. Include
29877 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29878 $(libc-texi-generated), not duplicated list of files.
29879 (version.texi, stamp-version): New rules.
29880 (realclean): Remove $(libc-texi-generated), not individual files
29881 from that list. Do not remove dir-add.texinfo.
29882 * manual/libc.texinfo: Comment out uses of edition numbers and
29883 references to printed manual. Remove last-updated dates.
29884 (EDITION): Comment out.
29886 (VERSION, UPDATED): Remove.
29887 (version.texi): Include.
29889 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29891 * sysdeps/posix/spawni.c: Include <signal.h>.
29892 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29893 * sysdeps/pthread/aio_fsync.c: Likewise.
29895 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29897 * conform/Makefile (tests): Run only when not cross-compiling and
29898 when fast-check is not defined.
29900 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29901 * conform/data/limits.h-data: Fixes for POSIX2008.
29902 * conform/run-conformtest.sh: Run all tests.
29903 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29905 * include/bits/dlfcn.h: Likewise.
29906 * include/langinfo.h: Likewise.
29907 * include/monetary.h: Likewise.
29908 * include/sys/poll.h: Likewise.
29910 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29912 * posix/spawn.h: Define __need_sigset_t.
29913 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29914 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29915 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29916 to get sigevent_t only.
29917 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29918 only for __USE_GNU.
29919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29920 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29921 process_vm_writev only for __USE_GNU.
29922 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29924 * conform/Makefile: For now ignore errors from run-conformtest.
29925 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29926 POSIX to avoid namespace pollution. Don't prepend headers.
29927 * conform/data/aio.h-data: Fixes for POSIX testing.
29928 * conform/data/fcntl.h-data: Likewise.
29929 * conform/data/glob.h-data: Likewise.
29930 * conform/data/grp.h-data: Likewise.
29931 * conform/data/pthread.h-data: Likewise.
29932 * conform/data/pwd.h-data: Likewise.
29933 * conform/data/signal.h-data: Likewise.
29934 * conform/data/spawn.h-data: Likewise.
29935 * conform/data/stdio.h-data: Likewise.
29936 * conform/data/stdlib.h-data: Likewise.
29937 * conform/data/stropts.h-data: Likewise.
29938 * conform/data/sys/mman.h-data: Likewise.
29939 * conform/data/sys/stat.h-data: Likewise.
29940 * conform/data/sys/types.h-data: Likewise.
29941 * conform/data/sys/wait.h-data: Likewise.
29942 * conform/data/time.h-data: Likewise.
29943 * conform/data/unistd.h-data: Likewise.
29944 * conform/data/utime.h-data: Likewise.
29946 * io/sys/stat.h: fchmod was always in POSIX.
29947 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29948 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29949 * rt/aio.h: Define __need_timespec before including <time.h>.
29950 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29951 struct. Add forward declaration of pthread_attr_t and use it in
29953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29955 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29956 always remove CLK_TCK definition.
29958 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29960 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29962 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29964 * conform/run-conformtest.sh: New file.
29965 * conform/Makefile: Run run-conformtest for tests.
29966 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29969 * conform/data/uchar.h-data: New file.
29970 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29971 * conform/data/arpa/inet.h-data: Likewise.
29972 * conform/data/assert.h-data: Likewise.
29973 * conform/data/complex.h-data: Likewise.
29974 * conform/data/cpio.h-data: Likewise.
29975 * conform/data/ctype.h-data: Likewise.
29976 * conform/data/dirent.h-data: Likewise.
29977 * conform/data/dlfcn.h-data: Likewise.
29978 * conform/data/errno.h-data: Likewise.
29979 * conform/data/fcntl.h-data: Likewise.
29980 * conform/data/float.h-data: Likewise.
29981 * conform/data/fmtmsg.h-data: Likewise.
29982 * conform/data/fnmatch.h-data: Likewise.
29983 * conform/data/ftw.h-data: Likewise.
29984 * conform/data/glob.h-data: Likewise.
29985 * conform/data/grp.h-data: Likewise.
29986 * conform/data/iconv.h-data: Likewise.
29987 * conform/data/inttypes.h-data: Likewise.
29988 * conform/data/langinfo.h-data: Likewise.
29989 * conform/data/libgen.h-data: Likewise.
29990 * conform/data/limits.h-data: Likewise.
29991 * conform/data/locale.h-data: Likewise.
29992 * conform/data/math.h-data: Likewise.
29993 * conform/data/monetary.h-data: Likewise.
29994 * conform/data/mqueue.h-data: Likewise.
29995 * conform/data/ndbm.h-data: Likewise.
29996 * conform/data/net/if.h-data: Likewise.
29997 * conform/data/netdb.h-data: Likewise.
29998 * conform/data/netinet/in.h-data: Likewise.
29999 * conform/data/nl_types.h-data: Likewise.
30000 * conform/data/poll.h-data: Likewise.
30001 * conform/data/pthread.h-data: Likewise.
30002 * conform/data/pwd.h-data: Likewise.
30003 * conform/data/regex.h-data: Likewise.
30004 * conform/data/sched.h-data: Likewise.
30005 * conform/data/search.h-data: Likewise.
30006 * conform/data/semaphore.h-data: Likewise.
30007 * conform/data/setjmp.h-data: Likewise.
30008 * conform/data/signal.h-data: Likewise.
30009 * conform/data/spawn.h-data: Likewise.
30010 * conform/data/stdarg.h-data: Likewise.
30011 * conform/data/stdio.h-data: Likewise.
30012 * conform/data/stdlib.h-data: Likewise.
30013 * conform/data/string.h-data: Likewise.
30014 * conform/data/strings.h-data: Likewise.
30015 * conform/data/stropts.h-data: Likewise.
30016 * conform/data/sys/ipc.h-data: Likewise.
30017 * conform/data/sys/mman.h-data: Likewise.
30018 * conform/data/sys/msg.h-data: Likewise.
30019 * conform/data/sys/resource.h-data: Likewise.
30020 * conform/data/sys/select.h-data: Likewise.
30021 * conform/data/sys/sem.h-data: Likewise.
30022 * conform/data/sys/shm.h-data: Likewise.
30023 * conform/data/sys/socket.h-data: Likewise.
30024 * conform/data/sys/stat.h-data: Likewise.
30025 * conform/data/sys/statvfs.h-data: Likewise.
30026 * conform/data/sys/time.h-data: Likewise.
30027 * conform/data/sys/timeb.h-data: Likewise.
30028 * conform/data/sys/times.h-data: Likewise.
30029 * conform/data/sys/types.h-data: Likewise.
30030 * conform/data/sys/uio.h-data: Likewise.
30031 * conform/data/sys/un.h-data: Likewise.
30032 * conform/data/sys/utsname.h-data: Likewise.
30033 * conform/data/sys/wait.h-data: Likewise.
30034 * conform/data/syslog.h-data: Likewise.
30035 * conform/data/tar.h-data: Likewise.
30036 * conform/data/termios.h-data: Likewise.
30037 * conform/data/utime.h-data: Likewise.
30038 * conform/data/utmpx.h-data: Likewise.
30039 * conform/data/varargs.h-data: Likewise.
30040 * conform/data/wchar.h-data: Likewise.
30041 * conform/data/wctype.h-data: Likewise.
30042 * conform/data/wordexp.h-data: Likewise.
30044 * include/stropts.h: New file.
30045 * include/uchar.h: New file.
30046 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30047 * include/assert.h: Likewise.
30048 * include/ctype.h: Likewise.
30049 * include/dirent.h: Likewise.
30050 * include/dlfcn.h: Likewise.
30051 * include/fcntl.h: Likewise.
30052 * include/fnmatch.h: Likewise.
30053 * include/glob.h: Likewise.
30054 * include/grp.h: Likewise.
30055 * include/libio.h: Likewise.
30056 * include/locale.h: Likewise.
30057 * include/math.h: Likewise.
30058 * include/net/if.h: Likewise.
30059 * include/netdb.h: Likewise.
30060 * include/netinet/in.h: Likewise.
30061 * include/pthread.h: Likewise.
30062 * include/pwd.h: Likewise.
30063 * include/regex.h: Likewise.
30064 * include/sched.h: Likewise.
30065 * include/search.h: Likewise.
30066 * include/setjmp.h: Likewise.
30067 * include/signal.h: Likewise.
30068 * include/stdio.h: Likewise.
30069 * include/stdlib.h: Likewise.
30070 * include/string.h: Likewise.
30071 * include/sys/cdefs.h: Likewise.
30072 * include/sys/mman.h: Likewise.
30073 * include/sys/msg.h: Likewise.
30074 * include/sys/resource.h: Likewise.
30075 * include/sys/select.h: Likewise.
30076 * include/sys/socket.h: Likewise.
30077 * include/sys/stat.h: Likewise.
30078 * include/sys/statvfs.h: Likewise.
30079 * include/sys/time.h: Likewise.
30080 * include/sys/times.h: Likewise.
30081 * include/sys/uio.h: Likewise.
30082 * include/sys/utsname.h: Likewise.
30083 * include/sys/wait.h: Likewise.
30084 * include/termios.h: Likewise.
30085 * include/time.h: Likewise.
30086 * include/ulimit.h: Likewise.
30087 * include/unistd.h: Likewise.
30088 * include/utime.h: Likewise.
30089 * include/wchar.h: Likewise.
30090 * include/wctype.h: Likewise.
30091 * include/wordexp.h: Likewise.
30093 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30095 * time/time.h: TIME_UTC must be a macro.
30096 Make timespec_get available for ISO C11 only as well.
30098 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30100 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30101 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30103 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30105 * configure.in: Use -o not -a in test for unsupported multi-arch.
30107 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30109 * manual/texinfo.tex: Update to version 2012-01-19.16.
30111 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30113 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30115 2012-02-24 Roland McGrath <roland@hack.frob.com>
30118 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30119 * manual/fdl-1.3.texi: New file.
30120 * manual/fdl-1.1.texi: File removed.
30123 * manual/libc.texinfo (FDL_VERSION): New @set.
30124 Use it for mention of FDL in cover text.
30125 (Documentation License): Use it in @include file name.
30127 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30128 Roland McGrath <roland@hack.frob.com>
30131 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30132 not LONG_LONG_MAX and LONG_LONG_MIN.
30133 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30134 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30136 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30138 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30142 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30143 manipulate bits before adding and subtracting TWO23[sx].
30144 * math/libm-test.inc (nearbyint_test): Add more tests.
30146 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30149 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30150 bits before adding and subtracting TWO23[sx].
30151 * math/libm-test.inc (rint_test): Add more tests.
30152 (rint_test_tonearest): Likewise.
30153 (rint_test_towardzero): Likewise.
30154 (rint_test_downward): Likewise.
30155 (rint_test_upward: Likewise.
30157 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30160 * include/stdc-predef.h: New file. Extracted from features.h.
30161 * include/features.h: Include stdc-predef.h.
30162 * Makefile (headers): Add stdc-predef.h.
30163 * CONFORMANCE (Compiler limitations): Update.
30165 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30167 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30169 2012-02-21 David S. Miller <davem@davemloft.net>
30171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30174 2012-02-20 David S. Miller <davem@davemloft.net>
30176 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30177 using a normal save/restore sequence, rather than allocating a
30178 dummy stack frame just to store a frame pointer and restore.
30179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30181 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30183 * manual/install.texi: Fix stray word in line-wrapped comment.
30185 2012-02-20 David S. Miller <davem@davemloft.net>
30187 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30188 both binutils and gcc support GOTDATA.
30190 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30191 "rd %pc" in the PIC register setup sequences.
30193 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30194 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30195 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30196 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30202 (SYSCALL_ERROR_HANDLER): Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30206 (SYSCALL_ERROR_HANDLER): Likewise.
30208 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30209 (HAVE_GCC_GOTDATA): New.
30210 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30211 relocation support in both binutils and gcc.
30212 * sysdeps/sparc/elf/configure: Regenerate.
30214 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30215 * sysdeps/sparc/sparc32/elf/configure: Delete.
30216 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30217 * sysdeps/sparc/sparc64/elf/configure: Delete.
30218 * sysdeps/sparc/elf/configure.in: New file.
30219 * sysdeps/sparc/elf/configure: Generate.
30221 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30222 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30223 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30224 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30225 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30227 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30229 * manual/install.texi: Do not mention specific glibc version
30231 * manual/libc.texinfo (VERSION, UPDATED): Update.
30232 (@copying): Use @copyright{} and range of years.
30234 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30237 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30238 [crti.S not in sysdirs] (generated): Do not append.
30239 [crti.S not in sysdirs] (omit-deps): Likewise.
30240 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30241 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30242 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30243 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30244 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30246 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30247 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30248 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30249 * csu/defs.awk: Remove file.
30250 * sysdeps/generic/initfini.c: Likewise.
30251 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30253 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30256 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30258 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30259 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30260 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30263 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30265 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30266 (__EPOLL_PACKED): Define to empty if not defined by
30268 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30274 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30275 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30277 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30279 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30283 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30285 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30288 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30292 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30297 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30299 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30300 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30302 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30304 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30307 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30309 * math/w_acos.c: Use non-signaling floating-point comparisons.
30310 * math/w_acosf.c: Likewise.
30311 * math/w_acosh.c: Likewise.
30312 * math/w_acoshf.c: Likewise.
30313 * math/w_acoshl.c: Likewise.
30314 * math/w_acosl.c: Likewise.
30315 * math/w_asin.c: Likewise.
30316 * math/w_asinf.c: Likewise.
30317 * math/w_asinl.c: Likewise.
30318 * math/w_atanh.c: Likewise.
30319 * math/w_atanhf.c: Likewise.
30320 * math/w_atanhl.c: Likewise.
30321 * math/w_exp2.c: Likewise.
30322 * math/w_exp2f.c: Likewise.
30323 * math/w_exp2l.c: Likewise.
30324 * math/w_j0.c: Likewise.
30325 * math/w_j0f.c: Likewise.
30326 * math/w_j0l.c: Likewise.
30327 * math/w_j1.c: Likewise.
30328 * math/w_j1f.c: Likewise.
30329 * math/w_j1l.c: Likewise.
30330 * math/w_jn.c: Likewise.
30331 * math/w_jnf.c: Likewise.
30332 * math/w_log.c: Likewise.
30333 * math/w_log10.c: Likewise.
30334 * math/w_log10f.c: Likewise.
30335 * math/w_log10l.c: Likewise.
30336 * math/w_log2.c: Likewise.
30337 * math/w_log2f.c: Likewise.
30338 * math/w_log2l.c: Likewise.
30339 * math/w_logf.c: Likewise.
30340 * math/w_logl.c: Likewise.
30341 * math/w_sqrt.c: Likewise.
30342 * math/w_sqrtf.c: Likewise.
30343 * math/w_sqrtl.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30345 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30350 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30353 * manual/string.texi (strnlen): Use correct parameter name in
30354 equivalent expression.
30356 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30359 * manual/users.texi (seteuid): Consistently use neweuid for
30362 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30365 * manual/nss.texi (Services in the NSS configuration): Correct
30366 list of services in example configuration file.
30368 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30371 * manual/arith.texi: Remove statements about negative zero
30372 behaving identically to zero.
30374 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30377 * manual/install.texi: Do not document upgrading from libc5.
30379 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30382 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30384 2012-02-18 David S. Miller <davem@davemloft.net>
30386 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30387 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30388 %o7 across the call.
30389 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30392 SETUP_PIC_REG_LEAF.
30393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30394 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30395 * sysdeps/sparc/crtn.S: Likewise.
30397 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30399 * aout/Makefile: Remove.
30401 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30404 * manual/examples/argp-ex1.c (main): Format definition in GNU
30406 * manual/examples/argp-ex2.c (main): Likewise.
30407 * manual/examples/argp-ex3.c (main): Likewise.
30408 * manual/examples/argp-ex4.c (main): Likewise.
30409 * manual/examples/longopt.c (main): Use new-style prototype
30411 * manual/examples/strncat.c (main): Specify return type and use
30412 (void) for arguments.
30413 * manual/examples/subopt.c (main): Use char **argv argument.
30415 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30418 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30421 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30424 * manual/string.texi (strchr): Change when strchrnul is
30427 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30430 * manual/locale.texi (setlocale): Document LOCPATH.
30432 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30435 * manual/process.texi (execle): Move @dots{} before last argument.
30437 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30440 * manual/charset.texi (Generic Charset Conversion): Fix typo
30441 (LC_TYPE -> LC_CTYPE).
30443 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30446 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30447 (scalbnf): Likewise.
30448 (scalbnl): Likewise.
30449 (scalbln): Likewise.
30450 (scalblnf): Likewise.
30451 (scalblnl): Likewise.
30452 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30453 (vwarnx): Likewise.
30456 * manual/filesys.texi (telldir): Use braces around return type.
30457 * manual/llio.texi (mmap): Add space after comma.
30458 (mmap64): Likewise.
30459 * manual/math.texi (jn): Use @var{} on parameter names.
30465 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30467 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30469 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30470 (sched_get_priority_max): Likewise.
30471 * manual/signal.texi (sigvec): Add space after comma.
30472 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30474 (if_indextoname): Likewise.
30475 (if_freenameindex): Likewise.
30476 (sendto): Use ',' instead of '.' in prototype.
30477 * manual/startup.texi (syscall): Use @dots{} instead of literal
30479 * manual/stdio.texi (__fpending): Separate initial words of
30480 paragraph from @deftypefun line.
30481 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30483 (vsyslog): Use @var{} on parameter names.
30484 * manual/terminal.texi (stty): Use @var{} on parameter names.
30485 * manual/users.texi (getutmp): Use @var{} on parameter names.
30486 (getutmpx): Likewise.
30488 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30491 * manual/stdio.texi (fopen): Fix typos in description of
30494 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30497 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30498 get clock_id definition.
30500 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30503 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30504 (madvise): Cast every argument to void on its own.
30506 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30509 * manual/startup.texi (Exit Status): Fix typo.
30511 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30514 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30515 * manual/examples/argp-ex2.c: Likewise.
30516 * manual/examples/argp-ex3.c: Likewise.
30518 2012-02-16 Richard Henderson <rth@redhat.com>
30520 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30521 * sysdeps/s390/s390-32/initfini.c: Remove.
30522 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30523 * sysdeps/s390/s390-64/initfini.c: Remove.
30525 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30527 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30528 compiler output for sysdeps/generic/initfini.c.
30529 * sysdeps/sh/elf/initfini.c: Remove file.
30531 2012-02-16 David S. Miller <davem@davemloft.net>
30534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30536 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30537 * sysdeps/sparc/crti.S: New file.
30538 * sysdeps/sparc/crtn.S: New file.
30539 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30540 * sysdeps/sparc/sparc64/Makefile: Likewise.
30542 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30545 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30547 2012-02-15 Roland McGrath <roland@hack.frob.com>
30550 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30552 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30553 (write, read, close): Likewise.
30554 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30556 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30558 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30559 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30560 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30561 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30563 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30567 2012-02-14 Marek Polacek <polacek@redhat.com>
30569 * sysdeps/x86_64/crti.S: New file.
30570 * sysdeps/x86_64/crtn.S: New file.
30571 * sysdeps/x86_64/elf/initfini.c: Remove file.
30573 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30575 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30576 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30577 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30578 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30580 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30584 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30586 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30587 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30588 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30589 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30591 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30595 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30597 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30598 __feraiseexcept instead of feraiseexcept.
30600 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30601 nanosleep invocations.
30602 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30603 strings, and add error checking for a nanosleep invocations.
30605 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30607 Replace FSF snail mail address with URLs, as per GNU coding standards.
30608 Most of the snail mail addresses were wrong anyway, and omitting
30609 them makes the source code easier to maintain. Almost all of the
30610 changes are to license notices and to locale LC_IDENTIFICATION
30611 addresses, except for this one:
30612 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30613 not its snail mail address.
30615 2012-02-09 Richard Henderson <rth@twiddle.net>
30617 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30618 of kernel-features.h.
30620 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30622 2012-02-08 Marek Polacek <polacek@redhat.com>
30624 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30625 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30626 * sysdeps/gnu/_G_config.h: Likewise.
30627 * sysdeps/generic/_G_config.h: Likewise.
30629 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30631 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30635 * sysdeps/powerpc/powerpc32/crti.S: New file.
30636 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30637 * sysdeps/powerpc/powerpc64/crti.S: New file.
30638 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30640 * Makeconfig (have-initfini): Don't set.
30641 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30642 * configure.in (nopic_initfini): Don't substitute.
30643 * config.h.in (HAVE_INITFINI): Don't #undef.
30644 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30645 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30647 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30649 Support crti.S and crtn.S provided directly by architectures.
30650 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30651 [crti.S in sysdirs] (omit-deps): Likewise.
30652 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30653 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30654 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30655 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30656 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30657 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30658 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30659 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30660 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30661 compiler output for sysdeps/generic/initfini.c.
30662 * sysdeps/i386/elf/Makefile: Remove file.
30663 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30665 2012-02-07 Marek Polacek <polacek@redhat.com>
30667 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30668 * sysdeps/gnu/_G_config.h: Likewise.
30669 * sysdeps/mach/hurd/_G_config.h: Likewise.
30671 2012-02-07 Marek Polacek <polacek@redhat.com>
30673 * math/Makefile (tests): Add tst-CMPLX2.
30674 * math/tst-CMPLX2.c: New file.
30676 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30678 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30680 * math/libm-test.inc (jn_test): Add missing L suffix.
30682 2012-02-06 Marek Polacek <polacek@redhat.com>
30684 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30685 * sysdeps/i386/fpu/e_powf.S: Likewise.
30686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30687 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30688 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30689 * sysdeps/i386/fpu/e_pow.S: Likewise.
30690 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30692 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30693 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30694 * sysdeps/i386/fpu/e_log2.S: Likewise.
30695 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30696 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30697 * sysdeps/i386/fpu/e_powl.S: Likewise.
30698 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30699 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30700 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30701 * sysdeps/i386/fpu/e_logl.S: Likewise.
30702 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30703 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30704 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30705 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30706 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30707 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30708 * sysdeps/i386/fpu/e_log.S: Likewise.
30709 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30710 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30711 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30712 * sysdeps/i386/fpu/e_logf.S: Likewise.
30713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30715 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30717 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30718 * sysdeps/i386/fpu/e_log10.S: Likewise.
30719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30725 * sysdeps/i386/asm-syntax.h: Likewise.
30726 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30729 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30730 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30731 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30732 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30733 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30734 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30735 * sysdeps/powerpc/sysdep.h: Likewise.
30736 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30737 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30739 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30742 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30744 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30746 * sysdeps/i386/sysdep.h: Include <features.h>.
30747 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30750 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30752 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30754 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30757 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30759 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30760 (SETUP_PIC_REG): Use GET_PC_THUNK.
30761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30764 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30766 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30767 for non-PIC compilation.
30768 (SETUP_PIC_REG): Add .p2align directive.
30769 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30770 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30771 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30772 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30773 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30774 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30777 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30778 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30779 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30780 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30781 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30782 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30783 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30784 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30785 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30786 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30787 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30788 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30789 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30790 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30791 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30792 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30797 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30798 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30799 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30801 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30804 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30805 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30806 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30807 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30808 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30809 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30811 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30813 * math/tst-CMPLX.c: Include <stdio.h>.
30815 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30817 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30820 * sysdeps/sparc/bits/mathdef.h: Likewise.
30822 2012-01-31 Marek Polacek <polacek@redhat.com>
30824 * libio/libio.h: Don't define _PARAMS.
30825 * locale/programs/config.h: Don't define PARAMS.
30826 * stdlib/strtol_l.c: Likewise.
30827 (__strtol_l): Remove PARAMS from the prototype.
30829 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30831 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30832 names. Just use the correct names. Remove unnecessary wrapper
30834 * malloc/arena.c: Likewise.
30835 * malloc/hooks.c: Likewise.
30837 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30838 ARENA_TEST says not to. Simplify test for creation of a new arena.
30839 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30841 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30843 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30845 (update_get_addr): New function.
30846 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30847 GET_ADDR_MODULE parameter.
30849 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30851 * crypt/cert.c: Remove __STDC__ conditionals.
30852 * crypt/crypt-entry.c: Likewise.
30853 * crypt/crypt_util.c: Likewise.
30854 * libio/filedoalloc.c: Likewise.
30855 * libio/fileops.c: Likewise.
30856 * libio/genops.c: Likewise.
30857 * libio/iofclose.c: Likewise.
30858 * libio/iofdopen.c: Likewise.
30859 * libio/iofopen.c: Likewise.
30860 * libio/iofopen64.c: Likewise.
30861 * libio/iogetdelim.c: Likewise.
30862 * libio/iopopen.c: Likewise.
30863 * libio/obprintf.c: Likewise.
30864 * libio/oldfileops.c: Likewise.
30865 * libio/oldiofclose.c: Likewise.
30866 * libio/oldiofdopen.c: Likewise.
30867 * libio/oldiofopen.c: Likewise.
30868 * libio/oldiopopen.c: Likewise.
30869 * libio/wfiledoalloc.c: Likewise.
30870 * libio/wgenops.c: Likewise.
30871 * locale/programs/xmalloc.c: Likewise.
30872 * misc/syslog.c: Likewise.
30873 * stdio-common/xbug.c: Likewise.
30874 * string/memchr.c: Likewise.
30875 * string/memcmp.c: Likewise.
30876 * string/memrchr.c: Likewise.
30877 * string/rawmemchr.c: Likewise.
30878 * sysdeps/posix/getcwd.c: Likewise.
30879 * time/strftime_l.c: Likewise.
30881 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30883 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30884 * config.make.in (config-cflags-sse2avx): Define.
30885 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30888 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30890 * scripts/config.guess: Update from upstream config git repository.
30891 * scripts/config.sub: Likewise.
30893 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30895 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30897 (R_TILEPRO_*, R_TILEGX_*): New macros.
30899 * scripts/firstversions.awk: Fix bug in version range handling.
30901 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30903 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30905 * include/sys/epoll.h: New file.
30906 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30909 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30911 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30912 Avoid unnecessary __WORDSIZE == 64 test.
30913 (fmaxf): Use VEX format if possible.
30918 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30919 * math/math_private.h: Remove libc_fegetround* and
30921 * sysdeps/i386/configure.in: Check for -msse2avx.
30922 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30923 also if SSE2AVX is defined.
30924 Remove libc_fegetround* and libc_fesetround*.
30925 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30926 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30930 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30932 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30933 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30935 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30937 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30939 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30941 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30943 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30946 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30948 * Makeconfig (libm): Define.
30949 * elf/Makefile: Add rules to build and run tst-relsort1.
30950 * elf/tst-relsort1.c: New file.
30951 * elf/tst-relsort1mod1.c: New file.
30952 * elf/tst-relsort1mod2.c: New file.
30954 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30956 * math/s_ldexp.c: Remove __STDC__ conditionals.
30957 * math/s_ldexpf.c: Likewise.
30958 * math/s_ldexpl.c: Likewise.
30959 * math/s_nextafter.c: Likewise.
30960 * math/s_nexttowardf.c: Likewise.
30961 * math/s_significand.c: Likewise.
30962 * math/s_significandf.c: Likewise.
30963 * math/s_significandl.c: Likewise.
30964 * math/w_jnl.c: Likewise.
30965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30971 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30972 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30974 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30976 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30977 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30979 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30981 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30982 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30984 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30985 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30986 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30993 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30996 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30998 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30999 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31000 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31001 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31002 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31003 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31004 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31005 * sysdeps/ieee754/k_standard.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31067 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31072 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31075 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31076 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31080 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31081 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31085 * sysdeps/ieee754/s_matherr.c: Likewise.
31086 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31087 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31091 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31093 * crypt/md5.h: Remove __STDC__ conditionals.
31094 * libio/libioP.h: Likewise.
31095 * locale/programs/config.h: Likewise.
31096 * sysdeps/generic/sysdep.h: Likewise.
31097 * sysdeps/i386/asm-syntax.h: Likewise.
31098 * sysdeps/s390/asm-syntax.h: Likewise.
31099 * sysdeps/unix/sysdep.h: Likewise.
31100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31103 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31105 * libio/libio.h: Remove __STDC__ conditionals.
31106 * malloc/obstack.h: Likewise.
31107 * math/complex.h: Likewise.
31108 * math/math.h: Likewise.
31109 * sysdeps/generic/_G_config.h: Likewise.
31110 * sysdeps/gnu/_G_config.h: Likewise.
31111 * sysdeps/mach/hurd/_G_config.h: Likewise.
31112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31113 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31114 * sysdeps/sparc/bits/mathdef.h: Likewise.
31116 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31119 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31120 Clean up HAS_* macros.
31121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31122 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31132 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31134 * elf/tst-unique3.cc (gets): Remove declaration.
31135 * elf/tst-unique3lib.cc (gets): Likewise.
31136 * elf/tst-unique3lib2.cc (gets): Likewise.
31137 * elf/tst-unique4.cc (gets): Likewise.
31139 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31141 * include/stdio.h: Add C++ protection. Add gets declarations and
31143 * debug/tst-chk1.c: Don't declare gets here.
31144 * stdio-common/tst-gets.c: Likewise.
31146 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31148 * posix/glob: Remove directory.
31150 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31152 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31154 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31156 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31157 of the non-standard EPFNOSUPPORT.
31159 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31161 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31162 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31163 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31165 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31167 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31169 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31171 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31173 * nscd/grpcache.c (cache_addgr): Likewise.
31174 * nscd/hstcache.c (cache_addhst): Likewise.
31175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31176 * nscd/pwdcache.c (cache_addpw): Likewise.
31177 * nscd/servicescache.c (cache_addserv): Likewise.
31179 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31181 * malloc/malloc.c: Various cleanups.
31182 * malloc/hooks.c: Likewise.
31184 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31185 * stdlib/bug-fmtmsg1.c: New file.
31187 * stdlib/fmtmsg.c (init): Add missing unlock.
31188 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31190 2012-01-12 Marek Polacek <polacek@redhat.com>
31192 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31195 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31197 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31198 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31199 macro to ensure uniqueness of label name.
31200 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31201 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31203 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31205 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31208 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31212 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31216 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31218 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31220 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31222 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31223 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31227 * math/bits/math-finite.h: Add ldexp support.
31229 2012-01-10 Marek Polacek <polacek@redhat.com>
31231 * locale/programs/localedef.h (show_archive_content): Add noreturn
31234 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31236 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31238 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31240 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31242 * io/Makefile (headers): Add bits/poll2.h.
31244 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31247 typo #include statement.
31249 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31251 * include/sys/cdefs.h: Define __attribute_alloc_size.
31252 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31253 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31254 * elf/pldd.c: Likewise.
31255 * iconv/iconv_charmap.c: Likewise.
31256 * iconv/iconvconfig.c: Likewise.
31257 * iconv/strtab.c: Likewise.
31258 * locale/programs/locale.c: Likewise.
31259 * locale/programs/localedef.h: Likewise.
31260 * locale/programs/simple-hash.c: Likewise.
31261 * nscd/nscd.h: Likewise.
31262 * nss/makedb.c: Likewise.
31263 * sysdeps/generic/ldconfig.h: Likewise.
31264 * locale/programs/localedef.c: Remove xmalloc prototype.
31265 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31267 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31272 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31274 * math/Makefile (tests): Add tst-CMPLX.
31275 * math/tst-CMPLX.c: New file.
31277 * math/complex.h (CMPLXL): Fix typo.
31279 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31280 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31282 * debug/tst-chk1.c: Add poll and ppoll tests.
31283 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31284 * include/sys/poll.h: Add hidden proto for ppoll.
31285 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31286 * sysdeps/mach/hurd/ppoll.c: Likewise.
31287 * io/ppoll.c: Likewise.
31288 * debug/poll_chk.c: New file.
31289 * debug/ppoll_chk.c: New file.
31290 * include/bits/poll2.h: New file.
31291 * io/bits/poll2.h: New file.
31294 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31296 * configure.in: static is always set to yes. Remove.
31297 * config.make.in: Don't set build-static.
31298 * Makeconfig: Remove use of build-static.
31299 * dlfcn/Makefile: Likewise.
31300 * elf/Makefile: Likewise.
31301 * math/Makefile: Likewise.
31302 * misc/Makefile: Likewise.
31303 * nptl/Makefile: Likewise.
31304 * sysdeps/mach/hurd/Makefile: Likewise.
31306 * configure.in: PWD_P is not used anymore.
31307 * config.make.in: Remove PWD_P entry.
31309 * configure.in: Remove last remnants of RANLIB.
31310 No need to check for signed size_t anymore.
31311 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31313 Remove __builtin_expect test because we require at least gcc 3.4.
31314 * aclocal.m4: Likewise.
31316 * wcsmbs/mbrtoc16.c: Implement using towc function.
31317 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31318 * wcsmbs/wcsmbsload.c: Likewise.
31319 * iconv/gconv_simple.c: Likewise.
31320 * iconv/gconv_int.h: Likewise.
31321 * iconv/gconv_builtin.h: Likewise.
31322 * iconv/iconv_prog.c: Remove CHAR16 handling.
31324 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31326 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31328 * configure.in: Remove --with-elf and --enable-bounded options.
31329 Dont set base_machine for ia64. More non-ELF conditions removed.
31330 Remove testing and setting of leading underscore information.
31331 * config.make.in (build-bounded): Set to no.
31332 * config.h.in: Remove NO_UNDERSCORES entry.
31333 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31335 * csu/start.c: Remove !NO_UNDERSCORE code.
31336 * locale/localeinfo.h: Likewise.
31337 * sysdeps/generic/machine-gmon.h: Likewise.
31338 * sysdeps/generic/sysdep.h: Likewise.
31339 * sysdeps/i386/sysdep.h: Likewise.
31340 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31341 * sysdeps/mach/sysdep.h: Likewise.
31342 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31344 * sysdeps/sh/sysdep.h: Likewise.
31345 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31346 * sysdeps/unix/i386/sysdep.S: Likewise.
31347 * sysdeps/unix/sparc/start.c: Likewise.
31348 * sysdeps/unix/sparc/sysdep.S: Likewise.
31349 * sysdeps/unix/sparc/sysdep.h: Likewise.
31350 * sysdeps/unix/start.c: Likewise.
31351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31352 * sysdeps/x86_64/sysdep.h: Likewise.
31354 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31357 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31359 * argp/argp-fmtstream.h: Use const instead __const.
31360 * argp/argp.h: Likewise.
31361 * assert/assert.h: Likewise.
31362 * bits/fenv.h: Likewise.
31363 * bits/sched.h: Likewise.
31364 * bits/sigset.h: Likewise.
31365 * bits/sigthread.h: Likewise.
31366 * catgets/nl_types.h: Likewise.
31367 * conform/data/pthread.h-data: Likewise.
31368 * crypt/crypt-private.h: Likewise.
31369 * crypt/crypt.h: Likewise.
31370 * crypt/crypt_util.c: Likewise.
31371 * ctype/ctype.h: Likewise.
31372 * debug/execinfo.h: Likewise.
31373 * debug/mbsnrtowcs_chk.c: Likewise.
31374 * debug/mbsrtowcs_chk.c: Likewise.
31375 * debug/wcsnrtombs_chk.c: Likewise.
31376 * debug/wcsrtombs_chk.c: Likewise.
31377 * debug/wcstombs_chk.c: Likewise.
31378 * dirent/dirent.h: Likewise.
31379 * dlfcn/dlfcn.h: Likewise.
31380 * elf/neededtest4.c: Likewise.
31381 * grp/grp.h: Likewise.
31382 * gshadow/gshadow.h: Likewise.
31383 * iconv/gconv.h: Likewise.
31384 * iconv/gconv_int.h: Likewise.
31385 * iconv/gconv_simple.c: Likewise.
31386 * iconv/iconv.h: Likewise.
31387 * iconv/loop.c: Likewise.
31388 * iconv/skeleton.c: Likewise.
31389 * include/aio.h: Likewise.
31390 * include/aliases.h: Likewise.
31391 * include/argz.h: Likewise.
31392 * include/arpa/inet.h: Likewise.
31393 * include/assert.h: Likewise.
31394 * include/dirent.h: Likewise.
31395 * include/dlfcn.h: Likewise.
31396 * include/execinfo.h: Likewise.
31397 * include/fcntl.h: Likewise.
31398 * include/fenv.h: Likewise.
31399 * include/glob.h: Likewise.
31400 * include/grp.h: Likewise.
31401 * include/libintl.h: Likewise.
31402 * include/mntent.h: Likewise.
31403 * include/netdb.h: Likewise.
31404 * include/pwd.h: Likewise.
31405 * include/rpc/netdb.h: Likewise.
31406 * include/sched.h: Likewise.
31407 * include/search.h: Likewise.
31408 * include/shadow.h: Likewise.
31409 * include/signal.h: Likewise.
31410 * include/stdio.h: Likewise.
31411 * include/stdlib.h: Likewise.
31412 * include/string.h: Likewise.
31413 * include/sys/socket.h: Likewise.
31414 * include/sys/stat.h: Likewise.
31415 * include/sys/statfs.h: Likewise.
31416 * include/sys/statvfs.h: Likewise.
31417 * include/sys/syslog.h: Likewise.
31418 * include/sys/time.h: Likewise.
31419 * include/sys/uio.h: Likewise.
31420 * include/time.h: Likewise.
31421 * include/unistd.h: Likewise.
31422 * include/utmp.h: Likewise.
31423 * include/wchar.h: Likewise.
31424 * include/wctype.h: Likewise.
31425 * inet/aliases.h: Likewise.
31426 * inet/arpa/inet.h: Likewise.
31427 * inet/netinet/ether.h: Likewise.
31428 * inet/netinet/in.h: Likewise.
31429 * intl/libintl.h: Likewise.
31430 * io/bits/fcntl2.h: Likewise.
31431 * io/fcntl.h: Likewise.
31432 * io/ftw.h: Likewise.
31433 * io/sys/poll.h: Likewise.
31434 * io/sys/stat.h: Likewise.
31435 * io/sys/statfs.h: Likewise.
31436 * io/sys/statvfs.h: Likewise.
31437 * io/utime.h: Likewise.
31438 * libio/bits/stdio.h: Likewise.
31439 * libio/bits/stdio2.h: Likewise.
31440 * libio/libio.h: Likewise.
31441 * libio/libioP.h: Likewise.
31442 * libio/stdio.h: Likewise.
31443 * locale/lc-ctype.c: Likewise.
31444 * locale/locale.h: Likewise.
31445 * login/utmp.h: Likewise.
31446 * malloc/arena.c: Likewise.
31447 * malloc/malloc.c: Likewise.
31448 * malloc/malloc.h: Likewise.
31449 * malloc/mcheck.c: Likewise.
31450 * malloc/mtrace.c: Likewise.
31451 * math/bits/mathcalls.h: Likewise.
31452 * math/fenv.h: Likewise.
31453 * math/math_private.h: Likewise.
31454 * misc/bits/error.h: Likewise.
31455 * misc/bits/syslog.h: Likewise.
31456 * misc/err.h: Likewise.
31457 * misc/error.h: Likewise.
31458 * misc/fstab.h: Likewise.
31459 * misc/mntent.h: Likewise.
31460 * misc/regexp.h: Likewise.
31461 * misc/search.h: Likewise.
31462 * misc/sgtty.h: Likewise.
31463 * misc/sys/mman.h: Likewise.
31464 * misc/sys/syslog.h: Likewise.
31465 * misc/sys/uio.h: Likewise.
31466 * misc/sys/xattr.h: Likewise.
31467 * misc/ttyent.h: Likewise.
31468 * nis/rpcsvc/ypclnt.h: Likewise.
31469 * nss/nss.h: Likewise.
31470 * posix/bits/unistd.h: Likewise.
31471 * posix/fnmatch.h: Likewise.
31472 * posix/glob.h: Likewise.
31473 * posix/sched.h: Likewise.
31474 * posix/spawn.h: Likewise.
31475 * posix/sys/wait.h: Likewise.
31476 * posix/unistd.h: Likewise.
31477 * posix/wordexp.h: Likewise.
31478 * pwd/pwd.h: Likewise.
31479 * resolv/netdb.h: Likewise.
31480 * resource/sys/resource.h: Likewise.
31481 * rt/aio.h: Likewise.
31482 * rt/bits/mqueue2.h: Likewise.
31483 * rt/mqueue.h: Likewise.
31484 * shadow/shadow.h: Likewise.
31485 * signal/signal.h: Likewise.
31486 * socket/send.c: Likewise.
31487 * socket/sendto.c: Likewise.
31488 * socket/sys/socket.h: Likewise.
31489 * stdio-common/printf.h: Likewise.
31490 * stdlib/bits/stdlib.h: Likewise.
31491 * stdlib/fmtmsg.h: Likewise.
31492 * stdlib/monetary.h: Likewise.
31493 * stdlib/stdlib.h: Likewise.
31494 * stdlib/ucontext.h: Likewise.
31495 * streams/stropts.h: Likewise.
31496 * string/argz.h: Likewise.
31497 * string/bits/string2.h: Likewise.
31498 * string/string.h: Likewise.
31499 * string/strings.h: Likewise.
31500 * sunrpc/rpc/auth.h: Likewise.
31501 * sunrpc/rpc/auth_des.h: Likewise.
31502 * sunrpc/rpc/clnt.h: Likewise.
31503 * sunrpc/rpc/netdb.h: Likewise.
31504 * sunrpc/rpc/pmap_clnt.h: Likewise.
31505 * sunrpc/rpc/xdr.h: Likewise.
31506 * sysdeps/generic/inttypes.h: Likewise.
31507 * sysdeps/generic/net/if.h: Likewise.
31508 * sysdeps/generic/sys/swap.h: Likewise.
31509 * sysdeps/gnu/net/if.h: Likewise.
31510 * sysdeps/gnu/utmpx.h: Likewise.
31511 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31512 * sysdeps/i386/i486/bits/string.h: Likewise.
31513 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31514 * sysdeps/s390/bits/string.h: Likewise.
31515 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31516 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31517 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31518 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31519 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31520 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31521 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31522 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31523 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31524 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31525 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31526 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31527 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31528 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31529 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31530 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31531 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31536 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31537 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31538 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31539 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31540 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31541 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31543 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31544 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31545 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31546 * sysvipc/sys/ipc.h: Likewise.
31547 * sysvipc/sys/msg.h: Likewise.
31548 * sysvipc/sys/sem.h: Likewise.
31549 * sysvipc/sys/shm.h: Likewise.
31550 * termios/termios.h: Likewise.
31551 * time/sys/time.h: Likewise.
31552 * time/time.h: Likewise.
31553 * wcsmbs/bits/wchar2.h: Likewise.
31554 * wcsmbs/uchar.h: Likewise.
31555 * wcsmbs/wchar.h: Likewise.
31556 * wctype/wctype.h: Likewise.
31559 * Makeconfig: Remove all but ELF support including AIX support.
31560 * Makerules: Likewise.
31561 * config.h.in: Likewise.
31562 * config.make.in: Likewise.
31563 * configure: Likewise.
31564 * configure.in: Likewise.
31565 * csu/Makefile: Likewise.
31566 * csu/version.c: Likewise.
31567 * debug/Makefile: Likewise.
31568 * dlfcn/Makefile: Likewise.
31569 * elf/Makefile: Likewise.
31570 * extra-lib.mk: Likewise.
31571 * iconv/Makefile: Likewise.
31572 * include/libc-symbols.h: Likewise.
31573 * include/shlib-compat.h: Likewise.
31574 * resolv/Makefile: Likewise.
31575 * resolv/res_libc.c: Likewise.
31576 * rt/Makefile: Likewise.
31577 * sysdeps/i386/asm-syntax.h: Likewise.
31578 * sysdeps/i386/sysdep.h: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31580 * sysdeps/mach/sysdep.h: Likewise.
31581 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31582 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31583 * sysdeps/s390/asm-syntax.h: Likewise.
31584 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31586 * sysdeps/sh/sysdep.h: Likewise.
31587 * sysdeps/unix/sparc/sysdep.h: Likewise.
31588 * sysdeps/wordsize-32/divdi3.c: Likewise.
31589 * sysdeps/x86_64/sysdep.h: Likewise.
31591 * argp/Versions: Remove _argp_unlock_xxx.
31594 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31595 * abilist/libBrokenLocale.abilist: Likewise.
31596 * abilist/libanl.abilist: Likewise.
31597 * abilist/libc.abilist: Likewise.
31598 * abilist/libcrypt.abilist: Likewise.
31599 * abilist/libdl.abilist: Likewise.
31600 * abilist/libm.abilist: Likewise.
31601 * abilist/libnsl.abilist: Likewise.
31602 * abilist/libpthread.abilist: Likewise.
31603 * abilist/libresolv.abilist: Likewise.
31604 * abilist/librt.abilist: Likewise.
31605 * abilist/libthread_db.abilist: Likewise.
31606 * abilist/libutil.abilist: Likewise.
31607 * abilist/libnss_db.abilist: New file.
31609 * scripts/abilist.awk: Add support for indirect functions.
31611 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31613 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31615 * shlib-versions: Remove entries for ports architectures.
31617 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31619 * elf/stackguard-macros.h: Remove support for IA-64.
31620 * elf/tst-auditmod1.c: Likewise.
31621 * sysdeps/generic/ldsodefs.h: Likewise.
31623 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31624 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31628 * configure.in: Remove --enable-omitfp support.
31630 * config.make.in: Likewise.
31631 * Makeconfig: Likewise.
31632 * manual/install.texi: Likewise.
31634 In case anyone cares, the IA-64 architecture could move to ports.
31635 * sysdeps/ia64/*: Removed.
31636 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31637 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31640 * configure.in: Remove entries for unsupported architectures.
31643 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31644 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31646 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31647 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31648 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31649 fall back to using wcrtomb.
31650 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31651 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31653 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31654 * wcsmbs/tst-c16c32-1.c: New file.
31656 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31659 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31661 * elf/tst-unique3.cc: Add explicit declaration of gets.
31662 * elf/tst-unique3lib.cc: Likewise.
31663 * elf/tst-unique3lib2.cc: Likewise.
31664 * elf/tst-unique4.cc: Likewise.
31666 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31668 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31671 * assert/assert.h (static_assert): Don't define for C++.
31672 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31673 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31675 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31677 * iconv/loop.c (single loop): Fix assertion in storing of
31680 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31682 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31684 * posix/getconf.c: Update copyright year.
31685 * nss/getent.c: Likewise.
31686 * nss/makedb.c: Likewise.
31687 * iconv/iconvconfig.c: Likewise.
31688 * iconv/iconv_prog.c: Likewise.
31689 * elf/ldconfig.c: Likewise.
31690 * elf/pldd.c: Likewise.
31691 * elf/sotruss.ksh: Likewise.
31692 * catgets/gencat.c: Likewise.
31693 * csu/version.c: Likewise.
31694 * elf/ldd.bash.in: Likewise.
31695 * elf/sprof.c (print_version): Likewise.
31696 * locale/programs/locale.c: Likewise.
31697 * locale/programs/localedef.c: Likewise.
31698 * login/programs/pt_chown.c: Likewise.
31699 * nscd/nscd.c (print_version): Likewise.
31700 * debug/xtrace.sh: Likewise.
31701 * malloc/memusage.sh: Likewise.
31702 * malloc/mtrace.pl: Likewise.
31703 * debug/catchsegv.sh: Likewise.
31705 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31707 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31710 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31713 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31714 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31716 * iconv/gconv_int.h: Likewise.
31717 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31718 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31719 from libc for GLIBC_2.16.
31720 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31721 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31722 * wcsmbs/uchar.h: Really define mbstate_t.
31723 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31724 * wcsmbs/c16rtomb.c: New file.
31725 * wcsmbs/mbrtoc16.c: New file.
31726 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31727 for C/POSIX locale.
31728 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31729 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31731 * wcsmbs/wchar.h: Add missing __restrict.
31733 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31736 * time/Makefile (routines): Add timespec_get.
31737 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31738 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31739 timespec for ISO C11.
31740 * time/timespec_get.c: New file.
31741 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31742 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31745 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31746 * stdlib/stdlib.h: Declare aligned_alloc.
31747 * Versions.def: Add GLIBC_2.16 for libc.
31748 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31751 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31754 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31758 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31761 * assert/assert.h (static_assert): Define.
31763 * version.h: Update for 2.16 development version.
31766 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31769 * version.h (RELEASE): Bump for 2.15 release.
31770 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31772 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31773 Patch by Marek Polacek <mpolacek@redhat.com>.
31775 * bits/byteswap.h: Protect long long constants with __extension__.
31776 * sysdeps/i386/bits/byteswap.h: Likewise.
31777 * sysdeps/ia64/bits/byteswap.h: Likewise.
31778 * sysdeps/s390/bits/byteswap.h: Likewise.
31779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31781 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31784 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31785 destination buffer.
31786 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31788 2011-12-23 Marek Polacek <polacek@redhat.com>
31790 * elf/dl-addr.c (determine_info): Add inline keyword.
31791 * elf/tst-auditmod4b.c (check_avx): Likewise.
31792 * elf/tst-auditmod6b.c (check_avx): Likewise.
31793 * elf/tst-auditmod6c.c (check_avx): Likewise.
31794 * elf/tst-auditmod7b.c (check_avx): Likewise.
31796 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31798 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31801 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31804 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31805 processing for last bytes.
31807 2011-08-06 Bruno Haible <bruno@clisp.org>
31810 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31811 U+0385, not to U+1FEE.
31814 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31815 entry for U+00A5 U+0301.
31817 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31820 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31821 buffer for the output is too small.
31823 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31827 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31828 SSE flags if possible.
31830 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31834 processing for last bytes.
31836 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31839 (syscall-list-default-options, syscall-list-default-condition)
31840 (syscall-list-includes): Define.
31841 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31842 list of ABIs and options and #if conditions for each ABI. Do not
31843 handle common syscalls between ABIs specially.
31844 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31846 (syscall-list-variants, syscall-list-32bit-options)
31847 (syscall-list-32bit-condition, syscall-list-64bit-options)
31848 (syscall-list-64bit-condition): Define.
31849 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31850 (syscall-list-variants, syscall-list-32bit-options)
31851 (syscall-list-32bit-condition, syscall-list-64bit-options)
31852 (syscall-list-64bit-condition): Define.
31853 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31855 (syscall-list-variants, syscall-list-32bit-options)
31856 (syscall-list-32bit-condition, syscall-list-64bit-options)
31857 (syscall-list-64bit-condition): Define.
31858 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31860 (syscall-list-variants, syscall-list-32bit-options)
31861 (syscall-list-32bit-condition, syscall-list-64bit-options)
31862 (syscall-list-64bit-condition): Define.
31864 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31866 * locale/iso-639.def: Add brx entry.
31869 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31870 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31872 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31873 __feraiseexcept_renamed.
31875 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31878 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31879 EPOLLET with unsigned values.
31880 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31883 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31884 to large cancellation.
31885 * math/s_cacoshf.c: Likewise.
31886 * math/s_cacoshl.c: Likewise.
31888 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31892 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31893 * math/s_cacoshf.c: Likewise.
31894 * math/s_cacoshl.c: Likewise.
31896 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31899 * iconv/gconv.h: Define __GCONV_SWAP.
31900 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31901 * iconvdata/utf-16.c: Likewise.
31902 * iconvdata/utf-32.c: Likewise.
31904 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31908 numerator after shifting it by one limb.
31910 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31913 under [__USE_EXTERN_INLINES].
31915 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31918 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31920 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31922 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31923 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31925 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31926 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31927 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31928 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31929 for strncasecmp/strncasecmp_l compilation.
31930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31931 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31933 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31936 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31939 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31942 * time/tzfile.c (__tzfile_read): Check values from file header.
31944 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31946 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31947 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31948 * powerpc/powerpc32/dl-start.S: Likewise.
31949 * powerpc/powerpc32/elf/start.S: Likewise.
31950 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31951 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31952 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31953 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31954 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31955 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31956 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31957 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31958 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31959 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31960 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31961 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31962 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31963 * powerpc/powerpc32/memset.S: Likewise.
31964 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31965 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31966 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31967 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31968 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31969 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31970 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31971 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31972 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31973 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31975 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31976 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31978 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31980 * math/libm-test.inc: Added more nearbyint tests.
31981 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31986 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31988 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31991 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31993 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31994 Add wcscpy-ssse3 wcscpy-c.
31995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31996 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31997 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31998 * sysdeps/x86_64/wcschr.S: New file.
31999 * sysdeps/x86_64/wcsrchr.S: New file.
32000 * string/test-strcmp.c: Remove checking of wcscmp function for
32002 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32003 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32004 wcsrchr-sse2 wcsrchr-c.
32005 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32006 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32007 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32008 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32009 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32010 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32011 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32012 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32014 * wcsmbc/wcschr.c (WCSCHR): New macro.
32016 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32018 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32019 * wcsmbs/test-wcsrchr.c: New file.
32020 * string/test-strrchr.c: Add wcsrchr support.
32022 * wcsmbs/test-wcscpy.c: New file.
32023 * string/test-strcpy.c: Add wcscpy support.
32026 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32028 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32031 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32034 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32036 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32039 Minor optimizations.
32041 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32042 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32043 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32045 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32047 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32048 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32049 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32050 for gcc to avoid warnings.
32051 * inet/Makefile (tests): Add tst-checks.
32052 * inet/tst-checks.c: New file.
32054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32057 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32060 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32061 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32063 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32065 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32067 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32070 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32072 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32074 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32075 conditional on GCC version.
32076 (__arch_compare_and_exchange_val_8_acq)
32077 (__arch_compare_and_exchange_val_16_acq)
32078 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32079 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32080 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32082 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32084 * sysdeps/sh/backtrace.c: New file.
32086 2011-12-02 Andreas Schwab <schwab@redhat.com>
32088 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32091 2011-12-01 Andreas Schwab <schwab@redhat.com>
32093 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32094 falling back to utime.
32096 2011-11-30 Andreas Schwab <schwab@redhat.com>
32098 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32099 expectations for float.
32101 2011-11-29 Andreas Schwab <schwab@redhat.com>
32103 * locale/weight.h (findidx): Add parameter len.
32104 * locale/weightwc.h (findidx): Likewise.
32105 * posix/fnmatch_loop.c (FCT): Adjust caller.
32106 * posix/regcomp.c (build_equiv_class): Likewise.
32107 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32108 * posix/regexec.c (check_node_accept_bytes): Likewise.
32109 * string/strcoll_l.c (STRCOLL): Likewise.
32110 * string/strxfrm_l.c (STRXFRM): Likewise.
32112 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32114 * Makefile.in: Remove CVSOPT handling.
32115 * configure.in: Remove use of AC_REVISION.
32116 * iconvdata/Makefile (distribute): No need to filter out CVS.
32117 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32120 2011-11-16 Andreas Schwab <schwab@redhat.com>
32122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32123 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32124 [USE_AS_STRNCASECMP_L]: Likewise.
32125 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32126 NO_TLS_DIRECT_SEG_REFS.
32127 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32128 Fix argument offsets for non-PIC.
32129 [USE_AS_STRNCASECMP_L]: Likewise.
32130 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32131 NO_TLS_DIRECT_SEG_REFS.
32133 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32135 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32137 * locale/loadlocale.c (_nl_load_locale): Likewise.
32139 2011-11-15 Andreas Schwab <schwab@redhat.com>
32141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32142 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32144 (SYSCALL_GETTIME): Set errno on error.
32146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32147 count references to noai6ai_cached.
32149 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32151 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32153 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32154 FD_CLOEXEC for /proc/self/maps.
32156 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32157 FD_CLOEXEC for /proc/meminfo.
32159 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32162 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32163 FD_CLOEXEC for given file.
32165 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32167 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32168 FD_CLOEXEC for /etc/hosts.
32169 (_gethtent): Likewise.
32171 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32173 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32174 cancellation and set FD_CLOEXEC for /etc/netgroup.
32176 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32177 reading /etc/publickey.
32179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32180 allow cancellation when reading /etc/group.
32182 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32184 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32186 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32187 when using data file.
32189 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32191 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32192 (write_nis_obj): Use "c" and "e" in fopen.
32194 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32196 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32198 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32200 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32202 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32205 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32207 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32209 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32211 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32212 file parsing and set FD_CLOEXEC.
32214 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32216 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32218 2011-11-14 Andreas Schwab <schwab@redhat.com>
32220 * malloc/arena.c (arena_get2): Don't call reused_arena when
32221 _int_new_arena failed.
32223 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32225 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32226 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32230 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32231 to compile strcasecmp and strncasecmp.
32232 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32233 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32237 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32239 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32240 locale-defines.sym to gen-as-const-headers.
32241 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32242 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32244 to compile strcasecmp and strncasecmp.
32245 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32246 strcasecmp_l and strncasecmp_l.
32247 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32248 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32249 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32250 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32251 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32252 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32253 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32254 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32255 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32256 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32257 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32259 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32261 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32262 result of SYSDEP_GETTIME_CPU to retval.
32263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32264 parameter list to macro. Remove trailing semicolon. Adjust users.
32266 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32269 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32271 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32273 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32274 from unused variable.
32276 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32278 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32281 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32284 * sunrpc/rpc_prot.c (rejected): Fix case value.
32286 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32287 unsigned long long int to avoid warnings in shift.
32289 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32291 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32294 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32295 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32296 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32298 * nis/nis_table.c (nis_list): Use variable of correct type for
32299 result of __follow_path call.
32301 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32303 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32304 of math functions ceil, trunc, floor, round, and sqrt, when
32305 avaliable on the platform.
32306 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32308 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32309 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32310 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32312 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32314 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32317 2011-11-11 Roland McGrath <roland@hack.frob.com>
32319 * include/unistd.h: Fix __readlink return type.
32320 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32322 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32324 * stdlib/ucontext.h: Undo last change for makecontext.
32326 2011-11-11 Andreas Schwab <schwab@redhat.com>
32328 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32330 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32331 * setjmp/setjmp.h: Mark functions as non-leaf.
32332 * setjmp/bits/setjmp2.h: Likewise.
32333 * stdlib/ucontext.h: Likewise.
32335 2011-11-10 Andreas Schwab <schwab@redhat.com>
32337 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32338 (reused_arena): Don't check arena limit.
32339 (arena_get2): Atomically check arena limit.
32341 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32343 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32344 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32349 2011-11-07 Andreas Schwab <schwab@redhat.com>
32351 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32352 handler when locking.
32354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32355 Fix size of allocated buffer.
32357 2011-11-04 Andreas Schwab <schwab@redhat.com>
32360 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32361 declarations for long double functions.
32362 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32364 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32366 2011-11-03 Andreas Schwab <schwab@redhat.com>
32368 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32371 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32374 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32376 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32378 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32380 * include/alloca.h (stackinfo_alloca_round): Define.
32381 (extend_alloca): Use it.
32382 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32383 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32386 * scripts/check-local-headers.sh: Ignore libaudit.h.
32388 * nscd/Makefile (extra-objs): Make recursively expanded.
32390 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32392 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32395 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32396 * posix/tst-rfc3484-2.c: Likewise.
32397 * posix/tst-rfc3484-3.c: Likewise.
32399 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32401 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32403 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32404 process_vm_writev from libc using GLIBC_2.15 version.
32406 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32408 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32410 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32413 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32416 * nss/getent.c (initgroups_keys): Show error message in case no group
32419 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32420 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32421 __bump_nl_timestamp.
32422 * nscd/connections (nscd_init): When host database is served open
32423 netlink socket and request notification about configuration changes.
32424 (main_loop_poll): Track netlink file descriptor and bump timestamp
32425 in case data becomes available.
32426 (main_loop_epoll): Likewise.
32427 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32428 (database_pers_head): Add extra_data fileds.
32429 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32430 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32431 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32433 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32434 in6ai data, call __free_in6ai.
32435 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32436 Add -DHAVE_NETLINK.
32437 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32438 interface information. Reuse previous data if netlink timestamp
32440 (__bump_nl_timestamp): New function.
32441 (__free_in6ai): New function.
32443 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32445 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32446 close_not_cancel_no_status here.
32447 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32449 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32452 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32455 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32456 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32457 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32459 2011-07-03 Andreas Jaeger <aj@suse.de>
32462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32463 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32464 * math/libm-test.inc (sin_test): Add test case.
32466 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32469 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32470 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32472 * elf/chroot_canon.c (chroot_canon): Cleanups.
32474 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32477 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32478 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32480 * string/test-strchr.c: Make usable for strchrnul testing.
32481 * string/test-strchrnul.c: New file.
32482 * string/Makefile (strop-tests): Add strchrnul.
32484 * po/it.po: Update from translation team.
32485 * po/es.po: Likewise.
32487 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32490 the three constants needed as parameters. Drop the others.
32491 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32492 __m128i_strloadu_tolower.
32493 Create and initialize variable zero and use it in all the places
32494 where _mm_setzero_si128 was used.
32496 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32497 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32498 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32501 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32502 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32503 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32504 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32506 __mpranred, __mptan.
32507 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32508 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32509 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32510 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32511 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32512 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32514 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32515 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32517 2011-10-28 Andreas Schwab <schwab@redhat.com>
32519 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32520 redefine if SHARED.
32521 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32524 wide char related routines to wcsmbs subdir.
32526 2011-10-27 Andreas Schwab <schwab@redhat.com>
32529 * misc/sys/cdefs.h (__THROWNL): Define.
32530 * posix/unistd.h: Use __THREADNL instead of __THREAD
32531 for memory synchronization functions.
32533 2011-10-26 Roland McGrath <roland@hack.frob.com>
32536 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32538 * manual/stdio.texi (Obstack Streams): Node removed.
32540 2011-10-26 Andreas Schwab <schwab@redhat.com>
32542 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32543 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32546 * math/math_private.h (math_force_eval): Allow non-addressable
32548 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32550 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32553 file is not needed.
32555 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32562 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32569 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32570 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32571 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32574 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32575 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32577 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32578 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32579 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32581 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32582 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32584 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32585 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32588 place. Use VEX encoding when compiling for AVX.
32590 2011-10-25 Andreas Schwab <schwab@redhat.com>
32592 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32593 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32595 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32597 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32599 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32600 useless if() expression.
32601 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32609 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32611 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32614 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32615 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32619 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32621 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32623 2011-10-25 Andreas Schwab <schwab@redhat.com>
32625 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32629 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32631 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32632 .text section. Avoid duplicate constants.
32633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32635 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32641 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32642 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32643 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32644 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32645 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32646 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32647 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32650 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32660 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32661 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32662 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32663 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32664 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32665 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32667 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32668 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32669 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32671 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32672 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32674 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32679 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32681 * sysdeps/x86_64/dla.h: Move to ...
32682 * sysdeps/x86_64/fpu/dla.h: ...here.
32683 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32684 situations. Use __builtin_fma only for gcc 4.6 and up.
32686 * config.make.in: Add have-mfma4 entry.
32687 * configure.in: Substitute libc_cv_cc_fma4.
32688 * math/Makefile (dbl-only-routines): Add sincostab.
32689 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32690 Use __sincostab not sincos.
32691 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32698 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32699 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32700 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32701 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32703 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32704 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32706 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32707 define aliases when function name is a macro.
32708 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32709 sysdeps/ieee754/dbl-64/sincos.tbl.
32710 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32711 fma4-enabled routines.
32712 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32713 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32714 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32715 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32721 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32722 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32724 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32739 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32743 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32746 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32754 2011-10-24 Andreas Schwab <schwab@redhat.com>
32756 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32758 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32762 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32764 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32766 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32767 Remove unused variable magic_bits.
32768 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32770 * string/strnlen.c: Define and use STRNLEN macro.
32771 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32772 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32774 * wcsmbs/wcslen.c: Define and use WCSLEN.
32775 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32776 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32777 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32778 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32779 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32780 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32781 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32783 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32786 strnlen-sse2-no-bsf.
32787 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32789 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32790 Add strnlen support.
32791 (USE_AS_STRNLEN): New macro.
32792 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32793 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32794 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32795 * sysdeps/x86_64/wcslen.S: New file.
32797 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32800 XMM-moves are used for copying on small sizes.
32802 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32804 * wcsmbs/Makefile (strop-tests): Add wcschr.
32805 * wcsmbs/test-wcschr.c: New file.
32806 * string/test-strchr.c: Update.
32807 Add wcschr support.
32810 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32812 * wcsmbs/Makefile (strop-tests): Add wcslen.
32813 * wcsmbs/test-wcslen.c: New file.
32814 * string/test-strlen.c: Update.
32815 Add wcslen support.
32818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32820 * po/it.po: Update from translation team.
32822 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32824 * sysdeps/x86_64/wcscmp.S: Update.
32825 Fix wrong comparison semantics.
32826 wcscmp shall use signed comparison not unsigned.
32827 Don't use substraction to avoid overflow bug.
32828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32829 * wcsmbc/wcscmp.c: Likewise.
32830 * string/test-strcmp.c: Likewise.
32831 Add new tests to check cases with negative values.
32833 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32835 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32836 * sysdeps/x86_64/dla.h: ...here. New file.
32837 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32847 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32850 __ynl_finite aliases.
32852 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32856 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32858 [DLA_FMA] (EMULV): Use DLA_FMA.
32859 [DLA_FMA] (MUL12): Use EMULV.
32860 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32861 that are not needed.
32862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32870 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32872 * math/s_nan.c: Undef __nan.
32873 * math/s_nanf.c: Undef __nanf.
32874 * math/s_nanl.c: Undef __nanl.
32875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32878 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32880 * math/s_catan.c: Add branch predictions.
32881 * math/s_catanf.c: Likewise.
32882 * math/s_catanh.c: Likewise.
32883 * math/s_catanhf.c: Likewise.
32884 * math/s_catanhl.c: Likewise.
32885 * math/s_catanl.c: Likewise.
32886 * math/s_cexp.c: Likewise.
32887 * math/s_cexpf.c: Likewise.
32888 * math/s_cexpl.c: Likewise.
32889 * math/s_clog.c: Likewise.
32890 * math/s_clog10.c: Likewise.
32891 * math/s_clog10f.c: Likewise.
32892 * math/s_clog10l.c: Likewise.
32893 * math/s_clogf.c: Likewise.
32894 * math/s_clogl.c: Likewise.
32895 * math/s_csqrt.c: Likewise.
32896 * math/s_csqrtf.c: Likewise.
32897 * math/s_csqrtl.c: Likewise.
32898 * math/s_ctanf.c: Likewise.
32899 * math/s_ctanh.c: Likewise.
32900 * math/s_ctanhf.c: Likewise.
32901 * math/s_ctanhl.c: Likewise.
32902 * math/s_ctanl.c: Likewise.
32904 * math/math_private.h: Define __nan, __nanf, __nanl.
32905 * math/s_cacosh.c: Include <math_private.h>.
32906 * math/s_cacoshl.c: Likewise.
32907 * math/s_casinh.c: Likewise.
32908 * math/s_casinhf.c: Likewise.
32909 * math/s_casinhl.c: Likewise.
32910 * math/s_ccos.c: Rely entire on ccosh.
32911 * math/s_ccosf.c: Rely entire on ccoshf.
32912 * math/s_ccosl.c: Rely entirely on ccoshl.
32913 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32914 Remove tests for FE_INVALID.
32915 * math/s_ccoshf.c: Likewise.
32916 * math/s_ccoshl.c: Likewise.
32917 * math/s_csin.c: Likewise.
32918 * math/s_csinf.c: Likewise.
32919 * math/s_csinh.c Likewise.
32920 * math/s_csinhf.c: Likewise.
32921 * math/s_csinhl.c: Likewise.
32922 * math/s_csinl.c: Likewise.
32923 * math/s_ctan.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32925 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32926 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32928 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32931 compilation problems.
32933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32936 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32938 * sysdeps/i386/configure.in: Test for -mfma4 option.
32939 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32940 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32941 COMMON_CPUID_INDEX_80000001.
32942 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32943 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32944 use it if FMA3 is not supported.
32945 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32947 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32948 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32950 2011-10-20 Andreas Schwab <schwab@redhat.com>
32953 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32954 it would create a cycle with a link time dependency.
32956 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32958 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32960 * string/Makefile (strop-tests): Add rawmemchr.
32961 * string/test-rawmemchr.c: New file.
32963 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32965 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32966 when compiling str{,n}casecmp and when AVX is available. Hook up
32967 new optimized code in initializers.
32969 2011-10-19 Andreas Schwab <schwab@redhat.com>
32971 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32972 __feraiseexcept instead of feraiseexcept.
32974 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32976 * math/math_private.h: Define defaults for libc_fetestexcept and
32978 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32979 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32980 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32982 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32983 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32984 libc_fetestexcept and libc_feupdateenv.
32986 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32987 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32988 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32989 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32990 libc_feholdexcept_setround.
32992 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32993 Add s_nearbyint-c and s_nearbyintf-c.
32994 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32995 nearbyintf inlines.
32996 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32997 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32998 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32999 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33001 * math/math_private.h: Define defaults for libc_fegetround,
33002 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33003 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33004 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33005 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33006 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33007 standard functions.
33008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33009 Remove comments and hacks for old compiler versions.
33010 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33011 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33012 libc_feholdexceptl.
33014 2011-10-18 Andreas Schwab <schwab@redhat.com>
33016 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33017 (__feraiseexcept_renamed): Add __NTH.
33018 (feraiseexcept): Add __NTH. Rename local variables to fix
33019 namespace violations.
33021 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33025 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33027 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33028 recently added interfaces.
33029 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33031 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33032 about macro parameter expansion.
33034 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33035 __NO_MATH_INLINES is defined. Cleanups.
33037 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33038 and __floorf is target has SSE4.1.
33039 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33040 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33041 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33042 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33044 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33046 (floorf): Likewise.
33048 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33050 2011-10-17 Andreas Schwab <schwab@redhat.com>
33052 * misc/sys/cdefs.h: Fix last change.
33054 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33057 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33059 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33061 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33068 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33069 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33070 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33071 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33072 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33073 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33074 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33075 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33076 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33077 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33078 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33079 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33080 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33081 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33082 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33085 ceil, ceilf, floor, floorf.
33087 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33088 Perform IRELATIVE relocations last.
33090 * elf/do-rel.h: Add another parameter nrelative, replacing the
33091 local variable with the same name. Change name of the function
33092 to end in Rel or Rela (uppercase).
33093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33094 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33095 elf_dynamic_do_##reloc function.
33097 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33099 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33100 is sufficient, at least on modern CPUs.
33102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33104 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33107 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33109 * math/bits/math-finite.h: Add entries for exp.
33110 * math/e_expl.c: Add __*_finite alias.
33111 * sysdeps/i386/fpu/e_exp.S: Likewise.
33112 * sysdeps/i386/fpu/e_expf.S: Likewise.
33113 * sysdeps/i386/fpu/e_expl.c: Likewise.
33114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33115 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33118 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33119 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33120 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33122 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33123 is sufficient, at least on modern CPUs.
33125 * ctype/ctype-info.c (__ctype_init): Define.
33126 * include/ctype.h (__ctype_init): Declare.
33127 (__ctype_b_loc): The variable is always initialized.
33128 (__ctype_toupper_loc): Likewise.
33129 (__ctype_tolower_loc): Likewise.
33130 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33131 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33133 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33135 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33137 * configure.in: Also look in $cxxmachine/include for C++ system
33140 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33142 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33143 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33144 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33145 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33146 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33147 (USE_AS_WMEMCMP): New macro.
33149 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33150 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33151 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33152 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33154 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33155 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33156 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33157 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33158 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33159 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33160 (USE_AS_WMEMCMP): New macro.
33161 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33162 * sysdeps/string/test-memcmp.c: Update.
33163 Fix simple_wmemcmp.
33165 * wcsmbs/wmemcmp.c: Update.
33166 (WMEMCMP): New macro.
33169 2011-10-12 Andreas Jaeger <aj@suse.de>
33172 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33174 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33176 * libio/iofwide.c (do_length): Avoid warning.
33178 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33180 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33182 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33184 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33185 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33186 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33187 * sysdeps/i386/i686/fpu/e_log.S: New file.
33188 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33189 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33191 * ctype/ctype.h: Add support for inlined isXXX functions when
33192 compiling C++ code.
33194 2011-10-14 Andreas Schwab <schwab@redhat.com>
33196 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33198 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33200 2011-10-13 Roland McGrath <roland@hack.frob.com>
33203 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33205 2011-10-13 Andreas Schwab <schwab@redhat.com>
33207 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33208 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33211 * sysdeps/x86_64/memrchr.S: Check for zero size.
33213 * string/stratcliff.c: Add memrchr tests.
33215 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33218 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33219 rawmemchr-sse2 rawmemchr-sse2-bsf.
33220 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33221 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33222 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33223 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33224 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33225 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33226 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33227 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33228 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33229 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33230 * string/memrchr.c (MEMRCHR): New macro.
33232 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33234 Add integration with gcc's -ffinite-math-only and optimize wrapper
33236 * Versions.def: Define GLIBC_2.15 version for libm.
33237 * math/Makefile (headers): Add bits/math-finite.h.
33238 * math/bits/math-finite.h: New file.
33239 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33240 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33241 * math/e_acoshl.c: Add __*_finite alias.
33242 * math/e_acosl.c: Likewise.
33243 * math/e_asinl.c: Likewise.
33244 * math/e_atan2l.c: Likewise.
33245 * math/e_atanhl.c: Likewise.
33246 * math/e_coshl.c: Likewise.
33247 * math/e_exp10.c: Likewise.
33248 * math/e_exp10f.c: Likewise.
33249 * math/e_exp10l.c: Likewise.
33250 * math/e_exp2l.c: Likewise.
33251 * math/e_fmodl.c: Likewise.
33252 * math/e_gammal_r.c: Likewise.
33253 * math/e_hypotl.c: Likewise.
33254 * math/e_j0l.c: Likewise.
33255 * math/e_j1l.c: Likewise.
33256 * math/e_jnl.c: Likewise.
33257 * math/e_lgammal_r.c: Likewise.
33258 * math/e_log10l.c: Likewise.
33259 * math/e_log2l.c: Likewise.
33260 * math/e_logl.c: Likewise.
33261 * math/e_powl.c: Likewise.
33262 * math/e_sinhl.c: Likewise.
33263 * math/e_sqrtl.c: Likewise.
33264 * math/e_scalb.c: Completely rewritten and optimized.
33265 * math/e_scalbf.c: Likewise.
33266 * math/e_scalbl.c: Likewise.
33267 * math/w_acos.c: Likewise.
33268 * math/w_acosf.c: Likewise.
33269 * math/w_acosl.c: Likewise.
33270 * math/w_acosh.c: Likewise.
33271 * math/w_acoshf.c: Likewise.
33272 * math/w_acoshl.c: Likewise.
33273 * math/w_asin.c: Likewise.
33274 * math/w_asinf.c: Likewise.
33275 * math/w_asinl.c: Likewise.
33276 * math/w_atan2.c: Likewise.
33277 * math/w_atan2f.c: Likewise.
33278 * math/w_atan2l.c: Likewise.
33279 * math/w_atanh.c: Likewise.
33280 * math/w_atanhf.c: Likewise.
33281 * math/w_atanhl.c: Likewise.
33282 * math/w_exp10.c: Likewise.
33283 * math/w_exp10f.c: Likewise.
33284 * math/w_exp10l.c: Likewise.
33285 * math/w_fmod.c: Likewise.
33286 * math/w_fmodf.c: Likewise.
33287 * math/w_fmodl.c: Likewise.
33288 * math/w_j0.c: Likewise.
33289 * math/w_j0f.c: Likewise.
33290 * math/w_j0l.c: Likewise.
33291 * math/w_j1.c: Likewise.
33292 * math/w_j1f.c: Likewise.
33293 * math/w_j1l.c: Likewise.
33294 * math/w_jn.c: Likewise.
33295 * math/w_jnf.c: Likewise.
33296 * math/w_log.c: Likewise.
33297 * math/w_logf.c: Likewise.
33298 * math/w_logl.c: Likewise.
33299 * math/w_log10.c: Likewise.
33300 * math/w_log10f.c: Likewise.
33301 * math/w_log10l.c: Likewise.
33302 * math/w_log2.c: Likewise.
33303 * math/w_log2f.c: Likewise.
33304 * math/w_log2l.c: Likewise.
33305 * math/w_pow.c: Likewise.
33306 * math/w_powf.c: Likewise.
33307 * math/w_powl.c: Likewise.
33308 * math/w_remainder.c: Likewise.
33309 * math/w_remainderf.c: Likewise.
33310 * math/w_remainderl.c: Likewise.
33311 * math/w_scalb.c: Likewise.
33312 * math/w_scalbf.c: Likewise.
33313 * math/w_scalbl.c: Likewise.
33314 * math/w_sqrt.c: Likewise.
33315 * math/w_sqrtf.c: Likewise.
33316 * math/w_sqrtl.c: Likewise.
33317 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33318 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33320 * math/math_private.h: Declare __kernel_standard_f.
33321 * math/w_cosh.c: Remove cruft and optimize a bit.
33322 * math/w_coshf.c: Likewise.
33323 * math/w_coshl.c: Likewise.
33324 * math/w_exp2.c: Likewise.
33325 * math/w_exp2f.c: Likewise.
33326 * math/w_exp2l.c: Likewise.
33327 * math/w_hypot.c: Likewise.
33328 * math/w_hypotf.c: Likewise.
33329 * math/w_hypotl.c: Likewise.
33330 * math/w_lgamma.c: Likewise.
33331 * math/w_lgamma_r.c: Likewise.
33332 * math/w_lgammaf.c: Likewise.
33333 * math/w_lgammaf_r.c: Likewise.
33334 * math/w_lgammal.c: Likewise.
33335 * math/w_lgammal_r.c: Likewise.
33336 * math/w_sinh.c: Likewise.
33337 * math/w_sinhf.c: Likewise.
33338 * math/w_sinhl.c: Likewise.
33339 * math/w_tgamma.c: Likewise.
33340 * math/w_tgammaf.c: Likewise.
33341 * math/w_tgammal.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33344 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33345 Minor optimizations. Pretty printing. Remove cruft.
33346 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33348 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33350 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33351 * sysdeps/i386/fpu/e_asin.S: Likewise.
33352 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33353 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33354 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33355 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33358 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33359 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33360 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33361 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33362 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33363 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33364 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33365 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33366 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33367 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33368 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33369 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33370 * sysdeps/i386/fpu/e_log.S: Likewise.
33371 * sysdeps/i386/fpu/e_log10.S: Likewise.
33372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33374 * sysdeps/i386/fpu/e_log2.S: Likewise.
33375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33376 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33377 * sysdeps/i386/fpu/e_logf.S: Likewise.
33378 * sysdeps/i386/fpu/e_logl.S: Likewise.
33379 * sysdeps/i386/fpu/e_pow.S: Likewise.
33380 * sysdeps/i386/fpu/e_powf.S: Likewise.
33381 * sysdeps/i386/fpu/e_powl.S: Likewise.
33382 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33383 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33384 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33388 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33389 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33390 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33391 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33394 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33395 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33396 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33398 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33399 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33400 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33401 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33402 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33405 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33407 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33408 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33411 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33412 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33413 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33414 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33415 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33416 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33417 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33418 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33419 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33420 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33422 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33423 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33424 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33425 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33426 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33427 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33428 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33429 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33430 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33431 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33432 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33433 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33435 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33436 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33437 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33438 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33439 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33441 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33448 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33469 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33471 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33473 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33474 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33476 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33479 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33482 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33483 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33484 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33488 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33489 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33490 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33491 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33492 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33493 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33494 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33496 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33497 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33498 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33499 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33501 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33502 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33503 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33504 (__isnanf): Likewise.
33505 (__isinf_ns): Likewise.
33506 (__isinf_nsf): Likewise.
33507 (__finite): Likewise.
33508 (__finitef): Likewise.
33509 (__ieee754_sqrt): Define as macro.
33510 (__ieee754_sqrtf): Define as macro.
33511 (__ieee754_sqrtl): Define as macro.
33512 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33514 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33515 __FINITE_MATH_ONLY__ consistent.
33516 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33518 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33520 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33525 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33527 * po/ja.po: Update from translation team.
33529 2011-10-08 Roland McGrath <roland@hack.frob.com>
33531 * locale/programs/locarchive.c (prepare_address_space): New function.
33532 (create_archive, enlarge_archive, open_archive): Use it.
33534 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33535 inside [SHARED], where it is used.
33537 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33539 * nss/getent.c (netgroup_keys): Remove unused variable.
33540 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33542 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33544 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33545 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33548 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33549 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33550 * math/Makefile (libm-calls): Add s_isinf_ns.
33551 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33552 * math/multc3.c: Likewise.
33553 * math/s_casin.c: Likewise.
33554 * math/s_casinf.c: Likewise.
33555 * math/s_casinl.c: Likewise.
33556 * math/s_ccos.c: Likewise.
33557 * math/s_ccosf.c: Likewise.
33558 * math/s_ccosl.c: Likewise.
33559 * math/s_ctan.c: Likewise.
33560 * math/s_ctanf.c: Likewise.
33561 * math/s_ctanh.c: Likewise.
33562 * math/s_ctanhf.c: Likewise.
33563 * math/s_ctanhl.c: Likewise.
33564 * math/s_ctanl.c: Likewise.
33565 * math/w_fmod.c: Likewise.
33566 * math/w_fmodf.c: Likewise.
33567 * math/w_fmodl.c: Likewise.
33568 * math/w_remainder.c: Likewise.
33569 * math/w_remainderf.c: Likewise.
33570 * math/w_remainderl.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33572 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33575 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33576 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33577 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33578 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33580 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33582 * stdio-common/printf_fphex.c: Likewise.
33583 * stdio-common/printf_size.c: Likewise.
33585 * math/e_exp10.c: Include math_private.h using <...> not "...".
33586 * math/e_exp10f.c: Likewise.
33587 * math/e_exp10l.c: Likewise.
33588 * math/e_exp2l.c: Likewise.
33589 * math/e_j0l.c: Likewise.
33590 * math/e_j1l.c: Likewise.
33591 * math/e_jnl.c: Likewise.
33592 * math/e_lgammal_r.c: Likewise.
33593 * math/e_rem_pio2l.c: Likewise.
33594 * math/e_scalb.c: Likewise.
33595 * math/e_scalbf.c: Likewise.
33596 * math/e_scalbl.c: Likewise.
33597 * math/k_cosl.c: Likewise.
33598 * math/k_sinl.c: Likewise.
33599 * math/k_tanl.c: Likewise.
33600 * math/s_cacoshf.c: Likewise.
33601 * math/s_catan.c: Likewise.
33602 * math/s_catanf.c: Likewise.
33603 * math/s_catanh.c: Likewise.
33604 * math/s_catanhf.c: Likewise.
33605 * math/s_catanhl.c: Likewise.
33606 * math/s_catanl.c: Likewise.
33607 * math/s_ccosh.c: Likewise.
33608 * math/s_ccoshf.c: Likewise.
33609 * math/s_ccoshl.c: Likewise.
33610 * math/s_cexp.c: Likewise.
33611 * math/s_cexpf.c: Likewise.
33612 * math/s_cexpl.c: Likewise.
33613 * math/s_clog.c: Likewise.
33614 * math/s_clog10.c: Likewise.
33615 * math/s_clog10f.c: Likewise.
33616 * math/s_clog10l.c: Likewise.
33617 * math/s_clogf.c: Likewise.
33618 * math/s_clogl.c: Likewise.
33619 * math/s_csin.c: Likewise.
33620 * math/s_csinf.c: Likewise.
33621 * math/s_csinh.c: Likewise.
33622 * math/s_csinhf.c: Likewise.
33623 * math/s_csinhl.c: Likewise.
33624 * math/s_csinl.c: Likewise.
33625 * math/s_csqrt.c: Likewise.
33626 * math/s_csqrtf.c: Likewise.
33627 * math/s_csqrtl.c: Likewise.
33628 * math/s_ctan.c: Likewise.
33629 * math/s_ctanf.c: Likewise.
33630 * math/s_ctanh.c: Likewise.
33631 * math/s_ctanhf.c: Likewise.
33632 * math/s_ctanhl.c: Likewise.
33633 * math/s_ctanl.c: Likewise.
33634 * math/s_ldexp.c: Likewise.
33635 * math/s_ldexpf.c: Likewise.
33636 * math/s_ldexpl.c: Likewise.
33637 * math/s_significand.c: Likewise.
33638 * math/s_significandf.c: Likewise.
33639 * math/s_significandl.c: Likewise.
33640 * math/w_acos.c: Likewise.
33641 * math/w_acosf.c: Likewise.
33642 * math/w_acosh.c: Likewise.
33643 * math/w_acoshf.c: Likewise.
33644 * math/w_acoshl.c: Likewise.
33645 * math/w_acosl.c: Likewise.
33646 * math/w_asin.c: Likewise.
33647 * math/w_asinf.c: Likewise.
33648 * math/w_asinl.c: Likewise.
33649 * math/w_atan2.c: Likewise.
33650 * math/w_atan2f.c: Likewise.
33651 * math/w_atan2l.c: Likewise.
33652 * math/w_atanh.c: Likewise.
33653 * math/w_atanhf.c: Likewise.
33654 * math/w_atanhl.c: Likewise.
33655 * math/w_cosh.c: Likewise.
33656 * math/w_coshf.c: Likewise.
33657 * math/w_coshl.c: Likewise.
33658 * math/w_dremf.c: Likewise.
33659 * math/w_exp10.c: Likewise.
33660 * math/w_exp10f.c: Likewise.
33661 * math/w_exp10l.c: Likewise.
33662 * math/w_exp2.c: Likewise.
33663 * math/w_exp2f.c: Likewise.
33664 * math/w_fmod.c: Likewise.
33665 * math/w_fmodf.c: Likewise.
33666 * math/w_fmodl.c: Likewise.
33667 * math/w_hypot.c: Likewise.
33668 * math/w_hypotf.c: Likewise.
33669 * math/w_hypotl.c: Likewise.
33670 * math/w_j0.c: Likewise.
33671 * math/w_j0f.c: Likewise.
33672 * math/w_j0l.c: Likewise.
33673 * math/w_j1.c: Likewise.
33674 * math/w_j1f.c: Likewise.
33675 * math/w_j1l.c: Likewise.
33676 * math/w_jn.c: Likewise.
33677 * math/w_jnf.c: Likewise.
33678 * math/w_jnl.c: Likewise.
33679 * math/w_lgamma.c: Likewise.
33680 * math/w_lgamma_r.c: Likewise.
33681 * math/w_lgammaf.c: Likewise.
33682 * math/w_lgammaf_r.c: Likewise.
33683 * math/w_lgammal.c: Likewise.
33684 * math/w_lgammal_r.c: Likewise.
33685 * math/w_log.c: Likewise.
33686 * math/w_log10.c: Likewise.
33687 * math/w_log10f.c: Likewise.
33688 * math/w_log10l.c: Likewise.
33689 * math/w_log2.c: Likewise.
33690 * math/w_log2f.c: Likewise.
33691 * math/w_log2l.c: Likewise.
33692 * math/w_logf.c: Likewise.
33693 * math/w_logl.c: Likewise.
33694 * math/w_pow.c: Likewise.
33695 * math/w_powf.c: Likewise.
33696 * math/w_powl.c: Likewise.
33697 * math/w_remainder.c: Likewise.
33698 * math/w_remainderf.c: Likewise.
33699 * math/w_remainderl.c: Likewise.
33700 * math/w_scalb.c: Likewise.
33701 * math/w_scalbf.c: Likewise.
33702 * math/w_scalbl.c: Likewise.
33703 * math/w_sinh.c: Likewise.
33704 * math/w_sinhf.c: Likewise.
33705 * math/w_sinhl.c: Likewise.
33706 * math/w_sqrt.c: Likewise.
33707 * math/w_sqrtf.c: Likewise.
33708 * math/w_sqrtl.c: Likewise.
33709 * math/w_tgamma.c: Likewise.
33710 * math/w_tgammaf.c: Likewise.
33711 * math/w_tgammal.c: Likewise.
33713 * po/ja.po: Update from translation team.
33715 2011-09-29 Andreas Jaeger <aj@suse.de>
33718 * sunrpc/netname.c (netname2host): Fix logic.
33722 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33724 * math/w_remainder.c (__remainder): Likewise.
33725 * math/w_remainderf.c (__remainderf): Likewise.
33726 * math/libm-test.inc (remainder_test): Add test cases.
33728 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33730 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33733 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33735 * string/test-memcmp.c: Avoid unncessary #defines.
33736 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33738 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33740 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33741 Use new sse2 version for core i3 - i7 as it's faster
33742 than sse42 version.
33743 (bit_Prefer_PMINUB_for_stringop): New.
33744 * sysdeps/x86_64/rawmemchr.S: Update.
33745 Replace with faster SSE2 version.
33746 * sysdeps/x86_64/memrchr.S: New file.
33747 * sysdeps/x86_64/memchr.S: Update.
33748 Replace with faster SSE2 version.
33750 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33752 * elf/dl-load.c (lose): Add cast to avoid warning.
33754 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33756 * po/ca.po: Update from translation team.
33758 * inet/getnetgrent_r.c: Hook up nscd.
33759 * nscd/Makefile (routines): Add nscd_netgroup.
33760 (nscd-modules): Add netgroupcache.
33761 (CFLAGS-netgroupcache.c): Define.
33762 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33763 (cache_search): Add const to second parameter.
33764 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33766 (dbs): Add netgrdb entry.
33767 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33768 (verify_persistent_db): Handle netgrdb.
33769 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33770 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33772 (netgroup_response_header): Define.
33773 (innetgroup_response_header): Define.
33774 (datahead): Add netgroup_response_header and innetgroup_response_header
33776 * nscd/nscd.conf: Add entries for netgroup cache.
33777 * nscd/nscd.h (dbtype): Add netgrdb.
33778 (_PATH_NSCD_NETGROUP_DB): Define.
33779 (netgroup_iov_disabled): Declare.
33780 (xmalloc, xcalloc, xrealloc): Move declarations here.
33781 (cache_search): Adjust prototype.
33782 Add netgroup-related prototypes.
33783 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33784 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33785 (__nscd_innetgr): Declare.
33786 * nscd/selinux.c (perms): Use access_vector_t as element type and
33787 add netgroup-related initializers.
33788 * nscd/netgroupcache.c: New file.
33789 * nscd/nscd_netgroup.c: New file.
33790 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33791 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33792 For four parameters use innetgr.
33793 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33794 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33795 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33796 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33798 * nscd/connections.c (register_traced_file): Don't register file
33799 for disabled databases.
33801 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33803 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33805 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33806 from tree and freeing node.
33808 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33810 * nss/nsswitch.c (__nss_database_lookup): Handle
33811 nss_parse_service_list out of memory case.
33813 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33815 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33816 out of memory case.
33818 2011-10-04 Andreas Schwab <schwab@redhat.com>
33820 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33821 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33823 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33824 elf_machine_rela, elf_machine_lazy_rel.
33825 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33826 (ELF_DYNAMIC_DO_REL): Likewise.
33827 (ELF_DYNAMIC_DO_RELA): Likewise.
33828 (ELF_DYNAMIC_RELOCATE): Likewise.
33829 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33830 to ELF_DYNAMIC_DO_REL.
33831 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33832 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33833 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33836 skip_ifunc, don't call ifunc function if non-zero.
33837 (elf_machine_rela): Likewise.
33838 (elf_machine_lazy_rel): Likewise.
33839 (elf_machine_lazy_rela): Likewise.
33840 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33841 (elf_machine_lazy_rel): Likewise.
33842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33844 (elf_machine_lazy_rel): Likewise.
33845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33847 (elf_machine_lazy_rel): Likewise.
33848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33849 (elf_machine_lazy_rel): Likewise.
33850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33851 (elf_machine_lazy_rel): Likewise.
33852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33853 (elf_machine_lazy_rel): Likewise.
33854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33855 (elf_machine_lazy_rel): Likewise.
33856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33857 (elf_machine_lazy_rel): Likewise.
33858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33859 (elf_machine_lazy_rel): Likewise.
33861 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33863 * nss/nss_files/files-init.c (_nss_files_init): Use static
33864 initialization for all the *_traced_file variables.
33866 2011-09-28 Andreas Schwab <schwab@redhat.com>
33868 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33870 2011-09-27 Roland McGrath <roland@hack.frob.com>
33873 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33875 2011-09-27 Andreas Schwab <schwab@redhat.com>
33877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33878 Reread the line before reparsing it.
33880 2011-09-26 Andreas Schwab <schwab@redhat.com>
33882 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33884 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33885 Maxim Kuvyrkov <maxim@codesourcery.com>
33886 Joseph Myers <joseph@codesourcery.com>
33888 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33889 if needed for __stack_chk_guard.
33891 2011-09-19 Roland McGrath <roland@hack.frob.com>
33893 * sysdeps/posix/spawni.c (script_execute): Always define it.
33894 It will be optimized away if unused.
33895 (maybe_script_execute): New function.
33896 (__spawni): Call it.
33898 * Makerules: Don't include tls.make.
33899 (config-tls): Always set to thread.
33900 * tls.make.c: File removed.
33902 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33904 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33905 * config.make.in (CPPFLAGS-config): New substituted variable.
33907 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33912 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33913 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33915 2011-09-15 Roland McGrath <roland@hack.frob.com>
33917 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33918 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33920 (CALL_FAIL): Likewise.
33921 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33922 (CALL_FAIL): Macro removed.
33923 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33925 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33927 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33928 for __FINITE_MATH_ONLY__ == 1.
33930 2011-09-15 Andreas Schwab <schwab@redhat.com>
33932 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33933 __ieee754_sqrt instead of sqrt.
33934 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33935 __ieee754_sqrtf instead of sqrtf.
33936 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33937 __floorf instead of floorf.
33938 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33939 __floorf, __truncf instead of floorf, truncf.
33941 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33943 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33945 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33946 __extern_always_inline.
33947 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33950 2011-09-14 Andreas Schwab <schwab@redhat.com>
33952 * elf/rtld.c (dl_main): Also relocate in dependency order when
33953 doing symbol dependency testing.
33955 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33958 Always define `refsym'.
33960 2011-09-13 Andreas Schwab <schwab@redhat.com>
33962 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33963 (__FD_ELT): Renamed from __FDELT.
33964 * misc/bits/select2.h (__FD_ELT): Likewise.
33965 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33966 __FD_MASK instead of __FDELT, __FDMASK.
33967 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33969 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33972 * elf/Makefile (gen-ldd): Fix pattern.
33974 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33975 (init_tls): Likewise.
33977 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33981 2011-09-12 Andreas Schwab <schwab@redhat.com>
33983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33984 `struct cmsghdr *' instead of `void *'.
33985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33988 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33990 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33992 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33993 ldd_rewrite_script.
33995 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33997 * configure.in: Remove --with-tls option.
33998 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33999 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34000 out in case it is missing.
34001 * sysdeps/ia64/elf/configure.in: Likewise.
34002 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34003 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34004 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34005 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34006 * sysdeps/sh/elf/configure.in: Likewise.
34007 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34008 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34009 * sysdeps/x86_64/elf/configure.in: Likewise.
34010 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34011 * sysdeps/mach/hurd/tls.h: Likewise.
34014 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34017 * configure.in: Fix use of AC_INIT.
34019 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34021 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34023 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34025 * malloc/hooks.c: Likewise.
34028 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34029 variables statically.
34030 (narenas): Initialize.
34031 (list_lock): Initialize.
34032 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34033 initializtion of main_arena and list_lock. Small cleanups.
34034 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34035 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34036 Add initializers to main_arena and mp_.
34037 (malloc_state): Remove pagesize member. Change all users to use
34040 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34041 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34042 is always initialized.
34044 * malloc/malloc.c: Removed unused configurations and dead code.
34045 * malloc/arena.c: Likewise.
34046 * malloc/hooks.c: Likewise.
34047 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34049 * include/tls.h: Removed. USE___THREAD must always be defined.
34050 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34051 * elf/dl-libc.c: Likewise.
34052 * elf/dl-tsd.c: Likewise.
34053 * include/errno.h: Likewise.
34054 * include/netdb.h: Likewise.
34055 * include/resolv.h: Likewise.
34056 * inet/herrno-loc.c: Likewise.
34057 * inet/herrno.c: Likewise.
34058 * malloc/arena.c: Likewise.
34059 * malloc/hooks.c: Likewise.
34060 * malloc/malloc.c: Likewise.
34061 * resolv/res-state.c: Likewise.
34062 * resolv/res_libc.c: Likewise.
34063 * sysdeps/i386/dl-machine.h: Likewise.
34064 * sysdeps/ia64/dl-machine.h: Likewise.
34065 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34066 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34067 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34068 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34069 * sysdeps/sh/dl-machine.h: Likewise.
34070 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34072 * sysdeps/unix/i386/sysdep.S: Likewise.
34073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34074 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34083 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34084 * sysdeps/x86_64/dl-machine.h: Likewise.
34085 * tls.make.c: Likewise.
34087 * configure.in: Remove --with-__thread option. Make tests for
34088 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34089 tls_model attribute fail if no support is available. Remove
34091 * Makeconfig: Adjust for dropped configure option. All features are
34093 * Makerules: Likewise.
34094 * Versions.def: Likewise.
34095 * argp/argp-fmtstream.c: Likewise.
34096 * argp/argp-fmtstream.h: Likewise.
34097 * argp/argp-help.c: Likewise.
34098 * assert/assert.c: Likewise.
34099 * config.h.in: Likewise.
34100 * config.make.in: Likewise.
34101 * configure: Likewise.
34102 * configure.in: Likewise.
34103 * csu/Versions: Likewise.
34104 * csu/init.c: Likewise.
34105 * elf/tst-audit2.c: Likewise.
34106 * elf/tst-tls10.c: Likewise.
34107 * elf/tst-tls10.h: Likewise.
34108 * elf/tst-tls11.c: Likewise.
34109 * elf/tst-tls12.c: Likewise.
34110 * elf/tst-tls14.c: Likewise.
34111 * elf/tst-tlsmod11.c: Likewise.
34112 * elf/tst-tlsmod12.c: Likewise.
34113 * elf/tst-tlsmod13.c: Likewise.
34114 * elf/tst-tlsmod13a.c: Likewise.
34115 * elf/tst-tlsmod14a.c: Likewise.
34116 * elf/tst-tlsmod15b.c: Likewise.
34117 * elf/tst-tlsmod16a.c: Likewise.
34118 * elf/tst-tlsmod16b.c: Likewise.
34119 * elf/tst-tlsmod7.c: Likewise.
34120 * elf/tst-tlsmod8.c: Likewise.
34121 * elf/tst-tlsmod9.c: Likewise.
34122 * gmon/gmon.c: Likewise.
34123 * grp/fgetgrent_r.c: Likewise.
34124 * grp/putgrent.c: Likewise.
34125 * hurd/fopenport.c: Likewise.
34126 * include/libc-symbols.h: Likewise.
34127 * include/tls.h: Likewise.
34128 * intl/gettextP.h: Likewise.
34129 * intl/loadinfo.h: Likewise.
34130 * locale/global-locale.c: Likewise.
34131 * locale/localeinfo.h: Likewise.
34132 * mach/devstream.c: Likewise.
34133 * malloc/arena.c: Likewise.
34134 * malloc/set-freeres.c: Likewise.
34135 * misc/err.c: Likewise.
34136 * misc/getttyent.c: Likewise.
34137 * misc/mntent_r.c: Likewise.
34138 * posix/getopt.c: Likewise.
34139 * posix/wordexp.c: Likewise.
34140 * pwd/fgetpwent_r.c: Likewise.
34141 * resolv/Versions: Likewise.
34142 * resolv/res_hconf.c: Likewise.
34143 * shadow/fgetspent_r.c: Likewise.
34144 * shadow/putspent.c: Likewise.
34145 * stdio-common/printf_fphex.c: Likewise.
34146 * stdio-common/tmpfile.c: Likewise.
34147 * stdlib/abort.c: Likewise.
34148 * stdlib/fmtmsg.c: Likewise.
34149 * sunrpc/auth_unix.c: Likewise.
34150 * sunrpc/clnt_perr.c: Likewise.
34151 * sunrpc/clnt_tcp.c: Likewise.
34152 * sunrpc/clnt_udp.c: Likewise.
34153 * sunrpc/clnt_unix.c: Likewise.
34154 * sunrpc/openchild.c: Likewise.
34155 * sunrpc/svc_simple.c: Likewise.
34156 * sunrpc/svc_tcp.c: Likewise.
34157 * sunrpc/svc_udp.c: Likewise.
34158 * sunrpc/svc_unix.c: Likewise.
34159 * sunrpc/xdr.c: Likewise.
34160 * sunrpc/xdr_array.c: Likewise.
34161 * sunrpc/xdr_rec.c: Likewise.
34162 * sunrpc/xdr_ref.c: Likewise.
34163 * sunrpc/xdr_stdio.c: Likewise.
34165 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34167 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34169 2011-07-03 Andreas Jaeger <aj@suse.de>
34171 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34172 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34173 regenerate with gen-libm-tests.pl.
34175 2010-05-12 Petr Baudis <pasky@suse.cz>
34178 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34179 around j0() zero points by switching to j1().
34180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34185 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34187 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34192 Patch in part by Pavel Roskin <proski@gnu.org>.
34195 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34197 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34198 Free memory block if necessary.
34201 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34202 be NULL. Don't lock in this case.
34204 2011-09-09 Roland McGrath <roland@hack.frob.com>
34206 * elf/elf.h (ELFOSABI_GNU): New macro.
34207 (ELFOSABI_LINUX): Define to that.
34209 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34211 * string/strncat.c (strncat): Undef the symbol in case it has been
34212 defined in bits/string.h.
34214 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34216 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34218 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34221 2011-08-17 Andreas Jaeger <aj@suse.de>
34223 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34225 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34226 Ian Lance Taylor <iant@google.com>
34228 * math/libm-test.inc (lround_test): New testcase.
34229 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34231 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34233 * Makefile: Remove support for automatic cvs check-ins.
34234 * Makerules: Likewise.
34235 * config.make.in: Likewise.
34236 * configure.in: Likewise.
34237 * intl/Makefile: Likewise.
34238 * locale/Makefile: Likewise.
34239 * po/Makefile: Likewise.
34240 * posix/Makefile: Likewise.
34241 * sysdeps/gnu/Makefile: Likewise.
34242 * sysdeps/mach/hurd/Makefile: Likewise.
34243 * sysdeps/sparc/sparc32/Makefile: Likewise.
34246 * posix/Makefile (bug-regex32-ENV): Define.
34247 Patch by John Stanley <jpsinthemix@verizon.net>.
34249 * misc/Makefile (headers): Add bits/select2.h.
34250 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34251 * misc/bits/select2.h: New file.
34252 * include/bits/select2.h: New file.
34253 * debug/Makefile (routines): Add fdelt_chk.
34254 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34255 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34257 * debug/fdelt_chk.c: New file.
34259 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34260 * wcsmbs/test-wmemcmp.c: Likewise.
34261 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34262 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34264 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34266 * string/Makefile (strop-tests): Add memcmp.
34267 * string/test-wmemcmp.c: New file.
34268 * string/test-memcmp.c: Add wmemcmp support.
34270 2011-09-08 Roland McGrath <roland@hack.frob.com>
34273 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34276 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34277 garbage value in a __mach_port_mod_refs call in the cases of the
34278 task-self and thread-self ports.
34280 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34282 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34284 2011-09-08 Andreas Schwab <schwab@redhat.com>
34286 * elf/dl-load.c (lose): Check for non-null L.
34288 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34290 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34292 * elf/dl-libc.c (dlerror_run): Pass back error code from
34296 * elf/dl-load.c (lose): Free l_origin if it is valid.
34298 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34301 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34304 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34305 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34307 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34309 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34310 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34311 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34312 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34313 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34314 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34315 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34316 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34317 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34318 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34320 2011-08-15 Alan Modra <amodra@gmail.com>
34323 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34324 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34325 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34326 ppc_mcount to static-only-routines.
34327 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34329 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34330 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34332 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34335 for finite and infinity parameters.
34337 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34340 and add nop instructions for throughput optimization.
34341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34343 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34346 aligned copy for power7 with vector-scalar instructions.
34347 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34349 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34354 2011-09-07 Andreas Schwab <schwab@redhat.com>
34357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34360 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34362 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34363 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34364 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34365 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34368 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34370 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34371 Forgot to demangle the pointer.
34373 * sysdeps/i386/sysdep.h: Define atom_text_section.
34374 * sysdeps/x86_64/sysdep.h: Likewise.
34375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34376 section with atom_text_section.
34377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34379 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34381 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34384 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34385 already be defined. Change to take two parameters and don't assign
34386 result to variable. Adjust all users.
34387 Define INTERNAL_GETTIME if not already defined.
34388 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34391 HAVE_CLOCK_GETTIME_VSYSCALL.
34392 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34395 gettimeofday vsyscall, just use time.
34397 2011-09-06 Andreas Schwab <schwab@redhat.com>
34399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34402 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34404 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34408 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34409 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34410 syscall if possible.
34412 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34414 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34415 e_ident. Don't pass to find_mapsXX.
34416 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34418 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34421 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34422 * sysdeps/x86_64/multiarch/strchr.S: Update.
34423 Check bit_slow_BSF bit.
34424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34425 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34428 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34431 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34433 (tryshell): Define.
34434 (__spawni): Change last parameter to be flag. Test
34435 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34436 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34437 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34438 * posix/spawni.c: Likewise.
34439 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34440 * posix/spawnp.c: Likewise. Change normal version to use
34441 SPAWN_XFLAGS_USE_PATH.
34442 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34443 SPAWN_XFLAGS_TRY_SHELL.
34446 * posix/glob.h: Remove gcc 1.x support.
34449 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34451 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34454 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34456 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34457 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34460 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34463 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34465 * sysdeps/x86_64/wcscmp.S: New file.
34467 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34468 wcscmp-c wcscmp-sse2
34469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34470 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34471 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34472 * wcsmbs/wcscmp.c: Allow renaming.
34474 2011-09-05 David S. Miller <davem@davemloft.net>
34476 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34477 stack slot, rather than the struct return pointer slot.
34478 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34479 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34481 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34483 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34485 * po/ja.po: Update from translation team.
34488 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34489 kernel in 64-bit binaries.
34491 2011-09-01 David S. Miller <davem@davemloft.net>
34493 * elf/elf.h (HWCAP_SPARC_*): Move to..
34494 * sysdeps/sparc/sysdep.h: this new file and add new values.
34495 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34496 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34497 _DL_HWCAP_COUNT to 24.
34498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34500 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34501 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34502 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34504 instead of magic constants.
34505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34507 2011-08-31 David S. Miller <davem@davemloft.net>
34509 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34511 Reimplement to do errno handling inline.
34512 (SYSCALL_ERROR_HANDLER): New macro.
34513 (__SYSCALL_STRING): Do not do errno handling in asm.
34514 (__CLONE_SYSCALL_STRING): Delete.
34515 (__INTERNAL_SYSCALL_STRING): Delete.
34516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34517 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34518 (PSEUDO): Reimplement to do errno handling inline.
34519 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34520 (SYSCALL_ERROR_HANDLER): New macro.
34521 (__SYSCALL_STRING): Do not do errno handling in asm.
34522 (__CLONE_SYSCALL_STRING): Delete.
34523 (__INTERNAL_SYSCALL_STRING): Delete.
34524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34525 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34527 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34528 (inline_syscall*): Add 'err' argument.
34529 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34530 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34531 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34532 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34534 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34535 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34537 2011-08-30 Andreas Schwab <schwab@redhat.com>
34539 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34541 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34543 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34546 2011-08-24 David S. Miller <davem@davemloft.net>
34548 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34550 2011-08-24 Andreas Schwab <schwab@redhat.com>
34552 * elf/Makefile: Add rules to build and run unload8 test.
34553 * elf/unload8.c: New file.
34554 * elf/unload8mod1.c: New file.
34555 * elf/unload8mod1x.c: New file.
34556 * elf/unload8mod2.c: New file.
34557 * elf/unload8mod3.c: New file.
34559 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34562 2011-08-23 David S. Miller <davem@davemloft.net>
34564 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34565 subtract stack bias.
34566 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34567 %sp not %fp in calculations.
34568 (_JMPBUF_UNWINDS_ADJ): Likewise.
34570 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34571 (aio_suspend): Call it to force an exception region around the
34572 AIO_MISC_WAIT() invocation.
34574 2011-08-23 Andreas Schwab <schwab@redhat.com>
34576 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34579 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34581 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34583 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34584 and <dl-machine.h>.
34585 (Elf64_FuncDesc): Remove.
34587 2011-08-22 David S. Miller <davem@davemloft.net>
34589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34590 sigaltstack check, add missing cfi directives.
34591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34592 missing cfi directives, and sigaltstack handling.
34594 2011-08-16 Andreas Schwab <schwab@redhat.com>
34597 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34598 object is seen twice.
34599 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34601 * elf/Makefile (distribute): Add tst-initorder2.c.
34602 (tests): Add tst-initorder2.
34603 (modules-names): Add tst-initorder2a tst-initorder2b
34604 tst-initorder2c tst-initorder2d. Add rules to build them.
34605 ($(objpfx)tst-initorder2.out): New rule.
34606 * elf/tst-initorder2.c: New file.
34607 * elf/tst-initorder2.exp: New file.
34609 2011-08-22 Andreas Schwab <schwab@redhat.com>
34611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34613 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34614 dependencies back to end of function.
34616 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34617 $(elfobjdir)/ld.so.
34619 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34622 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34624 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34625 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34626 of __vdso_gettimeofday.
34627 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34628 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34630 (_libc_vdso_platform_setup): Remove initialization of
34631 __vdso_gettimeofday and __vdso_time.
34633 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34635 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34636 and fgetc_unlocked.
34637 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34640 * elf/dl-open.c (add_to_global): Report additions to the global scope
34641 for LD_DEBUG=scopes.
34642 (dl_open_worker): Also print scope of newly loaded dependencies.
34643 (_dl_show_scope): Indicate if there is no scope.
34646 * stdio-common/Makefile (tests): Add bug24.
34647 * stdio-common/bug24.c: New file.
34649 2011-08-19 Andreas Jaeger <aj@suse.de>
34652 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34653 non-existant file when using close-on-exec mode.
34655 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34658 the very first instruction.
34660 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34661 the CFI state in the end.
34662 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34663 inclusion of dl-trampoline.h.
34664 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34666 2011-08-19 Andreas Schwab <schwab@redhat.com>
34668 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34669 expectations for long double.
34671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34672 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34674 2011-08-14 David S. Miller <davem@davemloft.net>
34676 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34677 artificual limit depends upon the system page size.
34679 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34681 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34682 * resolv/Makefile: Define CFLAGS-libresolv.
34684 2011-08-17 Andreas Schwab <schwab@redhat.com>
34686 * nss/makedb.c (compute_tables): Make variables used in nested
34689 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34691 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34692 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34693 if buffer was too small.
34695 * elf/pldd.c (main): Attach to all threads in the process.
34696 Rewrite /proc handling to use *at functions.
34698 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34700 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34701 specifies first scope to show.
34702 (dl_open_worker): Update callers. Move printing scope of new
34703 object to before the relocation.
34704 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34705 * sysdeps/generic/ldsodefs.h: Update declaration.
34707 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34708 string for the scope number.
34710 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34712 * nscd/servicescache.c (cache_addserv): Make sure written is always
34715 2011-08-14 Roland McGrath <roland@hack.frob.com>
34717 * sysdeps/i386/i486/bits/atomic.h
34718 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34719 statement expression, so as to suppress "set but not used" warning.
34720 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34722 * string/strncat.c (STRNCAT): Use prototype definition.
34724 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34725 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34727 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34728 (localedef-modules): Add localedef.
34729 (locale-modules): Add locale.
34731 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34732 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34733 to avoid a warning.
34735 2011-08-14 David S. Miller <davem@davemloft.net>
34737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34738 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34740 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34742 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34743 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34744 * elf/rtld.c (dl_main): Set l_name of vDSO.
34745 Call _dl_show_scope when DL_DEBUG_SCOPES.
34746 (process_dl_debug): Recognize scopes flag and also set it for all.
34747 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34748 Declare _dl_show_scope.
34750 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34751 (do_dlopen): Pass caller_dlopen to dl_open.
34752 (__libc_dlopen_mode): Initialize caller_dlopen.
34754 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34755 of libc. Make tolower call locale-independent. Optimize a bit by
34756 using isdigit instead of isalnum.
34757 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34759 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34761 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34762 was a dependency or dynamically loaded.
34764 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34766 * intl/l10nflist.c: Allow architecture-specific pop function.
34767 * sysdeps/x86_64/l10nflist.c: New file.
34769 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34772 2011-08-10 Andreas Schwab <schwab@redhat.com>
34774 * include/dirent.h: Add libc_hidden_proto for scandirat and
34775 scandirat64. Don't declare __scandirat64.
34776 * dirent/scandirat.c: Add libc_hidden_def.
34777 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34778 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34780 2011-08-10 David S. Miller <davem@davemloft.net>
34782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34788 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34790 * Versions.def [libc]: Add GLIBC_2.15.
34791 * dirent/Makefile (routines): Add scandirat and scandirat64.
34792 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34794 * dirent/dirent.h: Declare scandirat and scandirat64.
34795 * dirent/scandirat.c: New file.
34796 * dirent/scandirat64.c: New file.
34797 * sysdeps/wordsize-64/scandirat.c: New file.
34798 * sysdeps/wordsize-64/scandirat64.c: New file.
34799 * dirent/opendir.c: Define opendirat.
34800 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34802 * dirent/scandir64.c: Adjust for scandir.c change.
34803 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34804 __scandirat64, and __scandir_cancel_handler.
34805 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34806 additional parameter and use openat instead of open (outside of ld.so).
34807 Add new __opendir as wrapper around __opendirat.
34808 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34809 here without requiring old scandirat implementation.
34811 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34813 * dirent/scandir.c (cancel_handler): Renamed to
34814 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34815 defined. Adjust users.
34816 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34819 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34821 * string/test-string.h (IMPL): Use __STRING to expand name and then
34824 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34827 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34829 * string/Makefile: Update.
34830 (strop-tests): Append strncat.
34831 * string/test-wcscmp.c: New file.
34832 New comprehensive test for wcscmp.
34833 * string/test-strcmp.c: Update.
34834 (WIDE): New define.
34836 2011-07-22 Andreas Schwab <schwab@redhat.com>
34838 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34841 2011-07-26 Andreas Schwab <schwab@redhat.com>
34843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34844 encoding to ACE if AI_IDN.
34846 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34849 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34851 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34853 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34854 Fix overflow bug in strncat.
34855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34857 * string/test-strncat.c: Update.
34858 Add new tests for checking overflow bugs.
34860 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34863 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34864 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34865 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34867 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34868 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34869 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34870 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34873 (USE_AS_STRCAT): Define.
34874 Add strcat and strncat support.
34875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34877 2011-07-25 Andreas Schwab <schwab@redhat.com>
34879 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34880 __n bigger than INT_MAX+1.
34881 (__strncmp_g): Likewise.
34883 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34885 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34886 * libio/stido.h: Likewise.
34888 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34893 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34894 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34896 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34900 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34905 (_dl_x86_64_save_sse): Likewise.
34907 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34911 (_dl_x86_64_save_sse): Likewise.
34913 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34915 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34917 2011-07-21 Andreas Schwab <schwab@redhat.com>
34919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34921 (_dl_x86_64_save_sse): Use correct AVX check.
34923 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34926 bug in strncpy/strncat.
34927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34929 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34931 * string/tester.c (test_strcat): Add tests for different alignments
34932 of source and destination.
34933 (test_strncat): Likewise.
34935 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34938 * posix/glob.c (glob): Check passed in values before using them in
34939 expressions to avoid some overflows.
34940 (glob_in_dir): Likewise.
34943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34944 check for AVX enablement so that we don't crash with old kernels and
34946 * elf/tst-audit4.c: Add same checks here.
34947 * elf/tst-audit6.c: Likewise.
34949 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34951 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34953 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34955 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34957 * po/cs.po: Update from translation team.
34958 * po/bg.po: Likewise.
34960 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34962 * misc/sys/cdefs.h: Add support for const attribute.
34963 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34964 to gnu_dev_{major,minor,makedev} functions.
34966 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34968 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34970 2011-07-20 Andreas Schwab <schwab@redhat.com>
34972 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34975 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34978 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34979 register in order to avoid conflicts with the soft frame pointer
34980 being held in r11 when necessary.
34981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34982 (INTERNAL_VSYSCALL_NCS): Likewise.
34984 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34986 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34987 * elf/dl-fini.c (_dl_fini): Adjust caller.
34988 * elf/dl-close.c (_dl_close_worker): Likewise.
34989 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34991 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34993 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34994 "aux_cache->nlibs < 0".
34996 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34997 in the reload-count case.
34999 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35002 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35003 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35004 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35005 * sysdeps/x86_64/multiarch/strcat.S: New file.
35006 * sysdeps/x86_64/multiarch/strncat.S: New file.
35007 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35008 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35009 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35010 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35012 (USE_AS_STRCAT): Define.
35013 Add strcat and strncat support.
35014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35015 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35016 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35017 * string/strncat.c: Update.
35018 (USE_AS_STRNCAT): Define.
35019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35020 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35022 * sysdeps/x86_64/multiarch/init-arch.h
35023 (bit_Prefer_PMINUB_for_stringop): New.
35024 (index_Prefer_PMINUB_for_stringop): Likewise.
35025 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35026 bit_Prefer_PMINUB_for_stringop.
35028 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35030 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35032 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35033 of casting of buffer.
35034 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35035 buffer32 and buffer64.
35036 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35037 writes instead of casting of buffer.
35038 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35040 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35043 2011-07-19 Andreas Schwab <schwab@redhat.com>
35045 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35047 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35049 * nscd/nscd.c (termination_handler): Don't do anything for a database
35050 if it has not yet been initialized.
35052 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35054 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35056 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35058 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35060 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35062 * po/nl.po: Update from translation team.
35063 * po/sv.po: Likewise.
35065 2011-07-16 Roland McGrath <roland@hack.frob.com>
35067 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35068 now disallowed by GCC.
35070 * configure.in (use-default-link): Default to yes if a test -shared
35071 link meets our qualifications.
35072 * configure: Regenerated.
35074 * config.make.in (output-format): New variable.
35075 * configure.in: Check for ld --print-output-format support.
35076 * configure: Regenerated.
35077 * Makerules ($(common-objpfx)format.lds)
35078 [$(output-format) != unknown]: Just use $(output-format),
35079 instead of the linker-script munging.
35081 2011-07-14 Roland McGrath <roland@hack.frob.com>
35083 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35084 of $(common-objpfx)shlib.lds.
35085 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35087 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35088 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35090 * configure.in (-z relro check): Adjust test code to add a large
35091 writable data section after it.
35092 * configure: Regenerated.
35094 2011-07-11 Roland McGrath <roland@hack.frob.com>
35096 * configure.in (-z relro check): Fix test code to make the variable
35098 * configure: Regenerated.
35100 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35102 * nscd/nscd.h (struct traced_file): Define.
35103 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35104 elements. Add traced_files.
35105 (inotify_fd): Declare.
35106 (register_traced_file): Declare.
35107 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35108 (inotify_fd): Export.
35109 (resolv_conf_descr): Remove.
35110 (nscd_init): Move inotify descriptor creation to main.
35111 Don't register files for notification here.
35112 (register_traced_file): New function.
35113 (invalidate_cache): Don't use reset_res to determine whether to call
35114 res_init, go through the list of registered files.
35115 (main_loop_poll): The inotify descriptors are now stored in the
35116 structures for the traced files.
35117 (main_loop_epoll): Likewise
35118 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35119 to __nss_disable_nscd.
35120 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35121 for a database anymore. Check the records for all the registered
35123 * nss/Makefile (libnss_files-routines): Add files-init.
35124 (libnss_db-routines): Add db-init.
35125 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35126 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35127 * nss/nss_db/db-init.c: New file.
35128 * nss/nss_files/files-init.c: New file.
35129 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35130 __nss_lookup_function.
35131 (__nss_lookup_function): Call nss_load_library.
35132 (nss_load_all_libraries): New function.
35133 (__nss_disable_nscd): Take parameter with callback function for files
35134 to register. Set is_nscd. Load all the DSOs for the NSS modules
35135 used for the cached services.
35136 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35137 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35138 options for features to all the files in nscd.
35140 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35142 2011-07-10 Roland McGrath <roland@hack.frob.com>
35144 * csu/elf-init.c (__libc_csu_init): Comment typo.
35146 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35148 * po/pl.po: Update from translation team.
35149 * po/ja.po: Likewise.
35150 * po/ru.po: Likewise.
35151 * po/ko.po: Likewise.
35152 * po/fr.po: Likewise.
35154 2011-07-09 Roland McGrath <roland@hack.frob.com>
35156 * configure.in (.ctors/.dtors header and trailer check):
35157 Use an empirical test on a built program.
35158 * configure: Regenerated.
35160 * configure.in (-z relro check): Use an empirical test on a built DSO.
35161 Detect, but do not require, on ia64.
35162 * configure: Regenerated.
35164 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35165 Update tests that use readelf to use $READELF instead.
35166 * configure: Regenerated.
35168 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35170 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35171 if the result is not used.
35173 2011-07-05 Andreas Jaeger <aj@suse.de>
35176 * stdlib/tst-strtod.c: Add testcase.
35178 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35180 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35181 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35182 The latter has a higher limit. Take additional parameter to pass to
35184 (__pathconf): Pass file to __statfs_link_max.
35185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35187 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35191 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35195 (__statfs_filesize_max): Likewise.
35196 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35198 2011-07-05 Andreas Jaeger <aj@suse.de>
35200 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35202 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35204 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35206 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35209 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35211 * Makefile (strop-tests): Add strncat.
35212 * string/test-strncat.c: New file.
35214 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35216 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35218 2011-06-21 Andreas Jaeger <aj@suse.de>
35220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35221 Copy rule from iconvdata/Makefile.
35223 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35226 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35227 but no long options are defined, just return 'W'.
35229 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35232 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35234 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35236 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35238 (innetgr): Likewise.
35240 2011-07-05 Roland McGrath <roland@hack.frob.com>
35242 * config.make.in (install_root): Default to $(DESTDIR).
35244 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35246 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35248 2011-07-02 Roland McGrath <roland@hack.frob.com>
35250 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35252 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35253 containing directory rather than embedding absolute directory names.
35255 * scripts/check-local-headers.sh: Rewritten using awk.
35256 Match by word, not by line. Print error messages for matches.
35257 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35259 * Makerules [shlib-lds-flags empty]:
35260 ($(common-objpfx)libc_pic.opts): New target.
35261 ($(common-objpfx)libc_pic.os.clean): New target.
35262 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35264 * config.make.in (OBJCOPY): New variable.
35265 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35266 * configure: Regenerated.
35268 * config.make.in (use-default-link): New variable.
35269 * configure.in (use_default_link): Grok --with-default-link to set it.
35270 * configure: Regenerated.
35271 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35272 (shlib-lds, shlib-lds-flags): Define to empty.
35274 * Makerules (shlib-lds): New variable.
35275 (shlib-lds-flags): New variable.
35276 (build-shlib, build-moduile, build-module-asneeded): Use it.
35277 ($(common-objpfx)libc.so): Use $(shlib-lds).
35278 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35279 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35281 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35282 DT_FLAGS/DT_FLAGS_1 with zero flags.
35284 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35285 linker script munging.
35287 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35289 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35291 * crypt/sha512.c (sha512_process_block): Perform total addition using
35292 128-bit if possible.
35293 (__sha512_finish_ctx): Likewise.
35294 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35296 * crypt/sha256.c (SWAP64): Define.
35297 (sha256_process_block): Perform total addition using 64-bit if
35299 (__sha256_finish_ctx): Likewise.
35301 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35303 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35305 * nscd/hstcache.c (cache_addhst): Likewise.
35306 * nscd/grpcache.c (cache_addgr): Likewise.
35307 * nscd/aicache.c (addhstaiX): Likewise
35308 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35310 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35312 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35314 * nscd/hstcache.c (cache_addhst): Likewise.
35315 * nscd/grpcache.c (cache_addgr): Likewise.
35316 * nscd/aicache.c (addhstaiX): Likewise
35318 2011-07-01 Andreas Schwab <schwab@redhat.com>
35320 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35321 domain only when needed.
35323 2011-06-30 Andreas Schwab <schwab@redhat.com>
35325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35326 is always restored.
35328 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35330 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35331 are re-adding the entry.
35332 * nscd/servicescache.c (cache_addserv): Likewise.
35334 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35336 * sysdeps/generic/dl-irel.h: fix protection against multiple
35338 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35340 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35343 * malloc/memusage.sh: Fix quoting in message.
35344 * debug/xtrace.sh: Likewise.
35346 * configure.in: Remove support for --experimental-malloc option, make
35348 * config.make.in: Likewise.
35349 * malloc/Makefile: Likewise.
35351 2011-06-27 Andreas Schwab <schwab@redhat.com>
35353 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35354 two-byte characters.
35356 2011-06-27 Roland McGrath <roland@hack.frob.com>
35358 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35359 AC_CACHE_CHECK invocation.
35360 * configure: Regenerated.
35362 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35364 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35367 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35368 bit from old_res_options.
35370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35372 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35373 value type for setfct.
35375 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35378 __gettimeofday instead of gettimeofday.
35380 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35382 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35384 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35391 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35394 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35395 strcpy-sse2-unaligned strncpy-sse2-unaligned
35396 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35397 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35398 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35399 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35400 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35401 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35403 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35404 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35405 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35406 (STRCPY): Support SSE2 and SSSE3 versions.
35408 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35411 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35412 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35413 kernels which artificially limit size of requests.
35415 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35418 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35419 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35420 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35421 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35422 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35423 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35424 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35427 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35428 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35429 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35430 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35431 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35433 Enable unaligned load optimization for Intel Core i3, i5 and i7
35435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35437 (index_Fast_Unaligned_Load): Define.
35438 (HAS_FAST_UNALIGNED_LOAD): Define.
35440 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35442 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35444 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35448 until it is clear that the information is realy needed.
35449 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35451 2011-06-22 Andreas Schwab <schwab@redhat.com>
35453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35455 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35458 /sys/devices/system/cpu/online if it is usable.
35460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35461 reading the information from the /proc filesystem to once a second.
35463 2011-06-21 Andreas Jaeger <aj@suse.de>
35465 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35466 NULL after inclusion of kernel headers.
35468 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35470 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35471 calls to internal_setent.
35474 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35475 addresses using gethostbyname4_r ignore IPv4 addresses.
35477 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35478 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35480 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35482 2011-06-20 David S. Miller <davem@davemloft.net>
35484 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35486 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35488 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35489 (elf_irel): Use it.
35490 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35491 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35492 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35493 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35494 * sysdeps/x86_64/dl-irel.h: Likewise.
35496 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35497 * elf/dl-sym.c: Likewise.
35499 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35501 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35502 need to dereference resplen2.
35504 2011-06-14 Andreas Schwab <schwab@redhat.com>
35506 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35508 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35510 * Makeconfig: Define vardbdir and inst_vardbdir.
35511 * nss/Makefile: Add rules to install db-Makefile.
35513 * nss/nss_db/db-XXX.c: Cleanup.
35515 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35516 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35518 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35519 * nss/makedb.c: Implement -g option to specify that value strings
35520 are generated and should not be added to table iterated over for
35522 * nss/nss_db/db-initgroups.c: New file.
35524 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35527 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35528 (internal_getgrouplist): Adjust to name change.
35529 Update use_initgroups_entry if this is not the first call.
35530 * nss/databases.def: Add initgroups entry.
35532 * nss/makedb.c (compute_tables): Check result of multiple hash table
35533 sizes to minimize maximum chain length.
35535 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35537 * Versions.def: Add entry for libnss_db.
35538 * shlib-versions: Likewise.
35539 * nss/Makefile: Add rules to build libnss_db.
35540 * nss/Versions: Add libnss_db information. Organize libnss_files
35542 * nss/db-Makefile: Add gshadow support. Change rules for the new
35543 makedb progra. Some minor improvements to generate smaller files.
35544 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35546 * nss/makedb.c: ...here.
35547 Improve database format to be smaller and require less memory at
35549 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35551 * nss/nss_db/db-netgrp.c: Likewise.
35552 * nss/nss_db/db-open.c: Likewise.
35553 * nss/nss_files/flies-XXX.x: Adjust comments.
35554 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35555 * nss/nss_files/files-grp.c: Likewise.
35556 * nss/nss_files/files-hosts.c: Likewise.
35557 * nss/nss_files/files-network.c: Likewise.
35558 * nss/nss_files/files-proto.c: Likewise.
35559 * nss/nss_files/files-pwd.c: Likewise.
35560 * nss/nss_files/files-rpc.c: Likewise.
35561 * nss/nss_files/files-service.c: Likewise.
35562 * nss/nss_files/files-sgrp.c: Likewise.
35563 * nss/nss_files/files-spwd.c: Likewise.
35564 * nss/nss_db/db-alias.c: Removed.
35565 * nss/nss_db/dummy-db.h: Removed.
35567 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35569 * nss/makedb.c: Rewritten to not use database library.
35570 * nss/Makefile: Update to build new makedb program.
35572 2011-06-14 Andreas Jaeger <aj@suse.de>
35574 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35575 memset declaration.
35577 2011-06-10 Andreas Schwab <schwab@redhat.com>
35579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35582 2011-06-10 Roland McGrath <roland@hack.frob.com>
35584 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35585 * elf/Makefile ($(objpfx)ld.so): Likewise.
35587 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35588 Don't list ld.so twice in dependencies.
35590 * posix/bug-regex31.c: Include <stdlib.h>.
35592 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35594 * nis/nss_compat/compat-spwd.c
35595 (getspent_next_nss_netgr): Remove unused variable.
35596 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35598 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35599 nonmembers" output to use the right array.
35601 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35603 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35605 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35606 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35607 * catgets/gencat.c (read_input_file): Likewise.
35608 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35610 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35611 variable definition inside #if's controlling its use.
35613 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35615 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35617 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35619 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35622 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35624 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35625 * configure: Regenerated.
35627 * Makerules: Revert last change.
35628 * elf/Makefile: Likewise.
35630 2011-06-09 Roland McGrath <roland@hack.frob.com>
35632 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35633 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35634 (reloc-link): Likewise.
35636 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35638 * elf/Makefile: Add rules to build pldd.
35639 * elf/pldd.c: New file.
35640 * elf/pldd-xx.c: New file.
35642 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35644 * version.h: Update for 2.15 development version.
35646 2011-06-07 David S. Miller <davem@davemloft.net>
35648 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35651 elf_machine_lazy_rel): Likewise.
35652 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35654 elf_machine_lazy_rel): Likewise.
35655 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35656 dl_hwcap via passed in argument.
35657 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35660 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35662 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35664 2011-06-06 Roland McGrath <roland@hack.frob.com>
35667 * manual/fdl-1.1.texi: New file, verbatim from:
35668 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35669 * manual/lgpl-2.1.texi: New file, verbatim from:
35670 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35671 * manual/Makefile (licenses): New variable, list those new file names.
35673 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35675 * manual/fdl.texi: File removed.
35676 * manual/lesser.texi: File removed.
35677 * manual/libc.texinfo (Copying, Documentation License):
35678 Use new @include file names, put @appendix directive before @include.
35680 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35683 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35684 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35685 (mq_open): Add __NTH.
35687 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35690 Assume Intel Core i3/i5/i7 processor if AVX is available.
35692 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35697 2011-05-31 Andreas Schwab <schwab@redhat.com>
35699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35700 memory. Use alloca_account. Fix memory leak when retrying.
35702 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35704 * version.h (RELEASE): Bump for 2.14 release.
35705 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35707 * config.make.in (RANLIB): Remove entry.
35709 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35711 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35712 (libc.pot): Work around missing support for .ksh extension in xgettext.
35715 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35716 if both request failed.
35717 (send_dg): In case of server errors clear resplen or *resplen2.
35720 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35721 when there are multiple maps.
35722 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35723 (_dl_fini): Remove test here.
35725 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35727 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35730 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35731 bit from old_res_options.
35732 (gaih_inet): Likewise.
35735 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35738 * resolv/res_init.c (res_setoptions): Make the code more compact.
35741 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35745 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35747 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35750 * malloc/malloc.h: Declare malloc hook variables as volatile.
35752 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35756 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35757 raise in the comment.
35758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35760 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35762 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35765 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35766 grow the buffers more if it already has to be sufficient.
35767 (build_wcs_upper_buffer): Likewise.
35768 * posix/regexec.c (check_matching): Likewise.
35769 (clean_state_log_if_needed): Likewise.
35770 (extend_buffers): Don't enlarge buffers beyond size of the input
35772 Patches mostly by Emil Wojak <emil@wojak.eu>.
35773 * posix/bug-regex32.c: New file.
35774 * posix/Makefile (tests): Add bug-regex32.
35776 * locale/findlocale.c (_nl_find_locale): Return right away if
35777 _nl_explode_name failed.
35778 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35780 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35782 * debug/xtrace.sh: Unify messages.
35783 * malloc/memusage.sh: Likewise.
35786 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35787 time symbol from vDSO. Substitute with vsyscall if not available.
35788 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35791 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35792 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35793 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35794 Add sendmmsg and internal_sendmmsg.
35795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35796 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35797 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35799 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35800 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35801 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35803 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35807 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35813 * iconvdata/Makefile (tests): Add bug-iconv9.
35814 * iconvdata/bug-iconv9.c: New file.
35816 2011-05-27 Andreas Schwab <schwab@redhat.com>
35819 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35821 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35824 (struct user_regs_struct): Change intcs field back to cs.
35826 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35828 * po/ja.po: Update from translation team.
35830 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35834 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35836 2011-05-20 Andreas Schwab <schwab@redhat.com>
35838 * stdlib/longlong.h: Update from GCC.
35840 2011-05-23 Andreas Schwab <schwab@redhat.com>
35842 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35844 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35845 Add parameter name.
35846 (__sysconf): Pass it down.
35848 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35851 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35854 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35855 add in in __libc_use_alloca calls. Adjust callers.
35856 (glob): Use malloc in some situations.
35858 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35859 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35862 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35864 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35865 and CLOCK_BOOTTIME_ALARM.
35868 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35871 * string/_strerror.c (__strerror_r): Print negative errors as signed
35875 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35876 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35877 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35879 * configure.in: Fix typo in redirection and correct removal of test
35880 files in two cases.
35883 * locale/setlocale.c (new_composite_name): Fix test to check for
35884 identical name of all categories.
35887 * libio/filedoalloc.c (local_isatty): New function.
35888 (_IO_file_doallocate): Use local_isatty.
35889 * stdio-common/perror.c (perror): In case a new stream is used
35890 forward the stream error.
35891 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35894 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35899 * include/alloca.h (extend_alloca_account): Define.
35902 * posix/regex.h: Fix comments with documentation of user-accessible
35903 fields after compilation and describe correct free'ing of pattern
35904 after re_compile_pattern.
35905 Patch by Reuben Thomas <rrt@sc3d.org>.
35907 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35909 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35910 and -mno-altivec to prevent the compiler from using Altivec and/or
35911 VSX instructions when the corresponding registers are not available.
35913 2011-05-19 Andreas Schwab <schwab@redhat.com>
35915 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35917 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35919 * libio/freopen.c (freopen): Use __dup2, not dup2.
35920 * libio/freopen64.c (freopen64): Likewise.
35922 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35925 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35926 * math/Makefile (tests): Add test-powl.
35927 (CFLAGS-test-powl.c): Define.
35928 * math/test-powl.c: New file.
35930 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35932 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35934 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35937 * iconvdata/gb18030.c: Update to GB18020-2005.
35939 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35941 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35942 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35943 Patch by Aharon Robbins <arnold@skeeve.com>.
35946 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35950 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35951 through underflows.
35954 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35955 point to strings before performing equality test for error_one_per_line
35959 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35963 (struct user_fpregs_struct): Avoid __uint*_t types.
35966 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35967 symbol info. Use it instead of calling _dl_addr locally.
35968 (lock_and_info): New function.
35969 (tr_freehook): Call lock_and_info and pass symbol info as additional
35970 parameter to tr_where.
35971 (tr_mallochook): Likewise.
35972 (tr_reallochook): Likewise.
35973 (tr_memalignhook): Likewise.
35975 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35976 used and couldn't be at all thread-safe.
35978 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35980 * libio/freopen.c (freopen): Don't close old file descriptor
35981 before the new one is opened. Instead dup the new file descriptor
35982 to the old one after the new stream is created.
35983 * libio/freopen64.c (freopen64): Likewise.
35984 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35985 * libio/fileops.c (_IO_new_file_close_it): Handle new
35986 _IO_FLAGS2_NOCLOSE flag.
35987 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35988 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35989 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35990 _IO_FLAGS2_NOCLOSE flag.
35991 * include/unistd.h: Add hidden_proto for dup3.
35992 Define __have_dup3.
35993 * io/dup3.c: Define hidden symbol.
35994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35997 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35998 when an incomplete long option is used.
35999 * posix/tst-getopt_long1.c: New file.
36000 * posix/Makefile (tests): Add tst-getopt_long1.
36003 * scripts/config.guess: Update from autoconf-2.68.
36004 * scripts/config.sub: Likewise.
36007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36009 (has_cpuclock): ...this. New function.
36010 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36011 macro here based on has_cpuclock code.
36014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36015 First byte (not low byte) is now always NUL.
36016 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36019 Use non-cancelable interfaces.
36022 * locale/iso-639.def: Add entry for Sorani.
36025 * include/stdlib.h: Move include protection to the right place.
36026 Define abort_msg_s. Declare __abort_msg with it.
36027 * stdlib/abort.c (__abort_msg): Adjust type.
36028 * assert/assert.c (__assert_fail_base): New function. Majority
36029 of code from __assert_fail. Allocate memory for __abort_msg with
36031 (__assert_fail): Now call __assert_fail_base.
36032 * assert/assert-perr.c: Remove bulk of implementation. Use
36033 __assert_fail_base.
36034 * include/assert.hL Declare __assert_fail_base.
36035 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36037 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36039 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36043 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36044 until all modules are registered in the DTV.
36045 * elf/Makefile: Add rules to build and run tst-tls19.
36046 * elf/tst-tls19.c: New file.
36047 * elf/tst-tls19mod1.c: New file.
36048 * elf/tst-tls19mod2.c: New file.
36049 * elf/tst-tls19mod3.c: New file.
36050 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36053 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36057 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36058 two-byte sequence errors.
36059 * iconvdata/Makefile (tests): Add bug-iconv8.
36060 * iconvdata/bug-iconv8.c: New file.
36063 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36066 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36069 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36070 (dummy_getcfa): New function.
36071 (init): Get _Unwind_GetCFA address, use dummy if not found.
36072 (backtrace_helper): In recursion check, also check whether CFA changes.
36073 (__backtrace): Completely initialize arg.
36075 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36076 storing incomplete byte sequence in state object. Avoid testing for
36077 guaranteed too small input if we know there is enough data available.
36079 2011-05-11 Andreas Schwab <schwab@redhat.com>
36081 * Makeconfig (+link-pie): Indent.
36082 * Rules (binaries-pie): Define if $(have-fpie) and
36084 (binaries-shared): Also filter out $(binaries-pie).
36085 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36086 * nscd/Makefile (others-pie): Add nscd.
36087 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36088 ($(objpfx)nscd): Remove command override.
36089 * login/Makefile (others-pie): Add pt_chown.
36090 ($(objpfx)pt_chown): Remove command override.
36091 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36092 remove command overrides.
36094 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36096 * libio/tst_putwc.c: Fix error messages.
36099 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36100 currently writing and seek to current position when not.
36101 * libio/Makefile (tests): Add bug-fclose1.
36102 * libio/bug-fclose1.c: New file.
36104 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36107 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36108 don't set DF_1_NODELETE here.
36109 (do_lookup_x): When entering new entry test for copy relocation
36110 and if necessary set DF_1_NODELETE flag.
36111 * elf/tst-unique4.cc: New file.
36112 * elf/tst-unique4.h: New file.
36113 * elf/tst-unique4lib.cc: New file.
36114 * elf/Makefile: Add rules to build and run tst-unique4.
36115 Patch by Piotr Bury <pbury@goahead.com>.
36117 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36120 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36123 * misc/mntent_r.c (addmntent): Flush the stream after the output
36126 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36127 (is_trusted_path_normalize): Skip initial colon. Append slash
36128 to empty buffer. Duplicate is_trusted_path code but allow
36129 constructed patch to be prefix.
36130 (is_dst): Allow $ORIGIN followed by /.
36131 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36132 Correct testing of result of is_trusted_path_normalize
36133 (decompose_rpath): Fix warning.
36135 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36138 * grp/initgroups.c (internal_getgrouplist): When we found the service
36139 list through the initgroups entry in nsswitch.conf do not always
36140 continue on a successful lookup. Don't always use the
36141 __nss_group_database value if it is set.
36142 * nss/nsswitch.conf (initgroups): Change action for successful db
36143 lookup to continue for compatibility.
36145 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36148 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36150 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36152 * iconvdata/tst-tables.sh: Likewise.
36153 * iconvdata/cp770.c: New file.
36154 * iconvdata/cp771.c: New file.
36155 * iconvdata/cp772.c: New file.
36156 * iconvdata/cp773.c: New file.
36157 * iconvdata/cp774.c: New file.
36158 * iconvdata/testdata/CP770: New file.
36159 * iconvdata/testdata/CP770..UTF8: New file.
36160 * iconvdata/testdata/CP771: New file.
36161 * iconvdata/testdata/CP771..UTF8: New file.
36162 * iconvdata/testdata/CP772: New file.
36163 * iconvdata/testdata/CP772..UTF8: New file.
36164 * iconvdata/testdata/CP773: New file.
36165 * iconvdata/testdata/CP773..UTF8: New file.
36166 * iconvdata/testdata/CP774: New file.
36167 * iconvdata/testdata/CP774..UTF8: New file.
36169 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36171 * iconvdata/gen-8bit-gap.sh: Likewise.
36172 * iconvdata/gen-8bit.sh: Likewise.
36174 * locale/iso-639.def: Add ary entry.
36177 * locale/C-translit.h.in: Add U20A1 transliteration.
36180 * locale/iso-639.def: Add wae entry.
36181 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36184 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36188 * locale/C-translit.h.in: Add entry for U20B9.
36189 Patch by pravin.d.s@gmail.com.
36191 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36194 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36195 ENAMETOOLONG use generic getcwd.
36196 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36197 in rtld. Use *stat64.
36198 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36199 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36200 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36201 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36202 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36203 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36204 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36205 __fstatat64 macros.
36206 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36207 * dirent/rewinddir.c: Add libc_hidden_def.
36208 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36209 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36211 * include/dirent.h (__alloc_dir): Add flags parameter.
36212 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36213 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36215 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36216 from fdopendir if O_CLOEXEC is already set.
36218 2011-03-15 Alan Modra <amodra@gmail.com>
36220 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36221 l_tls_firstbyte_offset non-zero. Save padding offset in
36222 l_tls_firstbyte_offset for later use.
36223 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36224 freeing static tls block.
36226 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36228 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36229 where #ifdef was intended. The intent is to prevent ARG_MAX from
36230 being defined by the kernel headers.
36232 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36235 * resolv/resolv.h: Define RES_NOTLDQUERY.
36236 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36237 no-tld-query and set RES_NOTLDQUERY.
36238 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36239 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36240 modern BIND to search name as TLD unless forbidden.
36242 2011-05-07 Petr Baudis <pasky@suse.cz>
36243 Ulrich Drepper <drepper@gmail.com>
36246 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36247 (is_trusted_path): ...to here.
36248 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36249 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36250 using is_trusted_path_normalize() in setuid scripts.
36252 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36254 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36255 __BEGIN/__END_DECLS.
36257 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36260 NSS_STATUS_NOTFOUND if no record was found.
36262 2011-05-05 Andreas Schwab <schwab@redhat.com>
36264 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36265 (headers-not-in-tirpc): Remove rpc/netdb.h
36266 * resolv/netdb.h: Revert last change.
36268 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36270 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36271 circular dependency between libgcc.a and libc.a.
36273 2011-05-05 Andreas Schwab <schwab@redhat.com>
36275 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36276 * nis/Makefile: Don't install rpcsvc/*.
36277 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36278 instead of <rpc/types.h>.
36279 (MAXHOSTNAMELEN): Define.
36281 2011-05-03 Andreas Schwab <schwab@redhat.com>
36283 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36285 2011-04-28 Maciej Babinski <mbabinski@google.com>
36288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36289 gethostbyname4_r when IPv6 results are possible.
36291 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36294 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36295 _PC_PIPE_BUF handling.
36297 2011-04-30 Bruno Haible <bruno@clisp.org>
36300 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36301 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36303 * inet/getnameinfo.c (getnameinfo): Likewise.
36305 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36307 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36308 to groups setting in database lookup.
36309 * nss/nsswitch.conf: Add initgroups entry.
36311 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36314 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36316 Patch by Eric Blake <eblake@redhat.com>.
36318 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36320 * sunrpc/Makefile (need-export-routines): Add svc_run.
36321 (routines): Remove svc_run.
36322 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36323 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36324 * sunrpc/svc_run.c (svc_run): Likewise.
36325 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36327 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36329 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36330 problem in reallocation in last patch.
36332 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36334 * sunrpc/Makefile: Move inclusion of Rules.
36336 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36338 * nss/nss_files/files-initgroups.c: New file.
36339 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36340 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36341 _nss_files_initgroups_dyn.
36343 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36345 * elf/elf.h (R_ARM_IRELATIVE): Define.
36347 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36349 * po/ru.po: Update from translation team.
36351 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36353 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36356 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36359 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36360 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36365 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36370 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36371 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36373 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36378 * stdlib/bug-getcontext.c: New file.
36379 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36381 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36383 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36384 instructions into .machine "z9-109".
36385 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36386 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36388 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36390 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36391 between environment variables and auxiliary vector.
36393 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36395 * Makefile: Add rules to build linkobj/libc.so.
36396 * include/libc-symbols.h: Define libc_hidden_nolink.
36397 * include/rpc/auth.h: Mark functions which are to be hidden.
36398 * include/rpc/auth_des.h: Likewise.
36399 * include/rpc/auth_unix.h: Likewise.
36400 * include/rpc/clnt.h: Likewise.
36401 * include/rpc/des_crypt.h: Likewise.
36402 * include/rpc/key_prot.h: Likewise.
36403 * include/rpc/pmap_clnt.h: Likewise.
36404 * include/rpc/pmap_prot.h: Likewise.
36405 * include/rpc/pmap_rmt.h: Likewise.
36406 * include/rpc/rpc_msg.h: Likewise.
36407 * include/rpc/svc.h: Likewise.
36408 * include/rpc/svc_auth.h: Likewise.
36409 * include/rpc/xdr.h: Likewise.
36410 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36411 * nss/Makefile: Likewise.
36412 * sunrpc/Makefile: Don't install headers. Build library with normal
36413 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36414 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36415 for the compat linking library. Remove use of INTDEF/INTUSE.
36416 * sunrpc/auth_none.c: Likewise.
36417 * sunrpc/auth_unix.c: Likewise.
36418 * sunrpc/authdes_prot.c: Likewise.
36419 * sunrpc/authuxprot.c: Likewise.
36420 * sunrpc/clnt_gen.c: Likewise.
36421 * sunrpc/clnt_perr.c: Likewise.
36422 * sunrpc/clnt_raw.c: Likewise.
36423 * sunrpc/clnt_simp.c: Likewise.
36424 * sunrpc/clnt_tcp.c: Likewise.
36425 * sunrpc/clnt_udp.c: Likewise.
36426 * sunrpc/clnt_unix.c: Likewise.
36427 * sunrpc/des_crypt.c: Likewise.
36428 * sunrpc/des_soft.c: Likewise.
36429 * sunrpc/get_myaddr.c: Likewise.
36430 * sunrpc/key_call.c: Likewise.
36431 * sunrpc/key_prot.c: Likewise.
36432 * sunrpc/netname.c: Likewise.
36433 * sunrpc/pm_getmaps.c: Likewise.
36434 * sunrpc/pm_getport.c: Likewise.
36435 * sunrpc/pmap_clnt.c: Likewise.
36436 * sunrpc/pmap_prot.c: Likewise.
36437 * sunrpc/pmap_prot2.c: Likewise.
36438 * sunrpc/pmap_rmt.c: Likewise.
36439 * sunrpc/publickey.c: Likewise.
36440 * sunrpc/rpc_cmsg.c: Likewise.
36441 * sunrpc/rpc_common.c: Likewise.
36442 * sunrpc/rpc_dtable.c: Likewise.
36443 * sunrpc/rpc_prot.c: Likewise.
36444 * sunrpc/rpc_thread.c: Likewise.
36445 * sunrpc/rtime.c: Likewise.
36446 * sunrpc/svc.c: Likewise.
36447 * sunrpc/svc_auth.c: Likewise.
36448 * sunrpc/svc_authux.c: Likewise.
36449 * sunrpc/svc_raw.c: Likewise.
36450 * sunrpc/svc_run.c: Likewise.
36451 * sunrpc/svc_simple.c: Likewise.
36452 * sunrpc/svc_tcp.c: Likewise.
36453 * sunrpc/svc_udp.c: Likewise.
36454 * sunrpc/svc_unix.c: Likewise.
36455 * sunrpc/svcauth_des.c: Likewise.
36456 * sunrpc/xcrypt.c: Likewise.
36457 * sunrpc/xdr.c: Likewise.
36458 * sunrpc/xdr_array.c: Likewise.
36459 * sunrpc/xdr_float.c: Likewise.
36460 * sunrpc/xdr_intXX_t.c: Likewise.
36461 * sunrpc/xdr_mem.c: Likewise.
36462 * sunrpc/xdr_rec.c: Likewise.
36463 * sunrpc/xdr_ref.c: Likewise.
36464 * sunrpc/xdr_sizeof.c: Likewise.
36465 * sunrpc/xdr_stdio.c: Likewise.
36467 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36470 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36471 * sysdeps/ia64/dl-tls.h: Likewise.
36472 * sysdeps/powerpc/dl-tls.h: Likewise.
36473 * sysdeps/s390/dl-tls.h: Likewise.
36474 * sysdeps/sh/dl-tls.h: Likewise.
36475 * sysdeps/sparc/dl-tls.h: Likewise.
36476 * sysdeps/x86_64/dl-tls.h: Likewise.
36477 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36479 2011-03-14 Andreas Schwab <schwab@redhat.com>
36481 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36482 rpath element also skip the following colon.
36483 (expand_dynamic_string_token): Add is_path parameter and pass
36484 down to DL_DST_REQUIRED and _dl_dst_substitute.
36485 (decompose_rpath): Call expand_dynamic_string_token with
36486 non-zero is_path. Ignore empty rpaths.
36487 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36490 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36495 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36498 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36499 Patch by Filipe David Manana <fdmanana@apache.org>.
36501 2011-04-07 Andreas Schwab <schwab@redhat.com>
36503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36504 Maintain aligned stack.
36505 (CHECK_RSP): Remove unused macro.
36507 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36509 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36510 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36512 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36514 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36516 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36518 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36521 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36522 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36523 * sysdeps/x86_64/memmove.c: New file.
36524 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36525 (memcpy): Renamed to ...
36526 (__new_memcpy): This.
36527 (memcpy): Provide GLIBC_2_14 memcpy.
36528 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36529 (memcpy): Provide GLIBC_2_2_5 memcpy.
36531 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36534 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36536 2011-03-30 Andreas Schwab <schwab@redhat.com>
36538 * misc/syncfs.c: New file.
36539 * misc/Makefile (routines): Add syncfs.
36540 * posix/unistd.h: Declare syncfs.
36541 * sysdeps/unix/syscalls.list: Add syncfs.
36543 2011-04-01 Andreas Schwab <schwab@redhat.com>
36545 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36552 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36553 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36555 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36559 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36565 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36566 sync_file_range.c with -fexceptions.
36567 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36568 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36569 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36570 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36571 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36572 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36574 sync_file_range as cancellation point
36575 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36576 now a wrapper around __call_sync_file_range with cancellation handling.
36577 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36578 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36579 function name to __call_sync_file_range.
36580 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36581 Add call_sync_file_range.
36583 2011-04-01 Andreas Schwab <schwab@redhat.com>
36585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36588 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36590 * iconv/iconv.h: Fix typo in comment.
36591 * io/fcntl.h: Likewise.
36592 * libio/stdio.h: Likewise.
36593 * posix/spawn.h: Likewise.
36594 * posix/unistd.h: Likewise.
36595 * stdlib/stdlib.h: Likewise.
36596 * time/time.h: Likewise.
36597 * wcsmbs/wchar.h: Likewise.
36599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36600 open_by_handle): Add.
36601 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36602 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36603 Augment a few comments.
36604 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36609 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36612 * io/fcntl.h (AT_EMPTY_PATH): Define.
36614 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36616 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36617 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36618 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36620 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36621 * Versions.def: Add GLIBC_2.14.
36622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36625 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36631 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36634 * string/test-strncmp.c (do_page_test): New function.
36635 (check2): Likewise.
36636 (test_main): Call check2.
36637 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36639 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36642 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36643 Handle cache information in CPU leaf 4.
36644 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36646 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36649 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36650 character representation.
36651 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36653 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36655 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36656 END(__isnan) to END(__isnanf) to match function entry point/label
36657 EALIGN(__isnanf,...).
36659 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36661 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36663 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36666 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36667 copy from the symbol referenced in the relocation to initialize the
36669 Patch by Piotr Bury <pbury@goahead.com>.
36670 * elf/Makefile: Add rules to build and tst-unique3.
36671 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36672 * elf/tst-unique3.cc: New file.
36673 * elf/tst-unique3.h: New file.
36674 * elf/tst-unique3lib.cc: New file.
36675 * elf/tst-unique3lib2.cc: New file.
36677 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36679 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36681 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36682 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36685 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36687 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36688 to-be-loaded object along a path to loader is ld.so.
36690 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36691 Ulrich Drepper <drepper@gmail.com>
36693 * sysdeps/x86_64/memset.S: After aligning destination, code
36694 branches to different locations depending on the value of
36695 misalignment, when multiarch is enabled. Fix this.
36697 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36699 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36700 Set _x86_64_preferred_memory_instruction for AMD processsors.
36701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36702 Set bit_Prefer_SSE_for_memop for AMD processors.
36704 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36706 * libio/fmemopen.c (fmemopen): Optimize a bit.
36708 2011-03-03 Andreas Schwab <schwab@redhat.com>
36710 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36712 2011-03-03 Roland McGrath <roland@redhat.com>
36714 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36716 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36718 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36719 __bzero_ultra1 instead of __memset_ultra1.
36721 2011-02-23 Andreas Schwab <schwab@redhat.com>
36722 Ulrich Drepper <drepper@gmail.com>
36725 * include/link.h (struct link_map): Add l_orig_initfini.
36726 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36727 returning unsuccessfully.
36728 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36729 close of a file loaded at startup, restore the original l_initfini
36731 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36732 list, store the pointer.
36733 * elf/Makefile ($(objpfx)noload-mem): New rule.
36734 (noload-ENV): Define.
36735 (tests): Add $(objpfx)noload-mem.
36736 * elf/noload.c: Include <memcheck.h>.
36737 (main): Call mtrace. Close all opened handles.
36739 2011-02-17 Andreas Schwab <schwab@redhat.com>
36742 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36743 dependencies are missing.
36745 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36747 Fix __if_freereq crash: Unlike the generic version which uses free,
36749 * sysdeps/mach/hurd/ifreq.h: New file.
36751 2011-01-27 Petr Baudis <pasky@suse.cz>
36752 Ulrich Drepper <drepper@gmail.com>
36755 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36756 to extend_alloca().
36757 * stdio-common/bug23.c: New file.
36758 * stdio-common/Makefile (tests): Add bug23.
36760 2010-09-28 Andreas Schwab <schwab@redhat.com>
36761 Ulrich Drepper <drepper@gmail.com>
36764 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36765 before performing relro protection. At old place add assertion
36766 to make sure nothing changed.
36768 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36769 Glauber de Oliveira Costa <glommer@gmail.com>
36771 * elf/elf.h: Add new ARM TLS relocs.
36773 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36776 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36778 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36780 * sysdeps/wordsize-64/tst-writev.c: New file.
36782 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36784 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36785 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36786 insns in _dl_start to prevent a TOC reference before relocs are
36789 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36792 * Makeconfig: Remove RANLIB definition.
36793 * Makerules: Don't use RANLIB.
36794 * aclocal.m4: Remove ranlib test.
36795 * configure.in: No need to check for ranlib.
36796 * elf/rtld-Rules: Don't use RANLIB.
36798 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36800 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36802 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36803 inclusion protection macro.
36805 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36806 SIGRTMIN and SIGRTMAX and print information in that case only when
36807 SIGRTMIN is defined.
36809 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36811 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36812 arginfo fn returning -1.
36814 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36815 and thousands string is zero terminated.
36817 2011-02-03 Andreas Schwab <schwab@redhat.com>
36819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36820 sysdeps/unix/sysv/linux/bits/socket.h.
36822 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36824 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36825 (__CPU_COUNT): Remove old macros.
36826 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36827 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36828 (__CPU_ALLOC, __CPU_FREE): Add macros.
36829 (__sched_cpualloc, __sched_cpufree): Add declarations.
36831 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36833 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36834 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36835 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36836 (readdhstai): Return value of addhstaiX call.
36837 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36838 (addgrbyX): Return value returned by cache_addgr.
36839 (readdgrbyname): Return value returned by addgrbyX.
36840 (readdgrbygid): Likewise.
36841 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36842 (addpwbyX): Return value returned by cache_addpw.
36843 (readdpwbyname): Return value returned by addhstbyX.
36844 (readdpwbyuid): Likewise.
36845 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36846 (addservbyX): Return value returned by cache_addserv.
36847 (readdservbyname): Return value returned by addservbyX:
36848 (readdservbyport): Likewise.
36849 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36850 (addhstbyX): Return value returned by cache_addhst.
36851 (readdhstbyname): Return value returned by addhstbyX.
36852 (readdhstbyaddr): Likewise.
36853 (readdhstbynamev6): Likewise.
36854 (readdhstbyaddrv6): Likewise.
36855 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36856 (readdinitgroups): Return value returned by addinitgroupsX.
36857 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36858 (prune_cache): Keep track of timeout value of re-added entries.
36859 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36860 * nscd/nscd.h: Adjust prototypes of readd* functions.
36862 2011-02-04 Roland McGrath <roland@redhat.com>
36864 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36865 (nis_stats): Likewise.
36866 * nis/nis_modify.c (nis_modify): Likewise.
36867 * nis/nis_remove.c (nis_remove): Likewise.
36868 * nis/nis_add.c (nis_add): Likewise.
36870 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36872 * posix/fnmatch_loop.c: Add some consts.
36874 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36876 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36879 * config.make.in (config-cflags-novzeroupper): Define.
36880 * configure.in: Substitute libc_cv_cc_novzeroupper.
36881 * elf/Makefile (AVX-CFLAGS): Define.
36882 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36883 (CFLAGS-tst-auditmod4a.c): Likewise.
36884 (CFLAGS-tst-auditmod4b.c): Likewise.
36885 (CFLAGS-tst-auditmod6b.c): Likewise.
36886 (CFLAGS-tst-auditmod6c.c): Likewise.
36887 (CFLAGS-tst-auditmod7b.c): Likewise.
36888 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36890 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36892 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36893 function to the callback.
36894 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36896 2011-02-02 Andreas Schwab <schwab@redhat.com>
36898 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36901 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36904 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36906 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36908 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36911 * elf/Makefile: Add rules to build and run new test.
36912 * elf/tst-initorder.c: New file.
36913 * elf/tst-initorder.exp: New file.
36914 * elf/tst-initordera1.c: New file.
36915 * elf/tst-initordera2.c: New file.
36916 * elf/tst-initordera3.c: New file.
36917 * elf/tst-initordera4.c: New file.
36918 * elf/tst-initorderb1.c: New file.
36919 * elf/tst-initorderb2.c: New file.
36920 * elf/tst-order-a1.c: New file.
36921 * elf/tst-order-a2.c: New file.
36922 * elf/tst-order-a3.c: New file.
36923 * elf/tst-order-a4.c: New file.
36924 * elf/tst-order-b1.c: New file.
36925 * elf/tst-order-b2.c: New file.
36926 * elf/tst-order-main.c: New file.
36927 New test case by George Gensure <werkt0@gmail.com>.
36929 2010-10-01 Andreas Schwab <schwab@redhat.com>
36931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36932 decoding ACE if AI_CANONIDN.
36934 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36936 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36938 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36940 * version.h (RELEASE): Bump for 2.13 release.
36941 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36943 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36947 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36954 * posix/getconf.c: Update copyright year.
36955 * catgets/gencat.c: Likewise.
36956 * csu/version.c: Likewise.
36957 * debug/catchsegv.sh: Likewise.
36958 * debug/xtrace.sh: Likewise.
36959 * elf/ldconfig.c: Likewise.
36960 * elf/ldd.bash.in: Likewise.
36961 * elf/sprof.c (print_version): Likewise.
36962 * iconv/iconv_prog.c: Likewise.
36963 * iconv/iconvconfig.c: Likewise.
36964 * locale/programs/locale.c: Likewise.
36965 * locale/programs/localedef.c: Likewise.
36966 * malloc/memusage.sh: Likewise.
36967 * malloc/mtrace.pl: Likewise.
36968 * nscd/nscd.c (print_version): Likewise.
36969 * nss/getent.c: Likewise.
36971 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36972 PF_CAIF, and PF_ALG.
36973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36975 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36977 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36978 (modules-names): Use them.
36979 (ifunc-test-modules, ifunc-pie-tests): Define.
36980 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36981 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36982 (test-extras): Likewise.
36983 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36984 $(compile-command.c).
36985 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36986 (all-built-dso): Define.
36987 (check-textrel.out, check-execstack.out): Depend on it.
36989 * configure.in: Don't override --enable-multi-arch.
36991 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36994 * nscd/hstcache.c (tryagain): Define.
36995 (cache_addhst): Return tryagain not notfound for temporary errors.
36996 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36999 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37002 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37003 to make the syscall.
37004 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37007 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37008 and fall back to matching as normal character if the string ends before
37009 the matching ']' is found. This is what POSIX requires.
37010 * posix/testfnm.c: Adjust test result.
37011 * posix/globtest.sh: Adjust test result. Add new test.
37012 * posix/tst-fnmatch.input: Likewise.
37013 * posix/tst-fnmatch2.c: Add new test.
37015 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37017 * elf/Makefile (check-execstack): Revert last change. Depend on
37019 (check-execstack.h): New target.
37020 (generated): Add check-execstack.h.
37021 * elf/check-execstack.c: Include "check-execstack.h".
37022 (main): Revert last change.
37023 (handle_file): Return zero if GNU_STACK is absent and
37024 DEFAULT_STACK_PERMS doesn't include PF_X.
37026 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37028 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37029 in child fails because the descriptor is already closed.
37030 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37031 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37032 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37035 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37039 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37040 temporary buffer used to handle multi lookups locally.
37041 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37043 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37045 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37048 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37050 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37051 alignment for SSE2.
37053 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37056 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37057 characters. When rounding increased number of integer digits recompute
37059 * stdio-common/tst-grouping.c: New file.
37060 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37062 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37064 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37065 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37067 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37069 * bits/select.h: Likewise.
37071 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37073 * po/ja.po: Update from translation team.
37075 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37078 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37079 implementation just like for lxstat, fxstatat, et al.
37081 2010-12-27 Jim Meyering <meyering@redhat.com>
37084 * posix/regexec.c (build_trtable): Return failure indication upon
37085 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37087 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37090 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37091 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37093 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37096 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37099 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37100 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37102 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37104 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37105 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37106 script has SORT_BY_INIT_PRIORITY.
37107 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37108 NO_CTORS_DTORS_SECTIONS is defined.
37109 * elf/soinit.c: Likewise.
37110 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37111 NO_CTORS_DTORS_SECTIONS is defined.
37112 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37113 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37114 * sysdeps/sh/init-first.c: Likewise.
37115 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37117 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37119 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37120 always use the slow path.
37122 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37124 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37125 similar rule which adds the sysdep directories to the header search in
37126 order to pick up the correct platform stackinfo.h.
37127 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37128 perform test if it is, otherwise return successfully without testing.
37129 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37130 DEFAULT_STACK_PERMS define in stackinfo.h.
37131 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37132 defined in stackinfo.h.
37133 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37134 DEFAULT_STACK_PERMS defined in stackinfo.h.
37135 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37136 * sysdeps/ia64/stackinfo.h: Likewise.
37137 * sysdeps/s390/stackinfo.h: Likewise.
37138 * sysdeps/sh/stackinfo.h: Likewise.
37139 * sysdeps/sparc/stackinfo.h: Likewise.
37140 * sysdeps/x86_64/stackinfo.h: Likewise.
37141 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37142 PF_X for powerpc64. Retain PF_X for powerpc32.
37144 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37146 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37148 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37149 GETDENTS_64BIT_ALIGNED.
37151 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37153 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37155 2010-12-10 Andreas Schwab <schwab@redhat.com>
37157 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37160 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37161 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37163 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37164 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37166 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37169 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37172 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37174 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37176 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37178 * po/it.po: Update from translation team.
37180 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37185 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37187 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37189 2010-11-24 Andreas Schwab <schwab@redhat.com>
37191 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37193 (gaih_getanswer_slice): Likewise.
37195 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37199 2010-05-31 Petr Baudis <pasky@suse.cz>
37202 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37203 silently even in the chroot mode.
37205 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37208 last patch a bit. Pretty printing
37210 2010-05-31 Petr Baudis <pasky@suse.cz>
37213 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37214 initialization of skip_initgroups_dyn.
37216 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37218 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37221 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37223 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37225 2010-11-11 Andreas Schwab <schwab@redhat.com>
37227 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37228 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37229 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37230 ($(objpfx)tst-fnmatch-mem): New rule.
37231 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37232 * posix/tst-fnmatch.c (main): Call mtrace.
37234 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37237 Support Intel processor model 6 and model 0x2c.
37239 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37244 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37247 * string/test-strncasecmp.c (check_result): New function.
37248 (do_one_test): Use it.
37249 (check1): New function.
37250 (test_main): Use it.
37251 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37252 Support strcasecmp and strncasecmp.
37254 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37257 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37260 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37262 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37266 * sysdeps/x86_64/multiarch/bzero.S: New file.
37267 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37268 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37269 * sysdeps/x86_64/multiarch/memset.S: New file.
37270 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37272 Set bit_Prefer_SSE_for_memop for Intel processors.
37273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37275 (index_Prefer_SSE_for_memop): Define.
37276 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37278 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37280 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37281 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37283 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37286 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37287 (__x86_64_raw_data_cache_size_half): Likewise.
37288 (__x86_64_raw_shared_cache_size): Likewise.
37289 (__x86_64_raw_shared_cache_size_half): Likewise.
37291 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37292 (__x86_64_raw_data_cache_size_half): Likewise.
37293 (__x86_64_raw_shared_cache_size): Likewise.
37294 (__x86_64_raw_shared_cache_size_half): Likewise.
37295 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37296 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37297 and __x86_64_raw_shared_cache_size_half. Round
37298 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37299 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37300 to multiple of 256 bytes.
37302 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37306 of inacessible symlinks. Verify result of symlink before returning it.
37307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37308 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37310 2010-10-28 Erich Ritz <erichritz@gmail.com>
37312 * math/math.h (isinf): Fix typo in comment.
37314 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37316 * po/da.po: Update from translation team.
37318 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37320 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37321 is added to the list.
37323 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37324 Ulrich Drepper <drepper@gmail.com>
37326 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37327 the global list here. Move code to...
37328 (_dl_add_to_namespace_list): ...here. New function.
37329 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37330 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37331 * elf/dl-load.c (lose): Don't remove the element from the list.
37332 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37333 (_dl_map_object): Likewise.
37335 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37338 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37339 into all bytes of SSE register.
37340 Patch by Richard Li <richardpku@gmail.com>.
37342 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37345 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37348 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37350 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37351 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37353 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37358 2010-10-22 Andreas Schwab <schwab@redhat.com>
37360 * include/dlfcn.h (__RTLD_SECURE): Define.
37361 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37362 mode & __RTLD_SECURE instead.
37363 (open_path): Rename preloaded parameter to secure.
37364 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37365 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37366 * elf/dl-deps.c (openaux): Likewise.
37367 * elf/rtld.c (struct map_args): Remove is_preloaded.
37368 (map_doit): Don't use it.
37369 (dl_main): Likewise.
37370 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37371 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37373 2010-09-09 Andreas Schwab <schwab@redhat.com>
37375 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37376 (sysd-rules-targets): Remove duplicates.
37377 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37378 rtld-%.$o dependency.
37380 2010-10-18 Andreas Schwab <schwab@redhat.com>
37382 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37383 _dl_map_object do it.
37385 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37387 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37388 fast fma builtins, define the macros in the C99 standard.
37389 (FP_FAST_FMAF): Likewise.
37390 (FP_FAST_FMAL): Likewise.
37391 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37393 * bits/mathdef.h: Update copyright year.
37394 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37396 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37398 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37399 builtins, define the macros in the C99 standard.
37400 (FP_FAST_FMAF): Likewise.
37401 (FP_FAST_FMAL): Likewise.
37402 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37404 (FP_FAST_FMAF): Likewise.
37406 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37409 * math/libm-test.inc (fma_test): Some new testcases.
37410 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37412 y and infinite z. Do multiplication by C already in long double.
37413 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37415 y and infinite z. Do bitwise or of inexact bit into u.d.
37416 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37417 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37418 * sysdeps/i386/fpu/s_fma.S: Removed.
37419 * sysdeps/i386/fpu/s_fmal.S: Removed.
37421 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37424 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37426 computation is not scheduled after fetestexcept. Fix value
37427 of minimum denormal long double.
37429 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37432 * math/libm-test.inc (fma_test): Add some more tests.
37433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37436 2010-10-15 Andreas Schwab <schwab@redhat.com>
37438 * scripts/data/localplt-s390-linux-gnu.data: New file.
37439 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37441 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37444 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37445 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37447 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37449 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37451 if one of x and y is very large and the other is subnormal.
37452 * sysdeps/s390/fpu/s_fmaf.c: New file.
37453 * sysdeps/s390/fpu/s_fma.c: New file.
37454 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37455 * sysdeps/powerpc/fpu/s_fma.S: New file.
37456 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37457 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37458 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37460 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37463 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37465 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37466 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37467 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37468 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37469 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37470 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37471 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37473 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37476 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37477 * posix/bug-regex31.input: Add test case.
37479 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37481 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37482 * posix/bug-regex31.input: New file.
37485 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37486 (parse_sub_exp): Fix last change, use postorder.
37488 * posix/bug-regex31.c: New file.
37489 * posix/Makefile: Add rules to build and run bug-regex31.
37491 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37494 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37497 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37498 to have entries in sys_siglist.
37501 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37504 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37507 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37508 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37509 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37510 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37511 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37512 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37513 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37514 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37515 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37516 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37517 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37518 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37519 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37520 * math/ftestexcept.c (fetestexcept): Likewise.
37521 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37522 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37523 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37524 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37525 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37526 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37529 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37532 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37535 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37537 * string/bug-strstr1.c: New file.
37538 * string/Makefile: Add rules to build and run bug-strstr1.
37540 2010-10-05 Eric Blake <eblake@redhat.com>
37543 * string/str-two-way.h (two_way_long_needle): Always clear memory
37544 when skipping input due to the shift table.
37546 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37549 * malloc/mcheck.c: Handle large requests.
37552 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37553 for strncmp and strncasecmp.
37554 * string/stratcliff.c: Add tests for strcmp and strncmp.
37555 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37557 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37559 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37562 2010-09-30 Andreas Jaeger <aj@suse.de>
37564 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37565 (CGROUP_SUPER_MAGIC): Define.
37566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37567 Handle btrfs and cgroup file systems.
37568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37571 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37573 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37574 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37576 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37579 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37580 trying to locate the ELF header.
37582 2010-09-27 Andreas Schwab <schwab@redhat.com>
37585 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37586 Mask out sign-bit copies when constructing f_fsid.
37588 2010-09-24 Petr Baudis <pasky@suse.cz>
37590 * debug/stack_chk_fail_local.c: Add missing licence exception.
37591 * debug/warning-nop.c: Likewise.
37593 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37595 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37596 implementing getdents64 using getdents syscall, set d_type if
37597 __ASSUME_GETDENTS32_D_TYPE.
37599 2010-09-16 Andreas Schwab <schwab@redhat.com>
37601 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37602 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37604 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37607 * posix/unistd.h: Undo change of feature selection for ftruncate from
37610 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37612 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37615 2010-09-20 Andreas Schwab <schwab@redhat.com>
37617 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37619 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37621 2010-09-14 Andreas Schwab <schwab@redhat.com>
37623 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37624 variables after CHECK_SP call.
37625 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37627 2010-09-13 Andreas Schwab <schwab@redhat.com>
37628 Ulrich Drepper <drepper@redhat.com>
37630 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37631 re-relocationg ld.so.
37632 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37633 _dl_init_paths call.
37634 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37637 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37639 * resolv/res_init.c (__res_vinit): Count the default server we added.
37641 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37642 Ulrich Drepper <drepper@redhat.com>
37645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37646 (____longjmp_chk): Use %ebx for saving value across system call.
37649 2010-09-06 Andreas Schwab <schwab@redhat.com>
37651 * manual/Makefile: Don't mix pattern rules with normal rules.
37653 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37655 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37657 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37658 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37659 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37660 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37664 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37667 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37668 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37670 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37672 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37673 * sysdeps/x86_64/addmul_1.S: Likewise.
37674 * sysdeps/x86_64/lshift.S: Likewise.
37675 * sysdeps/x86_64/mul_1.S: Likewise.
37676 * sysdeps/x86_64/rshift.S: Likewise.
37677 * sysdeps/x86_64/sub_n.S: Likewise.
37678 * sysdeps/x86_64/submul_1.S: Likewise.
37680 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37682 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37683 Define __sched_param instead of SCHED_* and sched_param when
37684 <bits/sched.h> is included with __need_schedparam defined.
37685 * bits/sched.h [__need_schedparam]
37686 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37687 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37688 (__defined_schedparam): Define to 1.
37689 (__sched_param): New structure, identical to sched_param.
37690 (__need_schedparam): Undefine.
37692 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37694 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37695 (epoll_create1): Declare.
37697 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37699 2010-08-31 Andreas Schwab <schwab@redhat.com>
37702 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37703 shifting retval into place.
37705 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37707 * nis/rpcsvc/nis.h: Update copyright notice.
37708 * nis/rpcsvc/nis.x: Likewise.
37709 * nis/rpcsvc/nis_callback.h: Likewise.
37710 * nis/rpcsvc/nis_callback.x: Likewise.
37711 * nis/rpcsvc/nis_object.x: Likewise.
37712 * nis/rpcsvc/nis_tags.h: Likewise.
37713 * nis/rpcsvc/yp.h: Likewise.
37714 * nis/rpcsvc/yp.x: Likewise.
37715 * nis/rpcsvc/ypupd.h: Likewise.
37716 * nis/yp_xdr.c: Likewise.
37717 * nis/ypupdate_xdr.c: Likewise.
37719 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37720 mainly the body of pmap_getport. Add parameters to specify timeouts.
37721 (pmap_getport): Use __libc_rpc_getport.
37722 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37723 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37724 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37726 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37731 2010-08-27 Roland McGrath <roland@redhat.com>
37733 * sysdeps/i386/i686/multiarch/Makefile
37734 (CFLAGS-varshift.c): New variable.
37736 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37738 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37739 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37743 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37745 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37747 * sysdeps/x86_64/strlen.S: Unroll the loop.
37748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37749 strlen-sse2 strlen-sse2-bsf.
37750 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37751 __strlen_no_bsf if bit_Slow_BSF is set.
37752 (__strlen_sse42): Removed.
37753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37754 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37756 2010-08-25 Roland McGrath <roland@redhat.com>
37758 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37759 * sysdeps/x86_64/multiarch/varshift.c: New file.
37760 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37761 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37762 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37763 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37765 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37768 strlen-sse2 strlen-sse2-bsf.
37769 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37770 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37771 (__strlen_sse2): Removed.
37772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37775 bit_Slow_BSF for Atom.
37776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37777 (index_Slow_BSF): Define.
37778 (HAS_SLOW_BSF): Define.
37780 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37783 * resolv/res_init.c (__res_vinit): When no server address at all
37784 is given default to loopback.
37786 2010-08-24 Roland McGrath <roland@redhat.com>
37788 * configure.in: Remove config-name.h generation.
37789 * configure: Regenerated.
37790 * config-name.in: File removed.
37791 * scripts/config-uname.sh: New file.
37792 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37793 ($(objdir)config-name.h): New target.
37795 * sunrpc/rpc_parse.h: Avoid nested comment.
37797 2010-08-24 Richard Henderson <rth@redhat.com>
37798 Ulrich Drepper <drepper@redhat.com>
37799 H.J. Lu <hongjiu.lu@intel.com>
37801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37803 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37804 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37805 _mm_alignr_epi8 with _mm_loadu_si128.
37806 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37807 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37808 (__m128i_shift_right): Removed.
37809 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37810 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37811 * sysdeps/x86_64/multiarch/varshift.h: New file.
37812 * sysdeps/x86_64/multiarch/varshift.S: New file.
37814 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37816 * configure.in: Move assembler checks to before sysdep dir checking.
37818 2010-08-20 Petr Baudis <pasky@suse.cz>
37820 * LICENSES: Sync the sunrpc license.
37822 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37824 * sunrpc/auth_des.c: Update copyright notice once again.
37825 * sunrpc/auth_none.c: Likewise.
37826 * sunrpc/auth_unix.c: Likewise.
37827 * sunrpc/authdes_prot.c: Likewise.
37828 * sunrpc/authuxprot.c: Likewise.
37829 * sunrpc/bindrsvprt.c: Likewise.
37830 * sunrpc/clnt_gen.c: Likewise.
37831 * sunrpc/clnt_perr.c: Likewise.
37832 * sunrpc/clnt_raw.c: Likewise.
37833 * sunrpc/clnt_simp.c: Likewise.
37834 * sunrpc/clnt_tcp.c: Likewise.
37835 * sunrpc/clnt_udp.c: Likewise.
37836 * sunrpc/clnt_unix.c: Likewise.
37837 * sunrpc/des_crypt.c: Likewise.
37838 * sunrpc/des_soft.c: Likewise.
37839 * sunrpc/get_myaddr.c: Likewise.
37840 * sunrpc/getrpcport.c: Likewise.
37841 * sunrpc/key_call.c: Likewise.
37842 * sunrpc/key_prot.c: Likewise.
37843 * sunrpc/openchild.c: Likewise.
37844 * sunrpc/pm_getmaps.c: Likewise.
37845 * sunrpc/pm_getport.c: Likewise.
37846 * sunrpc/pmap_clnt.c: Likewise.
37847 * sunrpc/pmap_prot.c: Likewise.
37848 * sunrpc/pmap_prot2.c: Likewise.
37849 * sunrpc/pmap_rmt.c: Likewise.
37850 * sunrpc/rpc/auth.h: Likewise.
37851 * sunrpc/rpc/auth_unix.h: Likewise.
37852 * sunrpc/rpc/clnt.h: Likewise.
37853 * sunrpc/rpc/des_crypt.h: Likewise.
37854 * sunrpc/rpc/key_prot.h: Likewise.
37855 * sunrpc/rpc/netdb.h: Likewise.
37856 * sunrpc/rpc/pmap_clnt.h: Likewise.
37857 * sunrpc/rpc/pmap_prot.h: Likewise.
37858 * sunrpc/rpc/pmap_rmt.h: Likewise.
37859 * sunrpc/rpc/rpc.h: Likewise.
37860 * sunrpc/rpc/rpc_des.h: Likewise.
37861 * sunrpc/rpc/rpc_msg.h: Likewise.
37862 * sunrpc/rpc/svc.h: Likewise.
37863 * sunrpc/rpc/svc_auth.h: Likewise.
37864 * sunrpc/rpc/types.h: Likewise.
37865 * sunrpc/rpc/xdr.h: Likewise.
37866 * sunrpc/rpc_clntout.c: Likewise.
37867 * sunrpc/rpc_cmsg.c: Likewise.
37868 * sunrpc/rpc_common.c: Likewise.
37869 * sunrpc/rpc_cout.c: Likewise.
37870 * sunrpc/rpc_dtable.c: Likewise.
37871 * sunrpc/rpc_hout.c: Likewise.
37872 * sunrpc/rpc_main.c: Likewise.
37873 * sunrpc/rpc_parse.c: Likewise.
37874 * sunrpc/rpc_parse.h: Likewise.
37875 * sunrpc/rpc_prot.c: Likewise.
37876 * sunrpc/rpc_sample.c: Likewise.
37877 * sunrpc/rpc_scan.c: Likewise.
37878 * sunrpc/rpc_scan.h: Likewise.
37879 * sunrpc/rpc_svcout.c: Likewise.
37880 * sunrpc/rpc_tblout.c: Likewise.
37881 * sunrpc/rpc_util.c: Likewise.
37882 * sunrpc/rpc_util.h: Likewise.
37883 * sunrpc/rpcinfo.c: Likewise.
37884 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37885 * sunrpc/rpcsvc/key_prot.x: Likewise.
37886 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37887 * sunrpc/rpcsvc/mount.x: Likewise.
37888 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37889 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37890 * sunrpc/rpcsvc/rex.x: Likewise.
37891 * sunrpc/rpcsvc/rstat.x: Likewise.
37892 * sunrpc/rpcsvc/rusers.x: Likewise.
37893 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37894 * sunrpc/rpcsvc/spray.x: Likewise.
37895 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37896 * sunrpc/rtime.c: Likewise.
37897 * sunrpc/svc.c: Likewise.
37898 * sunrpc/svc_auth.c: Likewise.
37899 * sunrpc/svc_authux.c: Likewise.
37900 * sunrpc/svc_raw.c: Likewise.
37901 * sunrpc/svc_run.c: Likewise.
37902 * sunrpc/svc_simple.c: Likewise.
37903 * sunrpc/svc_tcp.c: Likewise.
37904 * sunrpc/svc_udp.c: Likewise.
37905 * sunrpc/svc_unix.c: Likewise.
37906 * sunrpc/svcauth_des.c: Likewise.
37907 * sunrpc/xcrypt.c: Likewise.
37908 * sunrpc/xdr.c: Likewise.
37909 * sunrpc/xdr_array.c: Likewise.
37910 * sunrpc/xdr_float.c: Likewise.
37911 * sunrpc/xdr_mem.c: Likewise.
37912 * sunrpc/xdr_rec.c: Likewise.
37913 * sunrpc/xdr_ref.c: Likewise.
37914 * sunrpc/xdr_sizeof.c: Likewise.
37915 * sunrpc/xdr_stdio.c: Likewise.
37917 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37920 2010-08-19 Andreas Schwab <schwab@redhat.com>
37922 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37924 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37926 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37929 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37931 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37932 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37933 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37935 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37936 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37938 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37939 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37941 2010-07-26 Anton Blanchard <anton@samba.org>
37943 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37944 * malloc/arena.c (heap_trim): Likewise.
37946 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37948 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37951 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37953 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37955 * sysdeps/i386/elf/Makefile: New file.
37957 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37959 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37960 from fanotify_init.
37961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37964 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37966 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37968 * sysdeps/multiarch/strcmp.S: Likewise.
37970 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37973 strncase_l-nonascii.
37974 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37975 Add strncase_l-ssse3.
37976 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37977 * sysdeps/x86_64/strcmp.S: Likewise.
37978 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37979 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37980 * sysdeps/x86_64/strncase.S: New file.
37981 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37982 * sysdeps/x86_64/strncase_l.S: New file.
37983 * string/Makefile (strop-tests): Add strncasecmp.
37984 * string/test-strncasecmp.c: New file.
37986 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37989 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37990 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37992 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37994 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37996 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37998 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38002 2010-05-01 Alan Modra <amodra@gmail.com>
38004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38005 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38006 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38007 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38008 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38009 tidying. Don't tail-call __sigjmp_save for static lib.
38010 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38012 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38013 (CALL_MCOUNT): Add eh info, and nop after bl.
38014 (TAIL_CALL_SYSCALL_ERROR): New macro.
38015 (PSEUDO_RET): Use it.
38016 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38017 Correct save location of integer regs and cr.
38018 (_dl_profile_resolve): Correct cr save location. Delete nops
38019 after bl when SHARED. Reduce cfi size a little by better
38020 placement of cfi directives.
38021 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38022 make a stack frame. Instead use parm save area as a temp.
38023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38024 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38026 Don't make a stack frame for parent, use parm save area.
38027 Increase child stack frame to 112 bytes. Don't save unused reg,
38028 and adjust reg usage. Set up cfi on error recovery and
38029 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38031 (__makecontext): Add dummy nop after jump to exit.
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38033 Use correct parm save area and cr save, reduce stack frame.
38034 Correct cfi for possible PSEUDO_RET frame setup.
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38036 Branch to local label emitted by PSEUDO_RET rather than
38039 2010-08-12 Andreas Schwab <schwab@redhat.com>
38042 * locale/programs/locale.c (print_assignment): New function.
38043 (show_locale_vars): Use it.
38045 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38047 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38049 (struct statfs64): Likewise.
38050 (_STATFS_F_FLAGS): Define.
38051 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38052 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38053 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38054 (ST_VALID): Define locally.
38055 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38056 __statvfs_getflags, use the provided value.
38057 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38058 __ASSUME_STATFS_F_FLAGS.
38060 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38062 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38063 Add sys/fanotify.h.
38064 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38065 fanotify_mask for GLIBC_2.13.
38066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38067 fanotify_init and fanotify_mark.
38068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38069 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38071 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38073 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38074 prlimit64 for GLIBC_2.13.
38075 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38077 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38081 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38082 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38085 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38088 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38089 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38091 * nss/Makefile: Add rules to build and run tst-nss-test1.
38092 * shlib-versions: Add entry for libnss_test1.
38093 * nss/nss_test1.c: New file.
38094 * nss/tst-nss-test1.c: New file.
38096 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38097 (__nss_configure_lookup): Set appropriate entry in
38098 __nss_configure_lookup to true.
38099 * nss/nsswitch.h: Define enum with indeces of databases in
38100 databases and __nss_database_custom arrays. Declare
38101 __nss_database_custom.
38102 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38103 to avoid using nscd when custom rules are installed.
38104 * nss/getXXbyYY_r.c: Likewise.
38105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38107 * nss/nss_files/files-parse.c: Whitespace fixes.
38109 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38112 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38113 * posix/fnmatch_loop.c: Likewise.
38115 2010-07-17 Andi Kleen <ak@linux.intel.com>
38117 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38118 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38119 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38120 * Versions.def [GLIBC_2.13]: Add.
38122 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38125 Also fail if tpwd after pwuid call is NULL.
38127 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38129 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38130 when converting to ms.
38132 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38134 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38135 EOPNOTSUPP errors with ENOTTY.
38136 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38137 EOPNOTSUPP errors with ENOTTY.
38139 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38142 Add strcasecmp_l-ssse3.
38143 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38145 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38146 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38149 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38151 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38153 * string/Makefile (strop-tests): Add strcasecmp.
38154 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38155 strcasecmp_l-nonascii.
38156 (gen-as-const-headers): Add locale-defines.sym.
38157 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38158 * sysdeps/x86_64/strcasecmp.S: New file.
38159 * sysdeps/x86_64/strcasecmp_l.S: New file.
38160 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38161 * sysdeps/x86_64/locale-defines.sym: New file.
38162 * string/test-strcasecmp.c: New file.
38164 * string/test-strcasestr.c: Test both ends of the range of characters.
38165 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38167 2010-07-29 Roland McGrath <roland@redhat.com>
38170 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38172 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38174 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38177 2010-07-27 Andreas Schwab <schwab@redhat.com>
38179 * manual/memory.texi (Malloc Tunable Parameters): Document
38182 2010-07-26 Roland McGrath <roland@redhat.com>
38185 * configure.in (-fgnu89-inline check): Set and substitute
38186 gnu89_inline, not libc_cv_gnu89_inline.
38187 * configure: Regenerated.
38188 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38190 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38192 * string/test-strnlen.c: New file.
38193 * string/Makefile (strop-tests): Add strnlen.
38194 * string/tester.c (test_strnlen): Add a few more test cases.
38195 * string/tst-strlen.c: Better error reporting.
38197 * sysdeps/x86_64/strnlen.S: New file.
38199 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38202 lower-latency instructions.
38204 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38206 * string/test-strcasestr.c: New file.
38207 * string/test-strstr.c: New file.
38208 * string/Makefile (strop-tests): Add strstr and strcasestr.
38209 * string/str-two-way.h: Don't undefine MAX.
38210 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38212 2010-07-21 Andreas Schwab <schwab@redhat.com>
38214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38215 strcasestr-nonascii.
38216 (CFLAGS-strcasestr-nonascii.c): Define.
38217 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38219 Remove unused attribute.
38221 2010-07-20 Roland McGrath <roland@redhat.com>
38223 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38224 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38225 ld.so.cache was broken. With it, there is no way to disable dsocaps
38226 like LD_HWCAP_MASK can disable hwcaps.
38228 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38230 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38232 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38234 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38235 call in strcasestr.
38236 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38237 __strcasestr_sse42_nonascii.
38238 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38239 strcasestr-nonascii.c.
38240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38242 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38245 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38247 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38249 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38254 2010-07-06 Andreas Schwab <schwab@redhat.com>
38257 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38260 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38263 _PC_PIPE_BUF using F_GETPIPE_SZ.
38265 2010-07-05 Roland McGrath <roland@redhat.com>
38267 * manual/arith.texi (Rounding Functions): Fix rint description
38268 implicit in round description.
38270 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38272 * elf/Makefile: Fix linking for a few tests to make recent linker
38275 2010-06-30 Andreas Schwab <schwab@redhat.com>
38277 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38278 $(common-objpfx)libc_nonshared.a.
38280 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38282 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38283 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38284 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38285 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38286 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38287 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38288 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38289 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38304 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38305 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38306 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38307 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38308 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38309 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38310 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38311 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38312 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38313 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38314 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38315 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38331 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38333 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38334 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38335 * string/memmove.c (memmove): Renamed to ...
38336 (MEMMOVE): ...this. Default to memmove.
38337 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38338 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38341 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38342 mempcpy-ssse3-back memmove-ssse3-back.
38343 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38346 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38347 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38348 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38349 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38350 * sysdeps/x86_64/multiarch/memmove.c: New file.
38351 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38352 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38353 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38354 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38355 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38358 (index_Fast_Copy_Backward): Define.
38359 (HAS_ARCH_FEATURE): Define.
38360 (HAS_FAST_REP_STRING): Define.
38361 (HAS_FAST_COPY_BACKWARD): Define.
38363 2010-06-21 Andreas Schwab <schwab@redhat.com>
38365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38366 Restore proper fallback handling.
38368 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38371 * posix/group_member.c (__group_member): Correct checking loop.
38373 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38374 OOM in getpwuid_r correctly. Return error number when the caller
38375 should return, otherwise -1.
38376 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38377 call returning > 0 value.
38378 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38380 2010-06-07 Andreas Schwab <schwab@redhat.com>
38382 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38383 libc_nonshared.a from targets in modules-names.
38385 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38387 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38390 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38393 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38397 2010-06-02 Andreas Schwab <schwab@redhat.com>
38399 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38401 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38412 2010-06-14 Roland McGrath <roland@redhat.com>
38414 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38416 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38418 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38419 __REDIRECT followed by __THROW.
38420 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38421 * posix/getopt.h (getopt): Likewise.
38423 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38425 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38426 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38427 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38429 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38430 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38432 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38436 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38440 Properly check family and model.
38442 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38444 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38446 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38448 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38450 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38452 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38455 2010-05-19 Andreas Schwab <schwab@redhat.com>
38457 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38460 2010-05-21 Andreas Schwab <schwab@redhat.com>
38462 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38463 and internal_recvmmsg.
38464 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38465 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38467 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38469 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38470 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38471 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38473 2010-05-20 Andreas Schwab <schwab@redhat.com>
38475 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38477 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38479 POWER7 optimizations.
38480 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38481 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38483 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38485 * version.h: Update for 2.13 development version.
38487 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38489 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38490 exceptions. Return 0.
38492 2010-05-07 Roland McGrath <roland@redhat.com>
38494 * elf/ldconfig.c (main): Add a const.
38496 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38498 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38499 (args_options): Add no-idn option.
38500 (ahosts_keys_int): Add idn_flags to ai_flags.
38501 (parse_option): Handle 'i' option to clear idn_flags.
38503 * malloc/malloc.c (_int_free): Possible race in the most recently
38504 added check. Only act on the data if no current modification
38507 See ChangeLog.17 for earlier changes.